Duration Calculator

Find the elapsed time between two dates and times, broken down into days, hours, minutes and seconds.

100% FreeNo sign-upPrivate — runs in your browser
—

elapsed time

Full days
—
Total hours
—
Total minutes
—
Total seconds
—

Copied to clipboard

How to use this tool

1
Enter the start

Pick the starting date and time, including the time of day.

2
Enter the end

Pick the ending date and time — it must be after the start.

3
Read the breakdown

You get full days plus the remaining hours, minutes and seconds, and the totals in each unit.

4
Use it for planning

Use the totals to check deadlines, elapsed project time, or how long an event lasted.

Formula & worked example

Elapsed seconds = (end − start) ÷ 1000. Days = floor(seconds ÷ 86400), remaining hours = floor(remainder ÷ 3600), remaining minutes = floor(remainder ÷ 60), seconds = remainder.

From 1 January 2026 at 10:00 to 3 January 2026 at 12:30:45 is 2 days, 2 hours, 30 minutes and 45 seconds — 181,845 seconds, or 50.51 hours.

Limitations — read this before you rely on it

This is elapsed time between two moments in the same timezone as entered; it does not adjust for daylight-saving changes or timezone travel between the two moments. For clock-time-only differences within one day (for example shift lengths), a time-duration tool is the simpler choice.

Frequently asked questions

This tool takes two full dates and times and can span days, weeks or months. A clock-time tool only compares times of day, such as 09:00 to 17:30.

No — the calculator asks for the end to be after the start. Swap the two values if you entered them in reverse.

It measures elapsed time between two moments, not calendar days inclusive. 10:00 Monday to 10:00 Tuesday is exactly 1 day.

Yes — the calculation uses real calendar dates, so February 29 and varying month lengths are handled automatically.

Yes. Enter a birth date and time and today’s date and time to get the elapsed days, hours and minutes.