Audited ·Last updated 27 Jul 2026·3 citations·Tier 2·0 uses

Time Duration Calculator

Free time duration calculator. Add or subtract two hours:minutes:seconds durations and get the exact combined or remaining time, including negative results.

Time Duration Calculator

Operation
Hours component of the first duration.
Minutes component of the first duration (0–59).
Seconds component of the first duration (0–59).
Hours component of the second duration.
Minutes component of the second duration (0–59).
Seconds component of the second duration (0–59).
Hours
4
Whole hours in the result (magnitude — see 'Negative result?' for the sign).
Minutes
16 min
Seconds
15 sec
Total seconds (signed)
15,375 sec
Negative result?
No

Background.

This time duration calculator adds or subtracts two durations, each entered as hours, minutes, and seconds, and returns the combined or remaining time as a clean h:m:s breakdown plus a single signed total-seconds figure. It answers a different question from a clock-time span calculator: instead of asking 'how much time passed between these two clock readings', it asks 'what do these two ALREADY-KNOWN durations add up to (or differ by)' — combining a 2-hour-45-minute-30-second task with a 1-hour-30-minute-45-second task, reconciling a logged duration against a budgeted one, or totaling up several video-editing clip lengths two at a time.

Addition is the straightforward case: the two durations are converted to a common unit (seconds) and summed, then converted back to an hours/minutes/seconds display. Subtraction is where the calculator does something most quick mental-math attempts get wrong at the boundary — borrowing across the minute and hour columns the way you would with pen and paper (subtracting 45 seconds from 30 seconds requires borrowing a minute, exactly like subtracting 7 from 3 requires borrowing a ten), and, when duration 2 is actually longer than duration 1, returning a properly signed negative result rather than silently clamping to zero or throwing an error.

A negative subtraction result is a legitimate, common answer, not an edge case to be avoided: if you budgeted 1 hour 30 minutes for a task and it actually took 2 hours 45 minutes 30 seconds, 'duration 1 minus duration 2' is meaningfully negative — you went over budget by 1 hour 14 minutes 45 seconds. The calculator reports the magnitude of that overage in the main hours/minutes/seconds fields and flags the direction explicitly with a 'Negative result?' indicator, so the number itself is never ambiguous about which duration was actually longer.

The calculator places no upper bound on the hours field beyond a generous practical maximum, so it works equally well for sub-minute durations (a few seconds of song intro) and multi-day durations (150 hours of combined project time) without any special-casing — everything is converted to a single common unit of seconds internally before the addition or subtraction happens, and only converted back to the h:m:s display format at the very end.

This tool is deliberately narrower than a full date-and-time calculator: it never touches a calendar date, a time zone, or a specific clock reading, because durations by definition are lengths of time rather than points in time. That narrowness is a feature — video editors totaling clip lengths, race organizers combining split times, and hourly contractors reconciling logged task durations against a client's budgeted estimate all need exactly this pared-down arithmetic, without the extra fields a full scheduling tool would require. Pair it with the hours-between-times calculator when you need to derive a duration from two clock readings first, or with time-card when the duration in question is a payable work shift that also needs a break deduction and an overtime rule applied.

What is time duration calculator?

A duration, in this calculator's sense, is a length of elapsed time expressed as hours, minutes, and seconds — distinct from a specific moment in time (a clock reading or a calendar date). Two durations can be combined (added) to find a total, or compared (subtracted) to find a difference. This calculator performs both operations by first converting each duration to a single common unit — total seconds — since seconds are the finest granularity either duration is specified in, then performing plain arithmetic on that common unit, and finally converting the result back into an hours/minutes/seconds breakdown for display. This conversion-to-a-common-unit-and-back approach is the standard technique for any duration arithmetic, and it is exactly analogous to converting fractions to a common denominator before adding them: hours, minutes, and seconds are simply units of different sizes (3,600, 60, and 1 second respectively) that cannot be added or subtracted directly without a common footing.

How to use this calculator.

  1. Choose 'Add durations' to combine two time lengths, or 'Subtract' to find how much longer duration 1 is than duration 2 (the result can be negative if duration 2 is actually longer).
  2. Enter duration 1's hours, minutes, and seconds.
  3. Enter duration 2's hours, minutes, and seconds.
  4. Read the primary hours/minutes/seconds result for the combined or remaining time.
  5. Check 'Negative result?' when using subtract mode — if it reads Yes, the hours/minutes/seconds figures describe how much SHORTER duration 1 was than duration 2, not the reverse.
  6. Use 'Total seconds (signed)' when you need a single comparable number instead of the h:m:s breakdown — for example, to compare the magnitude of two separate duration calculations against each other.

The formula.

T = d₁ ± d₂ (in seconds, then re-split to h:m:s)

Each duration is first converted to a single total-seconds figure: d = hours×3600 + minutes×60 + seconds. In add mode, totalSeconds = d1 + d2. In subtract mode, totalSeconds = d1 − d2, which may be negative if d2 is larger than d1.

To produce the display breakdown, the calculator takes the absolute value of totalSeconds (absSeconds = |totalSeconds|) and decomposes it: resultHours = floor(absSeconds / 3600), then the remainder after removing those hours is split into resultMinutes = floor(remainder / 60) and resultSeconds = remainder mod 60. Because the breakdown always uses the absolute value, resultHours/Minutes/Seconds are always non-negative magnitudes — the sign of the overall result is reported separately via the isNegative flag (true when totalSeconds < 0), so the two pieces of information (magnitude and direction) never get confused with each other in a single signed h:m:s display.

A worked example.

Example

Adding a duration of 2 hours 45 minutes 30 seconds to a duration of 1 hour 30 minutes 45 seconds. Converting each to total seconds: the first is 2×3600 + 45×60 + 30 = 7,200 + 2,700 + 30 = 9,930 seconds. The second is 1×3600 + 30×60 + 45 = 3,600 + 1,800 + 45 = 5,445 seconds. Summing gives 9,930 + 5,445 = 15,375 total seconds. Converting back: 15,375 / 3,600 = 4 whole hours (14,400 seconds), leaving a remainder of 975 seconds; 975 / 60 = 16 whole minutes (960 seconds), leaving 15 seconds. So the combined duration is 4 hours, 16 minutes, 15 seconds. Now compare the subtract case with the same two durations: 9,930 − 5,445 = 4,485 seconds, which breaks down to 1 hour, 14 minutes, 45 seconds — and reversing the order (5,445 − 9,930 = −4,485) produces the identical 1h 14m 45s magnitude but with 'Negative result?' reading Yes instead of No.

modeadd
hours21
minutes145
hours12
minutes230
seconds130
seconds245

Frequently asked questions.

What happens if I subtract a longer duration from a shorter one?
The calculator reports the magnitude of the difference in the hours/minutes/seconds fields and sets 'Negative result?' to Yes, along with a negative 'Total seconds (signed)' figure. This is a genuinely useful answer — for example, if you budgeted 1 hour 30 minutes for a task and it took 2 hours 45 minutes 30 seconds, the calculator correctly tells you that you went 1 hour 14 minutes 45 seconds over budget, rather than silently returning zero or throwing an error.
How is this different from the hours-between-times calculator?
hours-between-times takes two clock-time POINTS (like 9:15 AM and 5:45 PM) and computes the span between them, with automatic overnight-wrap handling. This calculator instead takes two already-known DURATIONS (like '2 hours 45 minutes 30 seconds' and '1 hour 30 minutes 45 seconds') and adds or subtracts them directly — there is no clock, no AM/PM, no midnight-wrap logic, just two lengths of time being combined or compared.
Is there a limit to how large the hours value can be?
The input allows up to 999,999 hours, which is far beyond any realistic single-duration use case (over 114 years), so in practice the calculator has no meaningful upper bound for everyday and even large-scale project-management durations. Multi-day totals — 150 hours of combined project time, for example — work exactly the same way as sub-hour durations.
Why do I need to enter minutes and seconds separately instead of just decimal hours?
Because many real-world durations are naturally recorded and communicated in hours:minutes:seconds form — a video length, a race split time, a phone call duration — and converting each one to decimal hours by hand before adding is exactly the extra, error-prone step this calculator exists to remove. If you already have decimal hours, you can still use this calculator: enter the whole-hour part in the hours field and convert the decimal remainder to minutes (multiply by 60) and seconds yourself, or use a plain addition if your numbers are already in a single unit.
Can I add or subtract more than two durations at once?
Not in a single calculation — the calculator is built for two durations at a time. To combine three or more, run the calculator once to get a combined result, then run it again using that result as one of the two inputs for the next combination. This is the same 'add two at a time' approach used for adding any list of numbers by hand.
Does the calculator round or truncate the seconds component?
No — every input and output field is a whole-number count of seconds, minutes, or hours (no fractional seconds), so there is nothing to round. If your source durations include fractional seconds (for example, a stopwatch reading of 12.4 seconds), round to the nearest whole second before entering it; the calculator's arithmetic is otherwise exact.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 313 calculators remain free
  • No billing is enabled
Coming soon