Time Calculator
Test cases replayed : 3 of 3 match · Methodology · No outside source listed
Add two durations together, or take one away from the other, in days, hours, minutes and seconds.
Result
Result in decimal hours
Days
- Hours
- Minutes
- Seconds
- Result in minutes
- Result in seconds
- Sign of the result
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- First time: days: enter 0 or more.
- First time: hours: enter 0 or more.
- First time: minutes: enter 0 or more.
- First time: seconds: enter 0 or more.
- Operation: choose Add (+) or Subtract (−).
- Second time: days: enter 0 or more.
- Second time: hours: enter 0 or more.
- Second time: minutes: enter 0 or more.
- Second time: seconds: enter 0 or more.
- Read the result: Result in decimal hours; the panel also shows Days, Hours, Minutes, Seconds, Result in minutes, Result in seconds and Sign of the result.
How this calculator works
Each time is turned into seconds: days × 86,400 + hours × 3,600 + minutes × 60 + seconds. The two totals are added or subtracted, then the result is split back into days, hours, minutes and seconds.
A day is 24 hours, an hour 60 minutes and a minute 60 seconds (SI units as defined by NIST). Entries above 59 minutes or 23 hours are fine: 90 minutes counts as 1 hour 30 minutes.
The formula
| Symbol | Meaning |
|---|---|
| First time: days | |
| First time: hours | |
| First time: minutes | |
| First time: seconds | |
| Operation | |
| Second time: days | |
| Second time: hours | |
| Second time: minutes | |
| Second time: seconds | |
| Result in decimal hours |
Worked example
| First time: days | 0 |
|---|---|
| First time: hours | 2 |
| First time: minutes | 45 |
| First time: seconds | 30 |
| Operation | Add (+) |
| Second time: days | 0 |
| Second time: hours | 1 |
| Second time: minutes | 30 |
| Second time: seconds | 45 |
| Days | 0 |
|---|---|
| Hours | 4 |
| Minutes | 16 |
| Seconds | 15 |
| Result in minutes | 256.25 |
| Result in seconds | 15,375 |
| Sign of the result | Positive (or zero) |
Result in decimal hours 4.2708
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
What is 2 h 45 min 30 s plus 1 h 30 min 45 s?
4 hours 16 minutes 15 seconds, or 4.2708 hours.
How do I subtract times that cross a minute or hour?
Convert both to seconds, subtract, then convert back. 3 h 10 min − 1 h 25 min = 6,300 seconds = 1 hour 45 minutes.