What this tool does
The HSA Investment Growth Calculator helps you project how your Health Savings Account balance will grow over time when you invest your contributions rather than leaving them in cash. HSAs offer a unique triple tax advantage that makes them one of the most powerful tax-advantaged accounts available: contributions are tax-deductible, investment growth is tax-free, and withdrawals for qualified medical expenses are tax-free at any age.
This calculator models year-by-year growth based on your current balance, annual contributions (including employer matches), expected investment returns, and anticipated medical expense withdrawals. It accounts for IRS contribution limits, catch-up contributions for those age 55 and older, and different limits for individual versus family coverage.
Many people treat HSAs like checking accounts, spending contributions immediately on medical expenses. However, if you can afford to pay medical expenses out-of-pocket and invest your HSA contributions instead, your account can grow substantially over time. After age 65, HSAs function like traditional IRAs - you can withdraw for any purpose (paying ordinary income tax), making them excellent supplemental retirement accounts with the added benefit of tax-free medical withdrawals.
How it calculates
The calculator uses a straightforward year-by-year projection formula:
**Year-end Balance = (Previous Balance + Annual Contribution + Employer Match - Medical Withdrawals) × (1 + Return Rate)**
For each year in your projection period, the calculator:
1. Starts with the previous year's ending balance (or your current balance for year one) 2. Adds your annual personal contribution plus employer match, capped at IRS limits 3. Adds catch-up contributions (\$1,000) if you're age 55 or older that year 4. Subtracts any medical expense withdrawals you plan to take 5. Applies the expected investment return rate to the resulting balance 6. Records the ending balance and cumulative totals
The 2024 HSA contribution limits are \$4,150 for individual coverage and \$8,300 for family coverage. For 2025, these limits increase to \$4,300 and \$8,550 respectively. The \$1,000 catch-up contribution for ages 55+ remains constant. The calculator enforces these limits automatically, capping your combined contributions if they exceed the legal maximum.
Tax savings are estimated assuming a 24% marginal tax bracket applied to your personal contributions (not employer contributions, which are already pre-tax). This represents the federal income tax you avoid by making tax-deductible HSA contributions. Actual tax savings will vary based on your state taxes and marginal tax rate.
The calculator assumes constant annual contributions, employer matches, and medical withdrawals throughout the projection period. Investment returns compound annually on the balance after contributions and withdrawals.
Who should use this tool
This calculator is valuable for anyone with a high-deductible health plan (HDHP) who is eligible to contribute to an HSA. It's particularly useful for:
**Long-term planners** who want to maximize their HSA as a retirement savings vehicle by investing rather than spending contributions immediately. If you can afford to pay current medical expenses out-of-pocket, letting your HSA grow tax-free can create substantial wealth over decades.
**People comparing retirement account options** trying to decide how much to contribute to their HSA versus 401(k) or IRA. The triple tax advantage often makes HSAs the best first choice for retirement savings, especially if you expect significant healthcare costs in retirement.
**Those approaching age 55** who want to understand how catch-up contributions will accelerate their HSA growth. The additional \$1,000 annual contribution from age 55 to 65 can add up substantially.
**Families deciding between individual and family coverage** who want to see how the higher family contribution limits (\$8,550 vs \$4,300 in 2025) affect long-term growth potential.
**Early retirees** planning to use their HSA to cover healthcare costs before Medicare eligibility at age 65, who need to project whether their balance will last while still growing.
**High earners** looking for additional tax-advantaged savings beyond 401(k) and IRA limits. HSAs have no income limits for contributions (though you must have an HDHP) and offer better tax treatment than Roth IRAs for medical expenses.
Worked examples
**Example 1: Young professional building long-term wealth**
Sarah, age 30, has individual HDHP coverage with a \$3,000 HSA balance. She contributes the maximum \$4,300 annually, her employer adds \$500, and she expects 7% annual returns. She pays medical expenses out-of-pocket rather than using her HSA, with zero annual withdrawals.
After 30 years (age 60), her projections show: - Final balance: \$467,828 - Total contributions: \$144,000 (personal) + \$15,000 (employer) = \$159,000 - Investment growth: \$308,828 - Tax savings: \$34,560 (assuming 24% bracket)
By not withdrawing for current medical expenses and investing instead, Sarah turns \$159,000 in contributions into nearly \$468,000, with over \$300,000 in tax-free growth. She can use this tax-free for medical expenses in retirement or withdraw for any purpose after age 65 (paying ordinary income tax, like a traditional IRA).
**Example 2: Family maximizing contributions with catch-up**
Michael and Jennifer, both age 55, have family HDHP coverage with a \$15,000 HSA balance. They contribute the family maximum of \$8,550 plus Michael's \$1,000 catch-up (total \$9,550), receive a \$1,000 employer match, and expect 6% returns. They withdraw \$3,000 annually for current medical expenses.
After 10 years (age 65), their projections show: - Final balance: \$128,744 - Total contributions: \$105,500 - Investment growth: \$29,244 - Total withdrawals: \$30,000 - Tax savings: \$22,920
Even while withdrawing \$3,000 annually for medical expenses, their balance nearly doubles over 10 years. At age 65, they can continue using funds tax-free for medical expenses (including Medicare premiums) or withdraw for any purpose without penalty (though subject to income tax for non-medical uses).
**Example 3: Mid-career professional playing catch-up**
David, age 45, just learned about HSA investment potential and has only \$1,000 in his account. He switches to individual HDHP coverage and commits to maxing out contributions at \$4,300 annually with no employer match. He expects 8% returns and plans to withdraw \$1,500 annually for ongoing medical needs.
After 20 years (age 65), his projections show: - Final balance: \$140,507 - Total contributions: \$86,000 - Investment growth: \$83,507 - Total withdrawals: \$30,000 - Tax savings: \$20,640
Despite starting late and taking annual withdrawals, David nearly doubles his money through investment returns. The calculator helps him see that even with modest medical withdrawals, investing his HSA contributions generates substantial tax-free growth.
Limitations
This calculator makes several simplifying assumptions that may not perfectly match your real-world experience:
**Constant investment returns**: The calculator assumes the same return rate every year. Real markets are volatile, with some years showing gains and others losses. A 7% average return might come from years ranging from -20% to +30%. Dollar-cost averaging through regular contributions helps smooth this volatility, but your actual results will vary.
**Constant contributions and withdrawals**: The calculator assumes you contribute and withdraw the same amounts every year. In reality, medical expenses are unpredictable - you might have low-cost years and high-cost years (surgery, having a baby, chronic condition treatment). Your ability to contribute may also change with job changes, income fluctuations, or life events.
**Annual compounding**: Investment returns are calculated once per year on the year-end balance. In reality, markets fluctuate daily and your contributions happen throughout the year (often per paycheck). This simplification is reasonable for long-term projections but won't match month-to-month account statements.
**Tax bracket assumptions**: Tax savings are estimated at a flat 24% marginal rate. Your actual tax savings depend on your marginal federal tax rate (which ranges from 10% to 37%), state income taxes, and whether you itemize deductions. The calculator doesn't account for payroll tax savings (FICA) if contributions are made through payroll deduction, which saves an additional 7.65%.
**Contribution limit projections**: The calculator uses current IRS limits and assumes future increases based on recent trends. Actual limits may change differently based on inflation adjustments and legislative changes.
**No consideration of HDHP requirements**: To remain HSA-eligible, you must maintain high-deductible health plan coverage. The calculator doesn't account for years when you might lose eligibility (switching to non-HDHP coverage, enrolling in Medicare, becoming a dependent on someone else's plan).
**Withdrawal flexibility not modeled**: The calculator doesn't capture the unique HSA benefit that you can pay medical expenses out-of-pocket and reimburse yourself tax-free from your HSA years later (if you keep receipts). This strategy lets investments grow longer before withdrawal.
**No expense ratio or fee modeling**: Investment returns are shown gross of any fees. HSA providers often charge account maintenance fees and mutual funds charge expense ratios, typically reducing returns by 0.25% to 1% annually.
Frequently asked questions
**What makes HSAs better than other retirement accounts?**
HSAs offer a triple tax advantage unmatched by any other account type. Contributions are tax-deductible (like traditional 401(k)/IRA), growth is tax-free (like Roth accounts), and withdrawals for qualified medical expenses are tax-free at any age (unique to HSAs). After age 65, they work like traditional IRAs for non-medical withdrawals. This makes them more tax-efficient than 401(k)s, IRAs, or Roth accounts for healthcare expenses, while matching traditional retirement accounts for other uses after 65.
**Should I invest my HSA or keep it in cash?**
If you need the funds for current medical expenses, keep them in cash to avoid investment losses when you need to withdraw. However, if you can afford to pay medical expenses out-of-pocket using other funds, investing your HSA for long-term growth is extremely tax-efficient. Many people keep 1-2 years of expected medical expenses in cash within their HSA and invest the rest.
**What happens if I withdraw HSA funds for non-medical expenses?**
Before age 65, non-qualified withdrawals incur ordinary income tax plus a 20% penalty. After age 65, the penalty disappears and withdrawals work like a traditional IRA - you pay ordinary income tax but no penalty. Withdrawals for qualified medical expenses remain tax-free at any age, even after 65. This makes HSAs excellent retirement accounts with extra flexibility for healthcare costs.
**What are qualified medical expenses?**
Qualified medical expenses include most health insurance deductibles, copays, prescriptions, dental care, vision care, mental health services, and many over-the-counter medications. After age 65, you can also use HSA funds tax-free to pay Medicare premiums (but not Medicare supplement insurance). IRS Publication 502 provides the complete list. Keep receipts to document qualified expenses.
**Can I contribute to an HSA if I have other health coverage?**
You must be enrolled in a high-deductible health plan (HDHP) and cannot be enrolled in Medicare or claimed as a dependent on someone else's taxes. You also cannot have other health coverage that disqualifies you (like a healthcare FSA or spouse's low-deductible plan). Being covered by specific injury insurance, accident insurance, disability insurance, dental care, or vision care won't disqualify you.
**Do HSA contribution limits include employer contributions?**
Yes, the annual limits (\$4,300 individual/\$8,550 family for 2025) include both your contributions and employer contributions combined. If your employer contributes \$1,000, you can only contribute \$3,300 to reach the \$4,300 individual limit. The \$1,000 catch-up contribution (age 55+) is in addition to these limits.
**What happens to my HSA if I change jobs or insurance?**
Your HSA belongs to you permanently, regardless of employment or insurance changes. Unlike FSAs, HSAs are not "use it or lose it" and don't reset annually. If you leave your employer or switch insurance, your HSA and its balance remain yours. However, you can only make new contributions while you have qualifying HDHP coverage. If you switch to non-HDHP coverage, your existing balance remains invested and grows tax-free, but you cannot add new contributions until you have HDHP coverage again.
**Can I contribute to my HSA while on Medicare?**
No. Once you enroll in any part of Medicare (Part A, B, C, or D), you can no longer contribute to an HSA. However, your existing HSA balance remains yours to use tax-free for qualified medical expenses, including Medicare premiums. Many people delay Medicare enrollment (if they have qualifying employer coverage) to continue HSA contributions from age 65 to 70.
**Should I max out my HSA before contributing to a 401(k)?**
Many financial advisors recommend maxing out your HSA before other retirement accounts due to its superior tax advantages. A common priority is: 1) Contribute enough to 401(k) to get full employer match, 2) Max out HSA (\$4,300/\$8,550), 3) Max out Roth IRA (\$7,000), 4) Return to maxing out 401(k) (\$23,000). However, this depends on your individual tax situation, healthcare needs, and retirement timeline.
Explore Similar Tools
Explore more tools like this one:
- HSA vs PPO vs HMO Comparator — Compare HDHP with HSA, PPO, and HMO health plans to find... - Opportunity Zone Investment Calculator — Calculate potential tax benefits and returns from... - 401K Calculator — Calculate 401K retirement savings with employer match... - Investment Return Calculator — Calculate total return, annualized return, and growth of... - Wealth Calculator — Project your future savings using compound interest with...