HSA Calculator

Last reviewed:

Project HSA growth, qualified medical spending, and contribution tax savings using 2026 limits and your eligibility assumptions.

Calculations run in your browser. Saving to your account is optional.
Built by Abiot Y. Derbie, PhD — Postdoctoral Research Fellow. Quantitative researcher specializing in statistical modeling and data-driven decision systems.
Mathematical models independently verified by Eskezeia Y. Dessie, PhD (Indiana University School of Medicine) and Armin Allahverdy, PhD (LinkedIn) — Data Scientist, Machine Learning & Data Mining.

Enter Your Details

Use the same coverage in every eligible month. Your contribution includes your own payroll salary reductions. Employer funding adds to this HSA's balance; contributions to other accounts reduce your room without adding to this balance. Include a spouse's share of the family base limit in other accounts, excluding their separate catch-up. Set eligible months to 0 if you cannot contribute.

$0
Projected HSA Balance
$0
Total Modeled HSA Contributions
$0
Tax-Free Growth
$0
Federal Contribution Tax Estimate
$0
Medical Spending Shortfall

0
helpful
Create a free account to save and compare your results across devices.

This calculator is for informational and educational purposes only. Results are estimates based on the information you provide and standard financial formulas. This is not financial advice. Consult a qualified financial advisor for decisions specific to your situation. Full Disclaimer

Advanced HSA Value Analysis 2026 IRS

⌄
2026 HSA limit (self): $4,400 2026 HSA limit (family): $8,750 Catch-up (55+): $1,000 Limits include employer funding IRS Rev. Proc. 2025-19 · Publication 969
PERSONALIZED FOR YOU

Your contribution savings appear after Calculate

Three Federal HSA Tax Benefits

Eligible contributions receive federal tax relief, investment earnings grow without annual federal tax, and qualified medical withdrawals are federally tax-free. These are three treatments of the same funds; adding them together does not produce a separate total tax benefit. After age 65, non-medical withdrawals are subject to income tax without the additional 20% tax.

Capped using the coverage, catch-up, months, and other contributions above
Marginal — your highest bracket
Use 0 when your state does not provide HSA contribution tax relief
Only eligible section 125 salary reductions; Social Security savings depend on wages
Contribution scenario: ~$1,188/yr of estimated tax relief. Selected rates imply ~27.0% of the modeled contribution. Repeating the same contribution and rates for 30 years gives ~$35,640, excluding investment growth.
Tax LayerRateScenario SavingsHSAPre-tax 401(k)Roth IRA
Federal income tax22%$968✓✓—
State income tax5%$220✓ (most states)✓—
FICA (Soc Sec + Medicare)0%$0Eligible salary reduction——
Tax-free growth——✓Deferred✓
Tax-free withdrawal (qualified)——✓—✓
Total tax savings27.00%$1,188TripleSingleSingle

This is a marginal-rate illustration, not a tax-return calculation. State HSA treatment varies; use an applicable savings rate. Ordinary after-tax payroll deductions and direct contributions do not receive section 125 payroll-tax relief. The 7.65% option assumes the contribution reduces wages otherwise subject to both Social Security and Medicare taxes; no Additional Medicare Tax calculation is included.

2026 HDHP Eligibility Requirements (Plus OBBBA Expansion)

To contribute to an HSA, you must be enrolled in an HSA-eligible high-deductible health plan (HDHP) and meet the other eligibility rules. From January 1, 2026: individual-market bronze and catastrophic coverage available through an ACA Exchange is treated as an HDHP, including qualifying off-Exchange counterparts. Other coverage, Medicare, and dependency rules still apply.

Requirement2026 Self-Only2026 Family2025 (for comparison)
Minimum annual deductible$1,700$3,400$1,650 / $3,300
Maximum out-of-pocket$8,500$17,000$8,300 / $16,600
Maximum HSA contribution$4,400$8,750$4,300 / $8,550
Catch-up (age 55+)+$1,000+$1,000 per eligible spouse, in separate HSAs+$1,000
Excise tax on excess6% per year6% per year6%
Disqualifying coverage you CANNOT have:
  • General-purpose Health FSA (LPFSA — Limited-Purpose for dental/vision only — IS allowed)
  • General-purpose HRA (post-deductible HRA IS allowed)
  • Medicare enrollment, including months covered retroactively
  • Other non-HDHP health plan (including spouse's)
  • VA medical benefits in the past 3 months (with exceptions for service-connected)
  • Being eligible to be claimed as a dependent on someone else's tax return

Eligible Plans and Compatible Coverage for 2026

  • Traditional HSA-qualified HDHP (employer-sponsored or marketplace) — meets the applicable deductible, out-of-pocket, and coverage requirements
  • NEW: ACA Bronze plans (individual coverage on the marketplace) — even if their deductible is lower than $1,700
  • NEW: ACA Catastrophic plans — typically for under-30 enrollees
  • Direct Primary Care Service Arrangements (DPCSAs) — compatible coverage when the statutory service restrictions and aggregate $150/mo individual or $300/mo multi-person fee limits are met; it does not replace an eligible plan
  • Telehealth and remote care benefits — permanent safe harbor for plan years beginning after 2024; it does not replace eligible health coverage

Sources: IRS Rev. Proc. 2025-19 (2026 limits), IRS Notice 2026-5 (coverage changes), and Publication 969 (general HSA rules). The calculator prorates by eligible months and does not apply the last-month rule, testing-period exceptions, or midyear coverage changes.

Long-Term HSA Growth — The Stealth Retirement Account

If you invest your HSA balance and pay current medical expenses out-of-pocket (saving receipts to reimburse later, tax-free), the HSA compounds for decades inside a triple-tax-advantaged wrapper. The numbers below show the power of consistent maximum contributions.

Years InvestedSelf-Only Max ($4,400/yr)Family Max ($8,750/yr)Notes
10 years$60,792$120,894Solid emergency-medical buffer
20 years$180,380$358,711Illustrative balance before future spending
30 years$415,627$826,532Substantial retirement supplement
40 years$878,394$1,746,807Approaches 401(k)-scale wealth

Assumes 7% nominal annual return, contributions made at year-end, no starting balance or medical withdrawals, no employer contributions, and 2026 limits held constant. Returns are assumptions, not forecasts; future limits and eligibility can change.

The triple-tax advantage 3×

$415,627 in HSA after 30 years comes from $132,000 of contributions + ~$283K of compounding. Tax-free at every layer.

Qualified medical spending Tax-free

Withdrawals must pay or reimburse qualifying expenses incurred after the HSA was established. Keep receipts; expenses cannot also be reimbursed elsewhere or deducted.

Contribution room Shared

Employer funding consumes contribution room. Eligible spouses share the family base limit; each age-55 catch-up goes into that spouse's own HSA.

Growth figures are calculator examples at a constant 7% nominal return. They do not establish a guaranteed retirement balance or future healthcare budget. General contribution and reimbursement rules: IRS Publication 969.

HSA vs 401(k) — Where Your Next Dollar Should Go

Most personal-finance frameworks recommend the contribution priority: (1) 401(k) up to employer match, (2) HSA to max, (3) 401(k) to max, (4) Roth IRA / taxable. Your employer match, medical costs, liquidity, coverage, and future tax rates can change the priority.

FeatureHSATraditional 401(k)Roth IRA
Contributions deductible?✓ Federal + most states✓ Federal + state✗ After-tax
FICA savings?Eligible section 125 salary reduction✗ No FICA savings✗ No FICA savings
Growth taxed?✗ Tax-free✗ Tax-deferred✗ Tax-free
Withdrawal taxed (qualified)?✗ Medical = tax-free forever✓ Ordinary incomeQualified Roth withdrawals (age and five-year rules)
Required minimum distributions?✗ NeverGenerally required; age and working-status rules apply✗ None for owner
Penalty before 59½ (non-qualified)?20% before 65 (none after)10% + tax10% on earnings only
2026 contribution limit$4,400 / $8,750$24,500 + plan-permitted $8,000 catch-up 50+ ($11,250 ages 60–63)$7,500 + $1,100 catch-up 50+
The $1 trace: Illustration: if an eligible section 125 HSA salary reduction avoids 22% federal + 5% applicable state + 7.65% payroll tax, you save $0.347 in taxes — meaning your $1 of contribution costs you only $0.653 in take-home. That same $1 contributed to a 401(k) saves $0.27 (no FICA). After 30 years at 7% return, the HSA dollar (worth $7.61 grown) withdrawn for medical pays $0 in tax, while the 401(k) dollar (worth $7.61 grown) pays ordinary income tax — at 22%, that's $1.67 lost.

When 401(k) beats HSA

  • Up to employer match. A 50% employer match adds $0.50 per eligible $1 contributed, subject to plan matching and vesting rules. Compare that benefit before diverting contributions.
  • If you can't afford an HDHP. A high deductible only works if you can absorb $1,700-$8,500 in unexpected medical costs. If a surgery would force credit-card debt, a low-deductible plan + 401(k) is wiser.
  • If you have chronic high medical needs. The HDHP itself may cost you more out-of-pocket than the HSA tax savings recoup.

Investment Threshold — When Does Your HSA Start Investing?

Cash thresholds, investment menus, account charges, and employer arrangements vary. Compare your account's current terms before choosing how much to invest, and retain enough accessible cash for near-term medical costs.

Account FeatureWhat to CheckInvestment ImpactCost to Compare
Cash thresholdRequired uninvested balanceOnly the balance above it may be investableCash interest and account fee
Investment menuAvailable funds or brokerage optionsDiversification and risk choicesFund expense ratios
Account chargesMonthly, annual, and asset-based feesFees reduce modeled growthEmployee versus employer-paid charges
Transfer termsProcessing time and transfer restrictionsTime out of the market may varyTransfer and closure fees
Cash accessReimbursement and payment methodsKeep near-term expenses liquidTransaction fees
Employer fundingDeposit timing and eligibilityFunding counts toward the annual limitBenefits lost by moving contributions
Investment riskTime horizon and loss toleranceReturns can be negativeAdvisory charges, if any
The cost of staying in cash: If you keep $4,400/yr in cash at 0.05% APY for 30 years, you end with about $132,961 (mostly contributions). If you invest the same $4,400/yr at 7%, you end with $415,627 — an illustrative $282,666 difference. Both assume year-end deposits, no withdrawals, constant rates, and no fees; the investment return is not guaranteed.

The transfer-out trick

If your employer-provided HSA has high fees or poor investment options, the IRS allows once-per-year HSA-to-HSA rollovers (60-day window) and unlimited trustee-to-trustee transfers. An eligible section 125 salary-reduction arrangement can provide payroll-tax relief. Compare the receiving account's current fees and investment terms before arranging transfers; transfers do not create new contribution room.

Account terms are plan-specific. Rollovers and trustee-to-trustee transfers have different rules; see IRS Publication 969 and your custodian's instructions.

Things to Know

Essential concepts for understanding your results

Triple Tax Advantage
What are the three HSA federal tax benefits?

Eligible HSA contributions receive federal tax relief, investment earnings grow without annual federal tax, and qualified medical withdrawals are tax-free. These benefits describe how the account is taxed; they should not be added together as separate savings on the same dollar. At a constant 24% federal marginal rate, a $4,400 eligible contribution illustrates $1,056 of federal contribution tax relief.

Contribution Limits
How much can you contribute to an HSA?

2026 base limits are $4,400 self-only and $8,750 family, with an additional $1,000 for an eligible owner age 55 or older at year end. Employer contributions count toward the limit; eligible spouses share the family base limit and make catch-ups into separate HSAs. Eligibility is generally checked on the first day of each month. Medicare enrollment, including retroactive coverage, reduces eligible months.

Investment Strategy
Should you invest your HSA or keep it in cash?

Keep near-term medical funds liquid and invest only what fits your risk tolerance. For illustration, $4,400 deposited at each year end for 25 years at a constant 8% nominal return grows to about $321,666 before fees, with no starting balance or withdrawals. Actual returns vary. Keep records for any later reimbursement of qualified expenses incurred after the HSA was established.

HSA vs FSA
What is the difference between an HSA and FSA?

HSA funds carry over and remain yours when you change jobs. A health FSA is employer-sponsored and generally uses plan-year funds, with a grace period or limited carryover if offered. The 2026 health FSA employee salary-reduction limit is $3,400; the permitted carryover maximum is $680. A general-purpose FSA can disqualify HSA contributions; a qualifying limited-purpose FSA can be compatible. Compare coverage and cash needs rather than assuming one account always wins.

The HSA Triple Tax Advantage

An HSA offers three federal tax benefits when contribution eligibility and qualified-expense rules are met:

Tax Benefit 1 — Contribution tax relief: Eligible contributions you fund directly generally receive a federal deduction. Employer deposits, including eligible section 125 salary reductions, generally receive an income exclusion and cannot also be deducted. Eligible section 125 salary reductions may avoid employment taxes; direct contributions and ordinary after-tax payroll deductions do not receive that payroll-tax treatment.

Tax Benefit 2 — Tax-free growth: Investments inside your HSA grow completely tax-free — no capital gains tax, no dividend tax, no tax on reinvested earnings. Just like a Roth IRA.

Tax Benefit 3 — Tax-free withdrawals: Withdrawals for qualified medical expenses are never taxed at any point. You contributed pre-tax, grew tax-free, and withdraw tax-free. State tax treatment can differ from federal treatment.

After age 65, HSA funds can be used for any purpose — non-medical withdrawals are taxed as ordinary income (like a Traditional IRA) but without penalties. This makes the HSA a stealth retirement account even if you never have large medical bills.

2026 HSA Contribution Limits

Individual coverage: $4,400 (up from $4,300 in 2025).

Family coverage: $8,750 (up from $8,550 in 2025).

Catch-up contribution (age 55+): Additional $1,000.

Traditional 2026 HDHP thresholds are a minimum deductible of $1,700 self-only / $3,400 family and maximum out-of-pocket expenses of $8,500 / $17,000. Qualifying individual-market bronze and catastrophic plans receive a 2026 exception. You must meet other eligibility rules, including not being enrolled in Medicare or eligible to be claimed as a dependent. A spouse's disqualifying coverage or general-purpose FSA may affect eligibility.

Your HSA Planning Suite

We have built three specialized HSA calculators to help you maximize this account:

HSA Growth Calculator: Model your HSA investment growth over time. See projected balance at retirement with contributions, employer match, and compound returns. Compare investing versus spending HSA dollars on current medical costs.

HSA Retirement Strategy: Plan your HSA as a retirement account. Model accumulation during working years and drawdown during retirement. See how many years of healthcare costs your HSA can cover and the optimal drawdown sequence alongside 401(k), IRA, and Social Security.

HSA Tax Savings Calculator: Estimate contribution tax savings from HSA contributions. See the breakdown by federal, state, and FICA taxes. Compare eligible section 125 salary reduction with direct contribution assumptions.

The Stealth Retirement Strategy

One long-term strategy, if you can afford current medical expenses and investment risk, is to retain accessible medical cash, invest the remaining balance, and save every medical receipt in a digital folder. You may reimburse qualified expenses incurred after the HSA was established in a later year, provided they were not already reimbursed or deducted; retain the supporting records.

A family contributing $8,750/year for 25 years at 7% returns accumulates approximately $553,429 with year-end deposits, no starting balance, no withdrawals, and no fees. This is a return scenario, not a healthcare-budget guarantee. Qualified expenses can include dental, vision, prescriptions, and certain Medicare premiums after age 65. Medigap premiums are excluded; eligible long-term-care insurance premiums are subject to age-based limits.

Frequently Asked Questions

What is the HSA contribution limit for 2026?
For full-year eligibility, the base limit is $4,400 for self-only coverage or $8,750 shared for family coverage. An eligible account owner age 55 or older at year end may add $1,000 to their own HSA. Employer funding counts toward the limit. Part-year eligibility, Medicare enrollment, and a spouse's contributions can reduce your contribution room.
Should I invest my HSA or use it for medical expenses?
Keep funds needed for near-term qualified medical expenses accessible. Money you can leave invested may grow, but returns can be negative. You may reimburse qualifying expenses incurred after your HSA was established later if they were not already reimbursed or deducted; retain records.
What happens to my HSA if I leave my job?
Your HSA belongs to you and unused funds carry over. You can keep using it for qualified medical expenses after changing jobs. New contributions still require HSA eligibility and remaining contribution room.
Can I use my HSA after age 65 for non-medical expenses?
Yes. Non-medical withdrawals after age 65 are subject to ordinary income tax without the additional 20% tax. Qualified medical withdrawals remain federally tax-free. Medicare supplemental policy premiums, including Medigap, are not qualified HSA expenses.
Is an HSA better than a 401(k)?
They serve different needs. HSAs offer federal contribution tax relief, tax-free growth, and tax-free qualified medical withdrawals. A 401(k) may offer an employer match and a higher contribution limit: the 2026 basic elective-deferral limit is $24,500, before eligible catch-up contributions. Compare your match, healthcare costs, liquidity, and tax situation.
Powered by FinCalcs — Free Financial Calculators