InfiniteCalc

Time Calculator

Add or subtract two times in hours, minutes, and seconds — with decimal conversions.

This time calculator adds or subtracts two amounts of time expressed in hours, minutes, and seconds — the arithmetic that trips everyone up because time runs on base 60, not base 10. Enter each time in its own fields, choose add or subtract, and get a fully carried result plus conversions to decimal hours, total minutes, and total seconds.

It is built for the everyday cases: summing work sessions or flight legs, totaling workout splits, combining recipe stages, editing audio and video timelines, or figuring out how much longer one duration is than another. Results over 24 hours also display as days plus hours.

How Time Addition and Subtraction Work

The reliable method is to convert everything to seconds, do ordinary arithmetic, then convert back:

total seconds = hours × 3,600 + minutes × 60 + seconds

After adding or subtracting, divide by 3,600 for the hours (the quotient), divide the remainder by 60 for minutes, and what is left is seconds. This automatically handles all the carrying: 2h 45m + 1h 30m becomes 9,900 s + 5,400 s = 15,300 s = 4h 15m 0s.

Doing it by column works too — add seconds, carry each 60 into minutes, add minutes, carry each 60 into hours — but a single missed carry is the most common source of timesheet errors, which is exactly what this calculator eliminates.

Decimal Hours vs. Hours and Minutes

Payroll systems, billing software, and spreadsheets usually want decimal hours, where the minutes are divided by 60 rather than shown separately. Key equivalents:

  • 15 minutes = 0.25 hours
  • 20 minutes = 0.333 hours
  • 30 minutes = 0.5 hours
  • 45 minutes = 0.75 hours
  • 7h 30m = 7.5 hours
  • 8h 20m = 8.333 hours

The classic mistake is typing 7h 30m as "7.30" — that means 7 hours 18 minutes in decimal, a 12-minute error that compounds across a pay period. This calculator shows the correct decimal value alongside the h:m:s result, plus total minutes for apps that bill or log by the minute.

Example: 2h 45m 0s + 1h 30m 0s

Using the calculator defaults: convert both times to seconds. Time 1 is 2 × 3,600 + 45 × 60 = 9,900 seconds; Time 2 is 1 × 3,600 + 30 × 60 = 5,400 seconds. Adding gives 15,300 seconds.

Convert back: 15,300 ÷ 3,600 = 4 remainder 900; 900 ÷ 60 = 15 remainder 0. Result: 4h 15m 0s, which is 4.25 decimal hours, 255 minutes, or 15,300 seconds.

Switching to subtract: 9,900 − 5,400 = 4,500 seconds = 1h 15m 0s (1.25 hours). If you subtract the larger time from the smaller, the calculator returns a negative duration and says so — useful for "how far behind schedule am I?" questions.

Frequently Asked Questions

How do I add hours and minutes together?

Add the minutes first; whenever they reach 60, carry 1 into the hours column and keep the remainder. For example, 3h 50m + 2h 25m: minutes total 75, which is 1h 15m, so the answer is 3 + 2 + 1 = 6h 15m. Converting everything to minutes (230 + 145 = 375 = 6h 15m) avoids carry mistakes.

How do I convert hours and minutes to decimal hours?

Divide the minutes by 60 and add the result to the hours. So 6h 45m = 6 + 45/60 = 6.75 hours. Never write 6h 45m as "6.45" — that decimal actually equals 6 hours 27 minutes and will understate the time.

What happens if I enter more than 59 minutes or seconds?

The calculator carries the overflow automatically: 0h 90m 0s is treated as 1h 30m 0s, and 150 seconds becomes 2m 30s. That makes it easy to total raw logs — you can enter 0h 500m 0s and read back 8h 20m without converting first.

Can the result of a time subtraction be negative?

Yes. If Time 2 is longer than Time 1, the result is shown with a minus sign, meaning the second duration exceeds the first by that amount. For instance, 1h 30m − 2h 45m = −1h 15m, i.e., you are 1 hour 15 minutes short.

Why does time math use 60 instead of 10?

Our 60-based time system descends from Babylonian sexagesimal arithmetic; 60 divides evenly by 2, 3, 4, 5, 6, 10, 12, 15, 20, and 30, which made fractions practical long before decimals. The trade-off is that ordinary decimal addition fails on times, so conversions through seconds — or a calculator like this — are the safe route.

Related Calculators