Enter time values above to calculate the duration.
How to Calculate Time Duration
Subtract the start time from the end time, and add 24 hours first if the end is earlier. 9:15:30 AM to 5:40:45 PM is 8 hours 25 minutes 15 seconds, or 8.4208 decimal hours. Enter two times above, or add and subtract a list of durations, and the calculator shows the result as HH:MM:SS, decimal hours, total minutes and total seconds.
Time duration calculation is the process of finding the total elapsed time between a start time and an end time. It is used in work scheduling, project tracking, billing, sports timing, cooking, and daily planning. The basic method is to subtract the start time from the end time, but this becomes more complex when the duration crosses midnight or involves multiple days.
The most common use case is calculating work hours. If you start at 9:00 AM and finish at 5:30 PM, the duration is 8 hours 30 minutes. If you take a 45-minute lunch break, the net working time is 7 hours 45 minutes. This calculator handles all these scenarios including overnight durations that cross midnight.
Time Units Conversion Table
Decimal hours = hours + minutes ÷ 60 + seconds ÷ 3,600.
| Duration | Minutes | Seconds | Decimal hours |
|---|---|---|---|
| 15 minutes | 15 | 900 | 0.25 |
| 30 minutes | 30 | 1,800 | 0.50 |
| 45 minutes | 45 | 2,700 | 0.75 |
| 1 hour | 60 | 3,600 | 1.00 |
| 1 hour 30 minutes | 90 | 5,400 | 1.50 |
| 2 hours 30 minutes | 150 | 9,000 | 2.50 |
| 8 hours | 480 | 28,800 | 8.00 |
| 24 hours | 1,440 | 86,400 | 24.00 |
| 1 week | 10,080 | 604,800 | 168.00 |
Three Worked Examples
A shift that crosses midnight, with seconds
Start 10:45:20 PM (22:45:20), end 7:10:05 AM. The end is earlier, so add 24 hours: 31:10:05. Now subtract, borrowing where needed: 5 seconds minus 20 needs a borrowed minute (65 minus 20 = 45 seconds), 9 minutes minus 45 needs a borrowed hour (69 minus 45 = 24 minutes), and 30 minus 22 = 8 hours. Duration: 8:24:45.
Adding lap times
Three laps of 12:48, 13:05 and 12:57 (minutes and seconds). Seconds: 48 + 5 + 57 = 110, which is 1 minute 50 seconds. Minutes: 12 + 13 + 12 = 37, plus the carried minute is 38. Total: 38:50.
Subtracting one duration from another
4 h 35 m minus 1 h 50 m. You cannot take 50 minutes from 35, so borrow an hour: 3 h 95 m minus 1 h 50 m = 2 h 45 m, which is 2.75 decimal hours.
Mistakes That Give Wrong Durations
- Reading 1:30 as 1.3. One hour thirty minutes is 1.5 hours. Multiplying 1.3 by a pay rate underpays by 12 minutes.
- Mixing up 12 AM and 12 PM. 12:00 AM is midnight (00:00) and 12:00 PM is noon. A shift from 12 PM to 8 PM is 8 hours; from 12 AM to 8 PM it is 20.
- Forgetting the clock change. The calculator works with clock times, not dates. On the night US clocks fall back (Sunday 1 November 2026) a 10 PM to 6 AM shift really lasts 9 hours, and on the night they spring forward (Sunday 14 March 2027) it lasts 7. Add or take off the hour yourself for those two nights.
- Adding minutes past 59 without carrying. 2 h 45 m + 1 h 30 m is 3 h 75 m, which you must write as 4 h 15 m.
For timesheets with breaks and pay, the Hours Calculator and the Work Hours Calculator are quicker. For spans measured in days, use Days Between Dates.