Add Time Calculator

Add or subtract a duration in hours, minutes, and seconds to/from a start time.

Time & Date Add or subtract Day rollover
Rate this calculator · 4.8 (4)

Add or subtract time from a clock time

HH:MM:SS · day rollover handled

Instructions — Add Time Calculator

1

Enter a start time

Type or pick a clock time in HH:MM:SS format (24-hour). The add time calculator runs entirely in your browser using a base-60 sexagesimal arithmetic — the same system the Sumerians invented around 3000 BCE and the SI second still uses today.

2

Choose add or subtract

Use the toggle to add a duration (push the clock forward) or subtract (push it backward). Subtracting more than the time-of-day amount rolls into the previous day — the result shows a day offset, so you know how far back you went.

3

Enter hours, minutes, seconds

Three separate fields. Carry-over is automatic — entering 0 hours, 90 minutes, 0 seconds gives the same result as 1 hour, 30 minutes, 0 seconds. The result panel shows the new clock time in both 24-hour (HH:MM:SS) and 12-hour (h:mm AM/PM) formats.

Day rollover: If you add enough hours to cross midnight, the result shows a "+1 day" label. The add time calculator handles up to thousands of hours of rollover correctly.
Decimal hours vs. HH:MM: 1.5 hours is not 1:50 — it is 1:30. The decimal fraction multiplies by 60, not 100. The add time calculator avoids that mistake by using three separate H/M/S fields instead of a single decimal.

Formulas

The add time calculator performs base-60 arithmetic with automatic carry-over. The simplest implementation converts everything to seconds, sums, then converts back — exactly the approach the calculator above uses.

Total time as a sum
$$ T_{total} = \sum_{i=1}^{n} T_i $$
The general add-time formula. Each $T_i$ is one of the time values, with the sign flipped if it is being subtracted instead of added.
Convert HH:MM:SS to seconds
$$ S_{total} = H \times 3600 + M \times 60 + S $$
Reduce each time value to total seconds before doing the arithmetic. This avoids ever having to track carry-over manually.
Convert seconds back
$$ H = \lfloor S/3600 \rfloor,\ M = \lfloor (S \bmod 3600)/60 \rfloor,\ S_r = S \bmod 60 $$
Floor division by 3600 gives hours; the remainder divided by 60 gives minutes; the remainder of that gives seconds.
Carry-over rule
$$ 60\,\text{seconds} = 1\,\text{minute};\ 60\,\text{minutes} = 1\,\text{hour} $$
The base-60 (sexagesimal) carry-over rules. Inherited from Babylonian astronomy via the Greeks, then formalized by NIST as the SI second.
Day rollover
$$ d = \lfloor S_{total}/86400 \rfloor,\ T_{clock} = S_{total} \bmod 86400 $$
86,400 seconds = 24 hours. The quotient is the day offset; the remainder is the clock time on that day.
Subtraction with rollback
$$ T_{result} = T_{start} - T_{duration} $$
Subtracting past 00:00 rolls into the previous day. The add time calculator handles this by allowing negative day offsets in the result.

Reference

Common add-time problems
StartOperationResultNotes
09:00:00+ 8h 30m17:30:00 (5:30 PM)Standard workday with 30-min lunch break
14:25:00+ 1h 45m16:10:00 (4:10 PM)Meeting scheduling — carry-over in minutes
22:30:00+ 3h 0m01:30:00 (+1 day)Crosses midnight — day rollover
23:50:00+ 0h 30m00:20:00 (+1 day)Edge case at midnight
03:00:00- 5h 0m22:00:00 (-1 day)Subtracting past midnight (previous day)
12:00:00+ 0h 90m13:30:00 (1:30 PM)Carry-over: 90 min = 1h 30m
00:00:00+ 24h 0m00:00:00 (+1 day)Full day cycle

Time-unit conversion reference

Useful when the add time calculator output uses one unit but you need another.

Decimal to HH:MM
Decimal hours= HH:MM
0.25 h0:15
0.50 h0:30
0.75 h0:45
1.25 h1:15
1.50 h1:30
1.75 h1:45
2.33 h2:20
7.50 h7:30
Minutes to decimal hours
Minutes= Decimal h
15 min0.25 h
30 min0.50 h
45 min0.75 h
60 min1.00 h
90 min1.50 h
120 min2.00 h
480 min8.00 h
3600 min60.00 h

For payroll: most US employers use decimal hours on timesheets (8.50 h) rather than HH:MM (8:30) because spreadsheets handle decimals more cleanly. Multiply minutes by 1/60 to convert.

Article — Add Time Calculator

Add time calculator: how base-60 clock arithmetic works

The add time calculator adds or subtracts a duration in hours, minutes, and seconds to or from a start clock time, with automatic base-60 carry-over and day rollover. 09:00:00 + 8h 30m gives 17:30:00 (5:30 PM); 22:30 + 4h gives 02:30 the next day.

Clock arithmetic is one of the oldest counting systems still in active use. The base-60 (sexagesimal) framework where 60 seconds make a minute and 60 minutes make an hour was invented by the Sumerians more than 5,000 years ago, refined by Babylonian astronomers, and adopted by the SI second in modern form. The add time calculator above implements its standard carry-over rules.

What the add time calculator does

The calculator takes a start clock time in HH:MM:SS format, a duration broken into hours, minutes, and seconds, and an operation (add or subtract). It outputs the resulting clock time in both 24-hour and 12-hour AM/PM formats, plus a day-offset label if the calculation crossed midnight.

The day-offset label is the feature that matters in scheduling. A shift starting at 22:00 and lasting 9 hours ends at 07:00 — but the "+1 day" tag in the add time calculator output makes clear that the end time is the following morning, not earlier the same day. Subtracting past 00:00 produces a negative day offset showing how far back into the previous day the result lands.

Base-60 time arithmetic and carry-over

Time addition follows base-60 carry-over rules: 60 seconds equals 1 minute, 60 minutes equals 1 hour. The add time calculator handles carry-over automatically. Type 0 hours, 90 minutes, 100 seconds and the result simplifies correctly to 1 hour, 31 minutes, 40 seconds.

Internally the simplest implementation converts every value to total seconds, performs the arithmetic on those integers, and converts the answer back to HH:MM:SS at the end. This avoids ever tracking carry-over in the middle of the calculation. The conversion from seconds back to clock format uses integer division by 3600 for hours, by 60 (after taking the remainder) for minutes, and a final modulus for seconds.

  • 60 seconds = 1 minute
  • 60 minutes = 1 hour
  • 3600 seconds = 1 hour
  • 86400 seconds = 1 day (when no DST or leap-second shift)
  • Carry-over rule: roll any value ≥ 60 into the next larger unit
  • Modular — results past 24h roll into the next day

Why add time uses sexagesimal numbers

The Sumerians, around 3000 BCE, chose 60 as the base for their counting system because it has more small divisors than any number of comparable size — 2, 3, 4, 5, 6, 10, 12, 15, 20, and 30 all divide 60 evenly. That property made it ideal for fractional arithmetic before decimal fractions were invented. Trade, astronomy, and surveying all benefited.

The Babylonians inherited the system and built their astronomy on it. The Greeks adopted it for angle measurement (still in use as degrees, minutes, and seconds of arc). The Hellenistic astronomer Ptolemy formalized the 60-minute hour. By the modern era, the base-60 time system was so embedded that decimalization efforts during the French Revolution (10-hour days, 100-minute hours) failed within a few years. NIST and the BIPM still define the SI second in this framework, although the second itself is now anchored to atomic-cesium transitions rather than astronomical observation.

Did you know

The SI second is currently defined as the duration of 9,192,631,770 periods of the radiation corresponding to the transition between the two hyperfine levels of the ground state of the cesium-133 atom. That definition replaced an astronomical one (a fraction of the tropical year 1900) in 1967. The base-60 structure of minutes and hours sits on top of it.

Add time vs. subtract time with day rollover

The add time calculator handles both directions. Adding more than 24 hours, or adding enough to push past midnight, produces a positive day offset on the result. Subtracting past 00:00 produces a negative day offset. The clock time is always shown modulo 24 hours, with the day-offset label as a separate field.

Daylight Saving Time is not in clock arithmetic

The add time calculator above treats every day as having exactly 86,400 seconds. In regions that observe Daylight Saving Time, two days a year actually have 23 or 25 hours. For scheduling calculations that cross a DST boundary, the calculator's answer in pure clock-time is correct but the calendar interpretation may shift by an hour. Time-zone libraries handle the DST adjustment; pure clock arithmetic does not.

Decimal hours vs. HH:MM

One of the most common arithmetic mistakes around time is confusing decimal hours with HH:MM notation. 1.5 hours is not 1:50; it is 1:30. The decimal fraction of an hour multiplies by 60, not 100. Half an hour is 30 minutes, three-quarters of an hour is 45 minutes, and so on.

1.5 decimal hours
1:30:00
90 minutes, not 1:50
2.75 decimal hours
2:45:00
165 minutes, not 2:75

The conversion is straightforward in either direction. Decimal-to-HH:MM: separate the integer hours, multiply the fractional part by 60 to get minutes. HH:MM to decimal: hours stay, minutes divide by 60. So 1:45 in decimal is 1 + 45/60 = 1.75 hours.

Add time in payroll and timesheets

Most US employer time-tracking systems internally store time as either total minutes or decimal hours, then add them with regular base-10 arithmetic. Spreadsheets handle decimals cleanly; HH:MM addition without dedicated time formatting often produces nonsense (Excel can do it correctly, but only with explicit time-format cells).

The Fair Labor Standards Act (FLSA) sets the legal framework for US wage calculation but does not mandate a specific time-entry format. Employers can round to the nearest 15-minute interval (the "7-minute rule") as long as rounding does not systematically disadvantage employees over time.

Add time quick reference
1 hour 60 min · 3600 sec
1 day 24 h · 1440 min · 86400 sec
1.5 h decimal 1:30 (NOT 1:50)
HH:MM → decimal H + M/60
Decimal → HH:MM integer h, frac × 60

Using the add time calculator correctly

Three fields drive the add time calculator: start time (HH:MM:SS), duration broken into separate H/M/S fields, and the add/subtract toggle. The duration fields accept any non-negative integers and carry over automatically — entering 0 hours, 130 minutes will resolve cleanly.

Tip

For end-of-shift calculations, enter the shift start as the start time and the shift length as the duration. The add time calculator returns the end time plus a day-offset if the shift crosses midnight. Read the day-offset label — it tells you whether the result is the same day or the next.

Common add time mistakes

The most common mistake is treating decimal hours and HH:MM as the same thing. 1.5 is 1:30, not 1:50. Second on the list: forgetting that days have 24 hours when wrapping past midnight — without an explicit day-offset label, a result of 02:30 could be 2:30 AM the same day, the next day, or three days later. The add time calculator output includes the offset to make this unambiguous. Third: assuming DST corrections are part of clock arithmetic. They are not — DST is calendar logic, not clock logic, and requires a date-aware library.

FAQ

Convert each value to total minutes (or seconds), add them, then convert back. For example, 1 hour 30 min + 2 hours 45 min = 90 + 165 = 255 minutes = 4 hours 15 minutes. The add time calculator above does this automatically and shows the result in HH:MM:SS format, with day rollover if you cross midnight.
1 hour and 30 minutes (1:30), not 1:50. The decimal 0.5 of an hour means half an hour, which is 30 minutes — multiply the decimal fraction by 60. Common conversions: 1.25 h = 1:15, 1.5 h = 1:30, 1.75 h = 1:45, 2.33 h ≈ 2:20.
Combining two or more durations or clock times into a single total, using base-60 carry-over rules: 60 seconds = 1 minute, 60 minutes = 1 hour. Add time arithmetic is what payroll, video editing, cooking, and athletics all rely on.
Use the "Subtract" toggle on the calculator above. It handles cases where the duration is larger than the start time — the result rolls into the previous day, and the calculator labels the rollover so you know how far back you went. For mental math, convert both times to total minutes or seconds, subtract, and convert back.
The add time calculator labels the rollover. If 22:30 + 4 hours lands at 02:30 the next day, the result shows "02:30:00 (+1 day)". The clock time itself is correct; the day-offset tag tells you the calculation crossed midnight.
History. The Sumerians (around 3000 BCE) chose 60 for their counting system because it has more divisors than any small number — 2, 3, 4, 5, 6, 10, 12, 15, 20, 30 — which made it convenient for trade, astronomy, and fractions. The Babylonians inherited the system, the Greeks and Egyptians passed it down, and it survives today in seconds, minutes, degrees, and arc-minutes.
480 minutes (8 × 60). The standard 8-hour US workday is 480 minutes or 28,800 seconds. If you log 8:30 hours and 7:45 hours on two timesheets, that's 510 + 465 = 975 minutes = 16:15 (16 hours 15 minutes) total.
When seconds or minutes reach 60, they roll into the next-larger unit. Example: 45 sec + 30 sec = 75 sec = 1 min 15 sec. The calculator above does this automatically — you can enter 0 hours, 90 minutes, 100 seconds and it will simplify the result correctly to 1h 31m 40s.
The calculator above adds (or subtracts) one duration from a start time. To add several durations together, convert each to total seconds, sum them, and use the total as the duration. Example: three pieces of 1:30 + 0:45 + 2:15 = 5400 + 2700 + 8100 = 16,200 seconds = 4:30:00.
The input uses 24-hour HH:MM:SS, but the result is shown in both 24-hour and 12-hour AM/PM. So 09:00:00 + 8 hours displays as 17:00:00 with the 12-hour equivalent 5:00 PM beneath it.