Time Calculator

Enter two time durations in hours, minutes, and seconds to add or subtract them instantly. Get your result in standard time format (HH:MM:SS), decimal hours, and total minutes.

How to use this calculator

  1. Select whether you want to add or subtract two time durations.
  2. Enter the hours, minutes, and seconds for the first time duration.
  3. Enter the hours, minutes, and seconds for the second time duration.
  4. Read your combined total duration formatted as HH:MM:SS, decimal hours, total minutes, and total seconds.

Formula & method

Base-60 Sexagesimal Conversion Method

Total Seconds = (h1×3600 + m1×60 + s1) ± (h2×3600 + m2×60 + s2) · Hours = Math.floor(TotalSec ÷ 3600) · Minutes = Math.floor((TotalSec % 3600) ÷ 60)

Sexagesimal remainder rules apply. Negative results indicate subtraction underflow.

Example

2h 45m 30s + 1h 30m 15s = 15,345 seconds = 4h 15m 45s (4.2625 decimal hours).

Key insights

How to interpret your result

Total Duration (HH:MM:SS)

The combined time formatted in standard hours, sexagesimal minutes, and seconds.

Decimal Hours Format

Represents the total time as a single real number in hours, useful for hourly wage multiplication.

Total Minutes & Seconds

Gives the total time span in raw minutes and seconds for media or sports timing.

Frequently asked questions

How do I convert minutes and seconds to decimal hours?
Divide total seconds by 3600, or divide minutes by 60 and add to hours (e.g. 15 mins = 0.25 hrs).
Can I subtract a larger time duration from a smaller one?
Yes, the calculator displays negative time durations (e.g. -1h 15m 00s) representing a time deficit.
Is this calculator suitable for work timesheets?
Yes, decimal hours can be multiplied directly by your hourly wage to calculate total earnings.

Related calculators

See all other calculators · Explore all online calculators