Purposeful FIREPurposeful FIREStart Calculating

🏥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

Projected HSA Balance at Retirement
$208,828
You Contributed
$83,000
Tax-Free Growth
$115,828
Healthcare Years Covered
~26.1 yrs
Triple tax advantage: Contributions reduce taxable income now, the balance grows tax-free, and withdrawals for qualified medical expenses are completely tax-free — the only account in the US tax code with all three benefits.

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.

Annual contribution
Limited to $4,150/individual or $8,300/family in 2024 (plus $1,000 catch-up if 55+). You must be enrolled in a High-Deductible Health Plan (HDHP) to contribute. You cannot contribute to an HSA if you're on Medicare.
Annual healthcare cost in retirement
Estimates vary widely. A single retiree might spend $4,000-7,000/year; a couple $8,000-14,000. This doesn't include Medicare premiums (roughly $2,000/person/year for standard Part B) or long-term care.

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

What qualifies as a medical expense for HSA withdrawals?

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.

Can I invest my HSA balance?

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.

What happens to my HSA if I leave my job?

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.

Can my spouse use my HSA?

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.