Time Calculator
Type one duration per line, with a plus or minus in front, and get the total in days, hours, minutes and seconds. It also gives the total as decimal hours and as minutes, plus a running total after every line, so you can see exactly where a sum went wrong.
Total
1d 4h 55m 35s
1:04:55:35
Decimal hours
28.9264Total minutes
1735.5833Total seconds
104,135| Line | Duration | Running total |
|---|---|---|
| 1 | + 1d 2h 30m 15s | 1d 2h 30m 15s |
| 2 | + 0d 5h 45m 50s | 1d 8h 16m 5s |
| 3 | − 0d 3h 20m 30s | 1d 4h 55m 35s |
How it works
- Write one duration per line. Use 1:02:30:15 (days:hours:minutes:seconds) or 1d 2h 30m 15s.
- Put + or - at the start of a line to add or subtract it. A line with no sign is added.
- Read the total in days, hours, minutes and seconds, then the decimal hours and total minutes.
- Check the table of running totals if a result looks wrong, then copy the summary.
What people use it for
Adding up shifts or tasks
Add the length of each task, then subtract the breaks, to get the real time worked.
Video and audio runtimes
Add clip lengths written as minutes:seconds and get the total running time of a playlist or a cut.
Travel and project plans
Add legs of a trip or phases of a project that run past 24 hours, with days kept separate.
Questions
- How do I write a duration?
- Either with colons, read from the right: 1:30 is 1 minute 30 seconds, 1:30:00 is 1 hour 30 minutes, and 2:01:30:00 is 2 days 1 hour 30 minutes. Or with units: 1d 2h 30m 15s, also hours, mins and secs. Whole numbers only, up to 8 digits: write 1.5 hours as 1h 30m.
- How are the totals calculated?
- Every line is turned into whole seconds (days × 86,400 + hours × 3,600 + minutes × 60 + seconds), the signed seconds are added, and the total is split back into days, hours, minutes and seconds. Decimal hours are the total seconds ÷ 3,600 and total minutes are seconds ÷ 60, both rounded to 4 decimals.
- Are hours above 24 or minutes above 59 allowed?
- Yes. 0:90:00 is read as 90 minutes, and the result is shown as 1h 30m. A day is always exactly 24 hours here: the tool works on durations, not on calendar dates, so daylight saving changes do not apply.
- What if the total is negative?
- The total is shown with a minus sign, for example -0d 0h 30m 0s, meaning you subtracted more than you added. The tool accepts up to 200 durations at a time.