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
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
- Need one value in decimal hours? Use the hours and minutes to decimal converter.
- Tracking a week of shifts with breaks and overtime? Try the time card calculator.
- Want to log time as you work? Use the time tracker.
Frequently Asked Questions (FAQ)
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.
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.
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.
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.
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.
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.
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.
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.
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.
No. All calculations happen in your browser and nothing you type is uploaded or stored.
Related Tools
- Time TrackerTrack time spent on activities and projects.
- Time Card Calculator with OvertimeWeekly time card with in/out times and breaks: total and decimal hours, daily and weekly overtime and gross pay. Free, printable, no sign-up.
- Overtime Pay CalculatorOvertime pay from your hourly rate and hours: regular pay, overtime pay at 1.5x or 2x, total pay and effective hourly rate, with weekly or daily thresholds. Free, no sign-up.
- Hourly to Salary & Salary to Hourly CalculatorConvert salary to hourly pay and hourly to salary with your hours, weeks and paid time off.
- PTO Accrual CalculatorFind PTO hours accrued per pay period from annual days or hours worked, then project your balance on any date with an optional cap and carryover limit.
- Rounding CalculatorRound numbers to specified decimal places or significant figures.