One Calculator Logo One Calculator
Date & Time • Formulas shown

Time Calculator

Quick Answer

To add times, add days, hours, minutes and seconds separately, then carry every 60 seconds into a minute, every 60 minutes into an hour and every 24 hours into a day. For example, 2 d 5 h 30 m plus 1 d 20 h 45 m equals 4 d 2 h 15 m.

Result

1d 5h 45m 30s + 0d 3h 30m 50s = 1d 9h 16m 20s

Total hours33.2722
Total minutes1,996.33
Total seconds119,780
Decimal days1.38634
Step-by-step calculation
  1. Convert each time to seconds: days × 86,400 + hours × 3,600 + minutes × 60 + seconds.
  2. 107,130 + 12,650 = 119,780 seconds
  3. Convert back to days, hours, minutes and seconds.

About the Time Calculator

Enter two durations and choose add or subtract. The calculator returns the result in days, hours, minutes and seconds, and also as total hours, minutes and seconds so you can use it for timesheets, project estimates or video lengths.

This tool works with durations, not clock times. To find the gap between two dates use a date calculator instead. Results are exact because the math uses whole seconds.

How to Use the Time Calculator

  1. Enter the first duration.
  2. Choose add or subtract.
  3. Enter the second duration.
  4. Read the result in days, hours, minutes and seconds, or as a total in a single unit.

Formula and Method

Total seconds

seconds = d × 86,400 + h × 3,600 + m × 60 + s

Convert both durations to seconds, combine, then convert back.

Decimal hours

hours = total seconds ÷ 3,600

Useful for payroll and billing.

Worked Example

Adding two durations

Input: 2 d 5 h 30 m + 1 d 20 h 45 m

  • Days: 2 + 1 = 3
  • Hours and minutes: 5:30 + 20:45 = 26:15, which is 1 d 2 h 15 m
  • Total = 3 d + 1 d 2 h 15 m

Result: 4 days, 2 hours, 15 minutes (98.25 hours).

Frequently Asked Questions

How do I add hours and minutes?

Add the minutes first. If they total 60 or more, carry whole hours into the hours column. Then add the hours.

How do I subtract time?

Convert both durations to seconds, subtract the smaller from the larger, and convert back to days, hours, minutes and seconds.

How do I convert minutes to decimal hours?

Divide the minutes by 60. 45 minutes is 0.75 hours and 20 minutes is 0.33 hours.

Related Calculators

All Date & Time Calculators →

Sources and Further Reading

Accuracy and Scope

Dates are treated as calendar dates in the Gregorian calendar without time zones. For legal deadlines, check how the relevant rules count days. See our full disclaimer.