Time duration calculator
A time duration calculator gives the exact elapsed time between a start and end point — useful for measuring project duration, contract length, or time remaining until an event.
Duration
—
Days: —
Hours: —
Minutes: —
Copied!
Formula
Elapsed = End datetime − Start datetime
Expressed as: years → months → days → hours → minutes → seconds (remainder after each larger unit is removed).
Example
From 2026-01-01 09:00 to 2026-01-02 17:30:
Duration = 1 day 8 hours 30 minutes
Total hours: 32 | Total minutes: 1,950
Frequently asked
What if the end time is before the start time?
The calculator returns zero. Check that your dates are in the correct order.
How are months calculated?
Months are approximated as 30.4375 days (365.25 ÷ 12). For precise month counts, use the date difference calculator.
Can I measure time down to the second?
Yes. Both the start and end times can include hours and minutes, giving precision to the minute.
How do I measure a project duration?
Enter the project start date and the actual (or planned) end date. The calculator gives the total elapsed time in all units.
How do I share my calculation?
Click "Share with my numbers" to copy a URL that saves your start and end times.