Time Duration Calculator
Find how much time passes between two clock times — also overnight or across several days.
—
How to calculate the time between two times
duration = end time − start time
if the end is earlier than the start: duration = end − start + 24 h
if the end is earlier than the start: duration = end − start + 24 h
Example: from 9:00 to 17:30 is 8 hours 30 minutes (8.5 decimal hours). From 22:00 to 6:15 the next morning is 8 hours 15 minutes.
Across several days
Tick Start and end are on different days and pick both dates — for a flight, a long shift or a weekend away. Changes to daylight saving time are taken into account, so the night the clocks go forward is one hour shorter.
Frequently asked questions
How do I calculate the hours between two times?
Subtract the start from the end. If the result is negative, the period goes over midnight — add 24 hours.
How many hours is 9 to 5?
8 hours. From 9:00 to 17:00 is 8 hours; from 9:00 to 17:30 is 8.5 hours.