What the time duration calculator does
It finds the elapsed time between two times. In the two times mode you enter a start and an end time on the same day, or overnight when the end time is earlier, like a shift from 10 PM to 6 AM. In the dates mode you enter two full dates with times, so the difference can span days, months or years.
For a full week of shifts with breaks and overtime, the Hours Calculator adds up each day for you.
The result is shown as hours, minutes and seconds (h:mm:ss), in words, as decimal hours for timesheets and invoices, and as total minutes and total seconds. A small extra box adds or subtracts hours and minutes from a clock time, for example to find when a job of 7 hours 30 minutes that starts at 9:45 AM will end.
How the duration is calculated
Both times are turned into seconds since midnight, subtracted, and the difference is split back into hours, minutes and seconds. 1:20:45 PM to 4:05:10 PM is 2 hours 44 minutes 25 seconds, or 2.74 hours.
Examples
- Workday: 8:30 AM to 5:15 PM is 8 hours 45 minutes, or 8.75 decimal hours.
- Overnight: 11:00 PM to 7:30 AM is 8 hours 30 minutes.
- Race or workout: start at 7:02:15, finish at 8:49:03, elapsed time 1:46:48.
- Across dates: from Friday 6:00 PM to Monday 8:00 AM is 62 hours, or 2 days 14 hours.
Add up a list of times
Switch to "Add up times" and enter one duration per line, or separate them with commas. Use h:mm, like 1:30, or h:mm:ss, like 0:50:30. Put a minus sign in front of a time to subtract it, for example a break. The calculator turns each entry into seconds, adds them, and shows the total as h:mm:ss and in decimal hours: total seconds ÷ 3,600. Example: 1:30 + 2:45 + 0:50:30 − 0:15 is 4:50:30, or 4.8417 hours. Entries in another format are left out and named below the box.
Convert minutes, hours and seconds
Pick "Convert" and type a time span in whatever form you have it: 80 minutes, 1 hour 20 minutes, 1:20, 1.5 hours, 2h 30m 15s or 4,800 seconds. The result shows the same span as h:mm:ss, in words, as decimal hours, total minutes, total seconds and days. The arithmetic behind it: minutes ÷ 60 gives hours, so 80 minutes is 1.33 hours or 1 hour 20 minutes; hours × 60 gives minutes, so 1 hour 20 minutes is 80 minutes; minutes × 60 gives seconds, so 80 minutes is 4,800 seconds. For a longer list of conversions and the other time units, the minutes to hours page has a table.
Time differences by hand
When the end minutes are smaller than the start minutes, borrow 60 minutes from the hours. For 4:10 minus 1:45, write 4:10 as 3:70, then 3:70 minus 1:45 is 2:25. For times past midnight, add 24 hours to the end time first: 2:00 AM becomes 26:00, and 26:00 minus 22:00 is 4 hours.
How to use the time duration calculator
- 1Pick two times, or two dates and times if the period spans more than one day. To total several durations, pick "Add up times"; to turn 80 minutes into hours or 1 hour 20 minutes into minutes, pick "Convert".
- 2Enter the start and the end. Seconds are optional, and the 12 h or 24 h switch only changes how times are shown.
- 3Read the duration, then copy it with the totals, or use the box below the result to add or subtract time from a clock time.
Guides on this topic
- How Much Sleep Do You Need by Age? The Recommended Hours
- How Long Does It Take to Charge an Electric Car?
- 99.9% Uptime Means 8.8 Hours Down: The Downtime Table
- Meal and Rest Break Laws by State: What Is Required
Frequently asked questions
How do I calculate the time between two times?
Subtract the start time from the end time. If the minutes of the end time are smaller, borrow an hour: 5:15 PM minus 9:40 AM is 16:75 minus 9:40, which gives 7 hours 35 minutes. The calculator does this for you, down to the second.
What if the end time is after midnight?
In the two times mode, an end time that is earlier than the start time is read as the next day. 10:30 PM to 2:15 AM is 3 hours 45 minutes. For periods longer than a day, switch to the dates and times mode and enter both dates.
How do I turn a duration into decimal hours?
Divide the minutes by 60 and the seconds by 3,600, then add them to the hours. 2 hours 15 minutes is 2 + 15 ÷ 60 = 2.25 hours. The calculator shows decimal hours, total minutes and total seconds next to the h:mm:ss result.
Does daylight saving time change the result?
The result is the difference between the clock times you enter. If a period with two dates crosses a daylight saving change in your time zone, one hour more or less actually passes, and the calculator tells you the real elapsed time below the result.
Can I add hours and minutes to a time?
Yes. Use the add or subtract box under the result: enter a time, choose plus or minus and type the hours and minutes. 9:45 AM plus 7 hours 30 minutes is 5:15 PM. If the result passes midnight, the calculator says how many days later or earlier it is.
How do I convert 80 minutes to hours, or 1 hour 20 minutes to minutes?
Divide minutes by 60 to get hours: 80 ÷ 60 = 1.33 hours, which is 1 hour 20 minutes, since 0.33 hours × 60 is 20 minutes. The other way, multiply the hours by 60 and add the minutes: 1 hour 20 minutes is 60 + 20 = 80 minutes, or 4,800 seconds. In the "Convert" mode you can type either form and read all of them at once.
How do I add up hours and minutes?
Add the hours and the minutes separately, then turn every 60 minutes into an hour. 1:30 + 2:45 is 3 hours 75 minutes, which is 4:15. In the "Add up times" mode you can paste a whole list, one time per line, and put a minus sign in front of a time to subtract it.