HSA contribution and tax savings calculator 2026 & 2027

Find how much you can put in a health savings account and how much tax it saves, through payroll or on your own.

Updated November 17, 2026 · figures for tax years 2026 & 2027 · How we source figures

From 55 you can add $1,000 a year.
What you put in. Try the maximum.
Counts toward the same limit.
Payroll contributions also skip Social Security and Medicare. Self-employed: choose 'On my own'.
Enter 0 if you're self-employed.
Spouse's wages, business profit, interest. Used to find your bracket.
Uses the state's own brackets and deductions.
Tax saved this year$1,215
Real cost of your contribution$3,185
Room left after employer money$4,400
Your 2026 limit$4,400
Show the math
Self-only limit$4,400.00
Age 55+ catch-up+ $0.00
Employer contribution− $0.00
Your contribution counted$4,400.00
Federal income tax savedYour top bracket: 22%$878.00
Social Security and Medicare saved7.65% on payroll contributions$336.60
State tax saved (left out)$0.00
Total tax saved$1,214.60
  • Only $4,400 counts: that's your 2026 limit minus employer contributions. Excess contributions are taxed 6% a year until removed.
  • You need a qualifying high-deductible health plan and no other health coverage (including Medicare) to contribute. Limits are prorated by month if you're covered for only part of the year.

Estimate only, not tax advice. Federal figures from IRS publications. How we calculate.

The only account with three tax breaks

A health savings account (HSA) is tax-free going in, tax-free while it grows, and tax-free coming out when you spend it on qualified medical costs. Contributions through payroll also skip the 7.65% Social Security and Medicare tax, which even a 401(k) can't do.

2026 and 2027 HSA limits

20262027
Self-only coverage$4,400$4,500
Family coverage$8,750$9,000
Extra at age 55+$1,000$1,000
Plan's minimum deductible (self / family)$1,700 / $3,400$1,750 / $3,500
Plan's out-of-pocket maximum (self / family)$8,500 / $17,000$8,700 / $17,400

Limits from IRS Rev. Proc. 2025-19 (2026) and Rev. Proc. 2026-24 (2027). Employer contributions count toward them.

Worked example

A single filer earning $70,000 puts the 2027 self-only maximum of $4,500 in through payroll. That saves $678 of federal income tax and $344 of Social Security and Medicare, $1,022 in all before any state saving.

Payroll or on your own?

Both lower your income tax. Only payroll contributions skip Social Security and Medicare, so if your employer offers it, payroll is better. Self-employed people contribute on their own and deduct it on Form 8889; it lowers income tax but not self-employment tax.

States that tax HSA contributions

California and New Jersey don't follow the federal HSA rules, so contributions are still taxed by the state. Every other state with an income tax allows the deduction.

An HSA as a retirement account

The money never expires. If you can pay medical bills out of pocket and keep receipts, the account can grow invested for decades and be reimbursed later. After 65, withdrawals for anything are taxed like a traditional IRA, with no penalty.

Frequently asked questions

What is the HSA contribution limit for 2027?

$4,500 for self-only coverage and $9,000 for family coverage, plus $1,000 if you're 55 or older (IRS Rev. Proc. 2026-24). For 2026 the limits are $4,400 and $8,750.

Do HSA contributions reduce Social Security and Medicare tax?

Only when they go through payroll under your employer's cafeteria plan. Contributions you make on your own lower income tax but not Social Security or Medicare.

Does my employer's HSA contribution count toward the limit?

Yes. Your contributions plus your employer's can't exceed the yearly limit. Excess contributions are taxed 6% a year until you take them out.

Which states tax HSA contributions?

California and New Jersey. In those states your contributions and the account's earnings are taxed for state income tax.

Sources