HSA Calculator — Project Your Health Savings Account Growth

This free HSA calculator models the long-term value of a Health Savings Account by projecting tax-free growth, comparing HSA vs. taxable investing, and checking your HSA contribution limits against current IRS rules. Whether you are new to HSAs or maximizing an existing account, the tool helps you visualize how the HSA triple tax advantage compounds over time.

Contribution Check & Tax Savings

Enter your details to check your contribution limit and see how much you save on taxes this year.

Contribution Limit (2026)
$4,400.00
Base limit (no catch-up)$4,400.00
Your total contribution$4,300.00

You're contributing $4,300 — $100 below the max of $4,400.

Immediate Tax Savings This Year
$1,032.00
Federal income tax saved$1,032.00
Effective cost of contribution$3,268.00

Your $$4,300 contribution only costs you $3,268.00 after tax savings.

The triple tax advantage: Your contribution is pre-tax (saving you $1,032.00 this year), all investment growth is tax-free, and qualified medical withdrawals are tax-free. No other account in the U.S. tax code offers all three benefits. See the tab to see the long-term impact.

Tax year: 2026 · Source: IRS Publication 969

Educational purposes only. This tool is for educational purposes only and is not financial advice. It provides projections based on the assumptions you enter and publicly available IRS contribution limits. Consult a licensed financial advisor for guidance specific to your situation.

What Is an HSA (Health Savings Account)?

A Health Savings Account (HSA) is a tax-advantaged savings account available to anyone enrolled in a High-Deductible Health Plan (HDHP). Unlike a Flexible Spending Account (FSA), HSA funds roll over from year to year — nothing is forfeited. You own the account, it moves with you if you change jobs, and there is no deadline to spend the balance. According to the IRS (Publication 969), the account is designed to help individuals save for future medical expenses on a tax-advantaged basis.

Beyond paying for current medical bills, many people now treat their HSA as a powerful retirement savings vehicle. Funds can be invested in mutual funds, ETFs, and other securities through HSA providers like Fidelity, HSA Bank, and Vanguard, and the account has no Required Minimum Distributions (RMDs) — a benefit not shared by Traditional IRAs or 401(k)s.

Who Qualifies for an HSA?

To open and contribute to an HSA, you must meet all four requirements set by the IRS:

  1. You are covered by a High-Deductible Health Plan (HDHP).
  2. You have no other health coverage (limited exceptions apply for dental, vision, and specific disease insurance).
  3. You are not enrolled in Medicare.
  4. You cannot be claimed as a dependent on someone else's tax return.

If you meet these criteria, you can contribute up to the annual IRS limit. Both you and your employer can contribute, but the combined total cannot exceed the annual cap.

HSA Contribution Limits (2026)

The IRS adjusts HSA contribution limits each year. For 2026, the limits are:

Self-Only: $4,400  ·  Family: $8,750  ·  Age 55+ catch-up: +$1,000

If you are 55 or older, you can make an additional $1,000 catch-up contribution. The self-only limit applies if only you are covered by the HDHP; the family limit applies if you have coverage for your spouse or dependents. The combined total across all HSAs you own cannot exceed the annual cap. Source: IRS HSA Contribution Limits.

The HSA Triple Tax Advantage

The HSA triple tax advantage is the single most compelling reason to maximize your Health Savings Account. No other account in the U.S. tax code offers all three of these benefits simultaneously:

  1. Tax-deductible contributions — Every dollar you contribute reduces your taxable income for the year.
  2. Tax-free growth — Investment gains inside the HSA compound without annual taxes on dividends or capital gains.
  3. Tax-free qualified withdrawals — HSA funds used for eligible medical expenses are completely tax-free at any age.

Fidelity estimates that a couple retiring at 65 may need approximately $315,000 for health care costs in retirement. The HSA triple tax advantage makes this account one of the most effective ways to prepare for that expense while building long-term wealth.

HSA Investing & HSA vs. Taxable Accounts

Most HSA providers allow you to invest your balance once it exceeds a minimum threshold (often $1,000–$2,000). Common options include index funds, ETFs, and target-date funds. Providers like Fidelity, Vanguard, and HSA Bank offer low-cost investment options. A popular strategy is the "pay out of pocket, invest the HSA" approach: pay current medical expenses from your checking account, save receipts, and let your HSA grow tax-free. There is no time limit for reimbursement.

In a standard taxable brokerage account, you pay taxes on dividends each year and owe capital gains tax when you sell. An HSA eliminates all of those taxes — even accounting for the contribution limit, the tax savings compound into a meaningful difference over time. The calculator's HSA vs. Taxable Account comparison chart visualizes exactly how much more wealth you accumulate through an HSA. For a deeper look at compounding mechanics, see our Compound Interest Calculator.

HSA Retirement Benefits & How to Use This Calculator

After age 65, an HSA functions much like a Traditional IRA: you can withdraw for any purpose, and non-medical withdrawals are taxed as ordinary income — but without the 10% early withdrawal penalty. Medical withdrawals remain tax-free for life. Key retirement advantages include no Required Minimum Distributions (RMDs), tax-free Medicare premium payments, and qualified long-term care insurance coverage.

This HSA Calculator has three sections. First, the Eligibility & Contribution Limit Check verifies whether you are within IRS limits based on your coverage type and age. Second, the Triple Tax Advantage Projection shows cumulative contributions, tax savings, investment earnings, and tax-free medical withdrawals over your accumulation period. Third, the HSA vs. Taxable Account Comparison visualizes the real dollar impact of the triple tax advantage. Explore more with our FIRE Planner or Roth IRA Calculator.

All projections are estimates based on the assumptions you enter and publicly available IRS contribution limits. They are not financial advice. For personalized guidance, consult a licensed financial advisor.

Build a Complete Financial Plan

An HSA is one piece of a comprehensive strategy. Use our FIRE Planner for Monte Carlo-based early retirement modeling, the 401(k) Planner to project employer-matched savings, Roth Conversion Calculator for tax optimization strategies, and the Net Worth Tracker to monitor your overall financial progress. Together, these HSA calculator and companion tools provide a complete picture of your retirement readiness.

Frequently Asked Questions

HSA Calculator FAQ

Quick answers to the most common questions about Health Savings Accounts, contribution limits, and how to use this calculator.

What is a Health Savings Account (HSA)?

A Health Savings Account (HSA) is a tax-advantaged savings account designed for individuals enrolled in a High-Deductible Health Plan (HDHP). Unlike a Flexible Spending Account (FSA), HSA funds roll over year to year and never expire. You own the account, it is portable if you change jobs, and there is no deadline to spend the balance. HSAs offer a unique triple tax advantage — tax-deductible contributions, tax-free growth, and tax-free withdrawals for qualified medical expenses — making them one of the most powerful savings vehicles available.

Who is eligible to contribute to an HSA?

To contribute to an HSA you must meet all four IRS requirements: (1) be covered by a qualifying High-Deductible Health Plan (HDHP), (2) have no other health coverage — with limited exceptions for dental, vision, disability, and specific-disease insurance, (3) not be enrolled in Medicare, and (4) not be claimed as a dependent on someone else's tax return. You can contribute regardless of employment status, but employer contributions and your own contributions together must stay within the annual IRS limits.

What are the HSA contribution limits?

For the 2026 tax year, the IRS 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. Employer contributions count toward these limits. HSA contribution limits are adjusted annually for inflation — typically announced by the IRS each May or June.

What is the HSA triple tax advantage?

The HSA triple tax advantage is a rare combination found nowhere else in the U.S. tax code: (1) Contributions are tax-deductible or made pre-tax through payroll, reducing your current taxable income; (2) Investment growth is completely tax-free, with no capital gains or dividend taxes; (3) Withdrawals for qualified medical expenses — including doctor visits, prescriptions, dental, vision, and more — are tax-free at any time. This makes HSAs potentially more tax-efficient than a 401(k) or IRA for long-term savings.

Should I invest my HSA or keep it in cash?

It depends on your time horizon and spending habits. If you can cover current medical expenses out of pocket and let your HSA grow, investing is generally the stronger long-term strategy — tax-free compound growth on investments can far outpace a cash savings rate. Most HSA providers allow investing once your balance exceeds a minimum threshold, typically $1,000–$2,000. Keep enough cash to cover near-term expected medical costs, and invest the rest in low-cost index funds. If you regularly tap your HSA for current expenses, keeping more in cash may be appropriate.

What happens to my HSA after age 65?

After age 65, your HSA functions similarly to a Traditional IRA for non-medical spending: you can withdraw funds for any purpose, and those withdrawals are taxed only as ordinary income — with no 20% penalty. For qualified medical expenses, withdrawals remain completely tax-free, regardless of age. HSAs are not subject to Required Minimum Distributions (RMDs), unlike Traditional IRAs and 401(k)s, giving you more flexibility in retirement income planning. Many retirees use their HSA to reimburse themselves for Medicare premiums and out-of-pocket medical costs tax-free.

Can I use my HSA for non-medical expenses?

Yes, but the tax treatment differs by age. Before age 65, non-medical withdrawals are taxed as ordinary income plus a 20% penalty — making them very costly. After age 65, non-medical withdrawals are taxed as ordinary income only, with no penalty, similar to a Traditional IRA. You can also use your HSA to reimburse yourself for any qualified medical expense you incurred after opening the HSA, even years later, as long as you keep receipts.

How does an HSA compare to a taxable investment account?

An HSA is generally superior to a taxable brokerage account for medical expense savings due to its triple tax advantage. In a taxable account, you pay taxes on contributions, capital gains, and dividends. In an HSA, all three are eliminated for qualified medical withdrawals. Even compared to a Roth IRA — which offers tax-free growth and withdrawals — the HSA has an edge because contributions are also tax-deductible, whereas Roth contributions are after-tax. For pure medical savings with a long time horizon, the HSA wins on tax efficiency. The main trade-off: HSA funds must eventually be used for medical expenses to realize the full tax benefit.

Is my data stored or shared?

No. This HSA calculator runs entirely in your browser using client-side JavaScript. No data is transmitted to any server, and nothing is stored persistently. Your inputs, projections, and results stay on your device and are never shared with third parties. The tool works offline once loaded and leaves no trace after you close the tab.

Is this calculator financial advice?

No. This calculator is an educational tool for informational and illustrative purposes only. It does not provide personalized financial, tax, or investment advice. HSA rules, contribution limits, and tax treatment can change, and individual circumstances vary. Consult a qualified financial advisor or tax professional for decisions specific to your situation. IRS publication 969 is the authoritative source for HSA rules.

How It Works

Methodology

How the triple tax advantage works, how tax savings are calculated, and the assumptions behind the growth projection and HSA-vs-taxable comparison.

1 The Triple Tax Advantage

The HSA is the only savings account in the U.S. tax code that offers three simultaneous tax benefits:

  • Pre-tax contributions: Your HSA contributions are deducted from your gross income, reducing your federal (and usually state) income tax — just like a Traditional 401(k) or Traditional IRA.
  • Tax-free growth: Investment gains, dividends, and interest inside your HSA grow completely tax-free. You never pay capital gains or dividend tax on HSA investments.
  • Tax-free qualified withdrawals: When you withdraw for qualified medical expenses (doctor visits, prescriptions, dental, vision, and more), the money comes out entirely tax-free — no income tax, no capital gains tax, ever.
Comparison: A 401(k) offers pre-tax in and tax-deferred growth, but withdrawals are taxed as income. A Roth IRA offers after-tax in and tax-free growth/withdrawals. Only the HSA gets all three: pre-tax in, tax-free growth, and tax-free qualified withdrawals.

2 Tax Savings Calculation

Your immediate tax savings are calculated by multiplying your HSA contribution by your marginal federal income tax rate:

Tax Savings = Contribution × Marginal Tax Rate

For example, if you contribute $4,300 and your marginal tax rate is 24%, your federal tax savings this year are $1,032. Some employers also allow pre-FICA contributions, which save an additional 7.65% on Social Security and Medicare taxes.

The tool does not model state income taxes, which can provide additional savings in states that conform to federal HSA treatment.

3 Long-Term Growth Projection

The growth projection uses the same compound-growth formula as the Compound Interest Calculator and the Roth IRA Calculator:

Balanceyear N = Balanceyear N-1 × (1 + r) + Annual Contribution

This is a simplified straight-line projection assuming a constant annual return. All growth in the HSA is completely tax-free, so the projected balance is your after-tax value — there is no hidden tax liability. For a probabilistic view incorporating market volatility, see the Monte Carlo simulation in the FIRE Planner.

4 HSA vs. Taxable Brokerage Account

The side-by-side comparison projects two accounts with the same starting balance and annual contributions over the same time period:

  • HSA: Contributions are pre-tax (you save money on taxes immediately), growth is tax-free, and qualified medical withdrawals are tax-free. The full balance is yours at retirement.
  • Taxable Brokerage: Contributions are after-tax (you've already paid income tax on that money). Investment growth is reduced annually by tax drag — dividends, distributions, and realized gains are taxed each year. The effective annual return is lower than the headline rate.

The tool models the taxable account's annual tax drag as a flat percentage reduction in the effective return. The default is 1.0% (approximating the typical impact of dividend taxes and occasional capital gains distributions on a diversified portfolio). You can adjust this to match your situation.

Key caveat: This comparison assumes you withdraw HSA funds for qualified medical expenses. If you withdraw HSA funds for non-medical purposes before age 65, a 20% penalty applies. After age 65, non-medical withdrawals are taxed as income (like a Traditional 401(k)) but without penalty.

5 The Post-65 Rule

After age 65, your HSA becomes remarkably flexible:

  • Qualified medical withdrawals remain completely tax-free at any age — there is no time limit on reimbursing yourself for medical expenses.
  • Non-medical withdrawals are taxed as ordinary income (identical to a Traditional 401(k) or IRA), but without the 20% penalty that applies before age 65.
  • No Required Minimum Distributions (RMDs) — unlike Traditional IRAs and 401(k)s, HSAs are not subject to RMDs, giving you more flexibility in retirement income planning.

Sources & Last Updated

HSA contribution limits change annually. Each source is linked to its primary IRS publication.

HSA Contribution Limits (2026) — Self-only: $4,400 / Family: $8,750 / Age 55+ catch-up: +$1,000. Source: IRS: Health Savings Accounts and IRS Publication 969. Last updated: 2026 tax year · Annual refresh checkpoint — review when IRS announces next year's limits (typically May/June).
HDHP Requirement — To contribute to an HSA, you must be enrolled in a High-Deductible Health Plan (HDHP) and have no other health coverage (with limited exceptions). Source: IRS Publication 969. Last updated: 2026 tax year · Annual refresh checkpoint.
Written by the FIRE Planner Pro team ·