Implementing the 2026 US OBBBA 'No Tax on Overtime & Tips' Math in Pure TypeScript (Caps, Phase-Outs & FICA)

With the One Big Beautiful Bill Act (OBBBA) federal tax deductions for qualified overtime and tips...

啊伟 (Open-Source)3 min read0 kali dilihat
Implementing the 2026 US OBBBA 'No Tax on Overtime & Tips' Math in Pure TypeScript (Caps, Phase-Outs & FICA)

With the One Big Beautiful Bill Act (OBBBA) federal tax deductions for qualified overtime and tips active for tax years 2025–2028, millions of US W-2 workers will hit their first full filing season in January 2027 with a surprisingly tricky set of statutory rules.

Most headline summaries get two critical pieces of the math wrong. While building PayShield Tax — a zero-login, deterministic 2026/2027 tax deduction calculator — we mapped the exact statutory formulas into a pure TypeScript engine. Here is the breakdown.

1. The FLSA 0.5x Overtime Premium Rule (Not Full 1.5x Pay)

The federal overtime deduction does not exempt your entire overtime paycheck. It applies strictly to the FLSA premium portion — the 0.5x half in time-and-a-half (reported via W-2 Box 12 Code TT):

const flsaPremium = 0.5 * baseHourlyRate * annualOvertimeHours;
const cap = filingStatus === "mfj" ? 25000 : 12500;
const cappedDeduction = Math.min(flsaPremium, cap);

2. MAGI Phase-Out Math ($150k Single / $300k MFJ)

Both the overtime deduction ($12,500 Single / $25,000 MFJ) and the qualified tips deduction ($25,000 cap, W-2 Box 12 Code TP) phase out above $150,000 MAGI (Single) or $300,000 MAGI (Married Filing Jointly) by $100 per $1,000 over the threshold:

const threshold = filingStatus === "mfj" ? 300000 : 150000;
const excessThousands = Math.max(0, Math.ceil((magi - threshold) / 1000));
const allowedDeduction = Math.max(0, cappedDeduction - excessThousands * 100);

3. The 7.65% FICA Reality Check & State Conformity

| Component | Exempt Under OBBBA? | Notes | | :--- | :--- | :--- | | Federal Income Tax | Yes (up to cap & phase-out) | Reduces taxable income at your marginal 2026 bracket | | Social Security (6.2%) + Medicare (1.45%) | No — 7.65% FICA still applies | Withheld on the full overtime & tip paycheck | | State Income Tax | Varies by state | Rolling-conformity vs uncoupled states (e.g., CA/NY) diverge |

Try the Live Calculators & Open Reference

Informational engineering breakdown only — not formal tax or legal advice.


Sumber artikel open-source oleh 啊伟 di DEV Community — Baca artikel asli. Topik: #fintech #javascript #softwaredevelopment #typescript

Sukai & bagikan artikel ini

Komentar