Time and Dates
Time Duration Calculator
Calculate the total duration between a start and finish time, shown in hours and minutes, including durations that cross midnight.
Your results
Duration8h 0m
Crosses midnight?No
Calculation breakdown
- Duration
- Finish time − start time (adds 24h if the finish time is earlier)
Worked example
Starting at 22:00 and finishing at 06:00 gives a duration of 8 hours, correctly crossing midnight.
Assumptions
- Uses 24-hour time; seconds are not modelled.
How this calculator works
Enter a start time and finish time to work out the total elapsed duration in hours and minutes. The calculator automatically handles finish times that fall after midnight, so it works for overnight shifts as well as same-day periods.
Frequently asked questions
Can I calculate a duration that crosses midnight?
Yes, if the finish time is earlier than the start time, the calculator assumes it falls on the following day.
What format should I use for times?
Use 24-hour time in HH:MM format, for example 09:30 or 22:15.
Does it round to the nearest minute?
Yes, results are shown to the nearest minute for readability.
Related calculators
Hours and Minutes CalculatorAdd or subtract two amounts of time given in hours and minutes to get a combined total, useful for adding up shifts or tasks.Shift Length CalculatorWork out the length of a work shift including unpaid break time, and see the total paid hours for the shift.Working Hours Between Dates CalculatorEstimate total working hours between two dates based on your standard business hours per weekday, useful for project and billing estimates.Pay Period CalculatorFind the start and end dates of your current pay period based on your pay cycle and a known reference pay date.