🩹 HSA Calculator

The HSA is the only account in the U.S. tax code where money can go in untaxed, grow untaxed, and come out untaxed. This calculator projects your balance and shows exactly what the triple tax advantage is worth against the same dollars in a 401(k) or a taxable account.

The only triple-tax-free account in the code

Every other tax-advantaged account makes you pick one tax break. Traditional 401(k)s and IRAs skip tax going in but tax every dollar coming out. Roth accounts tax the money first and never again. The HSA does all three: contributions are deductible (and skip Social Security/Medicare payroll tax too, if made through payroll), growth is never taxed, and withdrawals for qualified medical expenses are tax-free at any age. For a 24%-bracket earner contributing through payroll, roughly 31.65 cents of every HSA dollar is tax that never gets paid — before compounding even starts.

Who can contribute

You need to be enrolled in a qualifying high-deductible health plan (HDHP) — for 2025, a deductible of at least $1,650 (self) / $3,300 (family) with capped out-of-pocket maximums — and have no disqualifying other coverage (including Medicare, a general-purpose FSA, or being claimed as a dependent). Contribution limits for 2025 are $4,300 for self-only coverage and $8,550 for family, plus a $1,000 catch-up from age 55. The limits cover employer contributions too — many employers seed a few hundred dollars, which is free money on top of the tax break.

The strategy that turns an HSA into a super-IRA

Most people treat the HSA as a medical checking account: money in, money out at the pharmacy. The optimizer's move is different:

  • Max the contribution every year you're HDHP-eligible.
  • Invest the balance (most custodians allow it above a small cash floor — often $1,000-2,000) rather than leaving it in cash earning nothing.
  • Pay routine medical costs out of pocket if you can afford to, letting the HSA compound untouched.
  • Keep the receipts. There's no deadline for reimbursing yourself: a $2,000 medical bill from 2026 can justify a tax-free $2,000 withdrawal in 2046, after the money has tripled. Decades of saved receipts become an anytime, any-reason tax-free withdrawal right.

From age 65, the trapdoor opens further: non-medical withdrawals are allowed with ordinary income tax but no penalty — making the worst-case HSA exactly as good as a traditional IRA, and the medical-case strictly better. Given that a 65-year-old couple is projected to need six figures for healthcare in retirement, "I might not have enough medical expenses" is rarely a real risk.

Watch-outs

  • Non-qualified withdrawals before 65 cost income tax plus a 20% penalty — the HSA is a terrible emergency fund. Build a real one first with the emergency fund calculator.
  • The HDHP itself must make sense. If you have high, predictable medical costs, a low-deductible plan can beat the HDHP + HSA combination even after the tax breaks — compare total premiums plus expected out-of-pocket costs, not just the tax perk.
  • Cash-parking kills the magic. An uninvested HSA earning 0.1% is just a slightly awkward checking account. The triple advantage compounds only if the money is invested.
  • State quirks: California and New Jersey don't recognize HSA deductions for state income tax and tax the account's earnings; the federal breaks still apply.

Where the HSA fits in the priority order

A common-sense funding order for retirement dollars: 401(k) up to the employer match (free money first — see the 401(k) calculator), then max the HSA, then Roth/traditional contributions per your tax situation (the Roth vs traditional calculator settles that one), then back to the 401(k) limit. Check what the whole stack produces with the retirement savings calculator.

Frequently asked questions

Can I use HSA money for anything at 65?

Yes — after 65, non-medical withdrawals are taxed as ordinary income with no penalty, exactly like a traditional IRA. Medical withdrawals stay completely tax-free. That asymmetry is why the HSA is often called the best retirement account: its worst case matches a traditional IRA and its likely case beats it.

Should I spend from my HSA or pay medical bills out of pocket?

If cash flow allows, pay out of pocket and let the HSA stay invested — you can reimburse yourself for documented expenses in any future year, tax-free, after decades of compounding. Keep the receipts (photos/scans in cloud storage are fine).

What happens to my HSA if I change jobs or health plans?

The account is yours forever — it's not tied to the employer, and there's nothing to roll over or forfeit. Losing HDHP coverage only stops new contributions; the existing balance keeps growing and remains spendable on qualified expenses tax-free.

Do HSA contributions really avoid Social Security and Medicare tax?

Contributions made through your employer's payroll (a Section 125 plan) skip the 7.65% FICA tax as well as income tax — a break even 401(k) contributions don't get. Direct contributions you make outside payroll are income-tax-deductible but don't avoid FICA.

This calculator is for educational purposes only and does not constitute financial advice. Results are estimates based on the inputs and assumptions shown.