How to use the Time Duration Calculator
- Choose two times, or two full dates and times for spans longer than a day.
- Enter the start and end. If the end time is earlier, it is treated as the next day.
- Optionally subtract breaks to get working time.
Formula
Duration = end − start (+24 h if end < start) Decimal hours = minutes ÷ 60
Times are converted to minutes since midnight and subtracted. Decimal hours are what most payroll systems use: 7 h 30 min = 7.5 hours.
Worked example: 09:00 to 17:30 with a 30-minute break
- 17:30 − 09:00 = 8 h 30 min = 510 min
- 510 − 30 = 480 min
- 480 ÷ 60 = 8.00
8 hours (8.00 decimal hours).
Timesheets and pay
Multiply decimal hours by an hourly rate to estimate pay, or use the Payroll Calculator for overtime and deductions. To convert durations between units, try the Time Converter.
Assumptions & limitations
- Calculations use clock time. A daylight-saving change between the times would shift real elapsed time by an hour.
- Seconds are not included.
Frequently asked questions
How do I convert minutes to decimal hours?
Divide by 60. 45 minutes = 0.75 hours, 20 minutes ≈ 0.33 hours.
How do I calculate an overnight shift?
Just enter the times, for example 22:00 to 06:00. The calculator recognises that the end is the next day and returns 8 hours.
Can I calculate a duration across several days?
Yes. Switch to “Two dates and times” for multi-day spans.