Time Duration Calculator
Measure the elapsed time between two clock times or between two dates with times, in every unit from weeks to seconds.
How to use the Time Duration Calculator
- Pick what you want to work out using the tabs: Between two times or Between two dates and times.
- Set Start time.
- Set End time (If the end is earlier than the start, it is taken as the next day).
- Read your answer in the results panel. It updates as you type, and the breakdown, step-by-step working and any charts or tables appear below it.
- Use Share link to save or send the exact calculation, or Copy to paste the results elsewhere.
Between two times
The first tab measures the time between two clock readings on the same day, down to the second. If the end time is earlier than the start time, it is treated as the next day. From 11:00 PM to 1:30 AM is 2 hours 30 minutes, not a negative number.
duration = end − start (+ 24 hours if the end is the next day)
Example: a race starts at 8:15:00 and the runner finishes at 17:45:00. The elapsed time is 9 hours 30 minutes, which is 9.5 hours, 570 minutes or 34,200 seconds.
Between two dates and times
The second tab adds dates, so it works for spans of any length: a flight, a project, a hospital stay or a countdown. The result comes in two forms.
- Exact duration in days, hours, minutes and seconds, plus totals in weeks, days, hours, minutes and seconds.
- Calendar breakdown in years, months, days, hours and minutes, which is how people normally describe long spans.
Example: from midnight on 1 January 2024 to 12:00 noon on 1 March 2024 is 60 days and 12 hours. That is 1,452 hours. In calendar terms it is 2 months and 12 hours, because January and February 2024 have 31 + 29 = 60 days.
Why months and total days differ
A month is not a fixed number of days, so “2 months” can mean anything from 59 to 62 days. Totals in days, hours and seconds are exact. The calendar breakdown counts whole months first, then the days and hours left over. If the end day of the month does not exist, it uses the last day of that month.
Tips
- Use the decimal hours figure for billing and timesheets.
- The calculation uses clock time and ignores daylight saving changes. Across a DST switch, the true elapsed time is one hour more or less.
- For durations with breaks deducted, use the hours calculator.
Frequently asked questions
How do I calculate the time between two times?
Convert both to minutes after midnight, subtract the start from the end, and add 1,440 minutes (24 hours) if the end is on the next day. Then convert back to hours and minutes.
How many hours are between two dates?
Multiply the number of days by 24 and add the difference in clock times. The second tab of this calculator gives the exact total.
Why is the calendar breakdown different from total days ÷ 30?
Months have 28 to 31 days. The calendar breakdown counts real calendar months, while dividing by 30 gives only an approximation.