HSA Retirement Calculator: Project Your Health Savings
Use this guide to understand the assumptions, inputs, results, and next steps behind the calculator.
Created by Luis Gonzalez · Last updated July 25, 2026
A Health Savings Account (HSA) can help pay qualified medical costs in retirement while benefiting from tax-free growth. This calculator projects how contributions and investment returns may build your balance, then estimates how much of your retirement medical spending the account can cover.
With the default inputs, you are age 35, plan to retire at 65, and use an individual HSA. The calculator starts with $10,000, adds a $3,000 annual contribution plus a $500 employer contribution, and assumes a 6% annual investment return. Its first projection year adds $3,500, earns $810, and ends at $14,310. Across the projection, total contributions are $141,988.28. These are model estimates, not guaranteed account values.
Use the results to compare your HSA plan with other retirement resources. The projection does not replace a broader retirement savings estimate, a healthcare budget, or tax guidance about qualified expenses.
What the HSA Projection Includes
An HSA has three potential tax advantages: eligible contributions may be deductible or excluded from income, account earnings can grow tax-free, and withdrawals for qualified medical expenses are generally tax-free. The IRS HSA guidance explains eligibility, contribution rules, and qualified distributions.
The calculator divides the projection into two phases:
- Before retirement: It adds your annual contribution and employer contribution, subject to the modeled annual contribution limit, then applies the investment return.
- At and after retirement: It stops adding contributions, applies investment growth, and subtracts estimated medical expenses. Medical expenses rise using the medical inflation rate.
- In the displayed real balance: It adjusts the nominal balance for general inflation. A real balance expresses future dollars in purchasing-power terms relative to today.
The model is intentionally focused on the HSA. It does not estimate all healthcare costs, insurance premiums, Medicare coverage, taxes on nonmedical distributions, or investment volatility. Compare it with a wider retirement healthcare cost projection and an overall retirement expense plan.
Entering Your Assumptions
Enter your current age, planned retirement age, and the age through which you want to plan. A longer saving period allows more deposits and investment growth; a longer retirement period exposes the balance to more medical withdrawals.
Add your current HSA balance and annual contribution. Enter employer contributions separately so the projection can count them toward the annual HSA limit. Choose individual or family coverage, and indicate whether to include the age-55 catch-up contribution if applicable. The HSA contribution calculator can help check contribution amounts against limits.
Then choose assumptions for annual contribution growth, investment return, annual medical spending in the first retirement year, medical-cost inflation, and general inflation. For estimating spending, consider costs beyond direct medical bills, such as coverage premiums, dental care, or home support. Related estimates include home health care costs and health spending account withdrawals.
Default example: first projection year
At age 35, the default annual contribution is $3,000 and the employer contribution is $500:
Total first-year contribution = $3,000 + $500 = $3,500
Balance after contribution = $10,000 + $3,500 = $13,500
First-year investment growth = $13,500 × 6% = $810
Balance after growth = $13,500 + $810 = $14,310
The reported total contributions of $141,988.28 include the modeled employee and employer contributions over the accumulation period. Contributions increase at 2% each year until retirement, subject to the calculator’s limit logic. The result is not simply $3,500 multiplied by 30 because later contributions rise and the annual cap can restrict deposits.
2026 Contribution Rules and HSA Tradeoffs
For 2026, the HSA contribution limit is $4,400 for self-only coverage and $8,750 for family coverage. An eligible account holder age 55 or older may contribute an additional $1,000 catch-up. Employer contributions count toward the same annual limit. See the IRS announcement of 2026 inflation-adjusted limits.
Eligibility generally requires HSA-qualified high-deductible health plan coverage and no disqualifying additional coverage. You generally cannot contribute once enrolled in Medicare. If you delay applying for Medicare after 65, Part A can be retroactive for up to six months, so contributions during that retroactive period may create tax issues. Review Medicare’s HSA guidance.
The calculator models catch-up contributions as available from age 55, but that does not mean every user can contribute. Eligibility, coverage type, partial-year coverage, and other rules affect the amount you may actually deposit. Employer deposits also reduce the room left for your own contributions.
After age 65, nonmedical HSA withdrawals generally avoid the 20% additional tax, but they are usually included in taxable income. Qualified medical withdrawals remain tax-free. Before age 65, a nonqualified distribution is generally taxable and may also face a 20% additional tax. Keep receipts and records supporting qualified expenses.
Formula: Contributions, Growth, and Medical Withdrawals
The projection applies contributions before annual investment growth. It then subtracts medical expenses during retirement. This ordering matters: a contribution or withdrawal made earlier in a year would have a different result than the calculator’s annual-step assumption.
Allowed annual contribution = annual HSA limit + eligible age-55 catch-up
Employee contribution used = smaller of planned contribution or limit remaining after employer deposit
Total annual contribution = employee contribution used + employer contribution
Balance after growth = (starting balance + annual contributions) × (1 + annual return)
Investment growth = (starting balance + annual contributions) × annual return
For the default first year, the calculation is:
($10,000 + $3,500) × 6% = $810 growth
$10,000 + $3,500 + $810 = $14,310 ending balance
At retirement, medical expenses rise by the selected medical inflation rate:
Medical expense at age = first-year retirement expense × (1 + medical inflation rate) ^ years since retirement
The calculator uses general inflation separately to express a future balance in real dollars:
Real balance = nominal balance ÷ (1 + general inflation rate) ^ years since current age
Compare Contribution and Spending Scenarios
These examples show how changing an assumption affects the projection. They are directional comparisons, not additional calculator result cards; actual values depend on the full year-by-year projection and contribution limits.
| Scenario | Changed inputs | Likely effect |
|---|---|---|
| Lower savings | $2,000 annual contribution; $300 employer contribution; 5% return | Lower projected retirement balance and less medical spending covered |
| Higher employee saving | $4,000 annual contribution; $500 employer contribution; 6% return | More contributions, subject to the 2026 individual limit |
| Higher medical costs | $6,000 first-year retirement costs; 7% medical inflation; 6% return | Faster withdrawals and a greater risk of exhausting the account |
| Longer saving window | Retire at 68; $3,000 contribution; 6% return | More years of contributions and growth, but a shorter modeled withdrawal period if life expectancy stays unchanged |
A higher assumed return can make the forecast look stronger, but it is not a promise. Investment performance varies, and an HSA invested in market assets can lose value. Compare different savings and withdrawal assumptions with a savings withdrawal calculator adjusted for inflation and consider how your HSA fits alongside a tax-efficient retirement withdrawal strategy.
Next Steps for Your HSA Plan
Test lower returns and higher medical inflation before relying on the default projection. Check the annual limit for your coverage type, count employer deposits toward that limit, and confirm eligibility before contributing. Then compare HSA spending with your total healthcare budget, including insurance, prescriptions, dental services, and care support. To examine account spending year by year, use the HSA drawdown calculator alongside a broader healthcare cost estimate.
Frequently Asked Questions
Quick answers to the questions people usually have after running the retirement calculator.
1Is an HSA a retirement account?
An HSA is a tax-advantaged account for qualified medical expenses, not a retirement account in the same legal category as an IRA or 401(k). It can still support retirement planning because unused balances can remain invested for future qualified healthcare costs.
2Can I use an HSA to pay Medicare premiums?
Some Medicare premiums can be qualified HSA expenses, including Medicare Part B and Part D premiums in many circumstances. Medigap premiums generally are not qualified. Check current IRS rules and your particular expense before taking a tax-free distribution.
3Does the calculator account for taxes on every withdrawal?
No. It models medical expenses as HSA withdrawals but does not fully model tax treatment for nonqualified spending. Nonmedical withdrawals before age 65 are generally taxable and may face the 20% additional tax; after age 65, the additional tax generally no longer applies, but income tax may.
4Should I spend my HSA now or preserve it for retirement?
Preserving invested HSA money may allow more tax-free growth, but paying current medical bills from the account can be sensible if you need the cash or do not have a separate emergency fund. The tradeoff depends on liquidity, investment risk, documentation, and the value you place on tax-free future withdrawals.
5Does the age-55 catch-up mean I can contribute after enrolling in Medicare?
No. The catch-up rule does not override HSA eligibility requirements. Medicare enrollment generally makes you ineligible to contribute, even though you can continue spending an existing HSA balance on eligible expenses.
6Why might the balance run out before life expectancy?
Medical spending, medical inflation, lower-than-assumed investment returns, and a longer retirement can all increase depletion risk. The projection uses smooth annual returns and a simplified spending assumption, not a market sequence or personal medical forecast.