How to use the time duration calculator
- Enter the start time and end time of the shift.
- Add any unpaid break in minutes.
- Tick the next-day option for overnight shifts (an end time earlier than the start is treated as the next day automatically).
- Read the hours and minutes worked, plus the decimal hours to copy into a timesheet or payroll form.
How the calculation works
The calculator converts both times into minutes after midnight, subtracts the start from the end and adds 24 hours when the shift crosses midnight. Your unpaid break is then taken away. The result is shown as hours and minutes and as decimal hours, which is the format most payroll and invoicing systems expect.
Decimal hours are minutes divided by 60. For example, 7 hours 45 minutes is 7.75 hours, and 8 hours 20 minutes is about 8.33 hours.
Worked example
A night shift from 22:00 to 06:30 with a 30-minute unpaid break is 8 hours 30 minutes on site. Taking away the break leaves 8 hours worked, or 8.00 decimal hours.
Weekly timesheet and pay
Fill in the start, end and break for each day of the week. Overnight shifts are handled automatically when the end time is earlier than the start. Add your hourly rate to see gross pay, and an overtime threshold and rate if you're paid more after a set number of hours. For example, five days of 9:00 to 17:30 with 30-minute breaks is 40 hours; at £12.71 an hour with time and a half after 37.5 hours, that's £524.29 before tax.
Frequently asked questions
How do I calculate my weekly hours and pay?
Enter each shift in the weekly timesheet, add your hourly rate and any overtime rule, and copy the summary.
How do I calculate hours worked overnight?
Enter the start and end time as normal. When the end time is earlier than the start time, the calculator assumes the shift finished the next day and adds 24 hours before taking off your break.
How do I convert minutes to decimal hours?
Divide the minutes by 60. 15 minutes is 0.25 hours, 30 minutes is 0.5 hours and 45 minutes is 0.75 hours.
Can a shift be longer than 24 hours?
No. This tool handles shifts of up to 24 hours. For longer periods, use the date difference calculator.