Time Calculator
Enter two durations and choose add or subtract to get the combined time in hours, minutes and seconds.
Reviewed by the ToolNestr Editorial Team — July 2026
Duration 1
Duration 2
How time calculation works
The time calculator converts each duration into total seconds, performs the addition or subtraction, then converts back to hours, minutes and seconds. Each input field is multiplied by its conversion factor: totalSeconds = hours × 3600 + minutes × 60 + seconds.
When subtracting, if Duration 2 is larger than Duration 1, the result is negative. The absolute value is displayed with a minus sign. All rollovers are handled automatically — 60 seconds become 1 minute, 60 minutes become 1 hour — so the h:m:s display is always in canonical form.
Worked examples
Why a time calculator is useful
Adding and subtracting time values by hand is surprisingly error-prone — 90 minutes is 1.5 hours, 75 minutes is 1 hour 15 minutes, and converting everything to a common unit takes mental effort. This calculator handles all the conversions for you, letting you add or subtract durations in h:m:s format and see the result instantly.
Video & Content Creators
Add up multiple clips to get total video length. Subtract segments to find remaining runtime. Essential for editing workflows.
Athletes & Coaches
Add lap times to get total race time, or subtract a split from total to find segment time. Track improvement across training sessions.
Home Cooks
Add prep time + cooking time to know exactly when dinner will be ready. Subtract elapsed time from a recipe that has already started.
Project Managers
Sum task durations to estimate project timelines. Subtract completed time from total to see remaining effort required.
How to use the time calculator
Enter Duration 1
Fill in hours, minutes and seconds. Leave blank any fields that are zero.
Choose add or subtract
Select + to combine durations or − to find the difference.
Read h:m:s & seconds
Result shown in clean h:m:s format plus total seconds for precise calculations.
Time calculation tips
Minutes and seconds roll over
60 minutes = 1 hour, 60 seconds = 1 minute. The calculator handles rollover automatically — so 1h 45m + 1h 30m = 3h 15m, not 2h 75m.
Negative results for subtraction
If Duration 2 is larger than Duration 1, the result shows with a minus sign. This is useful for finding how much time is left before a deadline.
Total seconds for precision
For programming, billing, or data entry, the total seconds value is often more useful than h:m:s. Use it for calculations, then convert back as needed.
When to use a time calculator
A time calculator helps in any situation where you need to combine or compare durations without doing manual conversions. Video editors regularly add up multiple clip lengths to determine total project runtime. A sequence of four clips at 3 minutes 22 seconds, 5 minutes 10 seconds, 2 minutes 45 seconds and 4 minutes 30 seconds adds to 15 minutes 47 seconds, but adding these by hand invites arithmetic errors. The time calculator handles the rollover automatically, giving you the correct result instantly.
Athletes and coaches use time calculations to analyze performance data. Adding lap times from a race gives the total finish time, while subtracting a split from the total reveals the time for a specific segment. Tracking these values over a season shows improvement trends in precise second-level detail. Project managers sum task durations to build realistic schedules. If task A takes 4 hours 15 minutes and task B takes 2 hours 50 minutes with 30 minutes of overlap, the calculator helps determine the true timeline.
Home cooks and bakers find the calculator useful for meal timing. Adding prep time, cooking time and resting time tells you exactly when dinner will be ready. If prep starts at 5:30 PM and the total duration is 1 hour 45 minutes, you know to expect the meal at 7:15 PM. This tool is also valuable for billing and timesheet purposes, where work segments measured in hours and minutes need to be summed for accurate invoicing. The additional total-seconds display provides a precise figure for spreadsheet entry or payroll systems that require decimal-hour inputs.
Frequently asked questions
What can I do with this?
Add up durations (like lap times or task times) or find the difference between two durations. The result is shown as h:m:s and as total seconds.
Can the result be negative?
If you subtract a larger duration from a smaller one, the result is shown as a negative duration.
Is it private?
Yes — everything is calculated in your browser.
What happens if I leave fields empty?
Empty fields are treated as 0, so you only need to fill in the hours, minutes or seconds that apply to your duration.
Can I chain multiple additions and subtractions?
Not in a single operation — but you can add the result of one calculation as Duration 1 and add or subtract another duration.
What is the maximum duration I can enter?
There is no enforced limit, but extremely large values may overflow JavaScript integer precision. For most practical uses (under 100 million seconds), it works perfectly.
What is the difference between this and the hours calculator?
The hours calculator measures the span between two clock times (like 9 AM to 5 PM). This calculator adds or subtracts arbitrary durations (like 2h 30m + 1h 15m).
Can I use this for video editing?
Yes! Add up multiple video clips to get total project length, or subtract a segment duration from total time to find remaining runtime.