Time Calculator

Operation
Result Time03:45:00

This time calculator adds or subtracts two clock-style durations expressed as hours, minutes, and seconds. It converts each value entirely into seconds, performs the arithmetic, and converts the answer back into a clean HH:MM:SS result. Use it to total two stopwatch splits, find the gap between two times, or sum up segments of a task without juggling base-60 math in your head.

Formula

total = (h₁·3600 + m₁·60 + s₁) ± (h₂·3600 + m₂·60 + s₂) ; subtract uses |difference|

h, m, s
Hours, minutes, and seconds of each input time
total
Combined value in seconds before formatting back to HH:MM:SS
±
Plus when adding; subtraction returns the absolute difference

How it works

  1. Enter the first time and the second time in HH:MM or HH:MM:SS form (hours 0-23, minutes and seconds 0-59).
  2. Choose Add to combine the two durations or Subtract to find the difference between them.
  3. The calculator converts both times to total seconds, adds them or takes the absolute difference, then breaks the result back down into hours, minutes, and seconds formatted as HH:MM:SS.

Worked examples

Adding 02:30:00 and 01:45:30.

  1. First time: 2×3600 + 30×60 + 0 = 9000 s. Second: 1×3600 + 45×60 + 30 = 6330 s.
  2. Sum: 9000 + 6330 = 15330 s.
  3. Convert back: 15330 ÷ 3600 = 4 h, remainder 930 s = 15 min 30 s.

04:15:30.

Subtracting 02:15 from 05:00.

  1. First time: 5×3600 = 18000 s. Second: 2×3600 + 15×60 = 8100 s.
  2. Difference: |18000 − 8100| = 9900 s.
  3. Convert back: 9900 ÷ 3600 = 2 h, remainder 2700 s = 45 min.

02:45:00.

Frequently asked questions

What time format does this accept?
You can enter times as HH:MM or HH:MM:SS. Hours must be 0 to 23 and minutes and seconds 0 to 59. If you omit seconds, the calculator treats them as zero.
Does subtraction ever give a negative time?
No. Subtraction returns the absolute difference between the two times, so the order you enter them does not matter and the result is always a positive duration.
How is this different from a time card calculator?
This tool simply adds or subtracts two given durations. A time card calculator instead takes clock-in and clock-out pairs across days and totals worked hours, overtime, and pay.
Can the result exceed 24 hours?
Yes. The output is a duration, not a time of day, so adding two large durations can produce a result above 24 hours expressed in the HH:MM:SS format.