Why pre-tax dollars beat take-home dollars
A dollar contributed to a 401(k), HSA, or FSA before payroll withholding is worth more than a dollar spent after taxes — because contributions come out before federal income tax, and usually before state tax, apply. At a 22% federal bracket plus 5% state tax, avoiding tax on $500 of salary costs your take-home only $365 — the other $135 is the government's share of your benefit contribution. That 27% discount is the entire engine of employer benefit plans: the $500 lands in your 401(k) or HSA in full while your paycheck shrinks by roughly two-thirds of it.
Payroll taxes (Social Security 6.2% + Medicare 1.45%) still apply to 401(k) and health-premium contributions, but not to HSA and FSA amounts taken through a cafeteria plan — a small extra saving the calculator models separately. The ordering nuance matters at the margin: HSA contributions are the only triple-tax-advantaged dollars in the code (deductible going in, tax-free growth, tax-free qualified withdrawals), so where a raise dollar should go, the HSA usually outranks the 401(k) up to its limits.
