HSA Calculator

Calculate the triple-tax-advantage of a Health Savings Account versus a 401(k) — including the FICA exemption most calculators forget — across any contribution, return, and tax-rate assumption.

Why is the HSA so valuable?

It's the only US retirement account with a triple tax advantage — pre-tax contributions (federal income AND FICA), tax-deferred growth, and tax-free qualified withdrawals. At $4,300/year for 30 years at 7% return, the HSA delivers about $33,000 more after-tax retirement wealth than an equivalent 401(k) — purely from the FICA exemption and tax-free withdrawal advantages.

Your Plan
7.0%
22%
15%
HSA vs 401(k) After-Tax Wealth
$0
HSA Ending (with FICA reinvested)
$0
401(k) Ending (after retirement tax)
$0
HSA Advantage
$0
Annual FICA Savings

Side-by-Side
AccountAnnual ContributionTax on Way InTax on Way OutEnding After-Tax

How to use this calculator

Takes about 1 minute.

  1. Enter your annual HSA contribution. 2026 limits: $4,300 self-only, $8,550 family. Add $1,000 catch-up if age 55+.
  2. Set time horizon and expected return. HSAs are best treated as long-term retirement accounts — investing rather than spending year-to-year.
  3. Set marginal tax rates today and at retirement. The FICA-exemption advantage is independent of these; the income-tax comparison depends on them.

Key concepts

Triple-tax-advantage breakdown. First, contributions made via payroll deduction skip both federal income tax AND FICA payroll tax (7.65%). 401(k) skips only federal income tax — FICA still applies. Second, growth inside the account is tax-deferred indefinitely. Third, qualified medical withdrawals are tax-free at any age. No other US retirement vehicle combines all three.

HDHP requirement. To contribute, you must be enrolled in a qualifying High Deductible Health Plan. 2026 minimum deductibles: $1,650 self / $3,300 family. Maximum out-of-pocket: $8,300 self / $16,600 family. This trade-off (high deductible for HSA access) is the most-debated part of HSA strategy.

2026 contribution limits. $4,300 self-only HDHP, $8,550 family HDHP. Catch-up at age 55+: additional $1,000 (per spouse with their own HSA). Limits are pro-rated if you have HDHP coverage for only part of the year, with a "last-month rule" exception that allows full-year contribution if you have HDHP coverage on December 1.

The retirement-account strategy. Most casual HSA users treat it as a current-year medical spending account — pay $500 dental bill from HSA, repeat. The wealth-maximising strategy is the opposite: pay current medical out-of-pocket from regular cash, keep receipts, let the HSA compound for 30+ years. You can reimburse yourself from the HSA at any future point (no statute of limitations on accumulated medical-expense receipts) — turning the HSA into an unlimited tax-free retirement account up to the receipts amount.

After age 65. Non-qualified HSA withdrawals are taxed as ordinary income (like a Traditional IRA) but no 20% penalty. So the worst-case HSA acts like a 401(k) — you still got the FICA exemption upfront, and your withdrawals are taxed at retirement rates. The best case (use for medical or retain receipts) is fully tax-free. There's no downside relative to a 401(k) — only upside.

Worked example — $4,300/year HSA vs equivalent 401(k), 30-year horizon

A 35-year-old in the 22% federal marginal bracket maxes a self-only HSA at $4,300/year for 30 years. Expected return: 7%. Retirement marginal rate projected at 15%.

HSA path. $4,300/year × annuity factor at 7% over 30 years = $4,300 × 94.461 = $406,182. All available tax-free if used for qualified medical or post-age-65 with kept receipts. FICA savings each year = $4,300 × 7.65% = $329, invested at 7% → $329 × 94.461 = $31,078 of compounded FICA value. Total HSA after-tax: $437,260.

401(k) path with same $4,300 contribution. Same ending pre-tax balance: $406,182. But every dollar is taxed at the 15% retirement marginal rate on withdrawal: $406,182 × (1 − 0.15) = $345,255. No FICA savings (FICA still withheld from the contributions on the way in). Total 401(k) after-tax: $345,255.

HSA advantage: $437,260 − $345,255 = $92,005. About 27% more after-tax retirement wealth from the same gross dollars. The FICA exemption alone is worth $31,078 of compounded value; the tax-free withdrawal vs 15% retirement tax is the remaining $60,927.

Sensitivity check. If retirement marginal rate is just 10% (very low income retirement), 401(k) advantage closes but HSA still wins by ~$60,000. If retirement rate is 25%, HSA wins by ~$117,000. The HSA dominates the 401(k) at every realistic retirement-tax assumption.

Common mistakes

Frequently Asked Questions

What is the HSA triple tax advantage?
Pre-tax contributions (federal AND FICA), tax-deferred growth, tax-free qualified withdrawals. Only US account with all three.
What are the 2026 HSA contribution limits?
$4,300 self-only, $8,550 family. Age 55+ catch-up adds $1,000. HDHP enrollment required.
How is HSA better than a 401(k)?
FICA exemption. $4,300 HSA contribution saves both federal income tax AND 7.65% FICA. 401(k) skips only federal income tax.
Can I use HSA for non-medical expenses?
After 65 yes — taxed as ordinary income, no penalty (like 401(k)). Before 65: ordinary income + 20% penalty.
Should I invest my HSA?
Yes once it has 1-2× annual deductible in cash. Most administrators (Fidelity, Lively, Health Equity) allow zero-fee index-fund investing.
Can I have an HSA and an FSA together?
Limited-purpose FSA (dental/vision only) yes. General-purpose FSA no.
What happens to my HSA if I switch jobs?
Stays with you — like an IRA. Can roll to any administrator (Fidelity has lowest fees, broadest investment options).

Last reviewed: · See editorial policy