Time Duration Calculator
Calculate the exact time between a start and end time in hours, minutes, and seconds. Subtract breaks, handle overnight shifts, and view decimal hours for timesheets and planning.
Enter time details
This calculator uses clock times in one time zone. It does not account for time-zone changes or daylight-saving transitions. For payroll, verify your employer's break and rounding rules.
Your time duration
What is a time duration calculator?
A time duration calculator finds how much time passes between a start time and an end time. It reports the result as hours and minutes, decimal hours, total minutes, and total seconds. Use it for work shifts, meetings, travel, study sessions, exercise, and everyday time tracking.
Formula used
Elapsed duration = end time − start time. If the end time is earlier and the interval crosses midnight, the calculator adds 24 hours. Additional full days are then added, and any break minutes are subtracted.
Decimal hours = net duration in seconds ÷ 3,600. For example, 8 hours 30 minutes equals 8.5 decimal hours, not 8.30 hours.
How to use this calculator
- Enter the start time and end time.
- For an overnight shift, leave the same-day option unchecked so an earlier end time rolls into the next day.
- Enter any break duration in minutes and, if needed, additional full days.
- Click Calculate duration to view the result in multiple formats.
- Copy or print the results for your records.
Worked examples
| Start | End | Break | Net duration | Decimal hours |
|---|---|---|---|---|
| 09:00 | 17:30 | 0 min | 8 h 30 min | 8.50 |
| 08:30 | 12:00 | 0 min | 3 h 30 min | 3.50 |
| 09:00 | 17:00 | 30 min | 7 h 30 min | 7.50 |
| 22:00 | 06:00 | 0 min | 8 h | 8.00 |
Frequently asked questions
How do I calculate the hours between two times?
Subtract the start time from the end time. This calculator handles minute and second conversions and displays the answer in several units.
Can I calculate an overnight shift?
Yes. If the end time is earlier than the start time, the calculator assumes the end is on the following day unless you select the same-day option.
How do I subtract a lunch break?
Enter the break duration in minutes. The calculator subtracts it from elapsed time and displays the remaining net duration.
What are decimal hours?
Decimal hours express time as a fraction of an hour. For example, 30 minutes is 0.5 hours, so 8 hours 30 minutes equals 8.5 hours.
Can I calculate a duration longer than 24 hours?
Yes. Enter the number of additional full days in the Additional full days field. The calculator adds those days to the time interval.
Does this calculator handle time zones?
No. It uses clock times in one time zone and does not adjust for time-zone differences or daylight-saving changes.
Disclaimer: Results are for general time calculations and planning. Confirm payroll or billing totals against the applicable rules.