Hours Calculator: Time Between Two Times
Enter a start and end time to get the hours worked, minus breaks, in hours and minutes and decimal hours for payroll. Overnight shifts are handled automatically.
Updated · Formulas per our methodology
| Shift | Break | Hours | Decimal |
|---|---|---|---|
| 9:00 AM – 5:00 PM | none | 8h 00m | 8.00 |
| 9:00 AM – 5:00 PM | 30 min | 7h 30m | 7.50 |
| 8:00 AM – 4:30 PM | 30 min | 8h 00m | 8.00 |
| 7:00 AM – 3:30 PM | 30 min | 8h 00m | 8.00 |
| 8:30 AM – 5:00 PM | 60 min | 7h 30m | 7.50 |
| 7:00 AM – 7:00 PM | 60 min | 11h 00m | 11.00 |
| 10:00 PM – 6:30 AM | 30 min | 8h 00m | 8.00 |
Frequently asked questions
How do I calculate hours between two times?
Subtract the start time from the end time, then subtract any unpaid break. 9:00 AM to 5:30 PM is 8 hours 30 minutes; minus a 30-minute break gives 8 hours, or 8.00 decimal hours.
How do I calculate hours worked for an overnight shift?
If the end time is earlier than the start time, add 24 hours to the end time first. 10:00 PM to 6:30 AM is 8 hours 30 minutes. The calculator does this automatically.
How many hours is 9 to 5?
9:00 AM to 5:00 PM is 8 hours. With a 30-minute unpaid lunch it is 7.5 hours (7 hours 30 minutes); with a one-hour lunch it is 7 hours.
How many hours is 8 AM to 4:30 PM?
8:00 AM to 4:30 PM is 8 hours 30 minutes, which is 8.5 decimal hours. With a 30-minute unpaid break it is exactly 8 hours.
How do I convert the result to decimal hours?
Divide the minutes by 60 and add them to the hours. 7 hours 45 minutes = 7 + 45 ÷ 60 = 7.75. The calculator shows both formats side by side.
Adding up a whole week? Use the timesheet & time card calculator with overtime.