Time details
Use 24-hour clock times. An end time earlier than the start is treated as the following day.
For equal start and end times, choose whether this means zero hours or a full 24-hour shift.
Duration results
More Information
The Time Duration Calculator measures the time between two clock times and optionally subtracts an unpaid break. It is particularly useful for shift planning, timesheets, studying and tracking daily activities.
How to use the Time Duration Calculator
Enter your start and end times using the 24-hour clock, then enter any unpaid break in hours and minutes. The calculator immediately shows elapsed time, net time after the break, and decimal hours. If the end time is earlier than the start time, it automatically treats the end as occurring the next day.
For example, a shift starting at 22:00 and finishing at 06:30 has an elapsed duration of 8 hours 30 minutes. Subtracting a 30-minute unpaid break leaves 8 hours of net time, or 8.00 decimal hours.
How the calculation works
Both clock times are converted into minutes after midnight. When the end is earlier than the start, 1,440 minutes (24 hours) is added to the end. The unpaid break is then subtracted from the elapsed time. Decimal hours are calculated by dividing minutes by 60.
For example, 7 hours and 45 minutes is 7 + 45 ÷ 60 = 7.75 hours, not 7.45 hours.
Understanding the results
- Elapsed time
- Total time between the two clock times, before subtracting any break.
- Net duration
- Elapsed time minus the entered unpaid break, displayed in hours and minutes.
- Decimal hours
- Net duration expressed as a decimal, useful for timesheets and payroll calculations.
- End day
- Shows whether the end time is on the same day or the following day.
When this tool is useful
Use it to calculate work shifts, estimate billable hours, record study sessions, compare appointment lengths or work out overnight durations. It also helps convert hours and minutes into decimal hours when entering time into a spreadsheet.
Assumptions and limitations
This tool works with clock times over a maximum span of 24 hours. It does not calculate multi-day durations longer than one day, paid overtime, penalty rates, wages, time-zone differences or daylight-saving changes. For exact elapsed time across daylight-saving transitions, use dates with explicit time zones. The entered break is treated as unpaid and cannot exceed the elapsed duration.
Frequently asked questions
Can I calculate an overnight shift?
Yes. Enter an end time earlier than the start time, such as 22:00 to 06:00. The calculator assumes the shift finishes the following day.
How do I convert 8 hours 30 minutes into decimal hours?
Divide the 30 minutes by 60, then add 8. The result is 8.50 decimal hours.
What happens if start and end times match?
Choose zero duration for an instant or 24 hours for a full-day shift using the equal-times option.
Does it calculate wages or overtime?
No. It calculates time only; employment rules and pay rates vary by location and agreement.