🏥HSA Triple-Tax Advantage Calculator
An HSA is the only account that gives you a tax deduction going in, tax-free growth, and tax-free withdrawals for healthcare. Project your balance at retirement and see how many years of medical costs it could cover.
Your Numbers
Your Results
What Is HSA Triple-Tax Advantage?
A Health Savings Account (HSA) is the only account in the US tax code with three layers of tax advantage: contributions are tax-deductible (or pre-tax if made via payroll), the balance grows tax-free, and withdrawals for qualified medical expenses are tax-free. No other account type, not a 401(k), not a Roth IRA, matches all three simultaneously.
For early retirees, the HSA serves two roles. Before Medicare (age 65), it funds out-of-pocket healthcare costs tax-free, which is particularly valuable when self-employed or on marketplace insurance. After 65, it can be used for any expense, not just medical, functioning exactly like a traditional IRA with ordinary income taxes on non-medical withdrawals, while medical withdrawals remain permanently tax-free.
How This Calculator Works
The calculator compounds your current balance and annual contributions at your expected return rate for your years to retirement, then divides the projected balance by your annual healthcare cost to show how many years of healthcare spending the account could cover.
Personal Considerations
Most people who have access to an HSA through their employer treat it as a healthcare spending account rather than an investment account. They spend the balance each year on current medical costs and never invest it. This is the most common HSA mistake. Paying medical expenses out-of-pocket today while letting your HSA balance invest and compound, then reimbursing yourself years later (there's no deadline for reimbursement), is one of the most powerful legal tax arbitrage strategies available.
The 'pay now, reimburse later' strategy requires documentation: save every qualified medical receipt indefinitely. The IRS does not restrict how far back you can go for reimbursement, so a receipt from 2024 can be reimbursed in 2040 if you choose. This turns the HSA into a tax-free bucket you can tap at any time, for any amount, as long as you have sufficient prior unreimbursed medical expenses.
If what you're feeling goes beyond what a calculator can help with, licensed clinicians are available at SanaNetwork.com, a referral network founded by this site's founder, Dr. Yoendry Torres.
Frequently Asked Questions
IRS Publication 502 has the full list. It includes premiums for Medicare Part B and Part D (but not Medigap), dental and vision care, prescription drugs, most medical procedures, and long-term care insurance premiums (subject to age-based limits). It does not include regular health insurance premiums unless you're receiving unemployment benefits.
Most HSAs allow investing once your balance exceeds a threshold (often $1,000-2,000). Investment options vary by provider; some offer the same low-cost index funds available in 401(k) plans, while others offer only limited high-fee options. It's worth choosing or switching to an HSA provider with strong investment options.
Your HSA is yours permanently, regardless of employment status. Unlike an FSA, the balance rolls over indefinitely. If you change health insurance to a non-HDHP plan, you can no longer make new contributions but can still use the existing balance for qualified medical expenses.
Yes. Qualified medical expenses for your spouse and tax dependents can be paid from your HSA even if they're not on your health plan.