How to use the hours calculator
Type the time you started and the time you finished, then the length of any unpaid break in minutes. The result updates as you type and shows the total two ways: hours and minutes (like 8:15) and decimal hours (like 8.25). Add your hourly rate if you also want the gross pay for the shift.
If your end time is earlier than your start time — say 10:00 PM to 6:30 AM — the calculator assumes the shift ran past midnight and counts it as an overnight shift. You never need to split a night shift into two parts.
The formula
Hours worked = (end time − start time) − unpaid break
Convert both times to minutes after midnight, subtract, and add 24 hours (1,440 minutes) if the answer is negative. Then take away the break. Example: 8:30 AM to 5:15 PM is 525 minutes; minus a 45-minute lunch leaves 480 minutes, which is exactly 8 hours.
Why decimal hours matter
Payroll systems multiply your hours by your hourly rate, and they need decimal hours to do it. Seven hours and 45 minutes is 7.75 hours, not 7.45. Typing 7.45 into a payroll form instead of 7.75 underpays you by 18 minutes. To convert minutes yourself, divide them by 60: 15 minutes is 0.25, 30 minutes is 0.5, and 45 minutes is 0.75.
Paid and unpaid breaks
Only subtract breaks you are not paid for. In the US, federal rules treat short rest breaks (usually 5 to 20 minutes) as paid working time, while a genuine meal break of 30 minutes or more where you are fully relieved of duty can be unpaid. In the UK, workers over 18 are entitled to a 20-minute break if they work more than 6 hours, but whether it is paid depends on the contract. Check your employer’s policy and leave the break at 0 if yours is paid.
Tips for accurate hours
- Record times when they happen rather than from memory at the end of the week.
- Use the Time Card Calculator if you want to total a whole week and work out overtime.
- Use the Military Time Converter if your schedule or badge system shows 24-hour times.
- Keep the CSV export as your own record in case of a pay dispute.