How to calculate hours worked, with lunch breaks
You can check any time card with a pen and paper in four steps. Here's the method payroll uses, with examples for lunch breaks, odd minutes and overnight shifts.
The four steps
- Write both times in 24-hour format. Add 12 to any PM hour (except 12 PM). 5:20 PM becomes 17:20.
- Subtract the start time from the end time. Hours from hours, minutes from minutes.
- Take off your unpaid break.
- Convert to decimal if you need to multiply by your pay rate: divide the minutes by 60.
Example: 8:52 AM to 5:20 PM with a 30-minute unpaid lunch.
- 8:52 and 17:20
- 17:20 − 8:52. The minutes (20 − 52) don't work yet, so see the next section. The answer is 8:28.
- 8:28 − 0:30 = 7:58
- 58 ÷ 60 = 0.97, so 7.97 hours
When the end minutes are smaller than the start minutes
Borrow an hour. Take 1 from the end hours and add 60 to the end minutes. Then subtract as normal.
17:20 becomes 16:80. Then 16:80 − 8:52 = 8 hours and 28 minutes.
The same trick works for the break. 8:28 − 0:30: borrow to get 7:88, then 7:88 − 0:30 = 7:58.
Overnight shifts
When a shift crosses midnight, the end time looks smaller than the start. Add 24 hours to the end time first.
Example: 10:00 PM to 6:30 AM with a 30-minute unpaid break.
- 22:00 to 6:30. Add 24 to the end: 30:30.
- 30:30 − 22:00 = 8:30.
- 8:30 − 0:30 = 8:00 hours.
Our hours calculator does this for you whenever the end time is earlier than the start time.
Converting hours and minutes to decimal hours
Payroll multiplies your rate by decimal hours. Hours and minutes aren't decimals: 7:45 means 7¾ hours, which is 7.75, not 7.45. To convert, divide the minutes by 60.
| Hours:minutes | Decimal hours |
|---|---|
| 7:15 | 7.25 |
| 7:30 | 7.50 |
| 7:45 | 7.75 |
| 7:58 | 7.97 |
| 39:28 | 39.47 |
Every minute from 1 to 60 is on our minutes to decimal hours chart.
Adding up the week
Add the hours and the minutes separately. Then turn every 60 minutes into an hour.
7:58 + 8:00 + 8:00 + 8:00 + 7:30 = 38 hours and 88 minutes = 39:28 (39.47 hours).
If the total is over 40 hours, the hours above 40 are usually overtime at time and a half. See how overtime is calculated.
Which breaks to take off
- Take off: unpaid meal breaks where you are fully relieved of duty, normally 30 minutes or more, like a lunch you clock out for.
- Don't take off: short rest breaks of about 5 to 20 minutes. Federal rules count these as paid work time.
- If you eat at your desk while still answering phones or watching a machine, that isn't a real meal break under federal rules, and it should be paid.
Some states have their own meal and rest break rules on top of these. The federal rules are in 29 CFR 785.18 and 785.19 (links on our sources page).