Methodology, Sources and Tests

Every calculator on this site uses the same math engine. This page explains the rules it follows, where each rule comes from, and the test cases it must pass before the site is published. Last reviewed December 2, 2026.

Order of calculation

  1. Hours. Hours worked per day (or a weekly total) are split into regular, 1.5x and 2x hours under the chosen rules. Paid leave is not hours worked.
  2. Straight-time pay. Each hour at its own rate, plus shift differentials, nondiscretionary bonuses, commissions and holiday premiums under 1.5x.
  3. Regular rate. Straight-time pay ÷ hours worked, rounded to the cent as in DOL's examples.
  4. Premiums. Half the regular rate for each 1.5x hour; the full regular rate again for each 2x hour.
  5. Extras. Holiday premiums of 1.5x or more (optionally credited toward overtime), paid leave and discretionary bonuses are added last and kept out of the regular rate.

State rules

Where daily and weekly rules both apply, the result is the greater of the two, never both.

Taxes

Sources

Automated test cases (43)

The build runs these before publishing. If any fails, the site is not updated.

  1. federal: $10/h, 46 h = $490 (ADP / FLSA example)
  2. federal: no daily overtime, 4 x 11 h = 44 h gives 4 OT hours
  3. federal: under 40 hours, no overtime
  4. FS56C example A: $10/h, 43 h, $50 bonus = $496.74
  5. FS56C example B: $15/h, 45 h, $1 differential on 30 h, $100 bonus = $849.75
  6. FS56C example C: discretionary bonus is paid but excluded from the regular rate = $521.74
  7. weighted: 35 h at $12 + 10 h at $15 = $601.70
  8. weighted: CA DIR FAQ 32 h at $11 + 10 h at $9 gives regular rate $10.52
  9. weighted: rates only (no daily hours) still computes
  10. shift differential percent: 10% on 20 night hours of 45 at $20
  11. CA: 10-hour day = 8 regular + 2 at 1.5x
  12. CA: 14-hour day = 8 regular, 4 at 1.5x, 2 at 2x
  13. CA: 5 x 10 h = 40 regular + 10 OT, no double counting with weekly 40
  14. CA: 6 x 8 h = 40 regular + 8 weekly OT
  15. CA: 7 days x 8 h — 7th day 8 h at 1.5x, plus weekly OT from day 6
  16. CA: 7th day of 10 h = 8 at 1.5x + 2 at 2x
  17. CA: 7th-day rule needs all 7 days worked
  18. CA pay: $20/h, Mon 13 h + four 8 h days
  19. AK: daily over 8 counts
  20. NV: daily OT only below 1.5x minimum wage ($18)
  21. CO: over 12 in a day
  22. holiday 8 h at 1.5x inside a 40 h week: premium paid, not in regular rate, no OT
  23. holiday premium credited toward overtime when employer elects to
  24. holiday premium below 1.5x goes into the regular rate
  25. paid holiday not worked: paid at base rate, not counted toward 40
  26. biweekly: 45 + 35 h owes 5 OT hours even though total is 80
  27. salary fixed 40 h: $1,200, 42 h = $1,290 (ADP example)
  28. salary fixed 35 h: hours 35-40 at straight time, then 1.5x
  29. salary California always divides by 40
  30. fluctuating workweek 29 CFR 778.114: $600 salary
  31. fluctuating workweek with $20 night premium, 48 h = $671.68 (778.114)
  32. fluctuating workweek with $100 bonus, 48 h = $758.32 (778.114)
  33. salary conversions
  34. taxes: FICA 7.65% plus federal and state rates
  35. taxes: supplemental 22% on overtime portion
  36. taxes: Social Security stops at the wage base
  37. IRS: 10 OT hours at $20 paid at 2x -> qualified $100
  38. CA daily overtime does not qualify; only weekly FLSA hours
  39. qualified from plain 1.5x overtime pay = one third
  40. deduction cap and phase-out
  41. comp time 1.5 h per OT hour, capped at 240
  42. time and a half and double time
  43. clock parsing and shift hours

Limits

Corrections

No corrections yet. Report one to abhay@overtimecalculatorfree.com.