Hours Calculator
Enter a start time and an end time. You get the time between them in hours and minutes and as a decimal.
Enter a start and an end time.
How to work out the hours between two times
- Change both times to the 24 hour clock. 5:30 PM becomes 17:30.
- Subtract the start from the end. 17:30 minus 9:00 is 8 hours 30 minutes.
- If the minutes of the end time are smaller than the minutes of the start time, borrow one hour and add 60 minutes before subtracting.
- Take off any unpaid break.
Overnight shifts
When the end time is earlier on the clock than the start time, the shift has crossed midnight. Add 24 hours to the end time first. A shift from 10:00 PM to 6:30 AM is 6:30 plus 24:00, which is 30:30, minus 22:00. That is 8 hours 30 minutes.
Turning the answer into a decimal
Divide the minutes by 60. 8 hours 30 minutes is 8.5 hours, and 7 hours 45 minutes is 7.75 hours. You need the decimal form to multiply by a pay rate.
| Minutes | Decimal | Minutes | Decimal |
|---|---|---|---|
| 5 | 0.08 | 35 | 0.58 |
| 10 | 0.17 | 40 | 0.67 |
| 15 | 0.25 | 45 | 0.75 |
| 20 | 0.33 | 50 | 0.83 |
| 25 | 0.42 | 55 | 0.92 |
| 30 | 0.50 | 60 | 1.00 |
For a whole week
To add up several days at once, use the time card calculator. To add a list of durations, use the add time calculator.
Common questions
How many hours is 9 to 5?
8 hours. With a 30 minute unpaid lunch it is 7 hours 30 minutes of paid time.
How many hours is 8 to 5?
9 hours. With a one hour unpaid lunch it is 8 hours of paid time.
How do I calculate hours worked overnight?
Add 24 hours to the end time, then subtract the start time. 11 PM to 7 AM is 31:00 minus 23:00, which is 8 hours.
Last reviewed November 2026. Results are estimates for planning. See how we calculate and the disclaimer.