Ask a room of night workers how their overtime is calculated and most will describe their employer's policy. The law underneath is simpler and stricter. Federal law does not require one cent of extra pay for working at night - a shift differential is a benefit, offered by the employer or required by a contract. But the moment a differential exists, the Fair Labor Standards Act treats it as part of your pay for every purpose, including the most important one: it goes inside the regular rate before overtime is priced.
That single step is where night shift overtime goes wrong. Payroll systems and tired managers both reach for the base rate because it is the number on the offer letter. The differential sits in a separate column, easy to leave out of the multiplication. Leaving it out underprices every overtime hour, every week, by half the differential - small per hour, steady and significant over a year of nights.
The calculation, in the right order
The order never changes. First, total the hours worked in the workweek, counting every hour on duty, including the parts of shifts that run past midnight. Second, split the week at 40. Third, build the true regular rate: base pay plus the shift differential for night hours. Fourth, price regular hours at that rate and overtime hours at one and a half times it. If the differential applies to all hours, as it usually does, the regular rate is simply base plus differential for the whole week.
Take a hospital orderly on $18.00 an hour plus a $2.00 night differential, working four 12-hour night shifts, 7 PM to 7 AM, with a 30-minute unpaid meal break on each: that is 11.5 paid hours a shift, 46 hours for the week.
| Part of the week | Hours | Rate | Pay |
|---|---|---|---|
| Regular time (first 40 hours) | 40 | $20.00 ($18 + $2) | $800.00 |
| Overtime (hours past 40) | 6 | $30.00 ($20 x 1.5) | $180.00 |
| Gross pay for the week | $980.00 | ||
Now the wrong way, the way it too often appears on stubs: overtime priced on the base alone gives 6 x $27.00 = $162.00, and the week pays $962.00. The missing $18.00 is exactly 6 hours x 0.5 x $2.00 - the unpaid half of the differential on each overtime hour. Over 50 working weeks that quiet error is $900. The overtime calculator prices a week from the combined rate if you enter base plus differential as the hourly rate, which is the fastest way to check a stub against the correct method.
The midnight problem: which week owns the shift?
A shift from 7 PM Sunday to 7 AM Monday crosses a boundary that day-shift workers never meet. If the workweek starts on Monday, half of that shift sits in each week. Employers handle this in a standard way: the whole shift is assigned to the workweek in which it begins, and that practice is accepted when it is applied consistently. What is not acceptable is losing hours at the seam - a shift that vanishes from both weeks, or gets counted in whichever week produces less overtime depending on the week. If your schedule regularly crosses the workweek boundary, pick one crossing shift and trace it through two consecutive stubs to confirm it is counted once, in full, in one of them.
Within a single week the crossing does not matter for the total: hours are hours, and 46 of them price the same whether the clock crossed midnight or not. Day totals still matter for states with daily overtime rules, and for your own records. When you total a night shift by hand, the time calculator on the homepage handles the past-midnight span without the usual borrow-and-carry mistakes.
Mixed weeks: some days, some nights
Plenty of staff split a week between day and night shifts, earning the differential on only part of the week. Then there is no single regular rate written anywhere - it has to be built. The law's method is a weighted average: total straight-time pay for the week, including differentials, divided by total hours worked. Say 24 day hours at $18.00 ($432.00) and 22 night hours at $20.00 ($440.00): total pay $872.00 over 46 hours gives a regular rate of $18.96, and the 6 overtime hours are owed a premium of half that rate each - $56.87 on top of the $872.00, for gross pay of $928.87. This is the same machinery as the blended overtime rate used for two different jobs, and the overtime calculator can price each block separately if you want a quick estimate before doing the weighted average properly.
A quick stub check for night workers
Three checks catch nearly everything. One: find the overtime rate on the stub and divide it by 1.5 - the result should be your base plus your differential, not your base alone. Two: add the week's paid hours from your own schedule, including every past-midnight tail, and confirm the stub total matches. Three: if you crossed the workweek boundary, trace that one shift into exactly one week. If check one fails, the error repeats every week until it is fixed, which makes it the most valuable five minutes in this guide.
Frequently asked questions
Does federal law require extra pay for working nights?
No. The FLSA does not require any premium for night work, weekends or holidays. A shift differential exists only because an employer offers it or a contract requires it. But once a differential is paid, it becomes part of the regular rate, and overtime must be calculated on the combined figure.
Does the shift differential count when overtime is calculated?
Yes. The regular rate includes shift differentials, so the overtime rate is 1.5 times the base pay plus the differential, not 1.5 times the base alone. On $18 plus a $2 differential, overtime is priced at $30 an hour, not $27 - a difference of $3 on every overtime hour.
Which day does a shift that crosses midnight belong to?
Employers commonly assign the whole shift to the day or workweek it starts, and that is acceptable when it is done consistently. What matters most is the weekly total: all hours actually worked inside the workweek count toward 40, whichever day a crossing shift is recorded on.
Can my employer pay the differential only on regular hours?
The differential itself is usually paid on all hours worked, including overtime hours. But even where a policy phrases it differently, the law is clear on the key point: the value of the differential must be inside the regular rate before the 1.5 multiplier is applied. Overtime priced on base pay alone is underpriced.
What about sleep time on very long night shifts?
For shifts of 24 hours or more, an employer and employee can agree to exclude a genuine sleep period of up to 8 hours, if adequate facilities are provided and the employee can usually sleep uninterrupted. If sleep is interrupted by work, the interruption counts as hours worked, and if the employee gets less than 5 hours of sleep, the whole period counts.
Johnson Ramzan builds and maintains every calculator on Time Calculator Tools himself, and he tests each one against worked examples he has done by hand before it is allowed near a reader. His guides follow US Department of Labor guidance on hours worked, overtime and rounding, and he writes them the way he would want a payslip explained to him: plain English, real numbers, and no step skipped. When a reader writes in with a shift pattern the tools handle badly, fixing it goes to the top of his list.
Last updated: November 13, 2026
Related guides
The Blended Overtime Rate, Explained
Two rates in one week - including a differential on only some hours - means one weighted rate. Here is the method.
Read the guideHow to Calculate Overtime Pay, Step by Step
The core weekly calculation every night schedule still runs on: split at 40, price both parts.
Read the guideHow to Check If Your Overtime Pay Is Correct
Rebuild your week from your own records and compare it with the stub, line by line.
Read the guideWhat Counts as Hours Worked for Overtime
On-call time, handovers and interrupted breaks - the night hours that quietly decide overtime.
Read the guide