HSA vs FSA vs 401(k) Calculator

Which health and retirement vehicle actually leaves you better off.

$
$
$
$
$
%
30
%
%
%
Best option for your situation
—

Adjust any input above — results update instantly and stay on your device.

HSA after-tax value
—
FSA after-tax value
—
401(k) after-tax value
—
HSA balance if untouched
—
Tax saved now (HSA + employer)
—
Tax saved now (401k)
—
Total tax saved today
—

How to use this hsa vs fsa vs 401(k) calculator

Americans get three tax-advantaged accounts for health and retirement money, and they behave very differently. The HSA is the clear winner for anyone eligible, but it is also the least well understood, so the comparison is worth doing properly.

What each one is

  • HSA — a Health Savings Account attached to a high-deductible health plan. You contribute pre-tax, it grows tax-free, and you can invest it. It is portable between employers and it is yours. At 65, unused balance becomes tax-free ordinary income.
  • FSA — a Flexible Spending Account through your employer. Contributions are pre-tax, but the money is in a use-it-or-lose-it account with a grace period and, sometimes, a small carryover. You cannot invest it and it does not roll over.
  • 401(k) — a retirement account with a contribution limit of $24,500 for 2026, an employer match, and either pre-tax or Roth treatment. Contributions are locked until 59½ without penalty, except for plan loans.

Why the HSA wins when you can use it

Run the comparison with realistic numbers. Contributing $3,000 to each, plus a $1,000 employer HSA contribution and a $1,500 401(k) match, over 30 years at a 6% return, with 24% tax now and 25% later:

  • HSA: the $4,000 grows to about $22,974 tax-free. If you use 60% of it for medical expenses, that portion is untaxed and the rest is taxed at 25% when you take it at 65, leaving roughly $20,677.
  • FSA: $3,000 of pre-tax money spent on medical costs, with no growth and roughly 15% typically forfeited.
  • 401(k): the $4,500 grows to about $25,846 and is taxed at 25% on withdrawal, leaving about $19,384.

The HSA wins because it combines a current-year deduction with tax-free growth and no expiry. The FSA wins on simplicity and current-year use, which is exactly what someone with a large medical bill this year should prioritise.

The eligibility question comes first

None of this applies unless you are eligible. An HSA requires enrolment in a qualified high-deductible health plan, which in 2026 means a deductible of at least $1,800 for self-only coverage or $3,600 for family coverage. Most employer plans are PPOs with much lower deductibles, so a large share of employees cannot open one at all. If your plan does not qualify, the comparison is between the FSA and the 401(k), and the 401(k) wins on almost every measure except a large current-year medical bill.

The general-purpose FSA conflict

Having both an HSA and a general-purpose FSA disqualifies you from contributing to the HSA, because both would be reimbursing the same expenses. A limited-purpose FSA — covering only dental and vision — is compatible and is the standard pairing. This catches people who join a general FSA at open enrolment and then discover they have to drop the HSA mid-year and correct their contributions.

The use-it-or-lose-it workaround

HSA holders routinely avoid the FSA problem entirely by paying claims out of pocket, keeping the receipts, and reimbursing themselves later. Since the HSA is an account, not a spending card, you can reimburse yourself for any qualified expense incurred after the HSA was opened — including expenses from years ago. The receipts become an asset. This is the single most useful tactic for anyone with an HSA and a year of high medical costs.

The order to use them in

If you can do all of these, the order is: capture the full 401(k) match first, then max the HSA (especially if you are near 65, where it becomes a retirement account), then the 401(k) limit, then the FSA if you have predictable expenses you cannot afford to pay out of pocket. The FSA comes last because it is the only one that expires.

Frequently asked questions

Should I choose an HSA or an FSA?

An HSA if you are eligible. It is the only one of the three that is a real investment account — it grows tax-free, it is portable, it carries no use-it-or-lose-it rule, and the money becomes yours tax-free at 65 if you do not spend it. An FSA is simpler but the money expires and you cannot invest it.

Can I have both an HSA and an FSA?

Yes, but only if they are compatible. A general-purpose FSA usually disqualifies you from contributing to an HSA, because both would be paying for the same expenses. A limited-purpose FSA — dental and vision only — is compatible, and is the common setup for people who want the FSA's convenience for those expenses while keeping the HSA for everything else.

What happens to an HSA at 65?

It becomes your money. Any balance is tax-free as ordinary income if you do not use it for qualified medical expenses, so the HSA effectively becomes a retirement account at that point. If you keep receipts for expenses you paid out of pocket, you can reimburse yourself later. Non-qualified withdrawals before 65 are taxed as ordinary income plus a 20% penalty.

Is the FSA really use-it-or-lose-it?

Yes, with a grace period of up to 2.5 months to spend the previous year's balance, and sometimes a small carryover. This is the single biggest practical disadvantage against the HSA, and it is why people who can afford it choose the HSA and pay claims out of pocket, saving the receipts.

More free calculators

Every tool on Jisua Tools runs entirely in your browser. No sign-up, no data collected, results are instant.

Browse all tools