How long between two times?
Work out the gap between a start and end time — for a shift, a workout, a study session or a journey. The tool shows the duration in hours and minutes, the total minutes, and decimal hours for timesheets. Overnight spans are handled automatically.
How it works
So 9:00 to 17:30 is 8 hours 30 minutes (8.5 decimal hours), and 22:00 to 06:15 counts as 8 hours 15 minutes across midnight.
Adding up a whole week of shifts with pay? Use the time card calculator.
Frequently asked questions
How do I calculate the time between two times?
Subtract the start time from the end time. If the end is earlier than the start, the span crosses midnight, so add 24 hours. This tool handles that automatically and shows hours and minutes.
Does it handle overnight shifts?
Yes. If the end time is before the start time, it assumes the period runs past midnight into the next day and counts the hours correctly.
What are decimal hours?
Decimal hours express minutes as a fraction of an hour — for example 8 hours 30 minutes is 8.5 decimal hours. It's the format used for timesheets and billing.