Time Duration Calculator
Add or subtract two times and see the result as a clean h:m:s duration, with the total in seconds.
What this calculator does
Enter two durations in hours, minutes and seconds, choose Add or Subtract, and the tool returns the combined duration in clean h:m:s form plus the total in plain seconds. At the defaults — 1:30:00 plus 0:45:00 — the result is 2:15:00, which is 8,100 seconds.
The formula: convert, add, convert back
Time is base-60, so the reliable method is to flatten both inputs into one unit, do the arithmetic there, and rebuild the h:m:s display at the end. Hours multiply by 3,600, minutes multiply by 60, and seconds pass through unchanged. Working in a single unit eliminates every carry and borrow problem before it can happen.
Worked example at the defaults
First time: 1 h 30 m 0 s = (1 × 3600) + (30 × 60) + 0 = 5,400 seconds. Second time: 0 h 45 m 0 s = (0 × 3600) + (45 × 60) + 0 = 2,700 seconds. With Add selected, 5,400 + 2,700 = 8,100 seconds. Rebuilding: 8,100 ÷ 3,600 = 2 hours with 900 seconds left; 900 ÷ 60 = 15 minutes; 0 seconds remain, giving 2:15:00.
The base-60 trap
Adding 1:30 + 0:45 column by column the way you add money gives 1:75, which is not a valid time — the 75 minutes carry over as 1 hour 15 minutes, so the real total is 2:15. The same trap breaks decimal conversion in reverse: 2:15 is 2.25 hours, not 2.15, because 15 minutes is 15/60 = 0.25 of an hour. Writing 7 hours 30 minutes as 7.30 instead of 7.5 on a timesheet is the classic version of this mistake, and it understates the day by 20 minutes.
Seconds in common durations
| Duration | Seconds |
|---|---|
| 1 minute | 60 |
| 10 minutes | 600 |
| 1 hour | 3,600 |
| 1 day | 86,400 |
| 1 week | 604,800 |
| 1 year (365 days) | 31,536,000 |
Subtracting and negative results
Choose Subtract to take the second time away from the first. At the defaults, 1:30:00 − 0:45:00 = 5,400 − 2,700 = 2,700 seconds = 0:45:00. If the second time is larger the result turns negative: 0:45:00 − 1:30:00 returns −0:45:00 with a total of −2,700 seconds. A negative duration is useful when the quantity is a variance — a video export that overruns a 2:00:00 estimate by 0:15:00 shows +900 seconds, and one that finishes 15 minutes early shows −900.
Borrowing by hand
To subtract on paper, borrow in base-60: taking 0:45:00 from 1:30:00, the seconds column is 0 − 0 = 0, and the minutes column 30 − 45 forces a borrow of 60 minutes from the hours, giving 90 − 45 = 45 minutes and 0 hours. Each borrow always moves exactly 60 of the smaller unit, never 100 — the single rule that separates time arithmetic from everyday decimal subtraction.
Where duration arithmetic comes up
- Timesheets. Summing daily entries such as 7:45 + 8:15 + 6:30 across a work week, then converting the h:m:s total to decimal hours for payroll.
- Media production. Adding clip lengths to fill an export slot, or subtracting to see how much a 2:15:00 master must lose to hit a 2:00:00 target — exactly 900 seconds.
- Race and workout splits. Adding leg times for a triathlon, or subtracting last week’s split from this week’s to read the improvement in seconds.
- Process timing. Adding stage durations in a pipeline to get end-to-end lead time in seconds for service-level reporting.
Totals beyond 24 hours
The hours field accepts up to 9,999, so this is a duration adder, not a clock adder: 23:45:00 + 22:30:00 gives 46:15:00 (166,500 seconds) rather than wrapping to 22:15 the next day. That behaviour is what timesheets and edit timelines need, because a 46-hour work week stays a single number and a film with credits can run 3:12:45 without breaking the display. If you need clock arithmetic instead — where 23:45 plus 0:30 lands on 00:15 the next morning — split the span at midnight and add the pieces: 15 minutes to midnight plus 15 minutes after, giving the same 30 minutes in two entries.
Precision and rounding
The arithmetic is exact: everything runs in whole seconds, so no floating-point drift appears, and the h:m:s output is zero-padded (2:05:00, not 2:5:00). To get decimal hours for payroll, divide total seconds by 3,600 — 8,100 ÷ 3,600 = 2.25 hours; for decimal minutes divide by 60. If your timesheet system bills in quarter-hour blocks, round the minutes to the nearest 0.25 of an hour first and then convert, because rounding after conversion is how 7.5 hours quietly becomes 7.53.
Frequently asked questions
How do I add two times together?
Convert each to seconds (hours × 3600 plus minutes × 60 plus seconds), add them, then divide back: 1:30:00 + 0:45:00 = 5,400 + 2,700 = 8,100 seconds = 2:15:00.
What is 1:30 plus 0:45 in hours and minutes?
2:15. Thirty minutes plus 45 minutes is 75 minutes, which carries over as 1 hour 15 minutes, added to the existing hour.
How many seconds are in an hour and a day?
3,600 seconds in an hour (60 × 60) and 86,400 in a day (3,600 × 24). A 365-day year holds 31,536,000 seconds.
Why is 2:15 equal to 2.25 hours, not 2.15?
Because minutes convert by division: 15 ÷ 60 = 0.25. Decimal notation is base-10 while clock notation is base-60, so 2.15 hours would actually be 2 hours 9 minutes.
What happens if I subtract a larger time from a smaller one?
You get a negative duration: 0:45:00 − 1:30:00 returns −0:45:00, or −2,700 seconds, which is handy for expressing variances against a target.
How do I convert h:m:s to decimal hours?
Divide the total seconds by 3,600. For the default result, 8,100 ÷ 3,600 = 2.25 hours, which a payroll system bills as 2.25, not 2.15.
How many minutes are in a day?
1,440 (24 × 60). In seconds that is 86,400, and in weeks a 7-day span holds 10,080 minutes.
Can the hour value exceed 24?
Yes. The hours field accepts up to 9,999, so multi-day totals such as 50:15:00 for a long project stay in one clean number instead of wrapping around a clock.
How long is 8,100 seconds in other units?
8,100 seconds is 135 minutes, 2.25 hours, or 2:15:00 in clock notation. Dividing by 3,600 converts to hours and dividing by 60 converts to minutes.
Method and sources
- Base-60 (sexagesimal) time arithmetic.