Skip to main content

HSA Calculator

See how much federal, payroll and state tax a health savings account saves you in 2026, and what the account could grow to by 65.

Checked by the SumAtlas teamUpdated October 10, 2026SourcesHow we check our figuresIndependent: not a government website

Your health savings account

Your plan
HDHP coverage
Contributions
More optionsOptional. The defaults suit most people; change these if your situation is different.

Free to use. Your details are not saved to an account.

Your summary

Tax you save in 2026$1,305
Your real cost$3,095
Federal income tax saved$968
Social Security and Medicare saved$337
State tax saved$0

Putting $4,400 into your HSA saves $968 of federal income tax, $337 of Social Security and Medicare tax. So it really costs you $3,095.

2026 limit $4,40029.7% saved per dollar$140,647 at 65

THE COMPLETE PICTURE

Your results in detail

Your contribution$4,400
Employer contribution$0
Tax saved$1,305
Balance at 65$140,647
What we assumed
Limit
$4,400 for self-only coverage
Federal tax
2026 brackets, single, standard deduction, wages as your only income
Payroll tax
Saved: contributions go through a cafeteria plan
State tax
Texas 2026 rules, no dependents
Growth
6% a year after fees; $1,500 a year of medical costs paid from the account, rising 2.5% a year

Not right for you? Change it under More options.

What your contribution really costs

Each dollar you put in, split into the tax it saves and what comes out of your pocket.

Your real cost$3,095
Federal income tax saved$968
Social Security and Medicare saved$337
State tax saved$0

Your HSA by age 65

Contributions in, medical costs out, the rest invested.

BalanceIn today's dollars
At 65: balance $140,647, worth $75,864in today's dollars.
$35k$70k$105k$141k

Drag across the chart, or use the arrow keys, to read any age.

Put in$110,000
Spent on medical costs$51,237
Investment growth$81,884
At 65$140,647
Show the yearly table
AgePut in so farSpent so farBalanceToday's dollars
42$8,800$3,038$6,098$5,804
44$17,600$6,229$12,787$11,585
46$26,400$9,582$20,132$17,360
48$35,200$13,104$28,206$23,150
50$44,000$16,805$37,088$28,973
52$52,800$20,693$46,870$34,851
54$61,600$24,778$57,654$40,803
56$70,400$29,070$69,551$46,851
58$79,200$33,580$82,689$53,017
60$88,000$38,317$97,209$59,324
62$96,800$43,294$113,271$65,795
64$105,600$48,524$131,051$72,455
65$110,000$51,237$140,647$75,864

Worth knowing

Getting the most from an HSA.

The receipts strategy

There is no deadline for paying yourself back. If you can afford to pay medical bills from your checking account and keep the receipts, the HSA money can stay invested for years and you can reimburse yourself tax-free later for any expense incurred after the account was opened.

After 65

From 65 you can take money out for anything without the 20% penalty; it is taxed as income, like a traditional IRA. Spent on medical costs, it stays tax-free at any age. Before 65, non-medical withdrawals are taxed and pay the 20% penalty.

An estimate of 2026 tax with wages as your only income. Investment returns are not guaranteed. Not tax advice.

THE HSA GUIDE

How a health savings account cuts your tax

A health savings account is the only account in the US tax code that is tax-free going in, while invested and coming out for medical costs. This guide covers who can open one, the 2026 limits, how much tax it saves at different incomes and in different states, and how to use it as a long-term investment account.

1In brief

The short answer

  • You need a high-deductible health plan (HDHP) and no other health coverage to contribute.
  • In 2026 you can put in $4,400 with self-only coverage or $8,750 with family coverage, plus $1,000 from age 55.
  • A single filer earning $75,000 who contributes $4,400 through payroll saves about $1,305 of tax, so the $4,400 really costs $3,095.
  • Invested at 6% a year from 40 to 65, $4,400 a year grows to about $247,973.
$4,400
Self-only limit, 2026
$8,750
Family limit, 2026
$1,305
Tax saved on $4,400 at $75,000 (Texas)
20%
Penalty on non-medical use before 65
2Basics

What an HSA is

A health savings account is a personal savings account for medical costs, held with a bank, credit union or investment firm acting as trustee. You own it, not your employer, and the money never expires. You can spend it on deductibles, copays, prescriptions, dental and vision care, or leave it to grow.

It is different from a flexible spending account (FSA), which your employer owns and which mostly resets each year. An HSA rolls over forever and moves with you from job to job and into retirement.

3Eligibility

Who can open one

To contribute for a month, on the first day of that month you must:

  • Be covered by a qualifying high-deductible health plan.
  • Have no other health coverage that pays before the deductible (a spouse’s general-purpose FSA counts as other coverage; dental, vision and accident cover do not).
  • Not be enrolled in Medicare.
  • Not be claimed as a dependent on someone else’s tax return.
What makes a plan an HDHP in 2026
Self-onlyFamily
Minimum deductible$1,700$3,400
Maximum out-of-pocket (not premiums)$8,500$17,000

From 2026, bronze and catastrophic plans bought through a Health Insurance Marketplace also count as HDHPs, and a direct primary care membership no longer blocks you from contributing. Your plan documents or insurer will say whether the plan is "HSA-qualified".

42026

2026 contribution limits

HSA contribution limits (yours and your employer's together)
CoverageUnder 5555 or older
Self-only$4,400$5,400
Family$8,750$9,750

The IRS raises the base limits each year for inflation; the $1,000 catch-up is fixed by law. Married couples with family coverage share one family limit, which they can split however they like, but each spouse aged 55 or older must put their catch-up in an HSA in their own name. You have until the tax filing deadline, April 15, 2027, to make 2026 contributions.

5Why it matters

The triple tax break

Going in
Federal income tax
Deducted
Social Security and Medicare
Saved, through payroll
While invested
Interest, dividends and gains
Not taxed
Selling and switching funds
No tax
Coming out
Qualified medical costs
Tax-free at any age
Anything else from 65
Taxed as income, no penalty

A 401(k) gives you a deduction going in but taxes withdrawals; a Roth IRA taxes money going in but not coming out. An HSA used for medical costs does neither, which is why many planners call it the best tax deal available.

6Real numbers

A worked example

Single, 40, $75,000 salary, Texas, $4,400 through payroll
  1. Federal income tax saved (22% bracket)$968
  2. Social Security and Medicare saved (7.65%)$337
  3. State tax saved (Texas has none)$0
  4. Total tax saved$1,305
What the $4,400 really costs$3,095

That is a saving of 29.7 cents on every dollar, before any investment growth. The same person living in New York would also save $238 of state tax, for a total of $1,542.

7Your bracket

How the saving changes with income

Tax saved on $4,400 through payroll, single, Texas
$45,000 salary$865
$75,000 salary$1,305
$150,000 salary$1,393
$250,000 salary$1,511
Federal income tax plus Social Security and Medicare, 2026.

The federal saving follows your top tax bracket: 12% at $45,000, 22% at $75,000, 24% at $150,000 and 32% at $250,000. The payroll saving works the other way: above the $184,500 Social Security wage base for 2026, you already pay no more Social Security tax, so only the Medicare part is saved. That is why the $250,000 earner saves just $103 of payroll tax against $337 for everyone below the wage base. Our tax bracket calculator shows which bracket your last dollar falls in.

8Where you live

State tax: California and New Jersey

$4,400 through payroll, single, $75,000 salary, 2026
StateState tax savedTotal saved
Texas (no income tax)$0$1,305
Pennsylvania$135$1,440
North Carolina$176$1,480
Illinois$218$1,522
New York$238$1,542
California$0 (taxed)$1,305
New Jersey$0 (taxed)$1,305

Most states with an income tax follow the federal rules, so your contribution comes off state income too. California and New Jersey don’t: contributions are added back on the state return, and interest, dividends and gains inside the account are taxed by the state each year, so keep records of the account’s earnings for your state return. Residents there still get the full federal and payroll saving.

9How you pay in

Payroll or direct contributions

Contributions taken from your paycheck through your employer’s cafeteria (Section 125) plan come out before income tax and before the 7.65% Social Security and Medicare tax. Money you deposit yourself is deducted on Form 8889 when you file, which saves income tax but not payroll tax.

In the example, contributing directly saves $968 instead of $1,305. If your employer offers payroll contributions, use them. Self-employed people can only contribute directly, and their HSA deduction doesn’t reduce self-employment tax.

10Free money

Employer contributions

Many employers seed HSAs, often with $500 to $1,500a year, or match contributions. Employer money isn’t taxed as wages, isn’t subject to payroll tax and shows on your W-2 in box 12 with code W. It counts toward the limit, so it reduces how much you can put in yourself.

A married couple with family coverage earning $120,000 whose employer puts in $1,000 can add $7,750 of their own, which saves $930 of federal tax and $593 of payroll tax.

11Timing

Part-year coverage and the last-month rule

If you are HSA-eligible for only part of the year, your limit is one-twelfth of the annual amount for each month you were eligible on the first day. Six months of self-only coverage allows $2,200.

The last-month rule has a catch

If you are eligible on December 1, you can contribute the full year’s limit. But you must then stay eligible for the whole of the next year (the testing period). If you don’t, the extra is added to your income and charged a 10% additional tax.

12Long term

Investing the balance

$4,400 a year from 40 to 65
Invested at 6%, nothing spent$247,973
Invested at 6%, $1,500 a year spent$140,647
Left in cash at 1%, nothing spent$124,839
Balance at 65, by how the money is used and invested.

Over 25 years you put in $110,000. Invested at 6% and left alone, it grows to about $247,973, worth about $133,754in today’s dollars at 2.5% inflation. Paying $1,500 a year of medical costs from the account (rising with inflation) leaves about $140,647. Left in cash at 1%, the same deposits reach only $124,839. Starting at 30 instead of 40 lifts the invested balance at 65 to about $503,655. Our investment calculator shows how fees and returns change long-term growth.

13Strategy

The receipts strategy

There is no time limit on reimbursing yourself for a qualified medical expense, as long as it was incurred after you opened the HSA. So if you can afford it, you can pay medical bills from your checking account, keep the receipts, and let the HSA stay invested. Years later you can take out the total of those receipts tax-free, for any reason.

Keep the paperwork

Store receipts and explanation-of-benefits statements digitally. If the IRS asks, you need to show the expense was qualified, was not reimbursed by insurance and was not claimed as an itemized deduction.

14Spending

What you can spend it on

  • Yes: deductibles, copays and coinsurance; prescriptions; dental and vision care, including glasses and contacts; mental health care; over-the-counter medicines and menstrual products; COBRA premiums; long-term care insurance premiums up to an age-based limit; Medicare premiums from 65 (not Medigap).
  • No: regular health insurance premiums while you work, gym memberships, cosmetic procedures and general health items.

You can also spend it on your spouse’s and dependents’ qualified costs, even if they aren’t on your HDHP. IRS Publication 502 has the full list.

15Retirement

At 65 and Medicare

  1. Before 65Non-medical withdrawals are taxed and pay a 20% additional tax.
  2. 65The 20% penalty ends. Non-medical withdrawals are taxed as income, like a traditional IRA.
  3. Medicare enrollmentNew contributions stop. Part A can be backdated up to six months if you enroll after 65, so stop contributing six months before you apply.
  4. Any ageWithdrawals for qualified medical costs, including Medicare Part B, Part D and Medicare Advantage premiums, are tax-free.

Health costs in retirement are large, so many retirees never need to make a taxable withdrawal: the HSA simply pays Medicare premiums, dental work and prescriptions. Our retirement calculator helps size the rest of your savings.

16Priorities

HSA, 401(k) or IRA first?

A common order, if you have an HDHP:

  1. Contribute enough to your 401(k) to get the full employer match.
  2. Fill the HSA through payroll, since it saves payroll tax too.
  3. Then add to a Roth IRA or more to the 401(k).

The HSA wins over a 401(k) for money you will spend on health care, because it is never taxed. It also saves Social Security and Medicare tax, which 401(k) deferrals do not.

17Compare

HSA vs FSA

HSA
Needs an HDHP
Yes
Unused money
Rolls over forever
Can be invested
Yes
Leaves with you
Yes
Health care FSA
Needs an HDHP
No
Unused money
Mostly lost each year
Can be invested
No
Leaves with you
No

You can’t have a general-purpose FSA and contribute to an HSA, but a limited-purpose FSA for dental and vision costs works alongside one.

18Choosing a plan

Is a high-deductible plan right for you?

HDHPs usually have lower premiums but higher costs when you need care. Compare the total: yearly premiums plus your likely out-of-pocket costs, minus any employer HSA money and the tax you save. If you are healthy and can cover the deductible from savings, an HDHP plus HSA often comes out ahead. If you expect large regular costs, a plan with a lower deductible may be cheaper overall, even without the HSA.

19Avoid these

Common mistakes

  • Leaving the whole balance in cash for decades.
  • Forgetting that your employer’s contribution counts toward the limit, and going over it (excess contributions pay 6% a year until removed).
  • Contributing after enrolling in Medicare, including the six months Part A can be backdated.
  • Losing receipts for expenses you plan to reimburse later.
  • Living in California or New Jersey and not reporting the account’s earnings on the state return.
20Estate

When you die

If your spouse is the beneficiary, the HSA becomes their HSA, with all the same tax breaks. Anyone else receives the balance as taxable income in the year of your death, reduced by any of your medical bills they pay within a year. That is one reason to spend the HSA on your own health costs in later life and leave other savings, such as a Roth IRA, to heirs.

21Reference

Key numbers

Item2026
Contribution limit, self-only$4,400
Contribution limit, family$8,750
Catch-up from age 55$1,000
HDHP minimum deductible$1,700 / $3,400
HDHP out-of-pocket maximum$8,500 / $17,000
Penalty on non-medical use before 6520%
Excise tax on excess contributions6% a year
Deadline for 2026 contributionsApril 15, 2027
Questions

Frequently asked

What are the HSA contribution limits for 2026?

$4,400 for self-only high-deductible coverage and $8,750 for family coverage. If you are 55 or older you can add $1,000 more. The limit covers your contributions and your employer's together.

What counts as a high-deductible health plan in 2026?

A plan with a deductible of at least $1,700 for self-only coverage or $3,400 for family coverage, and out-of-pocket costs capped at $8,500 or $17,000. From 2026, bronze and catastrophic plans bought through a Health Insurance Marketplace also count.

How much tax does an HSA save?

Your contribution comes off your income for federal tax, so it saves your top tax rate. Through payroll it also skips the 7.65% Social Security and Medicare tax, and most states don't tax it either. A single filer earning $75,000 who puts in $4,400 through payroll saves about $1,305 of federal and payroll tax.

Is HSA money taxed by my state?

In most states, no. California and New Jersey don't follow the federal rules: contributions are taxed on the state return and the account's earnings are taxed each year. States with no income tax have nothing to save or charge.

What happens to my HSA if I change jobs?

The account is yours. It stays with you when you leave a job, change health plans or retire, and there is no use-it-or-lose-it rule. You can keep it with the same provider or move it to another HSA trustee.

Can I invest my HSA?

Most HSA providers let you invest the balance above a cash threshold, often $1,000 or $2,000, in mutual funds. Invested money can grow tax-free for decades but can also fall in value, so keep enough in cash for near-term medical bills.

What happens if I use HSA money for non-medical costs?

Before 65, the withdrawal is taxed as income and you pay a 20% additional tax. From 65, or if you become disabled, the 20% penalty no longer applies, but non-medical withdrawals are still taxed as income.

Can I contribute to an HSA after 65?

Only if you are not enrolled in any part of Medicare. Many people sign up for Medicare Part A at 65, which ends HSA contributions. If you delay Social Security and Medicare, you can keep contributing while you have qualifying HDHP coverage.

Can I reimburse myself for old medical bills?

Yes, for qualified expenses incurred after your HSA was set up, with no time limit. Keep the receipts. Some people pay medical costs out of pocket now and reimburse themselves years later, letting the money grow in the meantime.

Do employer HSA contributions count as income?

No. Employer contributions are not taxed as wages, are not subject to Social Security or Medicare tax and appear in box 12 of your W-2 with code W. They do count toward your yearly limit.

What if I'm only covered for part of the year?

Your limit is prorated: one-twelfth for each month you were covered on the first day. Under the last-month rule, if you are covered on December 1 you can contribute the full year's amount, but you must then stay HSA-eligible through the next year or pay tax and a 10% penalty on the extra.

HSA or FSA: which is better?

An HSA needs a high-deductible plan, but the money rolls over every year, can be invested and moves with you. A health care FSA works with any plan but is mostly use-it-or-lose-it each year. If you qualify for an HSA, it is usually the more flexible choice.

Good to know

An estimate for planning. Tax rules and investment returns vary. Not tax or financial advice.