Duration Calculator
Add and subtract time durations in hours, minutes and seconds — get the total as h:m:s plus decimal hours, total minutes and total seconds.
2:15:30
Total hours: 2.2583
Total minutes: 135.5
Total seconds: 8,130
How to use
- Enter each duration's hours, minutes and seconds.
- Click the +/− button on a row to add or subtract that duration.
- Add as many rows as you need; read the total in h:m:s and the decimal forms below.
About this tool
ShowHide
Add and subtract a list of durations without carrying by hand. Enter each one in hours, minutes and seconds, mark the row as a plus or a minus, and the running total updates as you type — normalised back to h:m:s and also given as decimal hours, total minutes and total seconds. A total that goes below zero is shown with a minus sign rather than wrapping around.
Time arithmetic is done in base sixty, and that is the whole reason a tool is worth having. Sixty seconds becomes a minute, sixty minutes becomes an hour, and a column of figures done by hand carries wrong at exactly those boundaries: 2:45 plus 2:45 is five and a half hours, not 4:90, and the mistake survives a second look because the digits are plausible. Converting everything to seconds, adding, then converting back is what removes the problem, and that is what happens here.
The decimal hours output is the one that goes into payroll and invoicing systems, and it is where the same confusion reappears in a new costume. 7.75 hours is seven hours and forty-five minutes. It is not seven hours and seventy-five of anything. Multiply the fractional part by sixty to get minutes, and if a figure comes back as 7.45 from a system that means seven forty-five, that system is not giving you decimal hours at all and the two must not be mixed in one column.
One conceptual point worth keeping straight: a duration is a length, not a position. This calculator handles lengths, which add and subtract cleanly, are always the same size, and have no calendar attached. The moment you are working with times of day instead — "from 9:15 on Tuesday until 17:30 on Wednesday" — you have a different problem, because that interval crosses a date and possibly a daylight-saving change, and a day in the middle of it may not be twenty-four hours long. Work out each interval as a duration first, then bring the durations here.
Frequently asked questions
Can I subtract durations?
Yes. Click the green + button on any row to switch it to a red −, and that duration is subtracted from the total. The result can go negative, shown with a leading minus.
What are the decimal forms for?
Total hours (e.g. 2.25) is handy for billing and pay; total minutes and total seconds are useful for exports, scripts or further math.
Do minutes and seconds need to be under 60?
No. You can enter 90 minutes or 200 seconds and the total normalizes correctly — the h:m:s result always carries into the right units.
Is anything sent to a server?
No. All the arithmetic runs in your browser; nothing is uploaded.
Why do my logged hours and my invoice disagree by a few minutes?
Usually rounding, applied once per entry rather than once at the end. Six tasks each rounded up to the nearest quarter hour can add nearly an hour that was never worked. Total the exact durations here first, then round the single final figure if your client bills that way.
Can I enter 90 minutes instead of 1 hour 30?
Yes. Fields are not capped at 60, so 90 minutes or 200 seconds are accepted and normalised into the total. That makes it easy to add up times as they were written down — a stopwatch reading, a log line in seconds — without converting each one by hand first.
Related tools
Time Difference Calculator
Calculate the exact difference between two date-times, broken down into days, hours, minutes, and seconds.
Time
Duration Formatter
Convert a duration between human ("1h 30m"), clock (1:30:00), ISO 8601 (PT1H30M), and raw seconds/minutes/hours/days.
Time
Date Calculator
Add or subtract years, months, weeks, days, and business days from any date — or find the difference between two dates.
Time
Add Business Hours to a Date
Add N working hours to a start datetime — skip weekends and holidays, respect a per-day work window, get the landing timestamp and a per-day breakdown.
Time
Fraction Calculator — Add, Subtract, Multiply, Divide
Add, subtract, multiply, and divide fractions, mixed numbers, and decimals. Get the reduced fraction, mixed number, decimal, and worked steps.
Math & Statistics
GPS Time, TAI and Leap Second Converter
Convert UTC to GPS week and time of week, TAI and the GPS−UTC offset, with every leap second since 1972 listed.
Time