Time & Date

Time Calculator

Time is base 60, which is why adding it in your head goes wrong. Enter the values, add or subtract as many as you need, and get a clean total.

This calculator needs JavaScript to run. The formula, the worked examples and the explanations below all work without it.

Time 1
Time 2

Totals are held in whole seconds, so nothing drifts.

Why time arithmetic goes wrong

Minutes and seconds run in sixties, not tens. 2:45 plus 1:20 is not 3:65 — it is 4:05. Every mistake with time comes from that one carry, and it compounds when you are adding a column of them.

The reliable method, and the one this calculator uses internally, is to convert everything to a single unit first:

Formulatotal seconds = hours × 3600 + minutes × 60 + seconds

Add or subtract in seconds, then convert back at the very end. Because seconds are whole numbers, there is no rounding drift no matter how many values you stack up.

Decimal hours, and where they come from

Payroll systems, invoices and timesheets almost always want decimal hours, because you cannot multiply 7:45 by an hourly rate directly. 7 hours 45 minutes is 7.75 hours, and the conversion is just minutes ÷ 60.

MinutesDecimalMinutesDecimal
50.083350.583
100.167400.667
150.25450.75
200.333500.833
300.5550.917

The two that catch people out are 20 minutes (0.333, not 0.20) and 40 minutes (0.667, not 0.40). Writing 7.40 when you mean 7:40 short-changes you by four minutes on every entry.

Worked examples

2:45:30 + 1:20:45

9,930 s + 4,845 s = 14,775 s = 4:06:15, or 4.104 decimal hours.

A 5-hour block minus a 1 hour 30 minute meeting

18,000 s − 5,400 s = 12,600 s = 3:30:00.

Three race splits: 24:15, 23:48 and 25:02

Enter them as 0 h 24 m 15 s and so on. The total is 1:13:05 — the minutes carry into an hour, which is exactly the step people miss.

Negative results and long totals

Subtracting a larger time from a smaller one gives a negative duration, and the calculator shows it as negative rather than wrapping around a 24-hour clock. That is what you want when you are checking whether you are over or under a budgeted time.

Totals are not capped at 24 hours either. Add up a month of work and you will get something like 168:30:00, not "0:30 on the eighth day". If you want the clock-face answer instead, the total seconds figure makes it easy to work out yourself.

Common uses

  • Timesheets and invoices: converting logged time into billable decimal hours.
  • Running and cycling: adding splits, comparing session totals.
  • Video and audio editing: total runtime from a list of clip lengths.
  • Cooking: stacking prep, rest and cook times to find a start time.
  • Study and practice: totalling sessions across a week.

If you are working from clock times rather than durations — 09:00 to 17:30 with a break — the work hours calculator is built for that.

Frequently asked questions

How do I add hours and minutes correctly?
Convert both to minutes or seconds, add them, then convert back. Adding the columns separately works only if the minutes stay under 60 — otherwise you have to carry, which is where most errors happen.
How do I convert minutes to decimal hours?
Divide by 60. 45 minutes is 45 ÷ 60 = 0.75 hours. The reverse is multiplying the decimal part by 60, so 0.4 hours is 24 minutes — not 40.
Can the total go over 24 hours?
Yes. Totals are durations, not clock times, so 30 hours displays as 30:00:00 rather than rolling over to 6:00. That is what you want when totalling a week of work.
What happens if I subtract a bigger time from a smaller one?
You get a negative duration, shown with a minus sign. It is not wrapped around midnight, because a negative result usually means "under budget by this much" and hiding the sign would lose that.
Do I have to tidy up the values first?
No. You can enter 0 hours, 90 minutes, 0 seconds and the calculator will report 1:30:00. It normalises everything as part of converting to seconds.
Is this accurate for long durations?
Yes. Everything is held as whole seconds using integer arithmetic, so adding a hundred values drifts by exactly zero. Decimal hours are only produced at the final display step.