2026topopentools

HSA Calculator

Project how your Health Savings Account could grow over time and estimate the tax you save on pre-tax contributions.

2024 IRS limits: $4,150.00 self-only / $8,300.00 family, plus $1,000.00 catch-up if age 55+.

Used to estimate the tax you save on pre-tax contributions.

Frequently Asked Questions

What are the 2024 HSA contribution limits?

For 2024 the IRS allows $4,150 for self-only coverage and $8,300 for family coverage. If you are age 55 or older you can add a $1,000 catch-up contribution.

Why is an HSA tax-advantaged?

An HSA is triple-tax-advantaged: contributions are pre-tax, the balance grows tax-free, and withdrawals for qualified medical expenses are also tax-free.

Can I invest my HSA balance?

Yes. Many HSA providers let you invest the balance above a cash threshold in mutual funds or ETFs, so it can grow like a retirement account over the long term.

Understanding the HSA Calculator

A Health Savings Account (HSA) is one of the most tax-efficient accounts available, and this calculator shows why. Enter your current HSA balance, planned annual contribution, an expected investment return, the number of years you will let it grow, and your marginal tax rate. The tool projects your future balance, separates how much came from your own contributions versus investment growth, and estimates the income tax you save by contributing pre-tax dollars. Because qualified medical withdrawals are also tax-free, an HSA can double as a stealth retirement account, making it a powerful long-term savings vehicle for anyone enrolled in a high-deductible health plan.

How it works

The calculator compounds your money once per year. Each year it grows the existing balance by your expected return rate, then adds that year's contribution on top. Repeating this for the number of years you choose gives the projected ending balance. Total contributed is simply your starting balance plus all the annual contributions you make. Investment growth is the difference between the projected balance and the total contributed, isolating the gains earned by your invested funds. The estimated tax saved multiplies each annual contribution by your marginal tax rate and by the number of years, since HSA contributions are deducted from taxable income before tax is applied.

Future Balance = [(Prior Balance × (1 + r)) + Annual Contribution] each year; Growth = Future Balance − Total Contributed; Tax Saved = Annual Contribution × Marginal Rate × Years

Worked example

Suppose you start with $5,000, contribute $4,150 a year (the 2024 self-only limit), earn 7% annually, and stay invested for 20 years at a 24% marginal tax rate. Your balance grows to roughly $189,000. Of that, about $87,000 came from contributions and around $102,000 is investment growth earned tax-free. Over the 20 years you also save close to $19,920 in income tax just from making pre-tax contributions, on top of the tax-free compounding.

Tips & common mistakes

  • Contribute up to the 2024 IRS limits to maximize the benefit: $4,150 self-only or $8,300 family, plus a $1,000 catch-up if you are 55 or older.
  • If your provider allows it, invest the balance above the required cash minimum so it can compound rather than sitting in low-interest cash.
  • Pay smaller current medical bills out of pocket when you can, and let the HSA grow untouched for larger future or retirement healthcare costs.
  • Save your medical receipts: you can reimburse yourself tax-free years later for past qualified expenses paid out of pocket.
  • Use a realistic long-term return assumption (often 5 to 8 percent) rather than a single great year, and revisit the projection annually as limits and balances change.
  • Remember non-qualified withdrawals before age 65 are taxed and hit with a 20% penalty, so keep HSA spending tied to qualified medical expenses.

Sources & methodology

  • IRS Publication 969 and Revenue Procedure 2023-23 — 2024 HSA contribution limits ($4,150 self-only, $8,300 family, $1,000 age-55+ catch-up).
  • IRS rules on qualified medical expenses and HSA tax treatment (pre-tax contributions, tax-free growth, tax-free qualified withdrawals).

Related tools

Reviewed by the TopOpenTools editorial team · Last updated June 2026. These tools provide general estimates for educational purposes only and are not financial, tax, insurance, investment, or medical advice. Verify important decisions with a qualified professional.