Time Duration Calculator

Add and subtract hours and minutes, total a list of durations, or find the hours between two clock times, including overnight. Results show as hh:mm and decimal hours.

What do you want to calculate?

Hours:minutes, e.g. 7:45 or 120:30. Seconds (1:30:15) and 2h 15m also work.

Hours:minutes, e.g. 7:45 or 120:30. Seconds (1:30:15) and 2h 15m also work.

Result

Hours and minutes
8:15
hh:mm
Decimal hours
8.25
for timesheets and payroll
Total minutes
495

How it works

Every duration is turned into minutes (or seconds), added or subtracted, then shown back as hours and minutes. Hours are not capped at 24, so 30:15 is 30 hours 15 minutes. To get decimal hours, divide the minutes by 60.

Worked examples

  • Add: 7:45 + 0:30 = 8:15, which is 8.25 decimal hours.
  • Subtract: 10:10 − 2:40 = 7:30, or 7.50 hours.
  • Sum a list: 1:30 + 2:45 + 0:50 − 0:15 = 4:50, or 4.83 hours.
  • Between two times: 22:00 to 06:30 crosses midnight. That is 2 hours to midnight plus 6:30 after it, 8:30 or 8.50 hours.

To convert a single hours and minutes value, use the hours and minutes to decimal converter. For a whole week of shifts with breaks and overtime, use the time card calculator. Nothing you enter leaves your browser.

See also

Frequently Asked Questions (FAQ)

How do I add hours and minutes?

Add the minutes first and carry every 60 into the hours. For 7:45 + 0:30, the minutes are 45 + 30 = 75, which is 1 hour 15 minutes, so the total is 8:15. The calculator does this for you and also shows 8.25 decimal hours.

How do I calculate the hours between two times?

Use the Between two times mode: enter a start and end time and you get the elapsed hours and minutes. For 09:00 to 17:30 the answer is 8:30, or 8.50 decimal hours. Both 24-hour times (17:30) and am/pm times (5:30 pm) work.

Does it work across midnight?

Yes. When the end time is earlier than the start time, the calculator treats the end as the next day. 22:00 to 06:30 gives 8:30. If both times are identical the result is 0, unless you tick the box to count that as a full 24 hours.

How do I subtract time?

Choose Add / subtract and set the operation to Subtract: 10:10 − 2:40 = 7:30. Borrow 60 minutes from the hours when needed. If the second value is larger, the result is negative, for example 1:00 − 1:30 = −0:30.

How do I add up a list of times?

Pick Sum a list and enter one duration per line, such as the hours you worked each day. Start a line with a minus sign to take that time off the total. Blank lines are ignored.

How do I convert the result to decimal hours?

Divide the minutes by 60: 8:15 is 8 + 15/60 = 8.25 hours. The calculator shows the decimal value next to every result, rounded to two places. For other values, use the hours and minutes to decimal converter.

What input formats are accepted?

Durations can be written as hours:minutes (7:45), hours:minutes:seconds (1:30:15), or in words (2h 15m, 90m). Minutes and seconds must be two digits and under 60. Hours can be any size, so 120:30 is fine.

Can it show more than 24 hours?

Yes. Totals are not wrapped at 24 hours. A total of 100 hours shows as 100:00, and also as days and hours (4 days 4:00) for easier reading.

Is this a timesheet or time card?

No. This tool does arithmetic on durations and clock times. For weekly shifts with unpaid breaks, overtime and gross pay, use the time card calculator.

Is my data sent anywhere?

No. All calculations happen in your browser and nothing you type is uploaded or stored.