HSA "Stealth IRA" Triple-Tax-Advantage Calculator
Discover how investing your HSA in index funds can potentially outperform a 401(k), IRA, and taxable brokerage account with triple tax-free compound growth.
HSA Strategy Inputs
Includes Federal + State + FICA 7.65% (via payroll deduction).
Upfront Tax Saved / Yr
$2,736 / yr
Immediate tax refund
Tax-Free HSA Nest Egg
$740,290
25-Year Compound Growth
Extra Wealth vs Brokerage
+$238,410
Tax drag significantly reduced
The 3 Pillars of the Triple-Tax Advantage
Contributions are 100% tax-deductible and exempt from 7.65% FICA payroll taxes.
Dividends and capital gains can compound without annual tax drag or 1099-DIV taxes.
Withdraw tax-free for medical expenses anytime, or withdraw for anything penalty-free after 65.
HSA vs. Taxable Brokerage Compounded Wealth
Visualizing the real impact of eliminating dividend & capital gains tax drag.
The "Shoebox Receipt" Strategy Explained
Under IRS rules, there is no time limit on when you must reimburse yourself for qualified medical expenses. If you pay a $1,000 doctor bill out of pocket today and save the receipt, you can leave your $1,000 inside the HSA to grow over 30 years — and then potentially pull out the $1,000 tax-free in retirement!
What this calculator does
This tool evaluates the financial impact of using a Health Savings Account (HSA) as a long-term investment vehicle—often referred to as a "Stealth IRA." It compares the tax-free growth of an HSA against a standard taxable brokerage account. Designed for individuals with a High Deductible Health Plan (HDHP), the calculator takes your expected annual contribution, combined marginal tax bracket, expected market return, and investment horizon to project your potential nest egg. It outputs the upfront tax savings from contributions and highlights the difference in wealth accumulation when dividend and capital gains taxes are mitigated.
How the math works
The calculations rely on standard future value formulas, incorporating 2026 IRS contribution limits for HSAs (Internal Revenue Code § 223, summarised in IRS Publication 969). For 2026, the maximum contribution is $4,300 for self-only coverage and $8,550 for family coverage, with an additional $1,000 catch-up contribution allowed for individuals aged 55 or older.
The tax-free HSA calculation projects growth without annual tax drag:
FV = Pmt * (((1 + r)^n - 1) / r)
Where Pmt is the annual contribution, r is the expected market return, and n is the time horizon.
For the taxable brokerage account, the model reduces the annual investment by the upfront tax rate (since contributions are made with after-tax dollars). Furthermore, the annual return is reduced by an estimated 20% to account for ongoing taxes on dividends and capital gains, illustrating the compound effect of tax drag over time.
Worked example
Consider an individual with family coverage contributing the 2026 maximum of $8,550 annually, with a 32% combined marginal tax rate and an 8.5% expected market return over 25 years.
- Upfront Tax Savings: $8,550 * 32% = $2,736 saved in taxes each year.
- HSA Nest Egg: Investing $8,550 annually at an 8.5% return for 25 years yields approximately $740,290.
- Taxable Brokerage: To invest in a taxable account, the $8,550 is reduced by 32% to $5,814. The 8.5% return is reduced by a 20% tax drag to 6.8%. Investing $5,814 annually at 6.8% for 25 years yields about $501,880.
- The Difference: The HSA provides roughly $238,410 in extra wealth compared to the taxable account due to the mitigated tax drag and upfront deductions.
Frequently Asked Questions
What is the "Stealth IRA" strategy?
The Stealth IRA strategy involves paying for current medical expenses out of pocket and leaving HSA funds invested to grow tax-free. Because the IRS does not limit when you can reimburse yourself for past qualified medical expenses, you can let the money compound for decades before withdrawing it tax-free.
Are there penalties for non-medical withdrawals?
If you withdraw funds for non-qualified expenses before age 65, you will owe standard income tax plus a 20% penalty. After age 65, the 20% penalty is waived, and non-medical withdrawals are simply taxed as ordinary income—similar to a traditional IRA.
Can I contribute to an HSA and an IRA in the same year?
Yes. Contributing to an HSA does not restrict your ability to contribute to a traditional or Roth IRA, provided you meet the standard eligibility criteria for those accounts.
Do I need a specific type of health insurance?
Yes, you must be enrolled in an HSA-eligible High Deductible Health Plan (HDHP) to make HSA contributions for the year. Check with your insurance provider to confirm your plan qualifies.
Related Tools
Disclaimer
This calculator is for educational and scenario-analysis purposes only. It does not constitute tax, legal, or investment advice. Consult a licensed CPA or financial advisor for guidance tailored to your specific situation. Figures reflect 2026 statutory limits and may be subject to change.
Built and verified by The Core-AI Engineering Desk — last reviewed August 30, 2026. Calibrated strictly to 2026 statutory figures.