Skip to content
Greatest Calculators

Shift Differential Calculator

Estimate flat or percentage shift differential, blended regular rate, federal weekly overtime premium, and gross pay from one base rate and one differential.

Estimated gross pay

$442.00

48 total hours, including 8 overtime hours

Differential pay
$24.00
Blended regular rate
$8.50/hour
Added OT premium
$34.00
Hours and base rate
$/hour
hours
hours
hours

These hours must already be included in one of the two hour fields.

Shift differential
$/hour

Straight-time earnings

Base wages (48 hours)
$384.00
Differential ($1.00/hour for 24 hours)
$24.00
Straight-time earnings
$408.00

Weighted-average overtime

Blended regular rate
$8.50/hour
Additional half-time premium
$34.00
Estimated gross pay
$442.00

Official U.S. Department of Labor sources

Weighted-average and differential treatment reviewed 2026-08-21. The default reproduces the Department's $442 night-shift example.

What this calculator assumes
  • Overtime hours are already included within base-only plus differential hours; do not add them to total hours again.
  • Straight-time compensation is already paid for every hour, so overtime adds one-half of the blended regular rate for each overtime hour.
  • The model covers one base rate and one flat or percentage differential for a nonexempt weekly federal calculation.
  • State daily overtime, double time, 8-and-80 plans, public-sector rules, prevailing wages, minimum wage, tips, bonuses, commissions, taxes, exemptions, and contract terms are excluded.

How this is calculated

I teach data analysis and SQL on The Data Science Tutor.

Formulas, assumptions, and rounding are documented in our calculator methodology.

Built by Will Henschell, data scientist. Formula checked against 29 CFR Part 778 and Department of Labor Fact Sheet 56A, verified . Editorial policy.

Disclaimer: This is a simplified U.S. federal weekly-pay estimate, not payroll, legal, or tax advice. It assumes a nonexempt employee, one base rate, one differential, and straight-time pay already included for every hour. State daily overtime, double time, special statutory plans, other compensation, exemptions, contracts, and payroll rules can produce different results.

Weighted-Average Regular Rate

Federal regulation 29 CFR 778.115 generally says that when an employee works at two or more rates in one workweek, the regular rate is the weighted average: total earnings, except statutory exclusions, divided by total hours. This tool reaches the same result by adding base wages and shift differential before dividing by hours.

Why the Additional Premium Is Half-Time

Every entered hour already receives straight-time base pay, and qualifying hours also receive the differential. To bring overtime hours to one and one-half times the blended regular rate, the remaining addition is one-half of that rate. This method assumes the entered straight-time compensation is included in the regular rate and that no other premium credit changes the calculation.

What This Weekly Model Excludes

The result does not decide employee classification, overtime eligibility, minimum-wage compliance, or which hours qualify for a differential. It excludes state daily overtime, double time, 8-and-80 healthcare plans, public-sector rules, prevailing wages, tips, bonuses, commissions, multiple differentials, taxes, benefit deductions, and contract-specific methods.

Official Source Review - August 21, 2026

The calculation was reviewed against current 29 CFR 778.115 and 778.207 in the Electronic Code of Federal Regulations, U.S. Department of Labor Fact Sheet 54's $442 night-shift example, and Fact Sheet 56A's regular-rate overview. Current law, applicable state rules, and the employee's actual agreement should be checked before using the estimate for payroll decisions.

How This Is Calculated

The Shift Differential Formula

For a flat premium, differential per hour is the entered dollar amount. For a percentage premium, it is base rate times the entered percentage. Differential pay equals that amount times qualifying hours. Add differential pay to base wages for straight-time earnings, divide by total hours for the blended regular rate, then add one-half of that rate for each overtime hour already included in total hours.

Formulas

Straight-time pay = base rate × total hours + differential × differential hours

Regular rate = Straight-time pay ÷ total hours

Overtime premium = 0.5 × Regular rate × overtime hours

Gross pay = Straight-time pay + Overtime premium

  • differential flat extra per hour, or base rate × the differential % (dollars per hour)
  • overtime hours hours over 40 in the workweek, already in total hours (hours)

Assumptions and defaults

  • Shift differentials are part of the regular rate, which is the weighted average of all straight-time pay over all hours worked. Source: 29 CFR 778.115 and 778.207 (eCFR); DOL Fact Sheet no. 56A, as of August 16, 2026.
  • Hours over 40 already earn straight time at their own rate, so the extra due is half the regular rate. Source: US Department of Labor, Fact Sheet no. 54 (shift-differential example), as of August 16, 2026.

Inputs it refuses or treats specially

  • Overtime hours cannot exceed total hours, and total hours must be above 0.
  • Daily overtime, double time and other premiums are outside this weekly model.

Worked example

The Department of Labor's example: $8 an hour for 48 hours, 24 of them on a night shift paying $1 more. Straight time is $408, the regular rate $8.50, and the 8 overtime hours add $34, for $442.

Checked by the test “reproduces the Department of Labor $442 night-shift example” in src/__tests__/rollout-batch-0005.test.ts.

Check it yourself

The calculation is the function calculateShiftDifferential(input: ShiftDifferentialInput): ShiftDifferentialResult | null in src/lib/calculators/shiftDifferentialCalculator.ts. These lines reproduce the example and print 442.00.

Show the JavaScript and Python

JavaScript

const straight = 8 * 48 + 1 * 24;
const regularRate = straight / 48;
const premium = 0.5 * regularRate * 8;
console.log((straight + premium).toFixed(2));

Python

straight = 8 * 48 + 1 * 24
regular_rate = straight / 48
premium = 0.5 * regular_rate * 8
print(f"{straight + premium:.2f}")

I teach data analysis and SQL on The Data Science Tutor.

Sources

Last verified August 16, 2026.

13 automated tests cover this calculator. How calculations are documented and checked.

Frequently Asked Questions

How do I calculate a flat shift differential?

Multiply the additional dollar amount per hour by the hours worked on the qualifying shift. Then add that differential pay to base wages. For example, a $1 night differential across 24 hours adds $24 before any additional overtime premium.

How do I calculate a percentage shift differential?

Multiply the base hourly rate by the differential percentage to find the added amount per qualifying hour, then multiply by differential hours. A 15% differential on a $32 base rate adds $4.80 for each qualifying hour.

Does shift differential count in the federal overtime rate?

Ordinary night-shift differentials generally must be included when determining the regular rate under federal regulations. When an employee has different rates in one workweek, 29 CFR 778.115 generally uses a weighted average: total straight-time earnings divided by total hours. The additional overtime premium is then one-half that regular rate for hours over the applicable threshold when straight time is already paid.

Why are overtime hours included within total hours?

The base wages line pays the base rate for every hour, including overtime hours. The overtime line adds only the extra half-time premium needed to reach time and one-half of the blended regular rate. Adding overtime hours to the total a second time would double-count their straight-time pay.

Does the calculator reproduce the Department of Labor night-shift example?

Yes. The default uses 24 hours at $8, 24 night hours at $9, and 8 overtime hours within 48 total hours. Straight-time earnings are $408, the blended regular rate is $8.50, the added overtime premium is $34, and gross pay is $442, matching DOL Fact Sheet #54.