Skip to content

Dates and time

Time duration calculator

Add or subtract durations, or shift a clock reading with a signed day offset.

How it worksFAQRelated tools

Content reviewed:

Also available for Germany, in German 
Also available for Poland, in Polish (dobrykalkulator.pl) 

Choose duration sum or clock shift. For a sum, enter 1–20 signed H:MM[:SS] terms separated by semicolons. For a clock shift, enter a 24-hour clock time, a duration and whether to add or subtract it.

Sum mode accepts 1–20 terms, at most 400 characters. A minus sign subtracts the whole term; 1:30 means 90 minutes. Clock mode accepts HH:MM[:SS] from 00:00 through 23:59:59 and an offset H:MM[:SS] up to 100,000 hours. The result wraps every 24 hours and reports the number of days crossed. This is arithmetic on a clock reading, not a dated instant: it does not account for time zones, daylight-saving transitions, payroll or legal deadlines. Integer seconds are exact within these limits; decimal hours are approximate. A separate playback form divides one nonnegative entered duration by one constant entered speed; it excludes adverts, buffering, pauses and speed changes. Its exact seconds and signed time difference are exported separately.

Decimal results are approximate. Inputs stay in this browser tab.

How it works

Each signed term is converted to integer seconds, added, then split into hours, minutes and seconds. A separate entered-duration form averages 1 to 20 nonnegative elapsed durations with equal weight, showing exact mean seconds and a nearest-second duration. A separate timesheet form totals 1 to 7 different entered clock intervals after your own break minutes, with explicit inclusion and next-day selection for each row. The additional playlist worksheet adds your supplied nonnegative durations and divides that total by one constant entered playback speed. It retains the original list and your stated basis. The combined duration must stay within the playback limit of 999999:59:59. Exact elapsed seconds are retained separately from rounded display. It does not read YouTube metadata, buffering or adverts. The separate timesheet also exports an editable XLSX workbook for up to seven different shifts. Enter start and end hours and minutes, your break minutes, inclusion and explicit next-day selection for each row. Nine fixed formulas recalculate row net minutes and the included total; invalid included rows show #N/A. The five existing complete record formats remain separate from this workbook. No employment, overtime, tax or payroll rules are supplied. A separate Duration operations form multiplies one nonnegative duration by a nonnegative decimal scalar, or divides one nonnegative duration by another strictly positive duration to produce a dimensionless ratio in times. Enter H:MM or H:MM:SS. The scalar may be at most 1000000 with up to six decimal places; durations and multiplication results must fit within 999999:59:59. Read the exact fraction, displayed result and approximation status together. Five complete current files retain the original entries and full calculation record.

Worked example

1:30; 0:45; -0:15 gives 2:00:00, or 2 decimal hours.

Worked example

With these example values the calculator gives the result below. You can change any value in the form above.

Inputs

Calculation
Add durations
Durations: signed H:MM[:SS], separated by semicolons
25:30; -01:45; +00:00:30
Decimal places (0–12)
6

Result

Total duration (H:MM:SS)
23:45:30
Total seconds
85530
Decimal hours (approximate)
23.7583333333

Frequently asked questions

How do I add several durations together?

Choose Add durations and enter 1 to 20 signed H:MM[:SS] terms separated by semicolons. For example, 1:30; 0:45; -0:15 gives 2:00:00, or 2 decimal hours.

How do I add or subtract time from a clock time?

Choose Shift clock reading, enter a 24-hour time, a duration and whether to add or subtract it. The result wraps every 24 hours and reports the number of days crossed.

What format should I use to enter durations?

Use H:MM or H:MM:SS, and 1:30 means 90 minutes. A minus sign subtracts the whole term.

What are the input limits of the duration calculator?

Sum mode accepts 1 to 20 terms and at most 400 characters. Clock mode accepts times from 00:00 through 23:59:59 and an offset up to 100,000 hours.

Does the calculator account for time zones or daylight saving?

No. It does arithmetic on a clock reading, not a dated instant, so time zones, daylight-saving transitions, payroll and legal deadlines are not accounted for.

Can it work out how long a playlist takes at a different playback speed?

Yes. The playlist worksheet adds your entered durations and divides the total by one constant playback speed. It excludes adverts, buffering, pauses and speed changes.

Can I total a timesheet with break minutes?

Yes. The timesheet form totals 1 to 7 clock intervals after your own break minutes and can export an XLSX workbook. No employment, overtime, tax or payroll rules are supplied.