HSA Calculator: 2027 HSA Limits
$4,500 self-only or $9,000 family in 2027: project your HSA growth & triple tax advantage
Last updated November 10, 2026
Method: Uses the IRS HSA contribution limits for the year you choose: 2026 from Rev. Proc. 2025-19 ($4,400 self-only, $8,750 family) or 2027 from Rev. Proc. 2026-24 ($4,500 self-only, $9,000 family), each +$1,000 catch-up at age 55+, and the federal income tax bracket rates (10% to 37%) to estimate the tax saved on pre-tax contributions. Growth is projected at your chosen constant annual return.
Included: Final balance, total contributions, tax-free investment growth, a year-by-year schedule, and estimated federal income tax saved on contributions (the triple tax advantage).
Not included: Payroll FICA savings, state income tax (which varies by state), employer contribution timing, market volatility, and IRS limits after 2027. The calculator opens on 2026, the year you can still contribute for until April 2027; this is an estimate, not tax advice.
๐ฅ HSA details
2026 federal income tax brackets (10% to 37%).
๐ Projected HSA balance
๐ก๏ธ Triple tax advantage
1.Pre-tax contributions: at a 24% marginal rate, contributing $175,000 cuts your federal tax bill by about $42,000 over 20 years.
2.Tax-free growth: the $166,186 of investment earnings is never taxed while it stays in the account.
3.Tax-free withdrawals: money spent on qualified medical expenses comes out completely tax-free.
๐ Growth by year
| Year | Contributed | Growth | Balance |
|---|---|---|---|
| 1 | $8,750 | $525 | $9,275 |
| 2 | $17,500 | $1,607 | $19,107 |
| 3 | $26,250 | $3,278 | $29,528 |
| 4 | $35,000 | $5,575 | $40,575 |
| 5 | $43,750 | $8,534 | $52,284 |
| 6 | $52,500 | $12,196 | $64,696 |
| 7 | $61,250 | $16,603 | $77,853 |
| 8 | $70,000 | $21,799 | $91,799 |
| 9 | $78,750 | $27,832 | $106,582 |
| 10 | $87,500 | $34,752 | $122,252 |
| 11 | $96,250 | $42,612 | $138,862 |
| 12 | $105,000 | $51,469 | $156,469 |
| 13 | $113,750 | $61,382 | $175,132 |
| 14 | $122,500 | $72,415 | $194,915 |
| 15 | $131,250 | $84,635 | $215,885 |
| 16 | $140,000 | $98,113 | $238,113 |
| 17 | $148,750 | $112,924 | $261,674 |
| 18 | $157,500 | $129,150 | $286,650 |
| 19 | $166,250 | $146,874 | $313,124 |
| 20 | $175,000 | $166,186 | $341,186 |
HSA calculator: everything you need to know
An HSA calculator (health savings account calculator) projects how the account grows tax-free and how much federal income tax your pre-tax contributions save. Example: contributing the 2026 family limit of $8,750 a year for 20 years at an assumed 6% return grows to about $341,200, roughly $166,200 of tax-free growth on the $175,000 paid in. At the new 2027 family limit of $9,000, the same 20 years reach about $350,900. The calculator opens on 2026; switch the contribution year to 2027 to use the new limits.
2027 and 2026 HSA contribution limits
The IRS sets the maximum you can contribute each year based on your coverage type, with an extra catch-up amount once you turn 55. The 2027 limits come from Rev. Proc. 2026-24, published May 29, 2026; the 2026 limits from Rev. Proc. 2025-19:
| Coverage | 2027 limit | 2027 with 55+ catch-up | 2026 limit | 2026 with 55+ catch-up |
|---|---|---|---|---|
| Self-only | $4,500 | $5,500 | $4,400 | $5,400 |
| Family | $9,000 | $10,000 | $8,750 | $9,750 |
These caps include contributions from both you and your employer. Contributing more than the limit triggers a 6% excise tax on the excess each year until it is withdrawn, so the calculator projects only up to the cap. The $1,000 catch-up is set by law and is not adjusted for inflation, so it stays the same in 2027. For comparison, the 2025 limits were $4,300 and $8,550.
To contribute at all you need HDHP coverage. The plan must meet these IRS minimums and maximums (Rev. Proc. 2026-24 for 2027, Rev. Proc. 2025-19 for 2026):
| HDHP rule | Self-only | Family |
|---|---|---|
| Minimum annual deductible, 2027 | $1,750 | $3,500 |
| Maximum out-of-pocket, 2027 | $8,700 | $17,400 |
| Minimum annual deductible, 2026 | $1,700 | $3,400 |
| Maximum out-of-pocket, 2026 | $8,500 | $17,000 |
What changed for HSAs in 2026
The 2025 tax law, P.L. 119-21, made three changes that the IRS explained in Notice 2026-5. From January 1, 2026, bronze and catastrophic plans available as individual coverage through a Health Insurance Marketplace count as HDHPs, even when their deductible or out-of-pocket limit falls outside the numbers above, so many Marketplace enrollees can now open and fund an HSA. Also from 2026, joining a direct primary care arrangement no longer disqualifies you, as long as the fixed fees are no more than $150 a month ($300 if the arrangement covers more than one person), and you can pay those fees from the HSA tax-free. Finally, the rule that lets an HDHP cover telehealth before the deductible is now permanent, for plan years beginning on or after January 1, 2025. For 2027 the direct primary care fee limits stay at $150 and $300 a month (Rev. Proc. 2026-24).
How the tax saving is calculated
HSA contributions are pre-tax, so each dollar contributed lowers your taxable income by a dollar. The federal income tax you avoid equals your marginal tax rate:
Tax saved = Total contributions × Marginal tax rate The 2026 federal brackets run 10%, 12%, 22%, 24%, 32%, 35% and 37%. If you contribute $8,750 in the 24% bracket, you save about $2,100 that year. Contributions made through an employer's cafeteria plan (payroll deduction) also avoid the 7.65% Social Security and Medicare (FICA) taxes: 6.2% Social Security on wages up to $184,500 in 2026, plus 1.45% Medicare. This calculator does not count that benefit, so your real saving may be higher.
How much does an HSA save on taxes each year?
The federal income tax you avoid each year equals your contribution times your marginal bracket. This table shows the annual saving at the 2026 self-only ($4,400) and family ($8,750) limits:
| Marginal bracket | Self-only $4,400 | Family $8,750 |
|---|---|---|
| 12% | $528 | $1,050 |
| 22% | $968 | $1,925 |
| 24% | $1,056 | $2,100 |
| 32% | $1,408 | $2,800 |
Over 30 years of maxed family contributions at the 2026 limit, that 24% saving alone adds up to about $63,000 in federal income tax avoided, before counting any FICA savings on payroll contributions. At the 2027 limits the yearly saving rises a little: $1,080 self-only and $2,160 family in the 24% bracket, or $990 and $1,980 at 22%.
The triple tax advantage
An HSA is the only account taxed favorably at all three stages: contributions go in pre-tax, growth compounds tax-free, and withdrawals for qualified medical expenses come out tax-free. Investing the balance instead of spending it lets it grow like a retirement account, which is why many savers treat the HSA as a "stealth IRA" for healthcare costs in retirement.
How much will my HSA be worth?
This matrix projects the final balance for a full year's contribution invested at an assumed 6% average return, with each contribution added at the start of the year and the 2026 limits held flat. Read down for your coverage level and across for your time horizon:
| Annual contribution | 10 years | 20 years | 30 years | 40 years |
|---|---|---|---|---|
| $4,400 (self-only) | $61,500 | $171,600 | $368,700 | $721,800 |
| $8,750 (family) | $122,300 | $341,200 | $733,300 | $1,435,400 |
| $9,750 (family +55 catch-up) | $136,200 | $380,200 | $817,100 | $1,599,500 |
Because most of these balances are far larger than the money paid in, the majority is tax-free growth: the $8,750-a-year family row reaches $733,300 after 30 years on just $262,500 of contributions, about $470,800 of untaxed compounding.
HSA vs other retirement accounts
For 2026, the 401(k) employee limit is $24,500 and the IRA limit is $7,500, far higher than the HSA. But a traditional 401(k) or IRA taxes withdrawals, and a Roth account taxes contributions, while the HSA does neither for medical spending. A common order of priority is to fund your 401(k) up to the employer match, then max the HSA, then return to the 401(k) or an IRA, precisely because of the HSA's unique triple advantage. If your goal is purely tax-free retirement income, compare the HSA against a Roth IRA, and for a full picture of when you can retire, run the numbers through the Retirement Calculator.
In short: use this HSA calculator when you have HDHP coverage and want the tax-free-for-healthcare account; use the 401(k) Calculator for employer-match, pre-tax payroll saving; the Roth IRA Calculator for tax-free withdrawals with no medical restriction; the Traditional IRA Calculator for a deductible non-employer account; and the Retirement Calculator to combine all of them into one drawdown plan.
How to use this HSA calculator
You only need a few numbers to get a realistic long-term projection. Work through the inputs in order:
- Contribution year: keep 2026 for contributions you still make for this year (allowed until the April 2027 filing deadline), or pick 2027 for next year's higher limits.
- Coverage type: choose self-only or family. This sets the maximum the calculator will let you contribute ($4,400 or $8,750 for 2026, $4,500 or $9,000 for 2027).
- Annual contribution: enter how much you (and your employer combined) plan to add each year, up to the IRS limit. To project the full triple advantage, use the cap.
- Age and catch-up: if you are 55 or older, add the $1,000 catch-up so the projection reflects the higher limit.
- Years to grow: pick how long the money stays invested, as a whole number of years; the longer the horizon, the more tax-free compounding dominates the result.
- Expected return: the 6% default is an assumption, not a forecast. A higher assumption inflates the projection, so it is safer to be cautious, and money kept in the HSA's cash option earns only the provider's posted rate.
- Marginal tax rate: select your federal bracket so the calculator can estimate the income tax you avoid on each year's contribution.
The result updates instantly: read the final balance, then compare your total contributions against the tax-free growth and the estimated federal tax saved. Together those three numbers show why the HSA is treated as a long-term investment account, not just a spending account.
Who this calculator is for
This tool is built for anyone enrolled in (or considering) a high-deductible health plan who wants to see the long-term payoff of investing an HSA. That includes:
- HDHP enrollees deciding whether to spend their HSA each year or invest it for the future.
- Retirement savers who have hit their 401(k) match and want the most tax-efficient next dollar.
- People in their 30s-50s projecting a dedicated pot for healthcare costs in retirement.
- FIRE and high-savers who treat the HSA as a "stealth IRA" and keep receipts to reimburse themselves later.
- Anyone comparing plans at open enrollment who wants to weigh an HDHP-plus-HSA against a traditional plan.
A second worked example: self-only coverage from age 30
Suppose you have self-only HDHP coverage at age 30 and contribute the 2026 self-only limit of $4,400 every year until 65: 35 years of contributions totaling $154,000. At an assumed 6% average return, the account grows to roughly $520,000, meaning about $366,000 of completely tax-free investment growth. If you contributed in the 22% bracket, you also saved around $34,000 in federal income tax along the way. The lesson is that time, not the contribution amount, does most of the heavy lifting: starting at 30 instead of 40 roughly doubles the final balance (about $520,000 versus $256,000) because of compounding.
What changes the result the most
If you adjust the inputs and watch the projection move, a few factors clearly dominate:
- Years invested: the single biggest lever, because tax-free compounding rewards a long horizon more than anything else.
- Annual return: the gap between a cash rate and an invested return is enormous over decades, which is why leaving the balance in cash is so costly. The Compound Interest Calculator shows the same effect on any balance.
- Contribution amount: maxing the limit versus contributing half changes both the balance and the tax saved roughly proportionally.
- Marginal tax rate: a higher bracket means each contributed dollar saves more income tax up front.
- Catch-up contributions: the extra $1,000 a year from age 55 adds up meaningfully in the final decade before retirement.
To see how much the return assumption alone matters, this table holds the family contribution ($8,750/yr) and horizon (30 years) fixed and varies only the annual return:
| Annual return | Total contributed | Final balance | Tax-free growth |
|---|---|---|---|
| 2% | $262,500 | $362,100 | $99,600 |
| 4% | $262,500 | $510,400 | $247,900 |
| 6% | $262,500 | $733,300 | $470,800 |
| 8% | $262,500 | $1,070,500 | $808,000 |
Same contributions, but the final balance nearly triples between a 2% cash rate and an 8% invested return, which is why leaving an HSA in cash is so expensive over a long horizon.
Tips to grow your HSA faster
- Invest, don't hoard cash: move the balance above your provider's cash minimum into low-cost index funds so it can compound tax-free.
- Pay small bills out of pocket: if you can afford current medical costs, leave the HSA untouched and let it grow.
- Keep your receipts: there is no deadline to reimburse yourself, so saved receipts let you withdraw tax-free years later.
- Capture the employer contribution: it is free money toward the cap, but remember it counts against your annual limit.
- Add the catch-up at 55: the extra $1,000 a year compounds during your highest-earning years.
Key terms explained
- HDHP: a high-deductible health plan that meets the IRS minimum deductible and out-of-pocket limits (or, from 2026, a Marketplace bronze or catastrophic plan); it is the only plan type that lets you fund an HSA.
- Triple tax advantage: pre-tax contributions, tax-free growth, and tax-free withdrawals for qualified medical expenses.
- Qualified medical expense: a cost the IRS allows you to pay tax-free from an HSA, listed in Publication 502.
- Catch-up contribution: an extra $1,000 per year you can add once you reach age 55.
- Marginal tax rate: the rate on your last dollar of income, which equals the tax you save per dollar contributed.
- Excess contribution: any amount over the annual cap, subject to a 6% excise tax until removed.
How the result is used in real life
The final balance is best read as a dedicated healthcare fund for your future. After 65, HSA withdrawals for Medicare premiums (other than Medigap), copays, prescriptions, and qualified long-term care insurance premiums (up to an age-based limit) are tax-free. The projected balance tells you how close you are to self-funding those costs, while the tax saved figure shows the year-to-year cash-flow benefit you can redirect into other savings today, for example into a taxable brokerage account you can model with the Investment Calculator. After age 65, any leftover funds work like a traditional IRA: withdrawals for non-medical use are simply taxed as income with no 20% additional tax.
Limitations and assumptions
This calculator is a planning estimate, not tax or investment advice. Keep these assumptions in mind:
- It assumes a constant annual return and constant contributions; real markets are volatile and your contributions may vary.
- It estimates federal income tax only and does not include FICA savings on payroll contributions or state income tax, which differs by state.
- It uses the IRS limits of the year you pick (2026 or 2027) and the bracket rates, held flat; the IRS adjusts the limits for inflation in most years.
- It does not model provider fees, cash-balance minimums, or the timing of employer contributions.
- Your real benefit depends on your actual bracket, returns, and whether your withdrawals are for qualified medical expenses.
โ ๏ธ Common mistakes & edge cases
Over-contributing past the IRS limit
Employer contributions count toward your $4,400 or $8,750 limit for 2026 ($4,500 or $9,000 for 2027). Going over triggers a 6% excise tax on the excess every year until you remove it. Track total contributions, not just your own.
Leaving the balance in cash
Many people let HSA money sit in a low-interest cash account. If you can pay current medical bills out of pocket, investing the balance lets it grow tax-free for decades, which is the whole point of this projection.
Contributing after enrolling in Medicare
Once you enroll in Medicare you can no longer contribute to an HSA. Contributions in months you are not HSA-eligible can create excess-contribution penalties, so stop before Medicare begins.
Forgetting state tax differs
Not every state follows the federal HSA rules. California, for example, does not allow the HSA deduction and taxes the account's earnings each year. This calculator covers federal tax only, so check your state's treatment before assuming the full triple advantage.
❓ Frequently asked questions
What are the 2027 HSA contribution limits?
For 2027 the IRS limits are $4,500 for self-only HDHP coverage and $9,000 for family coverage (Rev. Proc. 2026-24, published May 29, 2026), up from $4,400 and $8,750 in 2026. If you are 55 or older you can still add $1,000, so the totals with the catch-up are $5,500 and $10,000. The limits cover your own and your employer's contributions together, and 2027 contributions can be made until the April 2028 filing deadline. Choose 2027 in the calculator to project with them.
What are the 2026 HSA contribution limits?
For 2026, the IRS limits are $4,400 for self-only HDHP coverage and $8,750 for family coverage (Rev. Proc. 2025-19). If you are age 55 or older, you can add a $1,000 catch-up contribution. These limits include both your contributions and any made by your employer. For 2025 the limits were $4,300 and $8,550.
What is the HSA triple tax advantage?
An HSA is taxed favorably three times: (1) contributions are pre-tax, lowering your taxable income; (2) interest and investment earnings grow tax-free; and (3) withdrawals for qualified medical expenses are tax-free. No other account combines all three benefits, which is why HSAs are powerful long-term savings tools.
How much tax does an HSA save me?
Each dollar you contribute reduces your taxable income, so your savings equal your marginal tax rate. For example, $8,750 contributed in the 24% bracket saves about $2,100 in federal income tax for 2026. Contributions made through payroll can also avoid Social Security and Medicare (FICA) taxes, which this calculator does not include.
Can I invest my HSA money?
Yes. Many HSA providers let you invest the balance above a small cash threshold in mutual funds or ETFs, similar to a 401(k) or IRA. Investing rather than spending the balance lets the account grow tax-free for years, which is what this calculator projects.
What happens to my HSA after age 65?
After age 65 you can withdraw HSA funds for any purpose without the 20% penalty; non-medical withdrawals are simply taxed as ordinary income, much like a traditional IRA. Withdrawals for qualified medical expenses, including many Medicare premiums, remain completely tax-free at any age.
Do HSA funds expire at the end of the year?
No. Unlike a Flexible Spending Account (FSA), HSA balances roll over indefinitely and the account is yours to keep even if you change jobs or health plans. That portability is why an HSA can be invested and grown over decades.
Who is eligible to contribute to an HSA?
You must be enrolled in a qualifying high-deductible health plan (HDHP), have no other disqualifying coverage, not be enrolled in Medicare, and not be claimed as a dependent on someone else's return. Eligibility is determined month by month under IRS rules. The 2025 tax law (P.L. 119-21) widened eligibility from January 1, 2026: bronze and catastrophic plans available through a Health Insurance Marketplace now count as HDHPs, and a direct primary care arrangement with fees of up to $150 a month ($300 if it covers more than one person) no longer blocks contributions (IRS Notice 2026-5).
What is a high-deductible health plan (HDHP) for 2027?
For 2027 an HDHP must have an annual deductible of at least $1,750 for self-only coverage or $3,500 for family coverage, and out-of-pocket costs (deductibles, copays and other amounts, but not premiums) capped at $8,700 self-only or $17,400 family (Rev. Proc. 2026-24). Marketplace bronze and catastrophic plans have counted as HDHPs since January 1, 2026, and a direct primary care arrangement still does not block HSA contributions in 2027 as long as its fees stay at or below $150 a month ($300 if it covers more than one person).
What is a high-deductible health plan (HDHP) for 2026?
For 2026 the IRS defines an HDHP as a plan with a minimum annual deductible of $1,700 for self-only coverage or $3,400 for family coverage, and a maximum out-of-pocket limit of $8,500 self-only or $17,000 family (Rev. Proc. 2025-19). From 2026, bronze and catastrophic plans available through a Marketplace count as HDHPs even if they do not meet those numbers. You must be covered by a qualifying HDHP to contribute to an HSA. The plan can still cover preventive care, and telehealth, before you meet the deductible.
What expenses count as qualified medical expenses for an HSA?
Qualified medical expenses are the costs the IRS lists in Publication 502, such as doctor and dentist visits, prescriptions, eyeglasses, mental-health care, and many medical supplies. Since 2020, over-the-counter medicines and menstrual products also qualify, and from 2026 so do the periodic fees of a qualifying direct primary care arrangement. Withdrawals for these are tax-free at any age; withdrawals for non-qualified expenses before age 65 are taxed and hit with a 20% penalty.
Can I use my HSA to pay for my spouse and dependents?
Yes. You can use HSA funds tax-free for the qualified medical expenses of your spouse and your tax dependents, even if they are not covered by your HDHP. The eligibility rules for contributing apply to you as the account holder, but spending can cover your whole family's qualified costs.
What is the last-month rule and how does it affect my limit?
Under the IRS last-month rule, if you are HSA-eligible on December 1, you are treated as eligible for the entire year and can contribute the full annual limit. However, you must stay HSA-eligible through a 13-month testing period (the following December); if you do not, the extra amount becomes taxable income plus a 10% penalty. The calculator assumes a full year of eligibility.
Should I save HSA receipts for years?
Many savers pay current medical bills out of pocket, invest the HSA, and keep the receipts. Because there is no deadline to reimburse yourself, you can withdraw tax-free years later up to the total of your past qualified expenses, letting the balance compound tax-free in the meantime. Keep digital copies of receipts and proof you were not otherwise reimbursed.
Can I roll over or transfer an old HSA?
Yes. You can move funds between HSA providers with a trustee-to-trustee transfer (unlimited, not taxed) or a 60-day rollover (limited to one per 12 months). Neither of those counts against your yearly contribution limit. A once-in-a-lifetime qualified HSA funding distribution also lets you move money from an IRA into your HSA, but that one does count toward the year's limit.
How much will my HSA grow in 30 years?
Contributing the 2026 family limit of $8,750 a year for 30 years at an assumed 6% return grows to about $733,300, of which roughly $470,800 is tax-free investment growth on the $262,500 contributed. Self-only contributions of $4,400 over the same period reach about $368,700. The longer the horizon and the higher the return, the more tax-free compounding dominates the final balance.
What return should I assume in an HSA calculator?
There is no guaranteed rate; the 6% default is an assumption, not a forecast, and the calculator lets you set your own. Money you expect to spend soon belongs in the cash portion, whose rate your provider publishes; only money you can leave invested for years should be modeled at a stock-and-bond rate. A lower assumption is safer because markets are volatile: at 4% instead of 6%, a family HSA of $8,750 a year reaches about $510,400 after 30 years rather than $733,300.
Sources
- IRS Publication 969: Health Savings Accounts and Other Tax-Favored Health Plans (6% excise tax, 20% additional tax, last-month rule, rollovers)
- IRS Publication 502: Medical and Dental Expenses (qualified expenses)
- IRS Revenue Procedure 2026-24: 2027 HSA contribution limits, HDHP deductible and out-of-pocket amounts, and direct primary care fee limits
- IRS Revenue Procedure 2025-19: 2026 HSA contribution limits and HDHP deductible and out-of-pocket amounts
- IRS news release IR-2025-119 and Notice 2026-5: bronze and catastrophic plans, direct primary care, telehealth (P.L. 119-21)
- IRS Revenue Procedure 2025-32: 2026 federal income tax brackets
- Medicare.gov: When does Medicare coverage start? (Part A can start up to 6 months back)
- California Franchise Tax Board: 2025 Schedule CA (540) instructions (California does not conform to the HSA deduction)
๐ก Good to know
The HSA can act as a "stealth IRA"
After age 65 you can withdraw HSA money for any reason and pay only ordinary income tax, exactly like a traditional IRA, while withdrawals for qualified medical expenses stay tax-free. That makes a maxed, invested HSA one of the most flexible retirement accounts available.
Stop contributing before Medicare
Enrolling in Medicare (including Part A, which can start retroactively up to six months) ends your HSA eligibility. Contributing for months you are not eligible can trigger excess-contribution penalties, so plan the cutoff carefully if you work past 65.
You have until tax day to contribute
Like an IRA, you can make HSA contributions for a year up to that year's federal tax-filing deadline. For 2026 that means you can still top up until April 15, 2027 and claim the deduction on your 2026 return.
Related Calculators
Retirement Calculator
Find out if you are on track to retire comfortably
Investment Calculator
Calculate investment growth with contributions and returns
401(k) Calculator
Project your 401(k) balance at retirement with employer match
Roth IRA Calculator
Estimate tax-free growth of your Roth IRA at retirement
IRA Calculator
Project traditional IRA growth and contributions