How to Calculate Hours Between Two Times
Subtract the start time from the end time, then subtract any unpaid break. Converting to minutes first makes the math easy and avoids mistakes around noon and midnight.
Minutes worked = (End − Start) in minutes − Break
Decimal hours = Minutes worked ÷ 60
Examples
Day shift: 8:45 AM to 5:15 PM is 8 hours 30 minutes. Subtract a 30-minute lunch and you worked 8 hours, or 8.00 decimal hours.
Overnight shift: 10:00 PM to 6:30 AM crosses midnight. That's 2 hours before midnight and 6.5 hours after, 8.5 hours in total. Minus a 30-minute break, it's 8 hours.
Minutes to decimal hours
| Minutes | Decimal | Minutes | Decimal |
|---|---|---|---|
| 6 | 0.10 | 36 | 0.60 |
| 12 | 0.20 | 42 | 0.70 |
| 15 | 0.25 | 45 | 0.75 |
| 20 | 0.33 | 48 | 0.80 |
| 30 | 0.50 | 54 | 0.90 |
Frequently Asked Questions
Why does my paycheck show 7.75 hours instead of 7:45?
Payroll uses decimal hours. 7 hours 45 minutes is 7.75 decimal hours because 45 ÷ 60 = 0.75.
Does the calculator handle shifts past midnight?
Yes. If the end time is earlier than the start time, it assumes the shift ended the next day.
How do I add up a whole week?
Use the time card calculator, which totals each day and splits out overtime.
Tips
- Multiply decimal hours by your hourly rate to get your pay for the shift.
- Turn your hourly rate into a yearly figure with the hourly to salary calculator.