Time Duration Calculator
Calculate elapsed hours and minutes between two times, including overnight.
Choose a start and end time.
What this calculator does
Enter start and end times to calculate duration in hours, minutes, and decimal hours.
Inputs and what they mean
- Start time
- — time value.
- End time
- — time value.
- When the end is earlier
- — choice value.
- Time format
- — 12 or 24 hour value.
How to use it
- Choose start and end times.
- Choose whether an earlier end is negative or crosses midnight.
- Read hours, minutes, and decimal hours.
Formula
Duration = end time − start time. Midnight crossing adds 24 hours when the end time is earlier.
Worked example
Overnight shift
10:30 PM to 6:15 AM lasts 7 hours 45 minutes.
Reading the result
The headline figure is the main answer. Any breakdown underneath shows the parts that make it up, so you can check the working and see what changes when you adjust an input.
Limitations and assumptions
Results depend entirely on the figures you enter and are rounded for display. They are for general information and education, not professional advice.