Skip to content
thecalculatorstudio

Time Calculator: Add and Subtract Hours, Minutes and Seconds

List lengths of time, one per line, to add and subtract them, or take a time of day and add or subtract a length of time. You get the total as h:mm:ss, in words and in decimal hours.

Last reviewed

Total time

3:00:00

3 hours

As hours and minutes
3:00
As decimal hours
3
In minutes
180.00
In days
0.125

An hour is 60 minutes of 60 seconds. This does not allow for time zones or the clocks changing for daylight saving.

Adding and subtracting time

Time is not a decimal quantity: an hour has 60 minutes and a minute has 60 seconds, so ordinary column addition goes wrong. 1 hour 45 minutes plus 2 hours 30 minutes is not 3 hours 75 minutes. It is 4 hours 15 minutes, because the 75 minutes carry 60 into the hours.

The calculator turns every duration into seconds, adds or subtracts, and turns the result back. NIST lists the minute as 60 seconds, the hour as 3,600 seconds and the day as 86,400 seconds, and these are exact.

Two ways to use it

Lengths of time. Enter one per line. A line may begin with a minus sign to subtract it. You can write each as h:mm or h:mm:ss, in units such as 1h 30m or 90m, or in decimal hours such as 1.5.

A time of day. Enter a clock time, choose add or subtract, and enter a length of time. The result wraps around midnight and the calculator says how many days later or earlier it is.

Worked examples

Sum Total
1:30 + 2:15 3:45
1:45 + 2:30 4:15
8:15 + 7:50 16:05
5:00 − 1:45 3:15
0:45 + 0:50 + 0:40 2:15
1:30 + 2h 15m − 0:45 3:00

The last row is the calculator’s starting example: 1:30 plus 2:15 is 3:45, less 0:45 leaves exactly 3:00, which is 3 hours in decimal.

Clock examples:

  • 9:30 am plus 5 h 45 min is 3:15 PM on the same day.
  • 11:50 pm plus 20 minutes is 12:10 AM, 1 day later.
  • 2:00 am minus 3 hours is 11:00 PM, 1 day earlier.

Decimal hours

Payroll and invoices usually want hours as a decimal. The conversion is minutes ÷ 60:

Minutes Decimal hours
6 0.1
15 0.25
20 0.3333
30 0.5
45 0.75
50 0.8333

So 3 hours 45 minutes is 3.75 hours, and 7 hours 20 minutes is 7.3333 hours.

What it does not do

Common mistakes

  • Adding minutes as decimals. 1:45 is not 1.45 hours; it is 1.75.
  • Forgetting to carry. 60 minutes make an hour.
  • Mixing 12-hour and 24-hour times. 12:30 am is half past midnight and 12:30 pm is half past noon.
  • Leaving out the minus sign when you mean to subtract.

For a weekly timesheet, use the time card calculator, and to add up hours worked the hours calculator.

Totals worth checking

  • 1:45 + 2:50 + 0:35 is 5 hours 10 minutes, which is 5.1667 decimal hours.
  • 8:00 − 0:45 − 0:30 is 6 hours 45 minutes, or 6.75 hours.
  • A working week of 8:30, 7:45, 9:15, 8:00 and 6:30 adds to exactly 40 hours.

Add the minutes first, carry 60 into the hours, and then add the hours. Adding 1:45 and 2:50 as if they were decimals would give 3.95, which is wrong.

How it is calculated

Everything is whole-number arithmetic in seconds. Decimal hours are rounded to four places for display, and a decimal duration such as 1.5 hours is converted exactly and rounded to the nearest second.

Frequently asked questions

How do I add hours and minutes?

Add the minutes, carry every 60 to the hours, then add the hours. 1:30 plus 2:15 is 3 hours and 45 minutes. The calculator works in whole seconds, so it carries for you, including past 24 hours.

How do I subtract time?

Start a line with a minus sign. 5:00 followed by - 1:45 gives 3:15. If you subtract more than you have, the total goes negative and is shown with a minus sign.

How do I turn hours and minutes into decimal hours?

Divide the minutes by 60 and add the hours. 3 hours 45 minutes is 3 + 45 ÷ 60 = 3.75 hours. The calculator shows the decimal alongside, which is what payroll and invoices usually need.

What if a time goes past midnight?

In clock mode the time wraps and the calculator says how many days later or earlier it is. 11:50 pm plus 20 minutes is 12:10 am, 1 day later.

What formats can I type?

h:mm and h:mm:ss, units such as 1h 30m or 90m or 45s, and decimal hours such as 1.5. Clock times can be 24-hour, 21:30, or 12-hour with am or pm.

Does it allow for daylight saving or time zones?

No. It does plain arithmetic on hours and minutes. If a period crosses a clock change, the real elapsed time differs by an hour. For time zones, use the time zone converter.

Related calculators

Sources