Skip to main content
/
HSAhealth savings accounttriple tax advantageHDHPmedicaltax-freededuction
//// Financial · Health Savings

HSA Contribution Optimizer

HSAs are the only account with triple-tax-advantage: pre-tax in, tax-free growth, tax-free out for medical. Enter your income and coverage type to see your 2024 limit, tax savings, and 20-year growth projection.

401(k) Limit 2024$23,000
Roth IRA Limit$7,000
S&P 500 Avg Return~10%/yr

Your HSA Profile

Coverage type
Employment type
2024 Contribution Limit
$4,150
Room to Contribute
$4,150
$0 contributed
Federal Tax Savings
$913
At 22.0% marginal rate
Effective Cost / Dollar
$0.78
After federal tax savings

20-Year Growth Projection

Invested at 7%

$188K

Current balance + $346/mo

Held as cash

$85K

No investment growth

Investing your HSA balance instead of holding cash adds $103K in additional wealth over 20 years — triple-tax-free.

Medical Coverage Capacity

Annual OOP

$1,800

Years Covered

104.6

Projected Balance

$188K

Coverage utilization$1,800
1

Annual contribution limit

baseLimit + catchUpAmount

$4,150 + $0

= $4,150

No catch-up contribution yet (available at age 55).

2

Federal marginal rate

taxable_income = gross_income − standard_deduction → bracket lookup

$85,000 − $14,600 = taxable

= 22.0%

HSA contributions reduce federal AGI — savings apply at your marginal rate.

3

Federal tax savings (maxing out)

totalLimit × marginalRate

$4,150 × 22.0%

= $913

Effective cost of each dollar contributed = 1 − marginalRate.

4

Monthly contribution to invest

totalLimit / 12

$4,150 / 12

= $345.83

5

20-year projected balance (7% annual)

FV(balance, 7%/12, 240) + FV(monthlyContrib, 7%/12, 240)

grow $2,000 + $346/mo × 240 months

= $188K

Triple-tax-advantage: pre-tax in, tax-free growth, tax-free out for medical.

IRS Publication 969

Key insight

HSAs are the only account with triple-tax-advantage: contributions are pre-tax, growth is tax-free, and qualified medical withdrawals are tax-free. After 65, non-medical withdrawals are taxed like a traditional IRA.

#ShowYourWork

You might also like

Invest your HSA — most people leave it in cash earning 0.1%. Invested in an index fund, it becomes a stealth retirement account: contributions are pre-tax, growth is tax-free, and withdrawals for medical expenses are tax-free.

Source: IRS Publication 969