What the HSA Calculator does
A Health Savings Account (HSA) is a US tax-advantaged account paired with a High-Deductible Health Plan (HDHP). This calculator answers two practical questions at once: how large your HSA could grow if you keep contributing and investing it, and how much you save on income tax each year by making those contributions. It uses the confirmed 2026 IRS contribution limits and caps your entry automatically, so the projection always reflects an amount you are actually allowed to contribute.
Because HSA earnings grow tax-free and qualified medical withdrawals are tax-free too, a long-invested HSA behaves much like a dedicated retirement account for healthcare — which is why it pairs naturally with a 401(k) calculator and a Roth IRA calculator when you plan your overall savings mix.
How it works
The tool applies the IRS cap first, then compounds the result. Your combined personal plus employer contribution is limited to the statutory ceiling for your coverage type, plus the $1,000 catch-up if you are 55 or older:
C = min(you + employer, IRSLimit(coverage) + (age ≥ 55 ? 1,000 : 0))
That capped amount C is then treated as a level yearly deposit made at the end of each year (an ordinary annuity) on top of your starting balance B0, compounding annually at your expected return r for n years:
FV = B0 · (1 + r)ⁿ + C · [ (1 + r)ⁿ − 1 ) / r ]
When the expected return is exactly 0%, that annuity factor reduces to its limit, so the projection is simply B0 + C · n — no division-by-zero. The annual income-tax saving is the deductible amount times your marginal rate: C · t.
Worked example
Self-only coverage, a $2,000.00 starting balance, a $4,400.00 personal contribution plus a $500.00 employer contribution, 6% expected return, 20 years, and a 24% marginal tax rate. Notice that the $4,900.00 requested is trimmed to the $4,400.00 self-only cap before anything compounds. These figures are produced by the same engine that powers the calculator above.
| Step | Value |
|---|---|
| Starting balance | $2,000.00 |
| Requested contribution (you + employer) | $4,400.00 + $500.00 = $4,900.00 |
| Counted after the 2026 self-only cap ($4,400) | $4,400.00 |
| Years compounding at 6% | 20 |
| Total contributions over 20 years | $88,000.00 |
| Tax-free investment growth | $78,270.87 |
| Projected balance after 20 years | $168,270.87 |
| Annual income-tax savings (24% rate) | $1,056.00 |
2026 IRS limits at a glance
The contribution ceilings, minimum HDHP deductibles and out-of-pocket maximums are all inflation-indexed each year by IRS revenue procedure. The confirmed 2026 figures the calculator uses are:
| 2026 figure | Self-only | Family |
|---|---|---|
| Annual contribution limit | $4,400.00 | $8,750.00 |
| Catch-up (age 55+) | + $1,000.00 | + $1,000.00 |
| Minimum HDHP deductible | $1,700.00 | $3,400.00 |
| Maximum out-of-pocket | $8,500.00 | $17,000.00 |
The catch-up is a flat $1,000 for anyone 55 or older by year-end and is not inflation-indexed. If both spouses are 55+, each needs their own HSA to claim their own catch-up.
HSA vs 401(k) vs Roth IRA
Each account is taxed differently, and the HSA is the only one that is tax-free at all three stages when used for medical costs:
- HSA — deductible in, tax-free growth, tax-free out for qualified medical expenses (the “triple tax advantage”).
- Traditional 401(k) — deductible in and tax-deferred growth, but taxed as ordinary income on withdrawal. Model it with the 401(k) calculator.
- Roth IRA — taxed going in, then tax-free growth and tax-free qualified withdrawals. See the Roth IRA calculator.
Because an HSA can be invested and left untouched for decades, many savers treat it as a supplemental retirement bucket — a strategy that fits neatly alongside a broader FIRE plan or a general savings-goal projection.
Assumptions and limitations
This projection is a clean, deterministic illustration. Be aware of what it deliberately leaves out:
- It assumes you are HSA-eligible (covered by a qualifying HDHP, not on Medicare, not claimed as a dependent) and that the entered contribution is fully deductible.
- Contributions are modeled as a level annual stream at year-end and compound annually at a fixed return. Real returns vary year to year and can be negative.
- Age is held fixed for the catch-up threshold — the tool does not re-check whether you cross 55 partway through a multi-year projection.
- The tax-savings figure is income-tax only. Payroll (cafeteria-plan) contributions also avoid the 7.65% FICA tax, which is not included.
- It does not model account fees, state tax treatment (a few states, e.g. California and New Jersey, tax HSA contributions and earnings), withdrawals, or the last-month eligibility rule.
Frequently asked questions
How does this HSA calculator project my account balance?+
It combines your current balance with a level annual contribution (your personal contribution plus any employer contribution, capped at the IRS limit for your coverage type and age) and compounds the total annually at your expected rate of return. The result is the future value of a lump sum plus the future value of a yearly contribution stream, using the same math as any long-term investment growth projection.
What is the 2026 HSA contribution limit?+
For 2026, the IRS limit is $4,400 for self-only HDHP coverage and $8,750 for family coverage. If you're 55 or older by the end of the year, you can add a $1,000 catch-up contribution on top of either limit. This calculator automatically caps your combined personal-plus-employer contribution at these figures.
What is the HSA catch-up contribution?+
Account holders who are age 55 or older by the end of the tax year can contribute an extra $1,000 per year beyond the standard limit. Unlike some other catch-up rules, this amount is fixed by statute and not inflation-indexed. If you're married and both spouses are 55+, each spouse needs their own HSA to use their own $1,000 catch-up — it can't be combined into one account.
What makes an HSA 'triple tax-advantaged'?+
Contributions are tax-deductible (or made pre-tax through payroll), the invested balance grows tax-free, and withdrawals for qualified medical expenses are also tax-free. No other common account offers all three benefits at once — a traditional 401(k) defers tax on contributions and growth but taxes withdrawals, while a Roth IRA taxes contributions upfront but not growth or withdrawals.
Am I eligible to contribute to an HSA?+
You generally need to be covered by a qualifying High-Deductible Health Plan (HDHP) on the first day of the month, have no other disqualifying health coverage, not be enrolled in Medicare, and not be claimed as a dependent on someone else's tax return. For 2026, an HDHP must have a minimum deductible of $1,700 (self-only) or $3,400 (family) and an out-of-pocket maximum no higher than $8,500 (self-only) or $17,000 (family).
What happens if I contribute more than the IRS limit?+
Excess contributions are subject to a 6% excise tax for each year they remain in the account, unless you withdraw the excess amount (plus any earnings on it) before your tax filing deadline. This calculator caps the contribution used in the projection at your statutory limit so the growth figures reflect only the allowed amount — it does not model the excise-tax penalty itself.
Does this calculator include the extra tax savings from payroll (FICA) deductions?+
No — the tax-savings figure shown is income-tax only (your contribution times your entered marginal tax rate). If your HSA contribution runs through an employer payroll or cafeteria plan, you also avoid the 7.65% FICA payroll tax (Social Security and Medicare) on that amount, which is an additional saving on top of what's displayed here.
Should I invest my HSA balance instead of leaving it in cash?+
Many HSA providers let you invest funds above a small cash threshold in mutual funds or ETFs, similar to a 401(k) or IRA. Because HSA growth is entirely tax-free (unlike a taxable brokerage account), keeping a long-term-horizon balance invested rather than sitting in a low-yield cash account can meaningfully increase how much you have available for future medical costs — this calculator's expected-return input lets you model that growth.
What's the difference between an HSA and an FSA?+
An HSA requires HDHP coverage, has no 'use it or lose it' rule (unused balances roll over and stay yours even after you leave your job), can be invested for tax-free growth, and is fully portable. A Flexible Spending Account (FSA) is employer-owned, typically must be spent within the plan year (with a small grace period or carryover allowed by some employers), and doesn't carry the same investment or portability features.
Can I use HSA funds for anything other than medical expenses?+
You can withdraw HSA funds for any purpose, but non-qualified withdrawals before age 65 are taxed as ordinary income plus a 20% penalty. After age 65, non-medical withdrawals are taxed as ordinary income (similar to a traditional 401(k)) but no longer incur the 20% penalty — which is why many people treat their HSA as a supplemental retirement account for medical costs later in life.
How much should I contribute to my HSA each year?+
A common approach is to contribute enough to cover your expected annual medical costs (at minimum your HDHP deductible), and if you can afford more, contribute up to the full IRS limit to maximize the tax-free growth. Because HSA funds never expire and can be invested, maxing out your contribution — even if you don't spend it right away — is often treated as a highly efficient long-term savings strategy.
Do HSA contribution limits or HDHP thresholds change every year?+
Yes. The IRS adjusts the annual HSA contribution limits and the HDHP minimum-deductible / out-of-pocket-maximum thresholds for inflation each year via a revenue procedure, typically released the year before it takes effect. This calculator uses the confirmed 2026 figures; check the IRS's current guidance if you're projecting for a different tax year.
Do employer HSA contributions count toward my annual contribution limit?+
Yes. The IRS limit applies to the combined total from every source, not to each contributor separately — your own payroll or direct deposits plus anything your employer adds all draw from the same statutory cap. This calculator reflects that rule directly: it adds your personal and employer contributions together first, then applies the single IRS limit for your coverage type and age.
What can I use my HSA funds for tax-free?+
Withdrawals are tax-free when spent on IRS-qualified medical expenses, which covers most out-of-pocket healthcare costs: doctor and dental visits, prescriptions, vision care, mental health services, and amounts applied to your HDHP deductible or copays. Health insurance premiums generally don't qualify, with a few exceptions — COBRA continuation coverage, premiums paid while collecting unemployment benefits, and Medicare Part B/D or Medicare Advantage premiums once you turn 65. Keep your receipts; the IRS doesn't ask for proof at withdrawal time but does if your return is ever audited.
Disclaimer
Sources
- IRS Publication 969 — Health Savings Accounts and Other Tax-Favored Health Plans
- IRS Revenue Procedure 2025-19 — 2026 HSA and HDHP inflation-adjusted limits
- U.S. SEC Investor.gov — Compound Interest Calculator (future value of principal plus a contribution stream)
- AccountingTools — Future Value of an Ordinary Annuity (formula reference)
Formula and data last reviewed by the TheCalculatorHive team on 11 July 2026. Figures are for general information, not professional advice.
Related calculators
Project your 401(k) balance at retirement from your age, salary, contribution rate and tiered employer match — with the 2026 IRS limits and 50+ catch-up.
Roth IRAProject your Roth IRA balance at retirement — tax-free — from your starting balance, annual contribution, current age, retirement age and expected return, with a year-by-year growth chart and a total contributions vs growth breakdown.
RetirementFind the retirement corpus you need and whether you are on track — from your age, monthly expenses, inflation and expected pre- and post-retirement returns. Uses the inflation-growing present-value method, shows the surplus or shortfall, the monthly SIP to close the gap, a 25× / 4%-rule sanity band and a year-by-year accumulation chart.