⏱️ Time Calculator
Add or subtract two time durations (hours, minutes, seconds) with correct carrying and borrowing.
Time Values
Result
Result Duration
–
Total Seconds
–
Total Minutes
–
Total Hours
–
Advertisement
How the Time Calculator Works
This calculator adds or subtracts two durations expressed in hours, minutes, and seconds, correctly carrying over when seconds or minutes exceed 59.
Method
Convert both times to total seconds:
totalSeconds = h × 3600 + m × 60 + s
Add or subtract the totals, then convert back to HH:MM:SS
(60 seconds = 1 minute, 60 minutes = 1 hour)
totalSeconds = h × 3600 + m × 60 + s
Add or subtract the totals, then convert back to HH:MM:SS
(60 seconds = 1 minute, 60 minutes = 1 hour)
Frequently Asked Questions
What happens if I subtract a larger time from a smaller one?
The calculator subtracts the smaller total from the larger total and shows the result as a negative duration with a note, since a duration cannot normally be negative.
Can I use this for durations longer than 24 hours?
Yes. The hours field accepts any non-negative number, so you can add or subtract durations spanning multiple days expressed in hours.
How is carrying handled?
Both durations are first converted to total seconds, combined, and then converted back into hours, minutes, and seconds, which automatically handles all carrying and borrowing.