HSA Investment Growth Calculator

Project your Health Savings Account balance at retirement and quantify the full triple-tax advantage — tax-free contributions, tax-free growth, and tax-free medical withdrawals. Compare your HSA's after-tax value against a taxable brokerage account and see a year-by-year projection table. Free, private, no sign-up required.

Your current HSA account balance
2026 limits: $4,300 individual / $8,550 family (IRS Rev. Proc. 2025-19)
Free money — counts toward IRS annual limit
S&P 500 long-run average ~10%; use 6–8% for diversified
Out-of-pocket costs you currently withdraw for
Fidelity estimates $165K avg retiree healthcare need
Federal + state combined; used to calculate tax savings
2026 IRS contribution limits per Rev. Proc. 2025-19
HSA Balance at Retirement
$0
Over 0 years
Total Contributions
$0
Your + employer money in
Total Investment Growth
$0
Compound returns earned
Tax Savings (Contributions)
$0
At 0% marginal rate
Tax Savings (Growth)
$0
Capital gains tax avoided
Retirement Medical Coverage
0 yrs
At $0/yr in retirement
Your Triple-Tax Advantage Breakdown
1
Tax-Free In
$0
Contributions deducted from taxable income
2
Tax-Free Growth
$0
Investment gains never taxed while inside HSA
3
Tax-Free Out
$0
Qualified medical withdrawals 100% tax-free
HSA vs Taxable Brokerage Account (After-Tax Comparison)
Metric HSA (Triple-Tax) Taxable Brokerage HSA Advantage
Year-by-Year Projection
Year Age Your Contrib. Employer Growth Balance Cumul. Tax Savings
Note: This calculator uses compound annual growth and assumes contributions are made at year start. The 2026 IRS HSA contribution limits are $4,300 for self-only and $8,550 for family coverage (IRS Rev. Proc. 2025-19). Catch-up contributions of $1,000 are allowed from age 55. Tax savings estimates assume contributions are pre-tax (payroll or deduction). Sources: irs.gov, healthcare.gov. Last updated: May 2026.
Ad Space

What Is an HSA and How Does the Triple-Tax Advantage Work?

A Health Savings Account (HSA) is the only account in the U.S. tax code that offers a triple-tax advantage: contributions are tax-deductible, growth is tax-free, and qualified medical withdrawals are also tax-free. This trifecta makes the HSA arguably the most powerful savings vehicle available — outperforming even a Roth IRA for healthcare costs. According to IRS Publication 969, you must be enrolled in a High-Deductible Health Plan (HDHP) to contribute to an HSA. In 2026, the IRS set contribution limits at $4,300 for self-only HDHP coverage and $8,550 for family coverage (IRS Rev. Proc. 2025-19), with a $1,000 catch-up contribution allowed from age 55.

Unlike a Flexible Spending Account (FSA), HSA funds never expire — they roll over every year indefinitely. Most financial planners recommend investing HSA funds in low-cost index funds rather than keeping them in cash, letting decades of compound growth pile up tax-free. By retirement, a 35-year-old contributing $3,500/year at a 7% return could accumulate over $370,000 — entirely tax-advantaged.

HSA Contribution Limits and 2026 IRS Rules

The IRS adjusts HSA contribution limits annually for inflation. For 2026, per IRS Rev. Proc. 2025-19, the limits are:

To be eligible, your health plan must meet the IRS minimum deductible thresholds. In 2026, the minimum deductible is $1,650 for self-only and $3,300 for family coverage. If you are enrolled in Medicare, VA benefits, or a general-purpose FSA, you generally cannot contribute to an HSA. See healthcare.gov for HDHP eligibility details.

HSA as a Retirement Account: The Invest-and-Hold Strategy

Most people treat their HSA as a debit account for medical bills. The optimal strategy flips this: pay medical bills out-of-pocket now, save every receipt, and let the HSA compound untouched for decades. At age 65, HSA withdrawals for any purpose are taxed like a traditional IRA (ordinary income tax) — but qualified medical withdrawals remain completely tax-free forever. This gives the HSA a unique dual identity: a tax-free medical fund and a supplemental retirement account.

The invest-and-hold strategy works because of the IRS receipt rule — there is no deadline to reimburse yourself for past medical expenses. A $500 dental bill paid out-of-pocket at age 40 can be reimbursed tax-free from your HSA at age 65, effectively giving you a tax-free retirement withdrawal backed by a legitimate medical expense. Combined with 25 years of tax-free compound growth on that $500, the real value is dramatically higher.

HSA vs Roth IRA vs 401(k): Which Comes First?

Financial planners often rank contribution priority for tax-advantaged accounts. A common framework for HSA-eligible workers:

The HSA edges out the Roth IRA specifically for medical expenses because Roth withdrawals are only tax-free after age 59½ (with a 5-year rule), while HSA qualified medical withdrawals are tax-free at any age. For the average retiree couple spending an estimated $165,000+ on healthcare (Fidelity 2024 Retiree Health Care Cost Estimate), a fully invested HSA is an essential part of the retirement plan. Sources: irs.gov, healthcare.gov. Last updated: May 2026.

Frequently Asked Questions

What is the 2026 HSA contribution limit?

For 2026, the IRS set the HSA contribution limit at $4,300 for self-only HDHP coverage and $8,550 for family HDHP coverage (IRS Rev. Proc. 2025-19). Adults age 55 and older can make an additional $1,000 catch-up contribution on top of these limits. Employer contributions count toward the annual limit, so if your employer deposits $1,000, your personal contribution room is reduced accordingly. You must be enrolled in a qualifying High-Deductible Health Plan (HDHP) to contribute.

What is the HSA triple-tax advantage?

The HSA triple-tax advantage means: (1) Contributions are tax-deductible — you reduce your taxable income dollar-for-dollar when you contribute. (2) Investment growth inside the HSA is tax-free — dividends, capital gains, and interest accumulate without annual tax. (3) Qualified medical withdrawals are tax-free at any age — no income tax, no penalty. No other U.S. account offers all three. A 401(k) is only single-tax-advantaged (pre-tax in, taxed out). A Roth IRA is double-tax-advantaged (post-tax in, tax-free out). Only the HSA delivers all three layers.

Can I invest my HSA in stocks and index funds?

Yes. Most HSA custodians (Fidelity, Lively, HSA Bank, HealthEquity) allow you to invest your HSA balance in mutual funds, ETFs, and sometimes individual stocks once your balance exceeds a threshold (commonly $1,000–$2,000). Fidelity HSA has no investment threshold and no monthly fees. Investing your HSA is highly recommended if you can pay current medical expenses out-of-pocket — compound growth inside the tax-free account dramatically increases long-term value. Keep enough cash for expected near-term medical costs, invest the rest.

What happens to my HSA at age 65?

At age 65, the 20% penalty for non-medical HSA withdrawals disappears. You can withdraw funds for any reason, paying only ordinary income tax — identical to a traditional IRA. Qualified medical withdrawals remain completely tax-free forever. This gives your HSA a dual role: tax-free medical fund and penalty-free supplemental retirement account. Note that enrolling in Medicare makes you ineligible for new HSA contributions, though your existing balance can still be invested and withdrawn.

How do I calculate the tax savings from HSA contributions?

Tax savings from HSA contributions equal your total contributions multiplied by your marginal tax rate. For example, if you contribute $4,300 at a 24% combined federal and state marginal rate, you save $1,032 in taxes that year. Over 30 years of contributions, this compounds substantially. This calculator shows both the direct contribution tax savings and the avoided capital gains taxes on investment growth — the two hidden multipliers that make the HSA so powerful versus a taxable brokerage account.

Can I use HSA funds for non-medical expenses?

Yes, but with a penalty before age 65. Withdrawing HSA funds for non-qualified expenses before age 65 triggers a 20% penalty plus ordinary income tax on the amount — making it a poor choice for non-medical spending. After age 65, the 20% penalty disappears and only ordinary income tax applies (like a traditional IRA). Qualified medical expenses include deductibles, copays, prescriptions, dental, vision, and hundreds of other items listed in IRS Publication 502. Long-term care insurance premiums are also eligible.