Time Duration Calculator
Enter a start date and time and an end date and time, with seconds if you need them, to get the exact time that passed between them. It is the precise-elapsed-time tool: the answer is shown as days, hours, minutes and seconds, and as total seconds, minutes, hours and days. For work shifts with an unpaid break, use the hours calculator.
Last updated November 4, 2026
Hours, minutes and optional seconds
Result
1 day, 8 hours, 30 minutes, 30 seconds
| Measure | Value |
|---|---|
| Total seconds | 117,030 |
| Total minutes (decimal) | 1,950.5 |
| Total hours (decimal) | 32.508 |
| Total days (decimal) | 1.355 |
Wall-clock arithmetic: every day counts as 24 hours, with no time zones or daylight saving changes.
Show the work
Formula: elapsed seconds = (end date + end time) - (start date + start time)
- Start: Jan 1, 2026 09:00:00. End: Jan 2, 2026 17:30:30.
- Express both as seconds on one timeline and subtract: 117,030 seconds.
- Divide by 86,400: 1 whole day, leaving 30,630 seconds.
- Divide the rest by 3,600 and then 60: 8 hours, 30 minutes, 30 seconds.
- Decimals: 117,030 ÷ 60 = 1,950.5 minutes; ÷ 3,600 = 32.508 hours; ÷ 86,400 = 1.355 days.
Result: 1 day, 8 hours, 30 minutes, 30 seconds
How elapsed time is calculated
elapsed seconds = (end date + end time) - (start date + start time)
Each date and time is placed on one continuous timeline, counted in seconds. Subtracting the start from the end gives the elapsed seconds, which works across midnight, month ends and leap days without any special cases.
The total is then split by dividing by 86,400 for whole days, by 3,600 for hours and by 60 for minutes, keeping each remainder. Decimal hours are the total seconds divided by 3,600, and decimal days are the total divided by 86,400, rounded to four places.
See how we calculate for the formulas, sources and review schedule behind every calculator.
Wall-clock time, no time zones
This tool treats both times as plain clock readings on a calendar where every day has exactly 24 hours. It does not apply time zones or daylight saving changes, so a clock change inside your range is not added or removed. If your two times are in different places, convert them to one zone first with the time zone converter.
Choose the hours calculator when you are timing a shift: it subtracts an unpaid break and reports hours and minutes. Choose this page for exact elapsed time to the second, or for totals in seconds and minutes. To count only calendar days, use the date difference calculator.
How to use the Time Duration Calculator
- Enter the start date and start time, with seconds if needed.
- Enter the end date and end time. The end must be after the start.
- Read the days, hours and minutes, then the total hours, minutes, seconds and decimal days.
- Use Show the work to see each step, then Copy, Print or Share.
Worked example
From 1 January 2026 at 09:00:00 to 2 January 2026 at 17:30:30 is 24 hours plus 8 hours 30 minutes 30 seconds. In seconds that is 117,030, which is 1 day, 8 hours, 30 minutes and 30 seconds, or about 32.5083 hours.
| Start | End | Elapsed | Total hours |
|---|---|---|---|
| 2026-01-01 09:00:00 | 2026-01-02 17:30:30 | 1 d 8 h 30 m 30 s | 32.5083 |
| 2028-02-28 23:00 | 2028-03-01 01:00 | 1 d 2 h 0 m | 26 |
| 2027-02-28 23:00 | 2027-03-01 01:00 | 0 d 2 h 0 m | 2 |
| 2026-03-10 08:15 | 2026-03-10 09:45 | 0 d 1 h 30 m | 1.5 |
Frequently asked questions
What happens if the end is before the start?
The calculator shows the message "End must be after start." instead of a result. Swap the two entries to measure the gap the other way round.
Does it account for daylight saving time?
No. Every day is counted as exactly 24 hours, so a clock change between your dates is ignored. Use the time zone converter when zones or clock changes matter.
How is this different from the hours calculator?
The hours calculator is built for shifts: it takes an unpaid break off and works in whole minutes. This page accepts seconds, ignores breaks, and adds total seconds and decimal minutes.
Does the calculator handle leap days?
Yes. From 28 February 2028 at 23:00 to 1 March 2028 at 01:00 is 26 hours, because 29 February 2028 exists. In 2027 the same span is 2 hours.