Home / Other Calculators / Time Duration Calculator

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

When the time period begins.
When the time period finishes.
Optional unpaid lunch or rest break.
Add full days for longer periods.

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

Net duration
8 hours 30 minutes
Elapsed time: 8 hours 30 minutes · Break deducted: 0 minutes
Hours : minutes : seconds08:30:00
Decimal hours8.50 h
Total minutes510 min
Total seconds30,600 sec
Net duration is 8 hours 30 minutes (8.50 decimal hours).

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

  1. Enter the start time and end time.
  2. For an overnight shift, leave the same-day option unchecked so an earlier end time rolls into the next day.
  3. Enter any break duration in minutes and, if needed, additional full days.
  4. Click Calculate duration to view the result in multiple formats.
  5. Copy or print the results for your records.

Worked examples

StartEndBreakNet durationDecimal hours
09:0017:300 min8 h 30 min8.50
08:3012:000 min3 h 30 min3.50
09:0017:0030 min7 h 30 min7.50
22:0006:000 min8 h8.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.