ThisCalculator

Date and time

Hours Minutes Seconds Calculator: Add & Convert Time

Updated · Standard formula, shown below

The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.

Hours Minutes Seconds Calculator: Add & Convert Time

This calculator adds, subtracts, and converts time in hours, minutes, and seconds. Enter up to six time values in the format HH:MM:SS (or just minutes and seconds), choose an operation, and the result is shown as a total duration in hours, minutes, and seconds, plus the same value converted to minutes and to seconds. It is designed for anyone who needs to total work logs, cooking times, exercise intervals, or any other set of durations without manual arithmetic.

Formula

The calculator converts every input time into a single number of seconds, performs the chosen operation, then converts the result back into hours, minutes, and seconds. For an input of h hours, m minutes, and s seconds, the total seconds is:

Total seconds = h × 3600 + m × 60 + s

For addition, the result is simply the sum of the three inputs. For subtraction, the calculator subtracts the second and third times from the first. The final duration is broken down as:

  • Hours = floor(total seconds ÷ 3600)
  • Minutes = floor((total seconds mod 3600) ÷ 60)
  • Seconds = total seconds mod 60

Every input is treated as a duration, not a clock time. If you enter 90 minutes as 01:30:00, the calculator interprets that as 1 hour 30 minutes, not 1:30 AM.

Worked Example

Using the default values: Time 1 = 01:30:00, Time 2 = 00:45:30, Time 3 = 00:00:00, Operation = Add.

  1. Convert Time 1: 1×3600 + 30×60 + 0 = 3600 + 1800 = 5400 seconds.
  2. Convert Time 2: 0×3600 + 45×60 + 30 = 0 + 2700 + 30 = 2730 seconds.
  3. Time 3 is 0 seconds.
  4. Add: 5400 + 2730 + 0 = 8130 seconds.
  5. Break down: 8130 ÷ 3600 = 2 hours (remainder 930 seconds). 930 ÷ 60 = 15 minutes (remainder 30 seconds).
  6. Result: 2:15:30 (2 hours, 15 minutes, 30 seconds).

The calculator shows the same result as the headline answer, with 135.50 minutes and 8130 seconds as the converted values.

When to Use This Calculator

This tool is useful in many everyday situations where you need to combine or compare durations:

  • Adding up employee work shifts or timesheet entries that are recorded in HH:MM:SS.
  • Totaling the cooking times for a multi-step recipe where each step has a different duration.
  • Summing the durations of workout intervals (e.g., 0:45:00 run + 0:30:00 cycling).
  • Calculating the total length of a playlist or video segments.
  • Finding the difference between two durations, such as the actual time spent on a task versus the planned time.

Because the calculator treats inputs as durations, it is not meant for time-of-day arithmetic like “what time will it be 2 hours from 3:30 PM?� For that, you would use a clock-time calculator.

How to Read the Result

The main result is shown as HH:MM:SS, where HH can be larger than 24 because it represents a total duration, not a time of day. For example, 30 hours is shown as 30:00:00, not as 1 day 6 hours. The additional outputs give the same duration in minutes (as a decimal) and in seconds, which can be easier for further calculations or comparisons.

If you subtract a larger time from a smaller one, the result will be negative. For instance, 00:10:00 minus 00:15:00 gives -00:05:00. The calculator does not wrap around or produce an absolute value, so you should check the sign if you expect a positive difference.

Common Mistakes and Limitations

  • Mixing units: Entering 90 minutes as “90â€� instead of “01:30:00â€� will be read as 90 seconds, not 90 minutes. Always use the full HH:MM:SS format.
  • Using 24-hour clock times: If you enter 14:30:00 thinking it means 2:30 PM, the calculator treats it as 14 hours 30 minutes. For durations, that is correct only if you actually mean 14.5 hours.
  • Rounding: The seconds value is always an integer. If your inputs include fractions of a second, you should round them to whole seconds first, because the calculator does not handle decimal seconds.
  • Negative results in subtraction: The calculator does not take absolute values; it returns the true arithmetic difference, which can be negative.

The formula is exact for whole seconds. It does not account for leap seconds or time zones, because those are irrelevant for durations. For very large totals (e.g., thousands of hours), the result is still accurate but may be unwieldy; you might prefer to convert to days or weeks manually.

Alternatives and Related Calculations

If you need to convert a single duration to another unit, you can use the same logic: multiply hours by 3600 to get seconds, divide seconds by 60 to get minutes, etc. For time-of-day calculations (e.g., adding 2 hours to 3:30 PM), you need a different tool that accounts for the 24-hour cycle. For time between two specific dates, a date-difference calculator is more appropriate.

You can also perform these conversions mentally: to convert hours to minutes, multiply by 60; to convert minutes to seconds, multiply by 60; to convert seconds to minutes, divide by 60. The calculator simply automates these steps for multiple inputs.

Frequently Asked Questions

How do I enter 90 minutes? Enter it as 01:30:00 (1 hour, 30 minutes). The calculator does not accept plain numbers, so you must use the HH:MM:SS format.

Can I subtract more than two times? Yes, you can enter up to three times. The calculator subtracts the second and third times from the first. For example, 01:00:00 – 00:15:00 – 00:10:00 = 00:35:00.

Why does the result show 30:00:00 instead of 1 day 6 hours? Because the output is a duration in hours, minutes, and seconds, not a calendar format. Durations can exceed 24 hours, so the calculator does not convert to days.

What if I get a negative result? That means the time you are subtracting is larger than the time you start with. For example, 00:05:00 – 00:10:00 = -00:05:00. Check your inputs if you expected a positive difference.

Does this calculator handle milliseconds? No, it only works with whole seconds. If you need milliseconds, convert them to seconds (e.g., 1.5 seconds) and round to the nearest second, or use a more specialized tool.

Is this calculator accurate for very long durations? Yes, the formula works for any non-negative number of seconds, but the output may become large (e.g., 10000:00:00). The conversion to minutes and seconds is still correct.

Related

Formula used
in t1 | Time 1 (HH:MM:SS) | - | 01:30:00 | 0
in t2 | Time 2 (HH:MM:SS) | - | 00:45:30 | 0
in t3 | Time 3 (HH:MM:SS) | - | 00:00:00 | 0
in op | Operation | Add=1, Subtract=2 | 1 | 0
out total | Total time | - | (t1 + t2 + t3) | time
out total_min | Total minutes | min | (t1 + t2 + t3) | 2
out total_sec | Total seconds | s | (t1 + t2 + t3) | 0

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.