b2KIT

HSA Calculator

Model Health Savings Account growth with contribution limits, employer contributions, tax savings, investment returns, and qualified expenses.

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.

How the result is produced

1

Contribution and tax model

The calculator combines the account holder's contribution with any employer contribution and evaluates that total against the contribution limit used for the scenario. It estimates contribution-related tax savings from the entered tax rate. Employer money increases the HSA balance, but it also consumes contribution capacity, so entering it separately prevents the remaining personal contribution room from being overstated.

2

Balance projection

The projected balance reflects the opening amount, modeled contributions, qualified expenses, assumed investment return, and projection length. Expenses reduce assets available for later growth, while a positive return can compound across a multiyear scenario. The tax-savings estimate is conceptually separate from the HSA balance because avoided tax is not itself an account deposit.

Good uses

  • Compare contributing only through payroll with adding a separate personal contribution while keeping employer deposits in the annual total.
  • Estimate whether paying qualified medical expenses from the HSA now leaves substantially less invested balance in later years.
  • Test conservative and optimistic return assumptions before choosing an HSA contribution target for a benefits enrollment period.

Limits and checks

  • The projection does not establish HSA eligibility. Coverage, eligibility during the year, and other personal circumstances can change the amount legally available to contribute.
  • Tax savings depend on how contributions are made and which taxes apply. A single entered rate may not capture payroll taxes, state treatment, deductions, or the user's actual marginal rate.
  • Investment return is an assumption, not a forecast. Fees, cash allocations, market losses, contribution timing, and expense timing can make the real ending balance differ from the projection.

Common questions

Do employer HSA contributions sit outside my contribution limit?

No. Employer contributions generally count with the account holder's contributions toward the applicable annual HSA limit. Enter the employer amount separately so the calculator can include it in both the projected balance and the contribution total. The calculator cannot confirm whether a special eligibility rule or an additional permitted contribution applies to your individual tax situation.

Is the estimated tax savings added to the ending HSA balance?

No, not merely because the calculator reports it. Tax savings represents an estimate of tax avoided through the contribution, while the HSA balance reflects money actually held in the account after contributions, expenses, and modeled growth. The savings affects the balance only if you separately contribute or invest money corresponding to that benefit.

References and verification

The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.

Related Tools