Hours calculator: the time between two times in hours and minutes
To find the hours between two times, subtract the start time from the end time. If the end time is earlier than the start, the span runs past midnight, so add 24 hours to the end first. From 9:00 to 17:00 is 8 hours; from 22:00 to 6:00 is 8 hours too. Enter a start, an end and any unpaid break, and the calculator shows the result in hours and minutes, decimal hours and minutes.
How to calculate the hours between two times
- Write both times on a 24-hour clock. Add 12 to p.m. hours, except 12 p.m.; 12 a.m. is 0:00. So 4:45 p.m. is 16:45.
- Subtract the minutes, then the hours. 16:45 minus 8:15 is 8 hours 30 minutes.
- Borrow an hour when the minutes don’t go. 17:10 minus 9:40: take 60 minutes from the 17, making 16:70, then 16:70 minus 9:40 is 7 hours 30 minutes.
- Past midnight, add 24 hours to the end. 23:30 to 7:15 is 31:15 minus 23:30, which is 7 hours 45 minutes.
- Take off any unpaid break. 7 hours 45 minutes with a 30-minute break leaves 7 hours 15 minutes.
Common shifts, worked out
| Shift | Break | Hours | Decimal |
|---|---|---|---|
| 9 a.m. to 5 p.m. | none | 8 h 00 min | 8.00 |
| 9 a.m. to 5 p.m. | 30 min | 7 h 30 min | 7.50 |
| 8 a.m. to 5 p.m. | 60 min | 8 h 00 min | 8.00 |
| 9 a.m. to 5:30 p.m. | 30 min | 8 h 00 min | 8.00 |
| 7 a.m. to 3:30 p.m. | none | 8 h 30 min | 8.50 |
| 7 a.m. to 7 p.m. | none | 12 h 00 min | 12.00 |
| 10 p.m. to 6 a.m. | none | 8 h 00 min | 8.00 |
How many hours is 9 to 5? Eight hours. With an unpaid half-hour lunch, it is 7 and a half hours of paid time.
Hours and minutes or decimal hours?
Both describe the same time. 7 hours 15 minutes is 7.25 decimal hours, because 15 minutes is a quarter of an hour. To convert, divide the minutes by 60. Decimal hours are what you multiply by an hourly rate: 7.25 hours at 20 an hour is 145.
Be careful not to read 7:15 as 7.15. The first is seven hours and fifteen minutes, the second is about seven hours and nine minutes.
One shift or a whole week
This page times one span. To add up a full week of shifts with breaks, overtime and pay, use the time card calculator. Nothing you type here is stored or sent anywhere.