HSA Calculator
Project HSA growth and see the triple tax advantage in real dollars
Calculator Settings
All amounts are in US dollars — HSAs and their IRS contribution limits are a US-only account type.
2026 IRS limit: $4,400.00
Federal rate only. Most states mirror the federal HSA tax treatment, but California and New Jersey tax HSA contributions and growth as ordinary income — residents there should lower this rate or treat results as an upper bound.
Calculation Results
Projected HSA Balance at Withdrawal
$661.63K
over 35 years, tax-free growth
Total Contributions
$159.00K
Total Investment Growth
$502.63K
Triple Tax Advantage
Compared to an equivalent taxable brokerage account: $455.46K
Complete Guide to HSA Growth Planning
What is an HSA?
A Health Savings Account (HSA) is a tax-advantaged savings account available to anyone enrolled in a qualifying High Deductible Health Plan (HDHP). Money contributed can pay for qualified medical expenses tax-free, or be left invested and grown for decades — many people treat their HSA as a stealth retirement account once their other tax-advantaged space is maxed out.
Unlike a Flexible Spending Account (FSA), HSA balances never expire and the account stays with you even if you change employers or health plans. It pairs well with a 401(k) or Roth IRA as part of a broader retirement savings strategy.
Formula
Future Value of HSA Balance:
FV = B x (1+r)^n + C x [((1+r)^n - 1) / r]
Where: B = current balance, C = annual contribution, r = expected annual return, n = years until withdrawal
Triple Tax Advantage:
Upfront savings (future value) = (C x tax rate) x [((1+r)^n - 1) / r]
Growth advantage = FV(tax-free) - FV(taxed annually at your rate)
Each year's tax deduction is compounded to the withdrawal date at the same expected return, so it is on the same time basis as the HSA balance above.
Benefits
Triple tax break
Deductible going in, tax-free growth, tax-free out for medical expenses.
No use-it-or-lose-it
Unlike an FSA, unused balances roll over indefinitely and can be invested.
Portable
The account is yours — it stays with you across employers and health plans.
Post-65 flexibility
After 65, non-medical withdrawals are taxed as income but penalty-free, working like a Traditional IRA.
Tips
Tip 1: If you can afford to pay current medical bills out of pocket, let your HSA balance stay invested and compound tax-free for retirement.
Tip 2: Keep receipts for medical expenses paid out of pocket — you can reimburse yourself tax-free from the HSA at any point in the future, even decades later.
Tip 3: Contribute up to the full IRS limit if your budget allows — it is the only account type offering a deduction and tax-free withdrawals simultaneously.
Common Mistakes
Spending the balance immediately
Draining the HSA on every small medical bill gives up years of tax-free compounding — see the Compound Interest Calculator for how much that costs over time.
Over-contributing
Exceeding the annual IRS limit triggers a 6% excise tax on the excess each year it remains in the account.
Non-qualified withdrawals before 65
Withdrawals for non-medical expenses before age 65 are taxed as income plus a 20% penalty — after 65 the penalty disappears but income tax still applies.
Related tools
Browse all401(k) Calculator
Project 401(k) retirement savings with employer match, vesting schedules, salary growth, and compound returns. Compare contribution strategies.
OpenRoth IRA Calculator
Project tax-free Roth IRA growth to retirement, compare Roth vs Traditional IRA outcomes, and plan annual contributions with compound interest.
OpenRetirement Savings Calculator
Estimate your retirement nest egg with compound growth, inflation-adjusted projections, safe withdrawal income, and a year-by-year breakdown.
OpenTax Bracket Calculator
Calculate your marginal and effective tax rate with a per-bracket breakdown. US 2024 presets for all filing statuses or custom brackets for any country.
OpenFrequently Asked Questions
What is an HSA?
A Health Savings Account (HSA) is a tax-advantaged account available to people enrolled in a qualifying High Deductible Health Plan (HDHP). Funds can be used tax-free for qualified medical expenses now or saved and invested for retirement.
What are the 2026 HSA contribution limits?
For 2026, the IRS limit is $4,400 for self-only coverage and $8,750 for family coverage. Account holders age 55 or older can contribute an additional $1,000 catch-up, for $5,400 or $9,750 respectively.
What is the HSA triple tax advantage?
Contributions are tax-deductible (or pre-tax through payroll), growth inside the account is tax-free, and withdrawals for qualified medical expenses are also tax-free. No other account type offers all three tax breaks at once.
How does an HSA compare to a Roth IRA or 401(k)?
A Roth IRA is funded with after-tax money and grows tax-free, but offers no upfront deduction. A 401(k) offers an upfront deduction but withdrawals are taxed. An HSA is the only account with both a deduction going in and tax-free withdrawals coming out, provided the money is used for medical costs. Compare with the 401(k) Calculator or Roth IRA Calculator.
What happens to unused HSA funds?
Unlike an FSA, HSA balances roll over every year with no use-it-or-lose-it rule. After age 65, funds can be withdrawn for any purpose without penalty (though non-medical withdrawals are taxed as ordinary income, similar to a Traditional IRA).
Worked example?
A 30-year-old with a $5,000 balance contributing $4,400/year at 7% growth until age 65 (35 years) accumulates roughly $660K tax-free, versus a smaller balance in an equivalent taxable account once annual investment gains are taxed — the gap is the tax-free growth advantage, on top of the upfront deduction saved every year.