PennyCompass

HSA vs FSA Comparison Calculator

Free HSA vs FSA comparison. See which one fits your situation: long-term retirement asset (HSA) vs use-it-or-lose-it spending (FSA).

Published

Compare HSA and FSA based on your health spending and retirement goals.

HSA total value

Tax savings + retirement growth.

FSA total value

Tax savings only (used immediately).

Difference

One account you keep, one you forfeit

Health savings accounts and flexible spending accounts both let you pay medical bills with pre-tax dollars, and that surface similarity hides a deep difference. An FSA is use-it-or-lose-it: money you do not spend by the plan deadline is generally gone, though some employers allow a small carryover or a short grace period. An HSA is yours forever. Unspent balances roll over year after year, you can invest them, and the growth is tax-free when used for medical costs. The catch is eligibility. You can only contribute to an HSA if you are covered by a qualifying high-deductible health plan, while an FSA attaches to almost any employer plan. This tool compares the long-run value of each so you can see what that forfeiture rule actually costs.

Where the triple tax advantage comes from

The HSA is the only account in the US tax code with three separate tax breaks stacked together. Contributions go in pre-tax, so they cut your taxable income today. The balance grows tax-free, like a Roth. And withdrawals for qualified medical expenses come out tax-free as well. No 401(k), no IRA, and no FSA offers all three. The FSA gets only the first break, the up-front deduction, because the money must be spent quickly and never has a chance to grow. That is why a disciplined saver who can pay current medical bills out of pocket and leave the HSA invested treats it less like a health account and more like a stealth retirement account.

$3,000 a year, twenty-five years later

Consider someone contributing $3,000, expecting $1,500 of medical spending this year, in a 32% marginal bracket, with 25 years until retirement and a 7% investment return on the invested HSA balance. Both accounts deliver the same immediate tax saving of $960. The difference is what happens to the rest.

Component HSA FSA
Up-front tax saving ($3,000 times 32%)$960$960
Amount left to invest ($3,000 minus $1,500 spent)$1,500$0
Invested balance after 25 years at 7%$8,141$0
Total value$9,101$960

The HSA ends up worth about $9,101 against the FSA's $960, a gap of roughly $8,141, almost entirely from letting that leftover $1,500 compound for 25 years. This is from a single year's contribution. Repeat it annually and the HSA advantage snowballs, which is why people who qualify often max it and pay small medical bills from their checking account instead.

HSA $9,101 FSA $960 (flat) Today Year 25

The mistake that erases the HSA edge

The HSA only beats the FSA if you actually leave money in it to grow. The common mistake is treating the HSA like an FSA, draining it every year for routine copays and prescriptions. Do that and you keep the up-front deduction but lose the compounding that makes the HSA special, collapsing its long-run value toward the FSA's. The discipline that unlocks the triple advantage is paying current, affordable medical bills from regular cash and letting the HSA balance ride, invested, for decades. Save your receipts too: the IRS lets you reimburse yourself tax-free for past qualified expenses any time in the future, so a paid-out-of-pocket bill today can become a tax-free withdrawal in retirement.

What actually counts as a qualified medical expense?

Broader than most people assume. The IRS defines qualified medical expenses in Publication 502, and it covers far more than copays and prescriptions: dental work, vision care and glasses, mental health treatment, physical therapy, and many medical devices all qualify. Since 2020, over-the-counter medicines and menstrual products count too, without a prescription. What generally does not qualify is cosmetic surgery, gym memberships, and everyday toiletries. Insurance premiums are usually not qualified for HSA purposes while you are working, with narrow exceptions such as COBRA, long-term care premiums, and, once you are on Medicare, your Medicare premiums. When in doubt, check Pub 502 before you reimburse yourself, because a non-qualified withdrawal before age 65 is taxed and hit with a 20% penalty.

What happens to my HSA after age 65?

It gets even better. After 65 you can withdraw HSA funds for any reason and pay only ordinary income tax, with no penalty, which makes the account behave like a traditional IRA for non-medical spending. Qualified medical withdrawals remain completely tax-free at any age, and you can use the HSA tax-free for Medicare premiums. By contrast, an FSA has no role in retirement at all. This flexibility is the reason the HSA is often called the most tax-advantaged account available to ordinary savers.

Does a high-deductible plan make the HSA not worth it?

It depends on your health spending, and you should compare total cost, not just premiums. A high-deductible plan trades a lower monthly premium for a higher deductible, so a year with a major medical event can cost you more out of pocket than a richer plan would. But the lower premiums often free up cash that you can route into the HSA, and the tax savings plus growth can more than make up the difference for healthy people. Run both the premium difference and a bad-year scenario before deciding; the HSA is a strong asset, but only if the underlying plan fits how much care you actually use.

Frequently asked questions

HSA or FSA?
HSA: requires HDHP, contributions roll over forever, can invest and grow tax-free, becomes retirement asset. FSA: any health plan, must use by end of year (or $640 carryover, plan-dependent), no investment. HSA is structurally better if you qualify.
Can I have both?
Generally no. If you have an HSA, you can have a limited-purpose FSA (dental/vision only). Not a general-purpose FSA, they're mutually exclusive.

Related calculators

Embed this calculator on your site (free)

Paste this code into your page. The calculator stays up to date automatically and links back to PennyCompass.

Calculator by PennyCompass