Time Calculator: Add or Subtract Time Durations
This time calculator adds or subtracts two time durations – days, hours, minutes and seconds – and gives the exact total. Two hours thirty minutes plus one hour forty-five minutes is 4 hours 15 minutes, every time, with no manual carrying of sixties. Enter two durations, choose add or subtract, and the result appears in the same days-hours-minutes-seconds format. The page also carries a time zone converter for turning a clock time from one zone into another.
How to Use This Time Calculator
- Enter Time 1. Days, hours, minutes and seconds – leave any unit at zero if you do not need it.
- Enter Time 2. The duration you are adding or taking away.
- Choose the operation. Add for a total, subtract for what remains.
- Read the result. It is normalised automatically: 90 minutes never stays as “90 minutes” in the answer, it becomes 1 hour 30 minutes.
How the Calculation Works
Both durations are converted to a single number of seconds – a day is 86,400 seconds, an hour 3,600, a minute 60. The two totals are added or subtracted, then the answer is converted back into days, hours, minutes and seconds. Working in seconds is what makes the result exact: there is no rounding at any step.
Inputs are validated as you calculate. Hours must be 0 to 23 and minutes and seconds 0 to 59 in each field (larger amounts belong in the days field), and a subtraction that would go below zero is rejected with a message instead of a negative time.
Worked Example: Adding Two Work Sessions
- Time 1: 2 hours 30 minutes = 9,000 seconds.
- Time 2: 1 hour 45 minutes = 6,300 seconds.
- Total: 15,300 seconds, which converts back to 0 days, 4 hours, 15 minutes, 0 seconds.
- Subtraction check: 1 day minus 1 second gives 0 days, 23 hours, 59 minutes, 59 seconds – the borrow runs through every unit correctly.
Common Uses
- Work hours – totalling shifts, or removing breaks from a shift length.
- Project time – adding task durations to estimate a delivery time.
- Travel and events – combining legs of a journey or running orders for a schedule.
- Time math homework – checking duration problems where the carrying is the whole point.
For the same duration math plus a difference mode and one-click unit conversions, use the hours calculator. Date-level gaps belong on the days between dates calculator, and the full set of tools is on the time and date calculators hub.
Time 1
Time 2
Time Zone Converter
Convert time between different time zones
Time Zone Conversion
Time Math, Worked in Seconds
Every calculation this tool makes goes through seconds first. These three examples show the full working, so you can check your own results line by line.
| Problem | In seconds | Result |
|---|---|---|
| 2 h 30 min + 1 h 45 min | 9,000 + 6,300 = 15,300 | 0 days, 4 hours, 15 minutes, 0 seconds |
| 90 minutes + 90 minutes | 5,400 + 5,400 = 10,800 | 0 days, 3 hours, 0 minutes, 0 seconds |
| 3 days 4 hours - 1 day 6 hours | 273,600 - 108,000 = 165,600 | 1 day, 22 hours, 0 minutes, 0 seconds |
| 1 day - 1 second | 86,400 - 1 = 86,399 | 0 days, 23 hours, 59 minutes, 59 seconds |
Frequently Asked Questions
Why can I not enter 25 hours in the hours field?
Each field holds one unit: hours run 0 to 23, minutes and seconds 0 to 59. For 25 hours, enter 1 day and 1 hour - the total is identical and the result stays readable.
What happens if the subtraction goes negative?
The calculator stops and tells you the resulting time cannot be negative, rather than showing a meaningless answer. Swap the two durations if you want the size of the gap.
How do I add more than two durations?
Add the first two, note the result, then enter it as Time 1 with the next duration as Time 2. Each step is exact, so chaining loses nothing.
Does this calculator convert time zones too?
Yes - a converter on this page turns a date and clock time from one time zone into another, which is the tool to use for scheduling across regions.
All examples were computed in seconds and converted back by hand: a day is 86,400 seconds, an hour 3,600, a minute 60.