HSA Triple-Tax & Stealth IRA Calculator
Calculate upfront income and FICA tax savings, tax-free investment compounding, and retirement healthcare wealth accumulation.
1. HSA Coverage & Annual Contribution
Payroll deductions avoid 7.65% FICA (Social Security + Medicare) taxes in addition to income tax.
2. Tax Rates & Growth Horizon
Triple-Tax Compounding Wealth
$1,533
Income + FICA Tax$339,500
At 25 Years$232,000
Compound Growth$103,280
Taxes AvoidedHSA Growth vs Taxable Brokerage
Tax-Free CompoundingClick "Run AI HSA Audit" to generate receipt tracking workflows, Medicare Part B premium reimbursement strategies, and California/New Jersey state tax workarounds. Your data is processed entirely on your device.
Zero Data Access: All tax brackets and exponential compounding models are computed 100% locally on your machine. Processed on-device
What this calculator does
This HSA calculator helps you quantify the long-term compounding benefits of the "Stealth IRA" or "shoebox" strategy. It is designed for individuals with high-deductible health plans who want to decide between spending their HSA funds on current medical expenses versus paying out-of-pocket and letting their HSA balance grow tax-free.
You simply input your expected annual HSA contribution, your combined marginal tax rate, an expected investment return, and your time horizon until retirement. The calculator outputs your immediate income and FICA tax savings, projects the future tax-free value of your HSA balance, and compares it against the exact same investments held in a standard taxable brokerage account.
How the math works
The core calculations leverage the statutory rules governing Health Savings Accounts under IRC Section 223. For the 2026 tax year, the IRS sets the maximum annual contribution limit at $4,300 for individuals and $8,550 for families. If you are 55 or older, you can add an additional $1,000 catch-up contribution.
The upfront tax savings are calculated by multiplying your total annual contribution by your combined effective tax rate (federal + state). If you contribute through Section 125 payroll deductions, the tool also adds a 7.65% FICA tax exemption to your savings.
The future value is modeled as an annuity due compounding annually at your chosen expected return rate. To demonstrate the "tax alpha" of the HSA, we compare this against a taxable brokerage account where contributions are made with after-tax dollars, and annual growth is penalized by an estimated 15% tax drag on dividends and realized capital gains.
Worked example
Let's look at a concrete scenario for a single taxpayer in 2026 maximizing their HSA under the $4,300 individual limit. Assume they are in the 24% federal tax bracket, live in a state with no income tax, and contribute via payroll deduction (adding the 7.65% FICA shield). They plan to invest the funds at an 8% annual return over 25 years.
- Annual Contribution: $4,300
- Effective Tax Rate: 31.65% (24% Income Tax + 7.65% FICA)
- Annual Tax Saved: $1,361 ($4,300 × 31.65%)
- Total Out-of-Pocket Contributed (25 Years): $107,500
- Future HSA Balance: $339,504 (compounded tax-free)
By refusing to spend the HSA funds today and letting the balance ride, this taxpayer shields over $100,000 from lifetime taxes and builds a substantial medical nest egg for retirement. You can see similar tax efficiency strategies using a Backdoor Roth or our Mega Backdoor 401(k) calculator.
Frequently Asked Questions
Do I owe taxes if I withdraw HSA funds for non-medical expenses?
Yes. If you withdraw funds before age 65 for anything other than qualified medical expenses, you must pay ordinary income tax plus a 20% penalty on the distribution. However, after age 65, the 20% penalty is waived—you only pay ordinary income tax on non-medical withdrawals (similar to a Traditional IRA).
How long can I hold on to medical receipts before reimbursing myself?
The IRS currently imposes no time limit on when you can reimburse yourself for qualified medical expenses, provided the expense was incurred after your HSA was established. This allows for the "shoebox strategy," where you save receipts for decades while the invested funds compound tax-free.
Are HSA contributions always exempt from state income tax?
No. While HSA contributions are exempt from federal income tax in all 50 states, residents of California and New Jersey are subject to state income taxes on their HSA contributions and any investment earnings generated within the account.