Time Calculator: Add or Subtract Durations

Add or subtract two lengths of time. Enter days, hours, minutes and seconds for each, choose add or subtract, and get the answer as hours:minutes:seconds, in words, as decimal hours and as total minutes and seconds. Minutes and seconds carry over automatically, so 90 minutes becomes 1 hour 30 minutes.

By Rashid MehmoodLast updated and reviewed Free, no sign-up

Time calculator

–

How to use the time calculator – add or subtract hours, minutes & seconds

  1. Enter the first time. Fill in days, hours, minutes and seconds. Leave a box at zero if you do not need it.
  2. Choose add or subtract. Add (+) combines the two times. Subtract (−) takes the second away from the first.
  3. Enter the second time. Fill in the second duration in the same way.
  4. Read the answer. The result is shown as h:mm:ss, in words, in decimal hours, and as total minutes and seconds. A minus sign means the second time was longer.
Embed this calculator

Paste this iframe on your own site. The embed view already includes a visible “Calculator by CalcTen” credit, which must stay visible. See the developers page for the conditions.

How time arithmetic works

Time is not decimal. There are 60 seconds in a minute, 60 minutes in an hour and 24 hours in a day, so the calculator converts everything to seconds, does the arithmetic, and converts back.

Total seconds = ((days × 24) + hours) × 3600 + minutes × 60 + seconds
Result = first ± second

Worked examples

1 h 45 min + 0 h 50 min. 2:35:00, or 2 hours 35 minutes, which is 2.5833 decimal hours and 155 minutes.

5 h 15 min − 2 h 40 min. The same 2:35:00, since 315 − 160 = 155 minutes.

8 h 45 min + 7 h 30 min. 16:15:00, for example two work sessions added together.

23:59:59 + 0:00:01. Exactly 1 day, or 24:00:00.

1 day 2 h 30 min. 26.5 hours in decimal, 1,590 minutes in total.

Common uses

Adding durations is a daily task for runners adding lap times, cooks adding stages of a recipe, editors summing clip lengths, students tallying study time, and people comparing flight or driving legs. For a work shift between a start and end clock time, use the hours calculator. For weekly totals, see the time card calculator.

Decimal hours and minutes

Decimal hours are used by spreadsheets, timesheet software and billing records. A frequent mistake is to write 7 hours 30 minutes as 7.30, when it is 7.5 hours. The time to decimal calculator converts both ways, and there is a basic hours to minutes converter for quick checks.

Clock arithmetic versus durations

A duration is an amount of time, such as 2 hours 35 minutes. A clock time is a moment, such as 2:35 PM. You can add a duration to a clock time (2:35 PM plus 3 hours is 5:35 PM), but you cannot add two clock times. If you want to know what date follows a number of days, the date calculator handles the calendar, including month lengths and leap years.

Seconds and the SI definition

The second is the SI base unit of time, and civil time is based on Coordinated Universal Time, which is kept within a second of Earth’s rotation. For everyday calculations, you can treat every minute as exactly 60 seconds, which is what this calculator does.

Frequently asked questions

How do I add hours and minutes?

Add the hours, add the minutes, and carry every 60 minutes into one hour. For example 8 h 45 min plus 7 h 30 min is 15 h 75 min, which is 16 hours 15 minutes.

How do I subtract time?

Convert both times to minutes (or seconds), subtract, and convert back. 5:15 minus 2:40 is 315 − 160 = 155 minutes, which is 2 hours 35 minutes.

What happens when the answer goes past 24 hours?

The answer is shown in total hours (such as 26:30:00) and also split into days, for example 1 day, 2 hours, 30 minutes. The calculator does not roll over like a clock.

How do I add up several times?

Add two at a time. Copy the result into the first time box, then add the next. For a full week of shifts, the time card calculator adds seven days in one go.

What is the answer in decimal hours?

Decimal hours are minutes divided by 60 added to the whole hours. 2 hours 35 minutes is 2.5833 hours. The time to decimal calculator converts any time this way.

Can the answer be negative?

Yes. If you subtract a longer time from a shorter one, the result has a minus sign, for example 1:00:00 − 2:00:00 = −1:00:00.

Is this the same as a clock time calculator?

No. This adds and subtracts lengths of time (durations). To find the length between a start and end time of day, use the hours calculator, and to add days to a calendar date use the date calculator.

Sources and references

About this calculator

Written and maintained by Rashid Mehmood, founder of CalcTen. The formulas are unit-tested against hand-worked examples, and the content is reviewed whenever product sizes or guidance change. Last updated and reviewed 14 November 2026. See our editorial policy. If you spot a mistake, report it.

Results use the Gregorian calendar and calendar dates only, with "today" taken from your device. Contract, legal and payroll definitions of days, months and working time can differ, so check the wording that applies to you. Read the disclaimer.

Calculator by CalcTen — free online calculators.