Time & Pay

Hours and Minutes Calculator

Add or subtract hours, minutes and seconds. Enter each duration or paste a list to get an exact total and a reusable worksheet.

Go to calculator
Created by BiznToolsFounder: Syed TalhaMethod checked
Entry method

Use whole numbers. Blank fields are zero. Empty rows are skipped.

Duration 1

Duration 2

Total duration

Enter a duration to see the total.

On this page
No sign-up Private calculationsHow it’s calculated

The method

How to add and subtract hours, minutes and seconds

Convert each duration to whole seconds. Add or subtract those seconds as selected. For the displayed duration, divide the magnitude by 3,600 for whole hours, then split the remaining seconds into minutes and seconds. The sign applies to the entire total.

Seconds in one durationHours × 3,600 + minutes × 60 + seconds
Total secondsSeconds in Add rows − seconds in Subtract rows
Decimal hoursTotal seconds ÷ 3,600

Example 1

Add two durations and subtract an interval

Add 9,930 and 5,745 seconds, then subtract 920 seconds. The resulting 14,755 seconds are exactly 4 hours, 5 minutes and 55 seconds.

Add
2:45:30
Add again
1:35:45
Subtract
0:15:20
Exact duration
4:05:55

Example 2

Add durations past 24 hours

Add 20 hours and 10 hours to get 30 hours of elapsed time. The hours continue to accumulate past 24.

First duration
20:00:00
Second duration
10:00:00
Exact duration
30:00:00

Example 3

Subtract a longer duration

Take 90 minutes from 60 minutes to get negative 30 minutes. The result starts with a minus sign even though its hour component is zero.

Add
1:00:00
Subtract
1:30:00
Exact duration
−0:30:00

Before you calculate

Assumptions & limits

  • Use up to 100 duration rows. Each entry accepts whole values from 0 to 999,999 for hours, minutes and seconds. Blank fields count as zero and completely empty rows are skipped.
  • Enter 90 in a Minutes field or paste 90m to express ninety minutes. In H:MM or H:MM:SS notation, the minutes and seconds portions run from 00 through 59.
  • Each nonblank line must contain one valid duration before a pasted list can replace the rows. Use a minus sign before the whole line to subtract it.
  • Totals are exact to the second. Decimal hours are rounded once from the total to six places, with a half-way value rounded away from zero.
  • The calculator works with elapsed quantities and performs its calculation in this tab. Use a separate time or shift calculator for intervals that start with clock readings.

Keep in mind

Common mix-ups

What does 1:30 mean?

In this calculator 1:30 means one hour and thirty minutes. For one minute and thirty seconds, use 0:01:30 or 1m 30s.

Why does the total minutes value also show seconds?

The seconds preserve the exact result when the total is partway through a minute. For example, 1:31:15 is 91 whole minutes with 15 seconds left over.

How should I use the CSV?

Use the signed total seconds column for arithmetic in a spreadsheet. The last row gives the result, and the decimal hours columns identify whether that value is rounded.

Sources & calculation notes

NIST Guide to the SI · Chapter 5, Table 6

Defines the minute as 60 seconds and the hour as 60 minutes or 3,600 seconds.

Method and input rules checked: . Engineering validation; no professional specialist review is claimed.