Every payslip starts with one number: the hours you actually worked. This guide shows the exact method payroll uses — subtract start from end, remove unpaid breaks, convert minutes to decimal hours, then split the week at the overtime threshold and apply the right multiplier — with worked examples you can check line by line.
In short: Hours worked = end time − start time − unpaid breaks. Convert the result to decimal hours (minutes ÷ 60) before multiplying by your rate. For overtime, pay the hours up to the threshold at your regular rate and the hours beyond it at the multiplier — under US federal law (the FLSA), that is at least 1.5× for hours over 40 in a single workweek for covered, non-exempt employees.
One formula handles almost every shift:
Hours worked = (end time − start time) − unpaid breaks
And once you have the hours, pay follows from a second one:
Gross pay = (regular hours × hourly rate) + (overtime hours × hourly rate × multiplier)
Everything below is these two formulas applied carefully — the mistakes happen in the details: breaks, minutes that are not decimals, night shifts, and weeks that cross the overtime threshold.
Payroll systems, invoices and spreadsheets want hours as a decimal — 8.25, not 8:15. The conversion is:
Decimal hours = whole hours + (minutes ÷ 60)
| Minutes | Decimal hours |
|---|---|
| 5 | 0.08 |
| 10 | 0.17 |
| 15 | 0.25 |
| 20 | 0.33 |
| 25 | 0.42 |
| 30 | 0.50 |
| 35 | 0.58 |
| 40 | 0.67 |
| 45 | 0.75 |
| 50 | 0.83 |
| 55 | 0.92 |
The trap: 7 hours 45 minutes is 7.75 hours, not 7.45. The digits after the decimal point are sixtieths of an hour, not minutes — 0.45 of an hour is 0.45 × 60 = 27 minutes. Writing 8:30 as “8.30 hours” underpays every shift by 12 minutes. A quick mental check: every 6 minutes is exactly one tenth of an hour (0.10), so 36 minutes is 0.60 and 54 minutes is 0.90. To convert back, multiply the decimal part by 60: 7.6 hours = 7 hours + (0.6 × 60) = 7 hours 36 minutes.
You clock in at 8:15 AM and out at 5:00 PM, with a 30-minute unpaid lunch. Your rate is $20 an hour.
If the lunch had been a paid break, nothing would be subtracted: 8 hours 45 minutes = 8.75 hours, and the day would pay 8.75 × $20 = $175.00. Whether a break is paid or unpaid is worth $10 a day in this example — check your contract before you subtract anything.
If the end time is earlier than the start time, add 24 hours to the end before subtracting. A shift from 10:00 PM to 6:30 AM:
One week, a 30-minute unpaid lunch on the weekday shifts, and an hourly rate of $18:
| Day | Start – end | Hours worked | Decimal |
|---|---|---|---|
| Monday | 9:00 AM – 5:30 PM | 8 h 00 min | 8.00 |
| Tuesday | 9:00 AM – 5:30 PM | 8 h 00 min | 8.00 |
| Wednesday | 9:00 AM – 6:15 PM | 8 h 45 min | 8.75 |
| Thursday | 9:00 AM – 5:30 PM | 8 h 00 min | 8.00 |
| Friday | 9:00 AM – 7:00 PM | 9 h 30 min | 9.50 |
| Saturday | 10:00 AM – 2:00 PM | 4 h 00 min | 4.00 |
| Week total | 46 h 15 min | 46.25 |
Now split the week at a 40-hour overtime threshold:
Note that the split happens on the week, not on any single day: Friday's long day is not overtime by itself — the week's total decides. (Some contracts and some local laws also set daily overtime thresholds; if yours does, apply whichever rule your contract or law specifies.)
Overtime is the higher rate paid for hours beyond a set threshold. The two multipliers you will meet most often:
In the United States, the federal baseline is the Fair Labor Standards Act (FLSA): covered, non-exempt employees must be paid at least 1.5× their regular rate for hours over 40 in a workweek. A workweek is a fixed, recurring period of 168 hours (seven consecutive days); it can start on any day, but each workweek stands alone — an employer cannot average a 50-hour week with a 30-hour week to avoid overtime. Some states add their own rules on top, and exempt (salaried-exempt) employees are not covered by the federal overtime requirement. Outside the US, the threshold and multiplier come from your local labour law or contract, so check which rules apply to you before using the examples below.
You earn $20 an hour and work 46 hours in one week, with overtime at 1.5× over 40 hours:
Two ways to read the same answer: the 6 overtime hours earned $180 instead of the $120 they would have paid at the plain rate, so the overtime premium — the extra above straight time — is $60. If payroll has already paid you straight time for all 46 hours ($920), only that $60 premium is still owed. And if 2 of the overtime hours were paid at double time under your contract instead, they would pay 2 × $40 = $80 rather than 2 × $30 = $60, taking the week to $1,000.
Overtime maths needs an hourly rate. For a salary, divide by the paid hours in the period. On a common full-time pattern of 40 hours a week × 52 weeks = 2,080 hours a year, a $52,000 salary is $52,000 ÷ 2,080 = $25 an hour — so time and a half would be $25 × 1.5 = $37.50 an hour. Whether a salaried employee is owed overtime at all depends on exemption status and local law; the conversion itself is just arithmetic.
In Excel or Google Sheets, times are stored as fractions of a day, so multiply the difference by 24 to get decimal hours:
Format the result as a number with two decimal places, not as a clock time.
Subtract your start time from your end time, then subtract any unpaid breaks. For example, 8:15 AM to 5:00 PM is 8 hours 45 minutes; minus a 30-minute unpaid lunch, that is 8 hours 15 minutes worked — 8.25 in decimal hours.
Divide the minutes by 60 and add the whole hours. 15 minutes is 0.25, 30 minutes is 0.50 and 45 minutes is 0.75, so 7 hours 45 minutes is 7.75 hours. Never write it as 7.45 — that would mean 7 hours 27 minutes.
Split the week at the overtime threshold, then pay each part at its own rate: gross pay = (regular hours × hourly rate) + (overtime hours × hourly rate × multiplier). At $20 an hour with 6 overtime hours at time and a half: (40 × $20) + (6 × $20 × 1.5) = $800 + $180 = $980.
Time and a half means 1.5 times the regular rate, so $20 × 1.5 = $30 an hour. Double time is 2 times the rate — $40 an hour on a $20 rate.
Under the US Fair Labor Standards Act (FLSA), covered non-exempt employees earn overtime at at least 1.5 times their regular rate for hours over 40 in a single workweek. Each workweek stands alone — hours cannot be averaged over two weeks. Outside the US, the threshold and multiplier come from local law or your contract.
Unpaid meal breaks are subtracted; paid breaks are not. As a general rule under US federal law, short rest breaks of about 5 to 20 minutes are paid, while a genuine meal break of 30 minutes or more, during which you are fully relieved of duty, can be unpaid. Your contract or local law may differ.