Enter time values above to calculate hours and minutes.
How to 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, or 8 hours after a 30-minute lunch. For payroll, turn the minutes into a decimal by dividing by 60, so 8 h 30 m is 8.5 hours. The calculator does both, handles shifts that cross midnight and adds up a full week.
If the end time is earlier than the start time, the shift ran past midnight: add 24 hours to the end time before you subtract. A 10:00 PM to 6:30 AM shift is 6:30 + 24:00 minus 22:00, which is 8 hours 30 minutes.
Minutes to Decimal Hours Conversion Chart
Decimal hours = minutes ÷ 60. Payroll systems usually round to two decimal places.
| Minutes | Decimal hours | Minutes | Decimal hours |
|---|---|---|---|
| 5 | 0.08 | 35 | 0.58 |
| 6 | 0.10 | 36 | 0.60 |
| 10 | 0.17 | 40 | 0.67 |
| 12 | 0.20 | 42 | 0.70 |
| 15 | 0.25 | 45 | 0.75 |
| 18 | 0.30 | 48 | 0.80 |
| 20 | 0.33 | 50 | 0.83 |
| 24 | 0.40 | 54 | 0.90 |
| 25 | 0.42 | 55 | 0.92 |
| 30 | 0.50 | 60 | 1.00 |
The classic mistake runs the other way: 7.30 on a timesheet is not 7 hours 30 minutes. It is 7 hours 18 minutes, because 0.30 × 60 = 18.
Rounding to the Nearest Quarter Hour
Many employers round punch times to the nearest 15 minutes. Federal rules (29 CFR 785.48) allow it as long as the rounding averages out over time and does not always favor the employer. In practice this is the 7-minute rule: 1 to 7 minutes past a quarter hour rounds down, 8 to 14 minutes rounds up.
| Actual punch | Rounded to | Why |
|---|---|---|
| 8:52 AM | 8:45 AM | 7 minutes after 8:45 |
| 8:53 AM | 9:00 AM | 8 minutes after 8:45 |
| 9:07 AM | 9:00 AM | 7 minutes after 9:00 |
| 9:08 AM | 9:15 AM | 8 minutes after 9:00 |
| 5:07 PM | 5:00 PM | 7 minutes after 5:00 |
| 5:23 PM | 5:30 PM | 8 minutes after 5:15 |
This calculator does not round. It uses the exact minutes you enter, which is what you want when you are checking whether your paycheck matches the time you actually worked.
Overnight Shifts and Weekly Overtime
Worked example
You work five shifts of 9 hours in one workweek, paid $20 an hour. That is 45 hours. Under the Fair Labor Standards Act, overtime is every hour over 40 in the workweek, paid at least 1.5 times the regular rate:
- Regular pay: 40 × $20 = $800
- Overtime pay: 5 × $30 = 50
- Gross pay: $950
Rules that trip people up
- Federal law has no daily overtime. A 12-hour day inside a 36-hour week earns no premium under the FLSA. A few states do have daily rules; California pays 1.5x over 8 hours in a day and 2x over 12.
- The workweek is a fixed, recurring 168-hour period set by the employer. It does not have to start on Monday, and two weeks cannot be averaged together.
- A shift that crosses midnight belongs to the days it was actually worked. On the night clocks fall back (1 November 2026 in the US), a 10 PM to 6 AM shift is really 9 hours, and on the night they spring forward (14 March 2027) it is 7. This calculator works from clock times only, so adjust those two nights by hand.
For a day-by-day week with overtime settings, use the Work Hours Calculator. For overtime pay at other rates, see the Overtime Pay Calculator.