Duration Calculator
About this tool
About Duration Calculator
Work out exactly how long passed, or will pass, between two moments: a shift that starts at 22:00 and ends the next morning, a flight, a server outage, an exam, a fast, or a parking stay that spans several days. Enter a start date and time and an end date and time, and the result reads as days, hours, minutes and seconds, with totals in hours, minutes, seconds, days and weeks, plus hours and minutes for timesheets. When the two moments are months apart you also get the calendar difference in years, months and days. The calculation uses real elapsed time in your device's time zone, so if clocks change for daylight saving in between, the tool tells you and counts the hour that was actually gained or lost, which a simple subtraction of clock times gets wrong. If the end is before the start you still get the duration and a note. For comparing times in different cities, the Time Zone Converter is the better fit. Everything runs locally.
Built and maintained by Abhi JainUpdated
How to Calculate the Time Between Two Dates
- 1
Enter start and end
Pick the start date and time and the end date and time.
- 2
Read the duration
See days, hours, minutes and seconds, and totals in each unit. Copy any value.
Duration Calculator: questions and answers
How many hours are between two times?
Subtract the start from the end. If the end is past midnight, add 24 hours: 22:00 to 06:30 is 8 hours 30 minutes. Set the end date to the next day here and the tool does it for you.
Does it account for daylight saving time?
Yes. It measures real elapsed time in your time zone, so a night when clocks go forward is an hour shorter, and the tool points that out.
How do I get decimal hours?
Read Total hours: for example 8 hours 30 minutes shows as 8.5.
Can it count only working days?
Not this tool. Use the Working Days Calculator for business days and holidays.
Related Tools
- Time CalculatorAdd and subtract hours, minutes and seconds, total a timesheet, or add time to a clock time.
- Date Difference CalculatorYears, months, weeks and days between two dates, with an option to include the end date.
- Time Zone ConverterConvert a time between any cities or IANA time zones, DST-correct, with a meeting planner.
- Countdown to DateA live countdown to any date and time, shareable as a link.