Time Calculator

Add or subtract two durations given in days, hours, minutes and seconds.

Result

Total time

The same time in other units

dhms
dhms

How it was calculated

How to use the time calculator

  1. Enter the first duration in days, hours, minutes and seconds. Empty boxes count as 0.
  2. Choose Add or Subtract.
  3. Enter the second duration and press Calculate.

You don't need to convert anything first: 90 minutes or 30 hours are fine, and the answer is tidied into days, hours, minutes and seconds.

Time units at a glance

UnitEqualsIn seconds
1 minute60 seconds60
1 hour60 minutes3,600
1 day24 hours86,400
1 week7 days604,800
1 common year365 days31,536,000

Minutes and seconds go up in 60s and hours in 24s, so treating times as ordinary decimals goes wrong: 1:45 + 0:30 is 2:15, but adding 1.45 + 0.30 as plain numbers gives 1.75.

How the calculator works

Each duration is turned into seconds, added or subtracted, then split back into days, hours, minutes and seconds:

\text{seconds} = 86{,}400\,d + 3{,}600\,h + 60\,m + s

How to add times by hand

  1. Add each unit separately: seconds with seconds, minutes with minutes, and so on.
  2. Carry over: every 60 seconds becomes 1 minute, every 60 minutes 1 hour, every 24 hours 1 day.
Example: 2 h 45 min + 1 h 30 min
  • Minutes: 45 + 30 = 75 → 1 hour carried, 15 minutes left
  • Hours: 2 + 1 + 1 carried = 4

Answer: 4 hours 15 minutes (4.25 hours).

How to subtract times by hand

  1. Subtract from the smallest unit up.
  2. If a unit is too small, borrow 1 from the next unit up: 1 minute = 60 seconds, 1 hour = 60 minutes.
Example: 5 h 10 min − 2 h 35 min
  • 10 minutes is less than 35, so borrow 1 hour: 4 h 70 min
  • Minutes: 70 − 35 = 35. Hours: 4 − 2 = 2

Answer: 2 hours 35 minutes.

Minutes to decimal hours

Timesheets and invoices often need hours as a decimal. Divide the minutes by 60:

MinutesDecimal hoursMinutesDecimal hours
50.08350.58
100.17400.67
150.25450.75
200.33500.83
250.42550.92
300.50601.00

Where a time calculator helps

  • Adding up video, audio or lap times
  • Totalling hours on several tasks
  • Cooking and baking timers
  • Flight and travel durations
  • Race splits and training plans
  • Billing time in decimal hours

For the time between two clock times, such as 9:00 AM to 5:30 PM, use the Hours Calculator.

Frequently asked questions

How do I add hours and minutes?

Add the minutes and the hours separately, then turn every 60 minutes into one more hour. Or enter both times above and press Calculate.

How do I convert hours and minutes to decimal hours?

Divide the minutes by 60 and add them to the hours: 2 hours 45 minutes = 2 + 45 ÷ 60 = 2.75 hours. The “In hours” line in the result does this for you.

Can I enter more than 59 minutes or 23 hours?

Yes. Any whole number works and the result is normalised, so 90 minutes becomes 1 hour 30 minutes.

Why is my result negative?

You subtracted a longer time from a shorter one. The minus sign shows how much longer the second time is.

How many seconds are in a day?

86,400 seconds: 24 hours × 60 minutes × 60 seconds.