The HSA Calculator works in two ways: it projects how a health savings account grows from your current age to retirement from annual contributions, an existing balance, and an assumed investment return, with the total tax savings on those contributions; and it checks a single year against the contribution limits built into the tool, including the age 55 catch-up, any excess contribution, and the excise tax on it. Enter the figures for the mode you need to see either the long-term projection or the current-year limit check.
How It Works
- Validation: In projection mode, ages must be sensible and retirement age must be greater than current age. In limit mode, contributions, growth years, and return must be non-negative and the tax rate must sit between 0 and 100 percent.
- Projection loop: For each year between your current age and retirement age, the calculator adds that year's contribution to the balance first, then grows the whole amount by the assumed return. Contributions are therefore treated as made at the start of each year.
- Projection totals: Total contributions are the annual amount times the number of years. Earnings are whatever the projected balance exceeds the starting balance plus contributions, and total tax savings are the contributions multiplied by your marginal tax rate.
- Limit check: The limit is USD 4,400 for self-only coverage or USD 8,750 for family coverage in this calculator, plus USD 1,000 if you are 55 or older. Your employee and employer contributions are combined, compared with the limit, and any excess is priced at the 6 percent excise rate.
Formula
Input Parameters
| Parameter | Unit | Typical range | Notes | |---|---|---|---| | Current age | Years | 25 to 64 | Starting point of the projection | | Retirement age | Years | Above current age to 75 | End point of the projection | | Annual contribution | USD per year | 500 to 8,750 | Assumed the same every year | | Current balance | USD | 0 and above | Existing HSA balance today | | Expected return rate | Percent per year | 0 to 10 | Assumed constant across all years | | Marginal tax rate | Percent | 10 to 37 | Applied to contributions for the tax saving | | Coverage type | Self-only or family | Limit mode | Sets the base limit of 4,400 or 8,750 | | Employee and employer contributions | USD per year | Limit mode | Combined and tested against the limit |
Worked Example
Projection first. For a 35 year old projecting to 65, contributing USD 3,000 a year, starting with USD 5,000, at a 6 percent return and a 24 percent marginal rate:
- Years of growth:
65 - 35 = 30. - Total contributions:
3,000 x 30 = USD 90,000. - Applying the yearly loop, adding 3,000 then growing by 6 percent each year, the balance reaches about USD 280,122.
- Earnings:
280,122 - 5,000 - 90,000 = USD 185,122. - Total tax savings on contributions:
90,000 x 24% = USD 21,600.
Limit check second. For a 55 year old with family coverage, contributing USD 7,000 personally with USD 1,000 from an employer: the limit is 8,750 + 1,000 = USD 9,750, the combined USD 8,000 leaves USD 1,750 of room, and this year's tax saving is 7,000 x 24% = USD 1,680.
Interpreting the Results
The projection's power comes from the HSA's triple tax treatment in the United States: contributions reduce taxable income, growth is untaxed, and withdrawals for qualified medical expenses are untaxed. The calculator prices only the first of those three, so its tax saving figure is conservative. The earnings line depends entirely on the return you assume; at 0 percent the projection is just the starting balance plus contributions, which is a useful floor scenario. In limit mode, the excise tax line deserves attention because the 6 percent charge repeats every year an excess stays in the account, so the remaining room figure is the one to act on before the year closes.
Choosing the Right Tool
Use the Retirement Calculator when you want a whole retirement plan across accounts rather than the HSA on its own. Use the Investment Return Calculator when the account is a general taxable or retirement investment and the question is pure growth on contributions. Use the Paycheck Calculator to see how pre-tax HSA payroll contributions change take-home pay through the year. Stay on this page for HSA-specific questions: the projection of this account, and whether this year's contributions fit the limit.
Questions
Who is eligible to contribute to an HSA?
You must be enrolled in a qualifying high deductible health plan, not be covered by other disqualifying coverage, not be enrolled in Medicare, and not be claimed as a dependent. This calculator assumes you are eligible and does not test these conditions.
Why does the limit check combine employer money with mine?
Because the IRS limit applies to the total going into the account from all sources. Employer contributions count toward the same cap, which is why a generous employer deposit can push an employee contribution into excess.
What happens if I contribute too much?
The excess is subject to a 6 percent excise tax for each year it remains in the account. The standard fix is to withdraw the excess and any earnings on it before the tax filing deadline, which the limit mode helps you spot in advance.
Limitations
The projection assumes the same contribution and the same return every year, with contributions invested from the start of each year; real markets and changing contribution limits will produce a different path. Contribution limits in this calculator are fixed at the encoded values of USD 4,400 and USD 8,750 plus the USD 1,000 catch-up, and are not adjusted for future years, part-year eligibility, mid-year coverage changes, or a spouse's separate HSA. Tax savings use a single marginal rate and ignore state treatment, which varies.
Sources and Methodology
Health savings account rules, including eligibility, the contribution limit structure, the age 55 catch-up, and the 6 percent excise tax on excess contributions, follow the Internal Revenue Code section 223 framework and IRS Publication 969, with the limit values as encoded in this calculator. The projection uses annual compounding with start-of-year contributions. Verify the limit for your actual tax year in current IRS guidance before contributing.