Time duration calculator between two dates and times
Find the exact time between a start and an end date and time, in days, hours and minutes, decimal hours and total minutes.
Input
Tip: press Ctrl + Enter to run
Saved settings
About this tool
How long was the outage, the car rental or the flight connection? This calculator takes a start date and time and an end date and time and returns the exact duration in several forms: days, hours and minutes; hours:minutes:seconds; decimal hours; total minutes; and weeks and days.
Both times are treated as the same local clock. If daylight saving starts or ends between them, the real elapsed time differs by an hour, and the tool reminds you of that.
How to use it
- Enter the start date and start time.
- Enter the end date and end time.
- Run the calculation.
- Use the format you need: decimal hours for billing, total minutes for logs.
How the calculation works
Duration = end − start, computed from the two date-times on the same clock and expressed in several units.
duration = end − startWorked example
A rental van is picked up on October 12, 2026 at 08:30 and returned on October 14 at 17:15. The duration is 2 days 8 hours 45 minutes, which is 56:45:00, 56.75 decimal hours or 3,405 minutes. A company charging per started 24 hours would bill three days.
Sample input and result
Start date: 2026-10-12 Start time: 08:30 End date: 2026-10-14 End time: 17:15 → Duration: 2 d 8 h 45 min → Hours and minutes: 56:45:00 → Decimal hours: 56.75 → Total minutes: 3,405 → Weeks and days: 0 weeks 2 days
Limitations
- One time zone; for start and end in different cities, use the flight arrival time calculator.
- No daylight-saving adjustment.
- End must be after start.
Last updated:
Frequently asked questions
What if daylight saving changes during the period?
The calculation treats both times as the same clock, so the result can be one hour more or less than the real elapsed time across a change.
Can it span several weeks?
Yes; the weeks-and-days line helps with long periods.
How is it different from the date difference calculator?
It includes times of day; the date difference calculator counts whole days.
Troubleshooting
The result is one hour off after a clock change.
Adjust by an hour for the daylight-saving change, as noted under the result.
It shows an error.
Check that the end date and time are after the start.
I want to add a duration to a time.
Use the clock time calculator.
Privacy & Free to use
Are my inputs stored?
Your inputs stay in this tab. We do not receive your files, pasted text or calculation values.
Is this tool free?
Yes. No signup or payment is required.
See also
Useful next steps
Date difference calculator
Count elapsed calendar days and equivalent weeks between two dates, excluding the end date.
Date & timeAge calculator
Calculate completed years, months and days at a reference date. Month-end anniversaries clamp to the last valid day.
Date & timeAdd or subtract days
Move a calendar date forward or backward by a whole number of days.
Date & time