Finance & Investment Tools

HSA Calculator

Estimate health savings account tax savings and growth: this year's HSA contribution limit, payroll and income tax saved, and the balance at retirement.

  • Limit
  • Tax saving
  • Projected balance
Runs in your browser

Everything you paste, type or drop is processed in this browser tab. It is not uploaded, logged, stored or sent to analytics.

HSA workspace

1 Your coverage

Try it:

From 55 you can add $1,000 a year.

Eligible on the first day of the month, covered by an HDHP and no other health cover or Medicare.

2 Your contribution and taxes

California and New Jersey tax HSA contributions; use 0 there.

7.65% below the Social Security wage base, 1.45% above it.

3 Investing it

4 Limit, tax saving and growth

Choose your coverage and enter your contribution, or load an example, to see your limit, the tax you save and the balance over time.

What the HSA Calculator does

This HSA calculator shows your US health savings account contribution limit for 2026 or 2027, the federal, state and payroll tax you save by contributing, and what the account could grow to if you invest it. The 2026 limits are $4,400 self-only and $8,750 family, plus $1,000 from age 55.

Choose your coverage, enter your age, the months you are eligible and any employer contribution, then what you put in and your tax rates. The limit, the tax saving and a year-by-year balance update as you type. Everything is calculated in your browser and nothing is sent anywhere.

How to use it

  1. Pick the tax year and whether your high-deductible health plan (HDHP) covers only you or your family.
  2. Enter your age at the end of the year and the number of months you were eligible on the first day of the month. Tick the last-month rule if you became eligible during the year and were eligible on 1 December.
  3. Enter your employer's contribution, which counts toward the same limit, and what you plan to contribute yourself.
  4. Enter your federal marginal rate and state rate, and keep the payroll box ticked if you contribute through your employer's cafeteria plan, which also avoids FICA tax.
  5. To see long-term growth, enter the age to project to, today's balance, the medical bills you expect to pay from the account each year, and a return.

Reading the results

The headline is the tax you save this year on your own contribution. Contributions through payroll avoid federal and state income tax and the 7.65% Social Security and Medicare tax; contributions you make directly are deducted on your return, so they save income tax only.

The balance projection shows the HSA as a long-term account. If you can pay current medical bills from other money and leave the HSA invested, it grows tax-free, and withdrawals for qualified medical costs at any age are also tax-free - the only US account with a tax break at both ends.

If the limit shown is lower than the headline figure for your coverage, it is because you were eligible for only part of the year, or because the employer's money uses part of it.

Worked example: a 56-year-old with self-only coverage contributing through payroll in 2026

The 2026 self-only limit is $4,400, plus the $1,000 catch-up from 55: $5,400. The employer puts in $500, leaving $4,900 of room, which she contributes through payroll.

At a 22% federal rate and 5% state rate she saves $4,900 x 27% = $1,323 of income tax, plus $4,900 x 7.65% = $374.85 of FICA: $1,697.85 in total.

If she keeps contributing the same way until 65 (nine years), spends $1,000 a year on medical bills from the account, starts with $3,000 and earns 5%, the balance grows to $3,000 x 1.05^9 + $4,400 x (1.05^9 - 1) / 0.05 = $4,653.98 + $48,516.88 = $53,170.87.

Formulas and scoring rules

Yearly limit
limit = (coverage limit + $1,000 if 55 or older) x eligible months / 122026: $4,400 self-only, $8,750 family. 2027: $4,500 and $9,000. With the last-month rule, the full-year limit applies.
Your room
room = limit - employer contributions
Tax saved
saving = contribution x (federal % + state %) + contribution x FICA % (payroll only)
Balance
end of year = start x (1 + r) + contributions - medical spendingLater years use the full-year limit for your coverage and age; the balance never goes below zero.
Rounding
carried unrounded; shown to the dollar, CSV to the cent

2026 and 2027 HSA limits and HDHP rules

IRS Rev. Proc. 2025-19 sets the 2026 limits at $4,400 for self-only and $8,750 for family coverage. For 2026 an HDHP must have a deductible of at least $1,700 (self) or $3,400 (family) and an out-of-pocket maximum no higher than $8,500 or $17,000.

Rev. Proc. 2026-24 sets 2027 at $4,500 and $9,000, with minimum deductibles of $1,750 and $3,500 and out-of-pocket maximums of $8,700 and $17,400. The $1,000 catch-up from age 55 is fixed in the law and not indexed.

US only

Health savings accounts are a US federal arrangement tied to a qualifying HDHP. A few states, including California and New Jersey, do not give the state tax break; enter 0 for state tax there.

HSA or FSA?

A health flexible spending account (FSA) also saves tax, but it needs no HDHP, its money is usually lost if not spent by the plan's deadline, and it cannot be invested. An HSA belongs to you, carries over every year, stays with you when you change jobs and can be invested. You cannot have both a general-purpose FSA and an HSA at the same time, though a limited-purpose (dental and vision) FSA is allowed.

Limitations: what the result does not prove

  • The months rule is simplified: if your coverage changed between self-only and family during the year, the IRS works the limit out month by month on Form 8889.
  • Spouses with family coverage share one family limit, which they can divide between their HSAs; each spouse who is 55 or older can add a catch-up only to their own HSA.
  • Returns are assumed steady, limits after the selected year are held flat, and fees on HSA investment options are not modelled unless you lower the return.
  • Withdrawals that are not for qualified medical costs are taxed, plus a 20% additional tax before 65. Keep receipts for any expense you reimburse later.

Privacy: where your data goes

Everything you paste, type or drop is processed in this browser tab. It is not uploaded, logged, stored or sent to analytics. Session recording and tag-manager scripts are switched off on this page.

Standards and sources

Frequently asked questions

What is the HSA limit for 2026?

For 2026 you can contribute up to $4,400 with self-only HDHP coverage or $8,750 with family coverage, plus $1,000 if you are 55 or older. Employer contributions count toward the same limit. For 2027 the limits are $4,500 and $9,000.

How much tax does an HSA save?

Each dollar contributed saves your marginal income tax rate, and through payroll also 7.65% FICA. At 22% federal, 5% state and 7.65% FICA, a $4,900 contribution saves about $1,698.

Can I invest my HSA?

Yes. Most HSA providers let you invest the balance above a small cash threshold in mutual funds or ETFs, and the growth is tax-free if it is eventually spent on qualified medical costs.

What happens to my HSA after 65?

It stays yours. Medical withdrawals remain tax-free, and non-medical withdrawals are taxed as income without the 20% penalty, much like a traditional IRA. You cannot contribute once you enrol in Medicare.

Do I need a high-deductible plan for an HSA?

Yes. You can contribute only for months you are covered by a qualifying HDHP and have no other disqualifying health coverage. For 2026 that means a deductible of at least $1,700 self-only or $3,400 family.

What happens if I contribute too much to an HSA?

Excess contributions owe a 6% excise tax for every year they stay in the account. Withdraw the excess and its earnings before your tax-filing deadline to avoid it.

Last reviewed by the A2Z.Tools team against the sources listed above.

Rate this tool

Was this tool useful? Your feedback helps us improve it.

No ratings yet — be the first to rate this tool.
Your rating (required)
0 / 2000

Please do not include passwords, payment details or other sensitive information.

Your feedback is sent privately to the A2Z.Tools team and will not be posted publicly.

Advertisement