Time & Date Calculators
Time Duration Calculator
Enter start and end times for the elapsed duration in hours, minutes and seconds. An earlier end time is treated as the following day. Times are read to the second, in 24-hour or 12-hour AM/PM format, with no rounding. Use this tool for one interval; it does not handle breaks, payroll, taxes, overtime rules, time zones or daylight-saving changes.
United States edition
Calculator
Formula used
Elapsed seconds = (end time in seconds − start time in seconds + 86,400) modulo 86,400. Hours, minutes and seconds are whole parts of that total; decimal hours are that total divided by 3,600.
About This Calculator
What It Does
This calculator finds the elapsed duration between two clock times entered to the second, in the 24-hour format or in the 12-hour AM/PM format. It reports whole hours, the remaining minutes and seconds, total minutes and decimal hours.
Worked Example
For a shift from 09:00 to 17:00, elapsed time is 8 hours — 480 minutes, or 8 decimal hours. For 22:30 to 06:15, the end is on the following day and the elapsed duration is 7 hours 45 minutes. Equal times represent zero elapsed time; 09:00:00 to 09:00:45 is 45 seconds, or 0.0125 decimal hours.
Real-World Usage
Use it to check a single work interval, event, trip or study session. For a timecard with several intervals, calculate each separately and add the minutes; this page does not store entries. Decimal hours is the figure a timesheet or an hourly rate consumes, printed with up to four decimal places.
Local Context
The input is local clock time in the 24-hour format with seconds, or in the 12-hour AM/PM format. Duration is elapsed wall-clock time within a 24-hour cycle; daylight-saving changes and time zones are not modelled. An earlier end means the following day. Seconds are exact and nothing is rounded to the minute; decimal hours is printed with up to four decimal places. This is not a payroll or tax calculation.
Last reviewed: November 2026.
Frequently Asked Questions
How is an overnight shift handled?
If the end time is earlier than the start time, the calculator treats it as the next day.
Does this calculate paid hours?
No. It reports elapsed clock time only and does not subtract breaks or apply payroll, overtime or tax rules.
What happens when both times are equal?
The elapsed duration is zero minutes. A start time that matches the end time is read as the same instant, so nothing is added to the interval.