HEALTH AND TAX
A health savings account (HSA) is the only account with a triple tax advantage: money goes in tax-free, grows tax-free and comes out tax-free when you spend it on medical costs. This calculator projects how your HSA could grow over time and estimates how much tax those contributions could save you.
HSA calculator
This projection assumes the same contribution and the same return every year. Returns are not guaranteed, and real returns will vary from year to year. The tax-saving estimate covers income tax only; it does not include any extra Social Security and Medicare tax you may save by contributing through payroll. Results are estimates for educational purposes only and are not financial advice.
Say you have $5,000 in your HSA now, you contribute $4,300 a year, which is the 2025 limit for self-only coverage, and you leave the account invested for 20 years at an average return of 6% a year. Your marginal tax rate is 22%.
Over the 20 years you pay in $86,000 of contributions. With growth added along the way, the projected balance reaches $174,213.72, of which $83,213.72 is investment growth on top of your starting balance and your contributions.
Those contributions could also save you about $18,920.00 in income tax over the 20 years, because every dollar went in before tax. Keep paying small medical bills out of pocket and that balance can keep growing for retirement, when medical costs usually rise. The Internal Revenue Service sets the yearly HSA contribution limits and eligibility rules.
An HSA gives you a tax break at three separate points, which no other account does. You pay no tax on the money you put in, you pay no tax on the growth while it stays invested, and you pay no tax when you take money out to pay for qualifying medical care.
To open and contribute to an HSA, you must be covered by a high-deductible health plan. Unlike a flexible spending account (FSA), an HSA has no use-it-or-lose-it deadline: your balance rolls over from year to year, and the account belongs to you, so it moves with you when you change jobs or retire.
Because the money can stay invested for decades, many people pay small medical bills out of pocket, keep their receipts, and leave their HSA invested for retirement. This calculator follows that idea: it grows your balance at the return you enter, adds your annual contribution each year, and estimates the income tax saved by multiplying your total contributions by your marginal tax rate.
A health savings account (HSA) is a tax-advantaged savings account for medical costs, available with a high-deductible health plan. Money in the account can be spent tax-free on qualifying medical care.
You can open an HSA if you are covered by a qualifying high-deductible health plan and you have no other disqualifying coverage.
For 2025, the limit is $4,300 for self-only coverage and $8,550 for family coverage. If you are 55 or older, you can add a $1,000 catch-up contribution.
At 65, you can keep using your HSA tax-free for medical costs, just as before. If you spend it on non-medical costs instead, the money is taxed like a traditional IRA, but with no penalty after 65.