Why the HSA Is the Only Account Taxed at Zero at Every Step
Every other savings vehicle gives up one of the three tax breaks. A 401(k) and a traditional IRA defer tax on contributions and growth but charge ordinary income tax on every dollar that comes out. A Roth IRA gives up the contribution deduction to buy tax-free growth and withdrawals. A taxable brokerage account gets nothing: you pay income tax before the money goes in, pay capital gains tax on the dividends and sales along the way, and pay again when you liquidate.
A health savings account is the only account that stacks all three. Contributions go in pre-tax — and if they run through a payroll cafeteria plan, they also dodge the 7.65% employee share of Social Security and Medicare. The balance can be invested, and dividends, interest, and realized gains inside the account are never taxed. Withdrawals for qualified medical expenses come out at 0%. A self-only saver contributing the 2026 maximum of $4,400 at a 22% federal rate, a 5% state rate, and payroll deduction saves $1,463.40 in year one alone, and that money then compounds for as long as the account exists.
This calculator prices that triple advantage against the alternative an ordinary saver actually faces: the same gross salary deposited into a taxable brokerage account, where the deposit is smaller, the growth is taxed every year, and every withdrawal that pays a medical bill carries a capital gains bill with it.
The 2026 Numbers This Calculator Uses (IRS Rev. Proc. 2025-19)
Every limit below comes from Revenue Procedure 2025-19, the inflation adjustment that governs tax year 2026, plus the statutory catch-up amount that Congress set in 2003 and has never indexed.
- Annual contribution limit, including employer money: $4,400 for self-only coverage and $8,750 for family coverage. Your own contribution plus anything your employer puts in must fit under the same ceiling.
- Age 55+ catch-up: an extra $1,000 per person, so a 55-or-older saver with self-only coverage can put in $5,400 and a couple where both spouses are 55+ can combine two catch-ups on family coverage for $10,750 in total.
- HDHP minimum deductible: $1,700 self-only and $3,400 family. A plan with a lower deductible is not HSA-qualified, no matter what the insurer calls it.
- HDHP out-of-pocket maximum: $8,500 self-only and $17,000 family, counting deductibles, co-pays and co-insurance but not premiums.
- FICA: 6.2% Social Security plus 1.45% Medicare on the employee side, 7.65% in total, avoided only when the contribution is made through a Section 125 payroll deduction.
The Formulas Behind the Result
The taxable side needs one honest assumption, and the calculator states it plainly: every year's investment return is taxed at 15%, the long-term capital gains and qualified dividend rate for most middle-income filers. That is a conservative simplification of the real thing — an index fund that never sells pays no tax until you do, but it also hands you 15% to 23.8% of every dividend along the way and eventually taxes the whole gain. Assuming annual taxation at 15% keeps the comparison from flattering the HSA with a tax deferral it did not have to earn.
2026 HSA Limits and HDHP Requirements
| Item | Self-Only | Family |
|---|---|---|
| 2026 HSA contribution limit (all sources) | $4,400 | $8,750 |
| Age 55+ catch-up (per eligible person) | +$1,000 | +$1,000 each |
| HDHP minimum annual deductible | $1,700 | $3,400 |
| HDHP maximum out-of-pocket (excl. premiums) | $8,500 | $17,000 |
| Effective maximum for a 55+ saver | $5,400 | $10,750 (both spouses 55+) |
Note what the $4,400 does not include: an employer contribution is not a bonus on top of your limit. If your employer puts in $800 and you are on self-only coverage, your own payroll deduction can only be $3,600 before you are over the line. The calculator applies that order automatically — employer money first, your money up to the remainder — and shows any excess instead of quietly projecting it.
Four HSA Profiles Priced Side by Side
Each row runs the full model with payroll deduction assumed, the same after-tax comparison against a taxable account, and returns compounded monthly. The last two columns show where the triple advantage actually lands.
| Profile | Annual Contribution | Projected HSA Balance | Taxes Avoided | Taxable Account | HSA Advantage |
|---|---|---|---|---|---|
| Self-only · 22% fed · 5% state · 20 yrs | $4,400.00 | $185,153.80 | $46,437.47 | $90,137.59 | +$95,016.22 |
| Family · 24% fed · 6% state · 25 yrs | $8,750.00 | $555,473.45 | $132,515.95 | $241,483.32 | +$313,990.13 |
| Age 55+ catch-up · 32% fed · no state tax · 15 yrs | $5,400.00 | $160,317.54 | $42,784.35 | $83,812.24 | +$76,505.31 |
| Family · 12% fed · 5% state · 30 yrs | $7,000.00 | $829,149.49 | $160,429.69 | $426,465.98 | +$402,683.51 |
The oldest profile is not the richest one. A 55-year-old maxing the $5,400 catch-up limit for 15 years at a 32% federal rate ends with $160,317.54, while a 30-year-old family contributor putting in $7,000 a year for 30 years at 8% ends with $829,149.49 on the same kind of plan. The high tax rate buys a 91.3% edge over the taxable account — $76,505 of extra balance — but it cannot buy back fifteen years of compounding, which is why the young family saver finishes more than five times ahead.
How the Three Breaks Add Up to the Balance Advantage
In the default scenario — self-only coverage, $3,600 from payroll plus an $800 employer contribution, a $5,000 starting balance, 20 years at 7%, 22% federal and 5% state — the saver puts $88,000.00 into the account and withdraws $12,000 for medical bills along the way. The account ends at $185,153.80, of which $104,153.80 is investment growth that was never taxed.
The taxable alternative is not close. The same gross salary deposits $2,875.40 a year instead of $4,400.00, because 22% federal, 5% state and 7.65% FICA come out first. It grows at 7% less a 15% annual tax on the gain, and each $600 medical withdrawal requires selling shares and paying 15% on the embedded profit. Twenty years later it holds $90,137.59 — a $95,016.22 gap, 105.4% more in the HSA.
The taxes avoided along the way total $46,437.47: $30,492.00 on contributions, $8,646.28 on investment returns, and $7,299.19 on withdrawals. The balance advantage is larger than that sum because the money kept out of tax compounds tax-free for the entire horizon — a dollar of avoided contribution tax in year one is worth $3.87 by year twenty.
Catch-Up, Family Coverage, and the Mid-Year Rule
Three rules trip people up more than any others. The first is that the catch-up applies per person: a married couple on family coverage where both are 55 or older can contribute the $8,750 family limit plus two $1,000 catch-ups, for $10,750 total. The second is the last-month rule. If you become HSA-eligible in December, you may contribute as if you had been eligible all year, but you must then stay eligible through the end of the following year (the testing period) or the extra contribution becomes taxable and subject to the 6% excise tax.
The third is a change of coverage mid-year. Limits are not prorated by month unless you choose to prorate them; instead the limit follows the coverage you had on the first day of the last month you were eligible. Moving from family to self-only coverage in July leaves you with the family limit for the year, while moving the other way can leave you with only the self-only limit. The calculator applies whichever coverage you select to the whole year, which matches the common case of stable coverage but overstates the room for a mid-year downgrade.
Traps That Cost Real Money
- The 6% excess contribution excise tax. Over-contributing does not just lose the deduction; the excess is taxed 6% every year it remains. Withdraw the excess and its earnings before the filing deadline to stop it.
- The 20% penalty before 65. A non-medical withdrawal before age 65 is ordinary income plus a 20% additional tax. After 65 the penalty disappears and you simply pay income tax, which is why an over-funded HSA still behaves like a traditional IRA in retirement.
- Two states do not recognize the HSA. California and New Jersey tax HSA contributions and growth at the state level, so a resident's state saving is zero and the account needs its own recordkeeping for state returns.
- Not every health cost qualifies. Medigap premiums, cosmetic procedures, gym memberships, and most general-health items are not qualified medical expenses. Direct primary care fees and some telehealth memberships are.
- No receipt, no reimbursement. A decade-later reimbursement is legal only if you can document the expense was paid and never reimbursed. Keep the explanation of benefits and the receipt, not just the card statement.
- Employer money is not always yours immediately. Many plans vest employer contributions over time; leaving the job before vesting removes that money and can leave you over the limit for the year if you also maxed your own contribution.
Four Moves That Change the Result Before You Contribute
- Route the contribution through payroll. The 7.65% FICA saving is only available through a cafeteria-plan deduction, and on a $4,400 contribution it is $336.60 a year — more than most people's entire state income tax on the same money.
- Invest above the cash threshold. Many custodians hold the first $1,000 to $3,000 in cash paying almost nothing. Once you have one year of out-of-pocket maximum in cash, move the rest into a low-cost index fund; over 20 years that decision is worth more than the contribution limit itself.
- Pay small bills out of pocket and keep the receipts. Letting the balance compound and reimbursing yourself years later turns the account into a second Roth IRA, as long as the documentation survives.
- Watch the calendar in the year you enroll in Medicare. Contributions must stop the month Medicare begins, and any contribution made for a month after that is an excess contribution. Six months before 65 is the time to plan the final year's contribution.
None of this is tax advice for your specific situation. The value of the calculator is that it converts a vague sense that "HSAs are good" into the dollars you give up by not using one — and the dollars you would waste by over-contributing.
Frequently Asked Questions
Can I open and fund an HSA if my employer does not offer one?
Yes. Any HSA custodian — a bank, a brokerage, or an online HSA provider — will open an individual account for you as long as you are covered by a qualifying high-deductible health plan and have no disqualifying coverage. You claim the contribution as an above-the-line deduction on Form 8889 and Schedule 1, so it still reduces federal and state income tax. The one piece you lose is the 7.65% payroll tax saving, because a direct contribution is made with money that has already been through FICA. On a $4,400 self-only contribution that difference is $336.60 — worth asking payroll whether they will set up a cafeteria-plan deduction instead.
What happens if I contribute more than the 2026 limit?
The excess is not deductible, and it is subject to a 6% excise tax for every year it stays in the account. A $1,900 excess costs $114 per year until it is removed. To stop the excise tax you must withdraw the excess and its attributable earnings before your tax filing deadline (including extensions) and report the earnings as income. The calculator clamps your contribution at the limit and shows the excess separately instead of projecting a balance that includes money the IRS does not allow.
Do I have to spend the HSA money by the end of the year?
No. Unlike a flexible spending account, an HSA has no use-it-or-lose-it deadline. The balance rolls over indefinitely, can be invested once it clears the custodian's cash threshold, and can be spent on qualified medical expenses incurred in any year — including bills you paid out of pocket years earlier, as long as you kept the receipts and did not already reimburse yourself. That retroactive feature is what lets a healthy saver treat the HSA as a retirement account and reimburse decades of medical costs later, tax-free.
Can I use an HSA to pay Medicare premiums?
Yes, once you are enrolled in Medicare you may pay Part B, Part D, Medicare Advantage, and employer-sponsored retiree medical premiums from the account, plus qualified long-term-care insurance up to the annual limit. Medigap (supplemental) premiums are not qualified. You also cannot contribute to an HSA after enrolling in Medicare, so the last contribution window closes at the month your Medicare coverage begins — which makes the years before 65 the ones this calculator is really modelling.