Find the exact time between two clock times, add up a list of durations, or convert a duration between seconds, minutes, hours, days and weeks.
Use h:mm:ss, h:mm, or units such as 2h 15m, 90 min, 45s or 1.5 h. Start a line with a minus sign to subtract it.
When the end time is earlier than the start time, it is treated as the next day, so overnight periods work. Day lengths are taken as exactly 24 hours, without daylight saving changes.
The time duration calculator finds the exact length of time between two clock times, adds up a list of durations, and converts a duration between seconds, minutes, hours, days and weeks. From 8:45:00 AM to 5:20:30 PM is 8 hours 35 minutes 30 seconds, or 8.5917 hours. From 10:30 PM to 6:15 AM the next day is 7 hours 45 minutes. Adding 1:30, 0:45:20 and 2h 15m and subtracting 20 minutes gives 4:10:20, and 150 minutes is 2 hours 30 minutes.
It’s useful for timing tasks, workouts and lap splits, totalling video or audio clip lengths, logging study or project time, checking how long a process ran, and converting between decimal hours and hours and minutes.
Enter a number, choose its unit and select Calculate to see the same duration in weeks, days, hours, minutes and seconds, in h:mm:ss, and in words.
Each time is converted to the number of seconds since midnight: hours × 3,600 + minutes × 60 + seconds. The duration is the end value minus the start value. If the end is earlier than the start, 86,400 seconds (one full day) is added, because the period must have crossed midnight. The result in seconds is then split back into hours, minutes and seconds.
A common mistake is to read decimal hours as hours and minutes. 8.5 hours is 8 hours 30 minutes, not 8 hours 50 minutes, because an hour has 60 minutes, not 100. To convert decimal hours to minutes, multiply the decimal part by 60: 0.75 hours is 45 minutes and 0.2 hours is 12 minutes. To go the other way, divide minutes by 60: 35 minutes is 0.5833 hours. Payroll, invoicing and spreadsheets usually need decimal hours, while schedules and stopwatches use hours and minutes.
| Minutes | Decimal hours |
|---|---|
| 6 | 0.1 |
| 10 | 0.1667 |
| 15 | 0.25 |
| 20 | 0.3333 |
| 30 | 0.5 |
| 40 | 0.6667 |
| 45 | 0.75 |
| 50 | 0.8333 |
For example, 100,000 seconds is 1 day 3 hours 46 minutes 40 seconds, or 27:46:40 in h:mm:ss, because durations longer than a day keep counting hours rather than starting again at zero.
Many timesheets and billing systems round durations to fixed steps, such as the nearest 6, 10 or 15 minutes. Rounding 8:35:30 to the nearest quarter hour gives 8:30, or 8.5 hours, while rounding up to the next quarter hour gives 8:45. Small rounding differences add up over many entries, so it’s best to total the exact durations first and round only the final figure when the rules allow it.
A clock time is a point in the day and runs from 00:00 to 23:59:59 before starting again. A duration is a length of time and can be any size: 27:46:40 is a valid duration but not a valid clock time. Spreadsheets need care here. In Excel or Google Sheets, a total of durations over 24 hours shows wrongly with the standard time format; use the custom format [h]:mm:ss so the hours keep counting.
Write times down as they happen rather than estimating later, and always note AM or PM, or use the 24-hour clock, to avoid 12-hour mix-ups. When adding many short entries, keep them in the same format. For lap and split times, switch the two-part setting to minutes:seconds so that 1:30 is read as 1 minute 30 seconds. Finally, check that a total looks sensible: if a list of short tasks adds up to many hours, a value may have been entered in the wrong format.
Two other tools work well alongside this one: the hours calculator, to find the hours between two times, and the time card calculator, to total a week of work hours.
Convert both times to seconds or minutes after midnight and subtract the start from the end. If the end is earlier, add 24 hours. From 8:45 AM to 5:20 PM is 8 hours 35 minutes.
Add 24 hours to the end time before subtracting. From 10:30 PM to 6:15 AM is 30:15 − 22:30 = 7 hours 45 minutes. This calculator does it automatically.
Add the minutes and hours separately, then convert every 60 minutes into an hour. 1:30 + 0:45 + 2:15 = 3 hours 90 minutes = 4:30. Or list them in the Add up durations mode.
Divide by 60. 150 minutes ÷ 60 = 2.5 hours, which is 2 hours 30 minutes.
8 hours 30 minutes. Multiply the decimal part by 60 to get the minutes: 0.5 × 60 = 30.
86,400: 24 hours × 60 minutes × 60 seconds.
Yes. In the Add up durations mode, start a line with a minus sign, such as -20m, to subtract it from the total.
Choose Add up durations, set two-part values to minutes:seconds, and enter one lap per line, such as 1:30 and 2:45. Decimal seconds such as 0:59.5 are allowed.
Standard time formats reset after 24 hours. Use the custom format [h]:mm:ss so the hours keep counting past 24.
No. It assumes every day is exactly 24 hours, so a period that crosses a clock change will be out by an hour.
Yes. In the Add up durations and Convert modes, durations can be any length, such as 27:46:40 or 3d 4h, and the total keeps counting hours past 24.
h:mm:ss, h:mm (or m:ss if you choose that setting), and numbers with units such as 2h 15m, 90 min, 45s, 1.5 h or 1d. Mix them freely, one per line.