Everyday calculators
Time Duration Calculator
Find the exact time between two dates or times — hours, minutes, seconds and decimal hours.
Formula: duration = end time − start time. If the end time is earlier than the start time on the same day, the result is negative — pick the next day for overnight spans.
How to use
- Enter the start date and time.
- Enter the end date and time.
- Press “Calculate Duration” to see the gap in days, hours, minutes and seconds.
Frequently asked questions
- How is the duration worked out?
- The end time minus the start time, broken into days, hours, minutes and seconds, plus the total in decimal hours.
- Can I measure an overnight span?
- Yes. Pick the end date as the next day — for example 21:00 to 02:00 the next morning gives 5 hours.
- Is my data stored?
- No. The calculation runs in your browser.