Time Duration Calculator
Quick answer
Duration is the end time minus the start time; if the end is earlier than the start (night shift), 24 hours are added. 08:30 to 17:45 is 9 hours 15 minutes; minus a 45-minute break that is 8.5 working hours.
Result
—
How to use the time duration calculator
Formula
- Convert to minutes: hours × 60 + minutes
- Duration: end − start (+1440 if negative)
- Net: duration − break, decimal: minutes / 60
Worked example
A night shift from 22:00 to 06:30 is 8 h 30 min; minus a 30-minute break, 8.0 hours.
Good to know
Timesheets and hourly billing need durations as decimal hours: 8 hours 30 minutes = 8.5 hours. The calculator handles shifts that cross midnight.
Minutes to decimal hours (for timesheets and payroll)
Payroll systems usually need hours as a decimal. Divide the minutes by 60: 7 hours 45 minutes is 7.75 hours.
| Minutes | Decimal hours | Minutes | Decimal hours |
|---|---|---|---|
| 5 | 0.08 | 35 | 0.58 |
| 10 | 0.17 | 40 | 0.67 |
| 15 | 0.25 | 45 | 0.75 |
| 20 | 0.33 | 50 | 0.83 |
| 25 | 0.42 | 55 | 0.92 |
| 30 | 0.50 | 60 | 1.00 |
Worked examples
- 09:00 to 17:30 with a 30-minute lunch break = 8 h 00 min = 8.00 hours.
- 08:15 to 16:45 with a 45-minute break = 7 h 45 min = 7.75 hours.
- 22:00 to 06:30 (night shift) = 8 h 30 min = 8.50 hours.
- 13:20 to 15:05 = 1 h 45 min = 1.75 hours.
Time Duration Calculator: frequently asked questions
What are decimal hours?
Minutes as a fraction of an hour: 15 min = 0.25 h, 30 min = 0.5 h, 45 min = 0.75 h.
Does it handle midnight?
Yes, an end time earlier than the start time is treated as the next day.
How do I add up hours worked in a week?
Calculate each day's duration, convert to decimal hours and add them. 7.75 + 8 + 8.5 + 7.25 + 8 = 39.5 hours.