All Tools › Date & Time

Time Duration Calculator

Add or subtract hours, minutes and seconds from any time to calculate total durations and end times.

Starting Time

Durations to Apply

How it works

The calculator converts every value to a single unit — seconds — so that addition and subtraction are exact. For each duration row we compute sign × (h·3600 + m·60 + s), then sum all rows and add the result to the starting time's seconds (H·3600 + M·60 + S). The final total is converted back with H = floor(total/3600) mod 24, M = floor((total%3600)/60), S = total mod 60, producing a clean HH:MM:SS clock time and reporting any day overflow.

Frequently Asked Questions

How do I add hours, minutes and seconds together?

Convert everything to seconds (hours × 3600 + minutes × 60 + seconds), add the totals, then convert back: divide by 3600 for hours, take the remainder divided by 60 for minutes, and the final remainder is seconds.

What if the result is more than 24 hours?

The calculator wraps around midnight (a 24-hour clock) and shows the day overflow separately, so a starting time of 22:00 plus 5 hours will display 03:00 with a "+1 day" note.

Can I subtract a duration from a time?

Yes. Select the "−" operator on any duration row. Negative values are supported, and if subtraction crosses midnight the clock rolls back to the previous day.

Related Tools

Free tools by TUNA — energy supply from vetted manufacturers