Time Calculator
Enter two durations and choose add or subtract to get the exact total.
Result
- Breakdown (days, hours, minutes, seconds)
- 4h 15m
- Total hours
- 4.25
- Total minutes
- 255
- Total seconds
- 15,300
How to use the time calculator
Enter the first duration in days, hours, minutes and seconds. Choose Add or Subtract, then enter the second duration. The result is shown as hours, minutes and seconds, as a breakdown into days, and as totals in hours, minutes and seconds.
Method
Each duration is converted to seconds: seconds = ((days × 24 + hours) × 60 + minutes) × 60 + seconds. The two totals are added or subtracted, then converted back. No rounding is involved, so the result is exact.
Worked example
1 day 2 h 30 min 15 s plus 5 h 45 min 50 s is 95,415 s + 20,750 s = 116,165 s. That is 1 day 8 h 16 min 5 s, or 32:16:05, or 32.268 hours.
Limits
- Values must be whole numbers. Convert fractions first, for example 30 minutes instead of 0.5 hours.
- The calculator works with durations, not clock times or dates. To find the gap between two dates use the date calculator, and for shifts use the hours calculator.
Frequently asked questions
How do I add hours and minutes?
Add the minutes first and carry every 60 into the hours. For example 2 h 45 min + 1 h 30 min is 3 h 75 min, which is 4 h 15 min. The calculator does the carrying for you.
What does a negative result mean?
If the second duration is larger than the first, the answer is below zero. It shows with a minus sign, for example −1:30:00 for one hour thirty minutes short.
How do I turn the result into decimal hours?
Divide minutes by 60. 4 h 15 min is 4.25 hours. The total hours line shows this for you, which is handy for timesheets and pay.
Last reviewed 2026-12-04