Skip to main content
SolvriaSolvria

Time Calculator

Add or subtract two durations given in hours, minutes, and seconds.

Enter your values to calculate your result.

Report an error

About this calculator

The Time Calculator adds or subtracts two durations given in hours, minutes and seconds, and shows the result both as hours-minutes-seconds and as decimal hours and minutes.

Use it for timesheets, journey legs, recipe timings or any sum of durations. It handles the carrying between seconds, minutes and hours for you.

What each field means

Hours

The hours of the first duration.

Hours are the largest unit and carry the most weight.

0 to 10,000.

Minutes

The minutes of the first duration.

Minutes above 59 should be moved into hours.

0 to 59.

Seconds

The seconds of the first duration.

Seconds are added or subtracted with the rest.

0 to 59.

Operation

Whether to add the second duration to the first or subtract it.

It decides the sign of the second duration.

Add or subtract.

Hours

The hours of the second duration.

Hours are the largest unit and carry the most weight.

0 to 10,000.

Minutes

The minutes of the second duration.

Minutes above 59 should be moved into hours.

0 to 59.

Seconds

The seconds of the second duration.

Seconds are added or subtracted with the rest.

0 to 59.

How it is calculated

  1. Convert each duration to seconds: hours × 3,600 + minutes × 60 + seconds.
  2. Add or subtract the two totals; if the result is negative it is shown as 0.
  3. Convert back: hours = whole hours, minutes = remaining whole minutes, seconds = what is left.
  4. Decimal hours = total seconds ÷ 3,600; decimal minutes = total seconds ÷ 60.

Total Seconds = (H₁×3600 + M₁×60 + S₁) ± (H₂×3600 + M₂×60 + S₂)

Both durations are converted to total seconds, added or subtracted, then converted back into hours, minutes, and seconds. If a subtraction would go below zero, the result is shown as 0 rather than a negative duration.

Symbols used

H, M, S
hours, minutes and seconds of a duration
Total Seconds
the duration expressed in seconds

Assumptions

  • Durations, not clock times: 25 hours is allowed and does not wrap to the next day.
  • A subtraction that would go below zero is shown as zero.
  • Every minute has 60 seconds and every hour 60 minutes.

Example

2h 30m + 1h 15m = 3h 45m, equal to 3.75 total hours or 225 total minutes.

Step by step

  1. Inputs: 2 h 30 min + 1 h 15 min.
  2. First = 9,000 s; second = 4,500 s.
  3. Sum = 13,500 s = 3 h 45 min 0 s.
  4. Decimal: 13,500 ÷ 3,600 = 3.75 hours; 13,500 ÷ 60 = 225 minutes.

Reading your result

Total Hours
The result as decimal hours.
Hours
Whole hours of the result.
Minutes
Remaining whole minutes of the result.
Seconds
Remaining seconds of the result.
Total Minutes
The result as decimal minutes.

What you can conclude

  • The total or difference of two durations, in the unit you prefer.
  • A duration you can read as hours and minutes or as decimal hours for pay and billing.

What you cannot conclude

  • A clock time or a date: it only works with durations.
  • A negative duration: it stops at zero.

Limitations

  • It combines exactly two durations.
  • It does not handle days, time zones or daylight saving.

Frequently Asked Questions

What happens if I subtract a larger duration from a smaller one?

The result is clamped at 0 — a duration can't be negative. If you need a signed difference, subtract the totals yourself using the Total Minutes or Total Hours values.

How do I turn minutes into decimal hours?

Divide the minutes by 60. For example, 45 minutes is 0.75 hours. The result shows this as Total Hours.

Can I enter more than 59 minutes?

Minutes and seconds are limited to 59; put full hours in the hours field. For example, enter 90 minutes as 1 hour and 30 minutes.