Time Difference Calculator
Find the exact gap between two times, including overnight and multi-day gaps.
What this calculator does
Enter a start and end time, optionally with dates, to get the difference in hours and minutes, decimal hours, total minutes and total seconds, in 12-hour or 24-hour format.
Inputs and what they mean
- Start time
- — time value.
- End time
- — time value.
- Start date (optional)
- — Add both dates to measure a gap longer than one day..
- End date (optional)
- — Leave both dates empty for a same-day difference..
- Treat an earlier end time as the next day
- — Used only when no dates are entered..
- Time format
- — 12 or 24 hour value.
How to use it
- Enter the start time and the end time.
- Add both dates if the gap spans more than one day.
- Choose 12-hour or 24-hour display, then press Calculate.
Formula
Difference = end − start. With both dates entered the day gap is added; without dates an earlier end can be treated as the next day.
Worked example
An overnight gap
22:30 to 06:15 the next morning is 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.
Common questions
Related tools
Calculate elapsed hours and minutes between two times, including overnight.