How many hours and minutes are there between two times? It is a question that comes up with timesheets, study logs, travel plans and shift work. This guide shows how to calculate hours worked between two times, subtract breaks, handle overnight shifts and add hours and minutes together. If you want to check any example as you read, use the Hawaa Hub hours calculator, which runs in your browser.
How to calculate the hours between two times
The method is the same whether you do it on paper or in a tool.
- Write both times in the 24-hour format (3:15 pm becomes 15:15).
- Subtract the start time from the end time.
- If the minutes of the end time are smaller than the minutes of the start time, borrow one hour and add 60 minutes.
Example
Start at 8:40 and finish at 14:15. The minutes 15 are smaller than 40, so borrow an hour: 14:15 becomes 13 hours and 75 minutes. Then 13 minus 8 is 5 hours, and 75 minus 40 is 35 minutes. The answer is 5 hours 35 minutes, or about 5.58 decimal hours.
How to calculate hours worked with a break
Most shifts include an unpaid break. Calculate the full time between start and end, then take the break away.
Example
Start 9:00, end 17:30, unpaid break 45 minutes.
- 9:00 to 17:30 is 8 hours 30 minutes.
- Subtract 45 minutes: 8:30 minus 0:45 is 7:45.
The hours worked are 7 hours 45 minutes, which is 7.75 in decimal hours. In the time card mode of the tool, you type the start, the end and the break in minutes (45) for each day, and it does this for you.
How to calculate an overnight shift
If a shift ends after midnight, the end time looks smaller than the start time, so a simple subtraction gives a negative result. The fix is to add 24 hours to the end time.
Example
Start 22:00, end 06:00, break 30 minutes.
- 06:00 plus 24 hours is 30:00.
- 30:00 minus 22:00 is 8 hours.
- Subtract the 30-minute break: 7 hours 30 minutes, or 7.5 decimal hours.
You do not need to do that conversion in the calculator. It supports shifts that cross midnight, so just enter the real start and end times.
How to calculate total hours for a week
Work out each day first, then add the days.
- Monday: 7:45
- Tuesday: 8:15
- Wednesday: 6:30
- Thursday: 8:00
- Friday: 7:20
Add the hours: 7 plus 8 plus 6 plus 8 plus 7 equals 36. Add the minutes: 45 plus 15 plus 30 plus 0 plus 20 equals 110. Since 110 minutes is 1 hour 50 minutes, the weekly total is 37 hours 50 minutes. As a decimal, 50 divided by 60 is about 0.83, so the total is 37.83 hours.
How to add hours and minutes together
Adding durations works the same way as the weekly total: add hours to hours and minutes to minutes, then carry any extra 60 minutes into the hours column.
Example
2 hours 45 minutes plus 1 hour 30 minutes plus 3 hours 50 minutes.
- Hours: 2 plus 1 plus 3 is 6.
- Minutes: 45 plus 30 plus 50 is 125, which is 2 hours and 5 minutes.
- Total: 8 hours 5 minutes, or about 8.08 decimal hours.
Subtracting hours and minutes
To take away 1 hour 20 minutes from 8 hours 5 minutes, you cannot subtract 20 from 5, so borrow an hour. 8:05 becomes 7 hours 65 minutes. Then 7 minus 1 is 6, and 65 minus 20 is 45. The result is 6 hours 45 minutes, which is exactly 6.75 hours. In the second mode of the tool you can choose plus or minus for each value and get the same answer in both formats.
Converting minutes to decimal hours
Divide minutes by 60. A few helpful values to remember: 6 minutes is 0.1 hours, 15 minutes is 0.25, 30 minutes is 0.5 and 45 minutes is 0.75. To go the other way, multiply the decimal part by 60. For example, 0.25 hours is 15 minutes. Mixing up 7:45 and 7.45 is a very common mistake, because 7:45 is really 7.75 hours.
Common mistakes to avoid
- Forgetting the break. Always remove unpaid break time from the total.
- Using a 12-hour clock without am or pm. 8:00 to 5:00 only makes sense if you know it means 8 am to 5 pm.
- Treating minutes as decimals. Remember 60 minutes in an hour, not 100.
- Ignoring midnight. Add 24 hours to the end time when a shift runs overnight.
What this calculator does not cover
The calculator gives you durations. It does not work out pay, taxes or overtime rules, and it is not payroll or legal advice. If a total feeds into your wages, check your contract and local rules.
More guides and tools
For a broader overview of what the tool offers, read our main guide: hour calculator online, a complete guide. You might also like the age calculator and the word counter, and the free tools page lists everything else. You can open the hours and minutes calculator at any time to test your own numbers.
Frequently Asked Questions
How do I calculate hours between two times when the shift is overnight?
Add 24 hours to the end time before subtracting, or enter the times in the tool, which supports shifts that cross midnight.
How do I turn 7 hours 45 minutes into decimal hours?
Divide 45 by 60 to get 0.75, then add the 7 hours. The answer is 7.75 hours.
Does the tool include breaks?
Yes. In the time card mode, you enter an unpaid break in minutes for each day, and it is taken off the total.
Can it tell me how much I should be paid?
No. It does not calculate pay, taxes or overtime.
