Guides

How to Add Time Durations: Units, Formula and Steps

Learn how to add time durations with a seconds-based formula, a sourced unit table, up to 20 mixed inputs, calculator steps and a worked birthday example.

Miryori Editorial Team4 min read
Try the Add Time Calculator

Adding time is a daily task: totaling the hours you worked, estimating how long a list of chores will take, or counting the days left until a date. The add time calculator does this automatically for up to 20 values in 16 different units, but you can reach the same answer on paper once you know how the units relate to one another.

To add time durations, convert every value to one common unit — usually seconds — add the numbers, then convert the total into your chosen units. Because 1 minute is 60 seconds, 1 hour is 60 minutes and 1 day is 24 hours, you can mix values such as 55 min and 3 h 23 min in the same sum. The calculator accepts up to 20 values and reports the total in whichever of its 16 units you choose.

What is the formula for adding time durations?

The calculator first converts each entered value into seconds, sums them, and then decomposes the total into your selected output units:

total seconds=∑i=1n(valuei×seconds per uniti)\text{total seconds} = \sum_{i=1}^{n} \left( \text{value}_i \times \text{seconds per unit}_i \right)

Here nn is the number of time values you enter (at most 20) and seconds per uniti\text{seconds per unit}_i comes from the conversion factor of the unit chosen in row ii. Adding time is therefore just adding ordinary numbers after a change of scale — the only catch is that these units step up by 60, 24 or 7 rather than by 100.

Which time units can I add?

The add time calculator offers eight single units, each with a fixed number of seconds, plus eight combined units for writing a duration in several parts at once. The single-unit conversion factors are:

Unit Symbol Seconds per unit
Milliseconds ms 0.001
Seconds s 1
Minutes min 60
Hours h 3600
Days day(s) 86400
Weeks week(s) 604800
Months month(s) 2629800
Years year(s) 31557600

For calendar arithmetic the calculators use averaged values: a year is 365.25 days and a month is 30.44 days (the average across all months), which is why the table's month and year factors are not whole multiples of 28, 30 or 31 days. The eight combined formats are minutes / seconds, hours / minutes, hours / minutes / seconds, years / months, years / months / days, weeks / days, days / hours and days / hours / minutes.

How do I use the add time calculator?

  1. Choose the time unit in the first field. To enter hours and minutes together, leave the default unit as it is and type the value: "1 h 50 min" needs no unit change, and you can simply leave the seconds part empty.
  2. Repeat for all your time values. New rows appear as you fill in the last one, and the sum can include a maximum of 20 values.
  3. Mix units freely — for example, enter "55 min" in the first field and "3 h 23 min" in the second.
  4. Choose the units of the result. You can change them at any time, which also lets the tool act as a time unit converter. To return to the starting units, click reset defaults below the calculator.

Worked example: days until a birthday

Suppose today is 11.12.2020 and your birthday is on 3.03.2021. Count the days month by month and then add them:

  • December has 31 days, and it is the 11th, so 31 − 11 = 20 days remain (not counting 11.12).
  • You wait through all of January and February: 31 + 28 = 59 days.
  • Your birthday falls on 3 March, leaving 2 days.

Adding the three parts gives 20 + 59 + 2 = 81 days. That is the same operation the formula above performs: express each chunk in one unit (days), add the chunks, and keep the result in that unit.

Frequently Asked Questions

Can I add values written in different units?

Yes. The calculator explicitly supports mixed inputs, such as "55 min" in one row and "3 h 23 min" in another; each is converted to seconds before the sum.

How many time values can I add at once?

The tool accepts up to 20 values. New input rows appear as you complete the last row, so short lists and long timesheets both fit.

How many units does the add time calculator support?

Sixteen: milliseconds, seconds, minutes, hours, days, weeks, months and years, plus eight multi-part formats such as hours / minutes / seconds and days / hours.

How do I return to the default units?

Click reset defaults below the calculator. You can also switch the result units at any point without clearing your entered values.

References

  • Omni Calculator, Add Time Calculator: input limits, unit options and worked examples.
  • Standard time-unit definitions: 1 min = 60 s, 1 h = 60 min, 1 day = 24 h, 1 week = 7 days.
Calculator

Add Time Calculator

Add Time: add time calculator can sum up to 20 time values. Free, fast and private.

Try the Add Time Calculator