How it works
Each duration is converted to total seconds, combined, and then converted back to hours, minutes, and seconds. Because there are 60 seconds in a minute and 60 minutes in an hour, any overflow carries up cleanly.
total seconds = h×3600 + m×60 + s
decimal hours = total seconds ÷ 3600
Worked example
2:45:30 plus 1:30:45 is 9,930 + 5,445 = 15,375 seconds, which is 4 hours, 16 minutes, and 15 seconds, or 4.27 decimal hours.
Adding and subtracting time by hand
Doing time math on paper works like ordinary column addition, except each column carries at 60 instead of 10.
Adding with carries
Line up hours, minutes and seconds: 2:45:30 + 1:30:45 gives 3 hours, 75 minutes and 75 seconds. 75 seconds is 1 minute 15 seconds, so carry the minute: 3:76:15. 76 minutes is 1 hour 16 minutes, so carry the hour: 4:16:15.
Subtracting with borrowing
For 5:10:00 − 2:35:20, the seconds column can't take 20 from 0, so borrow one minute (60 seconds): 5:09:60 − 2:35:20. The minutes column can't take 35 from 9, so borrow one hour (60 minutes): 4:69:60 − 2:35:20 = 2:34:40.
Times that cross midnight
For clock times that cross midnight, such as 11:30 PM to 2:15 AM, add 24 hours to the end time first: 26:15 − 23:30 = 2 hours 45 minutes. To total a long list of lap or task times, convert each to seconds, add them, then convert back. That avoids carrying mistakes.
Minutes to decimal hours for payroll
Payroll systems and invoices usually want hours as decimals, not hours and minutes. Divide the minutes by 60. Many employers round to the nearest quarter hour (in the US, the FLSA allows rounding to the nearest 5, 6 or 15 minutes as long as it evens out over time).
Example: a weekly timesheet
Shifts of 7:45, 8:20, 6:50, 8:05 and 7:30 add up to 36 hours and 150 minutes, which is 38 hours 30 minutes, or 38.5 decimal hours. At $22.00 an hour that's 38.5 × 22 = $847.00. A common mistake is to type 38.30 into a spreadsheet, which underpays by 12 minutes.
Multiplying and dividing durations
The same seconds-based method works for multiplying and dividing:
- Repeating a task: a 12:40 process run 9 times is 760 s × 9 = 6,840 s = 1:54:00.
- Average time: five laps totaling 23:45 average 1,425 s ÷ 5 = 285 s = 4:45 per lap.
- Splitting time evenly: a 2-hour meeting with 7 agenda items gives each 7,200 ÷ 7 ≈ 1,029 s, or about 17 minutes 9 seconds.
For running and cycling paces, the pace calculator does the distance and speed math for you.
12-hour and 24-hour clocks
For times from 1 PM onward, add 12 to the hour to get 24-hour time: 3:20 PM is 15:20. 12:xx AM becomes 00:xx and 12:xx PM stays 12:xx. Doing time math in 24-hour format avoids most AM/PM mistakes, especially with overnight shifts.
Watch for time zones and daylight saving
Durations calculated from clock times can be off by an hour if a daylight-saving change falls in between. A shift from 10 PM to 6 AM on the night the clocks go back is 9 hours long, not 8. For flights, convert both times to the same time zone (or to UTC) before subtracting.
Time unit conversions
Where adding durations comes up
- Timesheets: total several shifts or tasks for a week; the hours calculator handles clock-in and clock-out times.
- Running and cycling: add lap splits to get a total race time.
- Video and audio editing: total clip lengths for a project.
- Travel: add flight legs and layovers for total journey time.
- Cooking: combine prep, cook and resting times to plan when to start.
Durations longer than a day
Totals of 24 hours or more stay in hours by default, so 18:30:00 + 9:45:00 = 28:15:00. To express that as days, divide the hours by 24: 28 hours 15 minutes is 1 day, 4 hours and 15 minutes.
Decimal hours to minutes
To turn decimal hours back into minutes, multiply the decimal part by 60: 3.4 hours = 3 hours + 0.4 × 60 = 3 hours 24 minutes. A common payroll mistake is reading 3.4 hours as 3 hours 40 minutes.
Frequently asked questions
How do I add two times?
Enter both durations and add, seconds carry into minutes and minutes into hours automatically.
How do I get decimal hours?
Divide total minutes by 60 and add whole hours. 2h 30m = 2.5 decimal hours; the calculator shows it for you.
How do I add hours and minutes?
Add the hours and minutes separately, then carry every 60 minutes into an hour. 1:45 + 2:30 = 3:75 = 4:15.
How do I calculate time across midnight?
Add 24 hours to the later time before subtracting. 11:30 PM to 2:15 AM is 26:15 − 23:30 = 2:45.
How do I convert decimal hours to hours and minutes?
Keep the whole number as hours and multiply the decimal part by 60 for minutes. 7.75 hours = 7 hours 45 minutes.
How many hours is 9 AM to 5:30 PM?
8 hours 30 minutes (17:30 − 9:00), or 8.5 decimal hours before any unpaid break is taken off.
How many minutes are in a day?
1,440 minutes (24 × 60), or 86,400 seconds.