Tested tool guide
Tested browser tools
Checked August 16, 2026
What HSA Calculator does, with a checked example
The HSA Calculator estimates how contributions, withdrawals for qualified medical expenses, investment returns, and taxes affect a Health Savings Account over time. It separates account growth from the estimated tax benefit of contributing. The most important input to interpret correctly is the contribution total: employer deposits generally count toward the same annual contribution limit as the account holder's deposits. They are not additional room above that limit. The result is a planning projection, not a determination of HSA eligibility or tax filing treatment.
Worked example
A concrete input and expected output from the current implementation.
Input
Opening HSA balance: $0
Projection period: 1 year
Your contribution: $2,000
Employer contribution: $0
Qualified expenses: $500
Annual investment return: 0%
Tax rate: 20%
->
Expected output
Projected ending HSA balance: $1,500
Estimated tax savings: $400
With no opening balance or investment return, the account ends with $2,000 contributed minus $500 spent, which equals $1,500. The contribution tax estimate is $2,000 multiplied by 20%, or $400; checking backward, $400 divided by 20% returns the stated $2,000 contribution.