Time Duration Calculator
Calculate the exact duration between two dates and times — years, months, days, hours, minutes, seconds — and add or subtract durations from any date-time.
About the Time Duration Calculator
The Time Duration Calculator measures the exact elapsed time between any two date-times, down to the second. Pick a start and an end and you get a calendar-aware breakdown (years, months, days, hours, minutes, seconds) plus the total duration expressed in each single unit — total days, total hours, total minutes and total seconds.
That dual view matters: '2 months and 3 days' is what humans use, while '64.13 days' or '1,539 hours' is what billing, logging and SLA calculations need. The tool gives you both without any conversion work.
A second section adds or subtracts a duration from any date-time — answer questions like 'what time is 36 hours after Friday 8 pm?' or 'what was the timestamp 90 minutes before the outage?' instantly.
How to Use the Time Duration Calculator
- 1Enter a start and an end date-time — the duration appears immediately.
- 2Read the calendar breakdown, then the totals in days, hours, minutes and seconds.
- 3To shift a date, switch to the add/subtract section, choose Add or Subtract and enter days, hours and minutes.
Frequently Asked Questions
How do I calculate hours between two dates and times?
Enter both date-times and read the 'Total hours' stat. For example, Jan 1 09:00 to Jan 3 15:30 is 54.5 hours — the tool does the cross-midnight math for you.
What happens if the end time is before the start time?
The calculator swaps them and shows the positive duration, with a small note that the dates were reversed — no confusing negative numbers.
Why do months in the breakdown vary in length?
The breakdown is calendar-aware: 'one month' from Jan 31 lands on Feb 28/29, exactly like real calendars. The single-unit totals (days, hours, minutes) are exact regardless.
Can I add hours or days to a specific date and time?
Yes — the add/subtract section takes any starting date-time plus a duration in days, hours and minutes, and returns the resulting date-time including the weekday.