HSA Calculator 2026

Calculate your Health Savings Account contributions, triple tax savings, investment growth, and withdrawal penalties — instantly and for free.

HSA Calculator

Results update automatically

$
$
$
%

Your Results

Instant calculation

Tax Savings

$913.00

You save 22% on contributions

Total HSA Contribution

$4,650.00

Your Contribution

$4,150.00

Effective Cost

$3,237.00

Reduced Taxable Income

$4,150.00

How Calculated

Gross Income$75,000.00
HSA Contribution$4,150.00
New Taxable Income$70,850.00
Tax Bracket$22.00
Tips
  • 2026 HSA limits: $4,150 individual, $8,300 family, +$1,000 catch-up if 55+
  • HSAs are triple tax-advantaged: deductible contributions, tax-free growth, tax-free withdrawals

What Is a Health Savings Account (HSA)?

A Health Savings Account (HSA) is a tax-advantaged savings account created to help Americans with High Deductible Health Plans (HDHPs) pay for qualified medical expenses. Think of it as a personal healthcare bank account where every dollar you put in reduces your taxable income, grows completely tax-free, and comes out tax-free when spent on eligible medical costs.

Unlike traditional health insurance accounts, your HSA balance rolls over indefinitely — there is no "use it or lose it" rule. The funds are yours to keep, invest, and spend whenever you need them, whether that's next month or 30 years from now in retirement.

More than 36 million Americans held HSA accounts as of 2024, with total assets exceeding $116 billion, according to Devenir Research. Understanding how to use an HSA calculator to model your tax savings and investment growth is one of the highest-ROI financial moves available to U.S. workers.

2026 HSA Contribution Limits

The IRS adjusts HSA contribution limits annually for inflation. For tax year 2026, the limits are:

Coverage TypeAnnual LimitMonthly LimitAge 55+ Catch-Up
Self-Only HDHP$4,400$345.83+$1,000
Family HDHP$8,750$691.67+$1,000

HDHP minimum deductibles for 2026: $1,700 (self-only) and $3,400 (family). Maximum out-of-pocket limits: $8,500 (self-only) and $17,000 (family), per IRS Publication 969.

Both your own contributions and your employer's contributions count toward these annual limits. Always use our HSA contribution calculator above to make sure you don't accidentally over-contribute — excess contributions trigger a 6% excise tax.

The Triple Tax Advantage of HSAs — Fully Explained

No other account in the U.S. tax code offers three separate tax benefits at once. Here is exactly how each layer works:

1

Tax-Deductible Contributions

Contributions made via payroll are pre-tax — they reduce your W-2 wages and avoid both federal income tax and FICA (7.65%). Contributions made directly (outside payroll) are tax-deductible on Schedule 1 of Form 1040 and reduce your Adjusted Gross Income (AGI).

2

Tax-Free Growth

Dividends, interest, and capital gains inside your HSA are never taxed — not even when reinvested. Over a 25-year investment horizon, this tax-free compounding can easily double your account balance compared to a taxable brokerage account at the same return rate.

3

Tax-Free Withdrawals

Withdrawals for qualified medical expenses are completely tax-free at any age. This is the benefit that sets HSAs apart from Traditional IRAs and 401(k)s, where withdrawals are always taxable.

💰 Real Dollar Example

A family maximizing their HSA at $8,750 in the 22% federal tax bracket saves: $1,826 in federal income taxes + $635 in FICA taxes = $2,461 in total tax savings this year alone — before a single dollar of investment growth.

How to Calculate Your HSA Tax Savings (Step-by-Step)

Use the HSA calculator above for instant results, or follow these manual steps:

  1. Determine your coverage type: Self-only ($4,400 limit) or family ($8,750 limit).
  2. Enter your planned annual contribution. Don't forget to include any employer HSA contributions — they count toward your limit but also count as tax-free money deposited on your behalf.
  3. Identify your federal marginal tax rate: 10%, 12%, 22%, 24%, 32%, 35%, or 37% depending on your taxable income.
  4. Calculate federal tax savings: Contribution × Federal Tax Rate
  5. Calculate FICA savings (payroll contributions only): Contribution × 7.65%
  6. Add your state income tax rate (if your state taxes income). Note: California, Alabama, and New Jersey do NOT allow HSA deductions at the state level.
  7. Sum all three to get your total annual tax savings.

To understand the impact on your paycheck, pair this with our paycheck calculator with HSA to see exactly how your take-home pay changes.

HSA Calculation Formulas

Annual Tax Savings Formula

Tax Savings = Contribution × (Federal Rate + FICA Rate* + State Rate)

* FICA savings apply only to payroll deductions, not direct contributions.

HSA Future Value Formula

FV = Contribution × [(1 + r)ⁿ − 1] ÷ r

Where r = annual return rate and n = number of years. This assumes annual contributions and end-of-year compounding.

HSA Withdrawal Penalty Formula

Penalty Amount = Non-Qualified Withdrawal × 20%
Total Tax Owed = Withdrawal × (Marginal Rate + 20%)

Applies only before age 65. After 65, penalty disappears; ordinary income tax still applies.

Prorated HSA Contribution Formula

Prorated Limit = Annual Limit ÷ 12 × Eligible Months

Count the first day of each month you were enrolled in a qualifying HDHP.

Partial-Year & Prorated HSA Contributions

If you were not enrolled in an HSA-eligible HDHP for the entire calendar year, you have two options:

Option 1: Pro-Rata Method (Safe)

Divide your annual limit by 12, then multiply by the number of months you were HDHP-eligible on the first day of each month.

Example:

Enrolled in HDHP starting May 1 (self-only) → 8 eligible months

$4,400 ÷ 12 × 8 = $2,933 prorated limit

Option 2: Last-Month Rule (Higher Risk)

If you are HDHP-eligible on December 1, you may contribute the full annual limit. However, you must remain HSA-eligible through the end of the next year (the "testing period"). If you lose eligibility during the testing period, the excess amount becomes taxable income plus a 10% penalty.

Use our HSA contribution calculator to model both scenarios and decide which approach makes sense for your situation.

How to Calculate Excess HSA Contributions & Earnings

Contributing more than the IRS limit triggers a 6% annual excise tax on the excess amount (Form 5329). Here is how to calculate and fix excess contributions:

Step 1 — Calculate Your Excess Contribution

Excess = Total Contributions (yours + employer) − Applicable Annual Limit

Step 2 — Calculate Earnings on the Excess (NIA Formula)

IRS Net Income Attributable (NIA) Formula

NIA = Excess Contribution × 
      (Adjusted Closing Balance − Adjusted Opening Balance)
      ÷ Adjusted Opening Balance

Your HSA custodian (Fidelity, HealthEquity, HSA Bank, etc.) can calculate the NIA for you and will report it on Form 1099-SA. Both the excess contribution and its earnings must be withdrawn by the tax filing deadline (April 15 + extensions) to avoid the excise tax.

If you miss the deadline, the 6% excise tax continues each year until you withdraw the excess. Use the tax calculator to estimate the impact on your overall tax bill.

HSA Investment Growth Calculator Guide

Most HSA providers allow investing once your balance exceeds $1,000–$2,000. Invested HSA funds grow completely tax-free, making long-term investment one of the most powerful wealth-building strategies available.

Annual Contribution10 Years (7% return)20 Years (7% return)30 Years (7% return)
$4,400 (Self-only)$57,000$170,000$392,800
$8,750 (Family)$114,700$340,700$785,600
$9,750 (Family + catch-up)$128,000$381,000$879,900

Estimates assume constant annual contributions, 7% average annual return, and no withdrawals. Actual results will vary.

To model your specific numbers, use our HSA investment growth calculator above. You can also compare how HSA growth stacks up against your other accounts using our 401(k) calculator and IRA calculator.

HSA vs PPO Calculator: Which Plan Saves You More?

The most common question people ask is: "Should I choose an HSA-eligible HDHP or a traditional PPO plan?" The answer depends on your expected healthcare usage. Here is a structured comparison:

FactorHDHP + HSAPPO / HMO
Monthly PremiumLowerHigher
Annual DeductibleHigher ($1,700+)Lower ($300–$1,000)
Tax-Free Savings Account✅ Yes (HSA)❌ No
Copay for Doctor VisitsAfter deductibleUsually $20–$50 flat
Best ForHealthy, low usageFrequent medical care
Long-Term Wealth Building✅ Strong (invest HSA)❌ None

Real-Life HSA vs PPO Example

Assume two single employees, both earning $75,000 in 2026:

  • PPO: Monthly premium $350 = $4,000/year. Had $800 in medical costs covered at 80% after $400 deductible. Total cost: $4,680.
  • HDHP + HSA: Monthly premium $180 = $2,160/year. Had $800 in medical costs paid from HSA (pre-tax dollars). Employer contributed $600 to HSA. Contributed the maximum $4,400 to HSA, saving $968 in federal taxes + $317 in FICA. Net total cost: ~$2,030 — a $2,650 advantage over the PPO.

Use the HSA vs PPO calculator above to plug in your own plan premiums and expected usage.

HSA vs FSA: Understanding the Difference

Both accounts offer pre-tax savings for healthcare, but they work very differently. If you're deciding between them, use our FSA calculator alongside this HSA tool to compare.

FeatureHSAFSA
Health Plan RequirementHDHP requiredAny plan
2026 Contribution Limit$4,400 / $8,750$3,050
RolloverUnlimited rolloverUse-it-or-lose-it ($640 carryover max)
OwnershipEmployee-ownedEmployer-owned
Investable✅ Yes❌ Typically no
Portable (job change)✅ Yes❌ Usually no
Triple Tax Advantage✅ Yes❌ No (no tax-free growth)
Available at Start of Year❌ Must accumulate✅ Full amount upfront

Using Your HSA as a Retirement Account

Many financial planners call the HSA the "stealth IRA" because it is the only account with triple tax advantages. Here is how to optimize it for retirement:

The Receipt Reimbursement Strategy

Pay all current medical expenses out-of-pocket. Save every receipt. Then, 10, 20, or even 30 years later, reimburse yourself from your invested HSA balance — with no time limit on reimbursements. Your HSA investments compound tax-free for decades, then you pull out tax-free cash by submitting those old receipts.

After Age 65: HSA = Better Than a Traditional IRA

After 65, you can withdraw HSA funds for ANY purpose. Non-medical withdrawals are taxed as ordinary income (like a Traditional IRA) — but qualified medical withdrawals remain 100% tax-free, unlike an IRA. This flexibility makes the HSA superior to both a Traditional IRA and a Roth IRA for healthcare costs in retirement.

According to Fidelity's 2024 Retiree Health Care Cost Estimate, a 65-year-old couple retiring today will need an estimated $315,000 for healthcare expenses in retirement. A maxed-out HSA invested for 25 years at 7% grows to roughly $785,000 for a family — more than covering this expense.

Model your HSA retirement projections alongside our retirement calculator and 401(k) calculator.

HSA Withdrawal Penalty Calculator Guide

Withdrawing HSA funds for non-qualified expenses before age 65 is costly. Here is a breakdown of what you owe:

Before Age 65 — Non-Qualified Withdrawal

  • 20% penalty on the withdrawal amount
  • Ordinary income tax (federal + state) on the withdrawal
  • ✗ Total effective cost can exceed 40–57% in high tax brackets

Age 65+ — Non-Qualified Withdrawal

  • No 20% penalty
  • ✅ Only ordinary income tax applies (like a Traditional IRA)
  • ✅ Qualified medical withdrawals remain 100% tax-free

Exception: Certain situations exempt you from the penalty even before 65, including death, disability, and becoming Medicare-eligible. Use the tax calculator to estimate your total tax liability if you must make a non-qualified withdrawal.

What Counts as a Qualified HSA Medical Expense?

Per IRS Publication 502, qualified medical expenses include a wide range of costs. Here are the most common:

Medical & Preventive

  • Doctor & specialist visits
  • Hospital & surgery
  • Lab tests & X-rays
  • Vaccines & flu shots
  • Physical therapy
  • Chiropractic care

Prescriptions & OTC

  • Prescription medications
  • Insulin (no Rx needed)
  • OTC drugs (no Rx required post-2020)
  • Menstrual care products
  • Sunscreen (SPF 15+)
  • First aid kits

Dental & Vision

  • Dental cleanings & fillings
  • Orthodontics & braces
  • Dentures & implants
  • Eye exams & glasses
  • Contact lenses & solution
  • LASIK surgery

Mental Health & Other

  • Therapy & psychiatry
  • Addiction treatment
  • Hearing aids & batteries
  • Wheelchairs & crutches
  • Long-term care (within limits)
  • COBRA premiums while unemployed

Not Qualified: Gym memberships, cosmetic surgery, teeth whitening, non-prescription vitamins (with exceptions), health insurance premiums (except COBRA, Medicare, and long-term care within limits).

10 Tips to Maximize Your HSA in 2026

  1. Contribute the maximum every year. Even if you can't afford the full limit upfront, set up automatic monthly contributions to reach the max by year-end.
  2. Capture your full employer HSA match. Many employers contribute $500–$1,500/year — always contribute enough to receive the full amount.
  3. Make contributions via payroll, not direct deposit. Payroll contributions avoid FICA taxes (an extra 7.65% savings). Direct contributions are still tax-deductible but miss the FICA benefit.
  4. Invest your HSA balance. Move beyond cash and invest in low-cost index funds once you have 3–6 months of out-of-pocket maximum saved in cash.
  5. Save all medical receipts. There is no time limit to reimburse yourself. Save receipts in a digital folder (Google Drive, Dropbox) with the date and amount.
  6. Don't use your HSA debit card for small purchases. Pay out-of-pocket for minor expenses and let your HSA investments grow.
  7. Make a prior-year contribution. You can contribute to your HSA for the prior tax year up until April 15. If you have extra cash in early 2026, you can still make a 2026 contribution.
  8. Use the catch-up contribution if you're 55+. An extra $1,000 per year is available once you turn 55. If your spouse is also 55+, they need their own HSA to make a separate catch-up contribution.
  9. Plan for Medicare enrollment. Once you enroll in Medicare, you can no longer contribute to an HSA, but you can continue to use existing funds. Stop contributions 6 months before enrolling to avoid retroactive HDHP disqualification.
  10. Run the numbers with our calculator. Use the HSA tax savings calculator above to see your exact benefit at your income level, then pair it with the take-home salary calculator to see the net impact on your paycheck.
U

USA Salary Tools Editorial Team

This page was reviewed and updated for 2026 by the USA Salary Tools editorial team, cross-referencing IRS Publication 969, IRS Publication 502, and the Bureau of Labor Statistics Employee Benefits Survey. All contribution limits and HDHP thresholds reflect IRS announcements for tax year 2026. This content is for educational purposes only and does not constitute financial, tax, or legal advice. Consult a licensed financial advisor or tax professional for personalized guidance.

Frequently Asked Questions About HSA Calculators

You are eligible if you are enrolled in a qualifying High Deductible Health Plan (HDHP) — minimum deductible of $1,700 for self-only or $3,400 for family coverage — have no other disqualifying health coverage, are not enrolled in Medicare, and are not claimed as a dependent on another person's tax return.
The 2026 HSA contribution limits are $4,400 for self-only HDHP coverage and $8,750 for family coverage. If you are age 55 or older, you can add a $1,000 catch-up contribution, bringing your maximum to $5,400 (self-only) or $9,750 (family).
Multiply your HSA contribution by your marginal federal tax rate. Contributing $4,400 at a 22% bracket saves $968 in federal income tax alone. Payroll contributions also avoid FICA (7.65%), adding roughly $336 more in savings — a total of about $1,304 on the self-only maximum.
The IRS uses the Net Income Attributable (NIA) formula: NIA = Excess Contribution × (Adjusted Closing Balance − Adjusted Opening Balance) ÷ Adjusted Opening Balance. Your HSA custodian typically calculates this. You must withdraw the excess plus earnings by your tax filing deadline (including extensions) to avoid the 6% annual excise tax.
Non-qualified withdrawals before age 65 are subject to regular income tax plus a 20% penalty. After age 65, the 20% penalty disappears and non-medical withdrawals are simply taxed as ordinary income, making the HSA function similarly to a Traditional IRA for non-medical costs.
Use the pro-rata method: Annual Limit ÷ 12 × Number of Eligible Months. If you were HSA-eligible for 8 months under self-only coverage, your limit is $4,400 ÷ 12 × 8 = $2,933. Alternatively, under the Last-Month Rule, if you are eligible on December 1, you may contribute the full annual amount — but you must remain HDHP-enrolled for the following 12-month testing period.
Compare total annual costs: HDHP premium + expected out-of-pocket + HSA tax savings vs. PPO premium + expected out-of-pocket. If the HDHP premium savings plus employer HSA contribution exceed the additional out-of-pocket risk, the HSA-eligible plan often wins. Our HSA vs PPO section below walks through a real example.
Yes — HSA and 401(k) limits are completely independent. Many advisors recommend maximizing your HSA first (due to triple tax advantages), then contributing at least enough to your 401(k) to capture your employer's full match.