Time Calculator
Add or subtract hours, minutes & seconds — plus convert any duration into other time units instantly.
Results use exact integer arithmetic — no floating-point errors. Decimals in the breakdown are rounded to 6 places.
How does this time calculator work?
All inputs are converted to total seconds, the operation is applied, then the result is converted back to HH:MM:SS — with zero floating-point error. The unit breakdown derives every other unit from that final second count.
Result = Seconds_A ± Seconds_B
Back to HH:MM:SS: H = ⌊Result ÷ 3600⌋ · M = ⌊(Result mod 3600) ÷ 60⌋ · S = Result mod 60
Perfect for summing work sessions, workout segments, or video clips. Carry-over from seconds to minutes to hours is automatic.
Find the difference between two durations — scheduled vs actual. Negative results display in red with a full unit breakdown.
Type any value in any unit — milliseconds through weeks — and all others update instantly, bidirectionally.
Last 10 calculations saved per session. Click any history row to restore it. Copy button formats results for pasting anywhere.