Compute federal overtime on the correct regular rate, with every figure citing 29 CFR 778.
See it run - a worked example, 100% in this browser tab
The problem
FLSA overtime errors usually come from the regular rate, not the hours: nondiscretionary bonuses and commissions must be folded in, and a miscomputed rate underpays or overpays every overtime hour.
The local-first solution
A deterministic, client-side calculator derives the regular rate and the half-time overtime premium by exact arithmetic, citing 29 U.S.C. 207 and 29 CFR 778 for each step, with no payroll data leaving the browser.
What it does
Regular rate = total straight-time pay (including nondiscretionary bonus) divided by hours worked (778.109)
Fixed-salary regular rate = salary divided by the covered hours (778.113)
Overtime premium = 0.5 x regular rate x hours over 40 (778.110)
Total due = straight-time pay plus bonus plus overtime premium
Flags when the regular rate falls below the applicable minimum wage
Single non-exempt workweek, federal basis
Honest scope
Federal FLSA, single workweek, non-exempt employee only. It does not decide exempt status or handle daily overtime, double-time, tipped credit, fluctuating-workweek, piece-rate, or multi-rate weighted averages; the higher state requirement controls. Not legal advice.
Authorities cited
29 U.S.C. 207(a) - Overtime: 1.5x the regular rate for hours over 40 in a workweek.
29 CFR 778.109 - The regular rate is total weekly straight-time compensation divided by total hours worked.
29 CFR 778.110 - Hourly employee overtime (half-time premium on hours over 40).
29 CFR 778.113 - Regular rate for a fixed salary covering a fixed number of hours.
29 U.S.C. 206 - Minimum wage; the regular rate may not fall below the applicable minimum.
Calculate the workweek
Run the overtime computation in your browser and send the cited breakdown to a Sandbox set or a Worklog case. Payroll figures stay on your device, not in anyone's cloud.