Time Calculator
Enter two durations to add or subtract them, and get the result in clock format and as decimal hours.
Last updated
Result
10:15:00
hours : minutes : seconds
The same result in other units
- Decimal hoursUse this for timesheets and hourly billing.
- 10.25
- Total minutes
- 615
- Total seconds
- 36,900
How this calculator works
Adding durations trips people up because time is base-60 rather than base-10. Adding 45 minutes to 45 minutes gives 1 hour 30 minutes, not 90 of anything decimal.
The reliable method is to convert everything to a single unit, do the arithmetic there, and convert back. This calculator converts both durations to seconds, adds or subtracts, then splits the total back into hours, minutes and seconds.
Decimal hours are shown alongside because that is what timesheets, hourly billing and payroll systems usually want. 8 hours 45 minutes is 8.75 hours, not 8.45 — a conversion that costs people money surprisingly often.
Negative results are supported and clearly marked, which matters when subtracting a longer duration from a shorter one.
The formula
Converting to seconds and back
total seconds = (hours × 3600) + (minutes × 60) + seconds hours = total ÷ 3600, rounded down minutes = (total mod 3600) ÷ 60, rounded down seconds = total mod 60
Decimal hours
decimal hours = total seconds ÷ 3600
45 minutes is 0.75 hours, not 0.45. This is the single most common time-conversion error on timesheets.
Worked example: 8 hours 45 minutes plus 1 hour 30 minutes
Adding a normal working day to overtime.
| First duration in seconds | 31,500 |
|---|---|
| Second duration in seconds | 5,400 |
| Total seconds | 36,900 |
| Hours (36,900 ÷ 3600) | 10 |
| Remaining seconds | 900 |
| Minutes (900 ÷ 60) | 15 |
| Result | 10:15:00 |
| Decimal hours | 10.25 |
The result is 10 hours 15 minutes, or 10.25 decimal hours. Billing 10.15 hours instead of 10.25 would understate the time by six minutes.
Things worth knowing
- Decimal hours and clock time are different. 8 hours 45 minutes is 8.75 decimal hours. Entering 8.45 into a payroll system understates the time.
- Minutes and seconds must each be below 60. If you have 90 minutes, enter it as 1 hour 30 minutes.
- This adds and subtracts durations, not clock times across a date boundary. For that, use the date calculator.
- For payroll, confirm whether your employer rounds time to the nearest five, ten or fifteen minutes before relying on an exact figure.
Frequently asked questions
How do I convert 45 minutes to decimal hours?
Can I add more than 24 hours?
What does a negative result mean?
Sources
Every figure on this page is traceable to the official source below. If a source has changed since the date shown, please tell us and we will correct it.
- ISO 8601 — international standard for date representation · Last verified 9 August 2026
All dates on this page use the YYYY-MM-DD format defined by this standard.