Skip to content
FinanceWith Ease
Change country: United States

HSA Calculator

See how much tax a health savings account saves you, how much you can put in for 2026 or 2027, and what it could grow to if you keep it invested.

$

A year · your 2027 limit is $4,500

$

A year, before tax

More options· Through payroll, age 35, 6% growth
$

A year; it counts towards the limit

From 55 you can put in $1,000 more

$
$

A year; $0 to keep it all invested

%

A year, after fees

Tax you save in 2027

$1,557

35% of the $4,500 you put in

What it costs you
$2,943
Your HSA at 65
$365,442
Where the saving comes from
  • Federal income tax$990
  • Social Security and Medicare$344
  • State and local$223

For the $375 a month going into your HSA, your take-home pay falls by $245.

What this means

Your money goes in before income tax, Social Security and Medicare, grows without tax, and comes out tax-free for medical costs. Left invested at 6% a year, it could reach $365,442 by 65, of which $230,442 is growth.

A health FSA saves the same tax, but it’s capped at $3,400 (2026), anything unspent above $680 is lost at the end of the year, and it can’t be invested. An HSA rolls over and stays yours.

Tax you save in 2027

Federal income tax$990.00
Social Security and Medicare$344.25
State and local tax$222.75
Total$1,557.00
You put in$4,500
2027 limit, self-only$4,500

To qualify in 2027, your health plan’s deductible must be at least $1,750, and its out-of-pocket maximum no more than $8,700.

Your HSA by 65

Your HSA by age, at 6% growth a year
$365,442$182,721$0
3638414447505356596265
Put inGrowth
Assumptions in this estimate
  • The tax saving uses 2026 tax rules, with the standard deduction and the child tax credit for any children you enter. Other credits and deductions can make it smaller.
  • Your employer’s contributions aren’t taxed, so they aren’t part of the tax saving.
  • The same amounts go in every year until 65; the limits usually rise. Medical costs paid from the HSA are tax-free.
  • You stay eligible: covered by a high-deductible health plan, with no other health coverage, and not enrolled in Medicare.
  • The 2027 tax brackets aren’t final yet, so the saving uses 2026’s tax rules with the 2027 HSA limits. It will be close.
Spotted a mistake? Tell us

How the calculator works

  1. Your limit: the limit for your coverage and year, plus $1,000 from age 55, less anything your employer puts in.
  2. The tax you save: your pay worked out with and without the contribution, so you see the exact federal, Social Security and Medicare, and state tax saved, with the standard deduction and any child tax credit.
  3. Growth: the same amount going in every year until 65, growing at the rate you choose, less any medical costs you pay from the account.

HSA limits

20262027
Self-only coverage $4,400$4,500
Family coverage $8,750$9,000
Extra from age 55 $1,000$1,000
Minimum deductible, self-only $1,700$1,750
Minimum deductible, family $3,400$3,500
Out-of-pocket maximum, self-only $8,500$8,700
Out-of-pocket maximum, family $17,000$17,400

Example

Single, earning $75,000, putting $4,500 in through payroll in 2027:

State Federal income tax Social Security and Medicare State Tax saved
Illinois $990 $344.25 $222.75 $1,557
Texas $990 $344.25 $0 $1,334.25
California $990 $344.25 $58.50 $1,392.75

Texas has no income tax. California taxes HSA contributions, so its $58.50 is only the State Disability Insurance saved through payroll.

Investing it for retirement

Put $4,500 in every year from 35 and leave it invested at 6% a year, and it could reach about $365,000 by 65: $135,000 put in and $230,000 of growth, all of it tax-free for medical costs. Paying $2,000 a year of medical bills from it instead would leave about $203,000.

If you can afford to pay medical bills from your own pocket, keep the receipts: you can take the money out of your HSA tax-free years later. Read more in our guide to how an HSA works.

What this calculator doesn’t include

Itemized deductions and credits other than the child tax credit, local income taxes, the state tax California and New Jersey charge on the account’s growth, rises in the limits, and the 20% penalty on money taken out for anything but medical costs before 65.

Learn more

See your HSA in your take-home pay with the paycheck calculator, and compare it with your 401(k). Buying your own cover? Many Marketplace Bronze plans are HSA-eligible: the ACA subsidy calculator shows what you’d pay after the premium tax credit.

Last updated

Frequently asked questions

What is the HSA limit for 2027?

$4,500 with self-only coverage and $9,000 with family coverage, up from $4,400 and $8,750 in 2026. From age 55 you can put in $1,000 more. The limit includes anything your employer puts in.

How much tax does an HSA save?

Single, earning $75,000 in Illinois, putting $4,500 in through payroll in 2027 saves about $1,557: $990 of federal income tax, $344.25 of Social Security and Medicare, and $222.75 of Illinois tax. That’s about a third of what goes in.

Do I need a high-deductible health plan?

Yes. In 2027 the plan’s deductible must be at least $1,750 for self-only coverage or $3,500 for family coverage, and its out-of-pocket maximum no more than $8,700 or $17,400. You also can’t have other health coverage or be enrolled in Medicare.

Is it better to put money in through payroll?

Usually. Through payroll, your contributions skip Social Security and Medicare tax (7.65% for most people) as well as income tax. If you pay in on your own, you deduct it on your tax return, which saves income tax but not payroll tax.

What’s the difference between an HSA and an FSA?

A health FSA doesn’t need a high-deductible plan and saves the same tax, but it’s capped at $3,400 in 2026, you lose anything unspent above $680 at the end of the year, and it can’t be invested. An HSA rolls over every year, stays yours if you change jobs, and can be invested.

Which states tax HSA contributions?

California and New Jersey. They don’t let you deduct HSA contributions from state income tax, and they tax the account’s interest and gains each year. Other states with an income tax let you deduct them, as the IRS does.