When to use: Duration between times
Check the duration of an activity, trip or shift and subtract a break entered in minutes.
How to use
Enter start and end times and a break in whole minutes, then click Calculate duration. Use zero if there is no break.
How the calculation works
Each time is converted to minutes. Net duration is the gross interval minus the break. An end earlier than the start is treated as the next day.
Worked example
08:00 to 17:00 is 9 gross hours. With a 60-minute break, the result is 8h 00min. From 22:00 to 06:00 without a break, it is also 8h 00min.
Limitations and precautions
Equal times produce zero, not 24 hours. The break cannot exceed the gross interval. Without date fields, this tool does not represent multi-day intervals or time zone changes.
Frequently asked question
How do I calculate more than 24 hours?
Use Time between dates to specify start and end dates. Use Hours worked to enter clock-in, clock-out and lunch times.
How do you calculate a shift that crosses midnight?
When the end time is earlier than the start, the tool treats it as the next day. It measures clock times, without dates or daylight saving adjustments.
Enter start 22:00, end 06:00 and a 30-minute break. The gross duration is 8 hours; subtracting the break gives 7h 30min. Equal times produce zero, not a 24-hour shift.
If you know when the break starts and ends, check the shift with Work hours calculator.
Night shifts and decimal hours
From 22:00 to 06:00, the finish is interpreted as the following day: 8 gross hours. After a 30-minute break, 7h30 remain. For a spreadsheet this equals 7.5 hours because 30 ÷ 60 = 0.5. Do not write 7.30 as decimal hours. If the activity crosses more than one midnight, use full dates in Time between dates.
For an activity lasting more than a day, enter full dates in Date difference calculator.
Continue with Work hours calculator or read how the tools work.