Home/Calculators/Time & Date/Subtract Time Calculator

Subtract Time Calculator

Subtract one time duration from another in hours, minutes and seconds, with borrowing handled automatically — free and instant.

subtract-time-calculator
Result
—
In summary: Subtract seconds, minutes and hours, borrowing 60 where needed. So 5:00:00 minus 2:30:00 equals 2:30:00.

How subtracting time works

To subtract two durations, take away the seconds, then the minutes, then the hours, borrowing 60 from the next unit up whenever a column would go negative. For example 5:00:00 − 2:30:00 = 2:30:00, borrowing 60 minutes into the minutes column.

A second example makes the borrowing visible: 3:10:20 − 1:45:50. The seconds column would go negative, so borrow 60 seconds (20 + 60 − 50 = 30) and the minutes drop from 10 to 9. Nine minus 45 is negative too, so borrow an hour (9 + 60 − 45 = 24), leaving 2 hours minus 1. The answer is 1:24:30.

A quick pass through the add time calculator saves a step later on.

How to use this calculator

Enter the first (larger) duration and the second duration to subtract, each in hours, minutes and seconds. The difference appears in H:MM:SS. To convert the result to decimal, use the time to decimal calculator, or split it with the hours to minutes calculator.

Why borrowing matters

Because minutes and seconds are base-60, you cannot subtract column by column like decimals. If the seconds you are removing exceed the seconds you have, you borrow 60 seconds from the minutes. This calculator handles every borrow for you.

The same base-60 trap catches anyone typing times into a spreadsheet as plain decimals: 2.30 − 1.45 returns 0.85, which is neither 45 minutes nor anything else meaningful. Either format the cells as time, or convert to decimal hours first, where 2 h 30 m is 2.5 and 1 h 45 m is 1.75 — a difference of 0.75 hours, which is the 45 minutes you wanted.

Frequently asked questions

What is 5:00:00 minus 2:30:00?
5 hours minus 2 hours 30 minutes equals 2 hours 30 minutes (2:30:00).
How do I subtract one time from another?
Subtract seconds, then minutes, then hours, borrowing 60 from the next unit whenever a column goes negative.
What happens if the result is negative?
If the second duration is larger, the difference would be negative; enter the larger duration first to get a valid result.
Does it handle borrowing across minutes and seconds?
Yes. When seconds or minutes would go below zero, it borrows 60 from the unit above automatically.
Can I subtract two clock times, such as 17:15 minus 09:40?
Yes — enter each as a duration counted from midnight, so 17 h 15 m minus 9 h 40 m returns 7:35:00, the length of that working day. The only case it will not handle is a span that crosses midnight, which needs 24 hours added first.
How this tool works

The formula behind this tool is written out in full in the sections above, so you can check the maths yourself. Every calculator on Calculorium is verified against worked examples with automated tests before it is published, and pages are reviewed as formulas or standards change. Nothing you type is sent anywhere — the calculation runs entirely in your browser. Read how we build and check these tools.

Last updated: July 27, 2026 · Calculations run in your browser. Estimates for information only.