CalcSeed

HSA Calculator

Enter your contribution, expected return and tax rate to estimate HSA value.

=
Quick answer: with the default inputs ($5,000, $3,850, 6%, 20), the future value is $157,660.20. At these inputs: tax savings on contributions = $18,480.00, total contributions = $82,000.00. Change any input to update the result.
Future value
—

What this calculator reports

The calculator projects a health savings account balance from a starting balance, an annual contribution and an expected return, then puts a separate dollar value on the deduction. At the defaults — $5,000 today, $3,850 a year, 6% for 20 years — the account reaches $157,660.20.

Tax savings is an independent line: contributions × years × marginal rate, or $18,480 at 24%. It is not added to the future value, because the deduction reduces taxable income in the year you contribute rather than landing inside the account. Read the two together and $82,000 of deposits cost $63,520 after the deduction and grow into $157,660.20.

The growth formula

FV=P(1+r)n+PMT·(1+r)n−1rFV=P(1+r)^n+PMT\cdot\frac{(1+r)^n-1}{r}

P is the balance already in the account and compounds for all n years. PMT is the annual contribution, treated as a deposit at the end of each year. The bracket term ((1 + r)n − 1) ÷ r sums those deposits with their own compounding, so a dollar added in year 18 earns two years of growth while a dollar added in year 1 earns nineteen.

At 6% over 20 years, 1.0620 = 3.207135 and the annuity factor is 36.785591. Both are checkable on any calculator and together they carry the whole model.

Why the contribution term is not PMT × n

$3,850 × 20 = $77,000, which is what you put in, not what you end up with. The annuity factor turns that same $77,000 into $141,624.52. The opening $5,000 undergoes the same transformation and becomes $16,035.68, a 221% gain the simple sum misses.

Worked example at the defaults

Balance leg: $5,000 × 3.207135 = $16,035.68.

Contribution leg: $3,850 × 36.785591 = $141,624.52.

Total: $16,035.68 + $141,624.52 = $157,660.20, of which $75,660.20 is interest on $82,000 of deposits. Add the $18,480 deduction and the full gain comes to $94,140.20 against $63,520 of after-tax cost, which is 148% over 20 years: 119% market growth and 29% tax relief.

The order of the three breaks

Deductible going in, no tax on growth, no tax coming out. Remove any one and the answer changes. Tax the $75,660.20 of growth at 24% as it accrues and only $57,501.75 of it survives; tax the withdrawal as well and the account behaves like a brokerage account with extra paperwork.

What the return assumption is worth

The contribution and the deduction are fixed below; only the return moves. Twenty years is long enough that small differences in return dominate every other input.

Expected returnFuture valueInterest earned
4%$125,601.22$43,601.22
6%$157,660.20$75,660.20
8%$199,488.35$117,488.35

The step from 4% to 6% adds $32,058.98 and the step from 6% to 8% adds $41,828.15. Compounding is not linear, which is why the last two points are worth more than the first two.

The three tax breaks, priced

At a 24% marginal rate the deduction is worth 24 cents per contributed dollar: $924 a year on $3,850, or $77 a month. Route the contribution through payroll and it also escapes the 7.65% FICA share, worth another $294.53 a year that the tax-savings line does not report.

The other two breaks are larger than the one the calculator measures. $75,660.20 of growth is never taxed, and the withdrawal is never taxed if it pays a qualified medical expense.

  • Deductible contributions: $18,480 of income tax avoided over 20 years at 24%
  • Tax-free growth: $75,660.20 of interest that no tax return ever reports
  • Tax-free qualified withdrawals: nothing owed on the way out for medical care

After 65 the rules loosen. Non-medical withdrawals are taxed as ordinary income but carry no 20% penalty, so the account works as a retirement account with a medical option attached. Before 65 the same withdrawal costs income tax plus 20% of the amount taken.

Who can actually contribute

You need a qualifying high-deductible health plan on the first day of the month, no Medicare enrolment, and no other disqualifying coverage. The deductible and out-of-pocket floors are indexed annually and the calculator does not check them, so confirm the plan qualifies before contributing.

Contributions are capped each year, higher for family coverage, with an extra catch-up amount from age 55. The $3,850 default sits below the self-only cap, which makes it a realistic partial-funding figure; raise it toward the cap and the balances in the table above move immediately.

HSA versus FSA: the eligibility collision

A general-purpose health FSA disqualifies you from HSA contributions for the entire plan year, even if the FSA holds a single dollar. The reason is structural: the FSA pays first-dollar expenses, which defeats the high deductible the HSA depends on.

Limited-purpose arrangements are compatible. A dental and vision FSA, or a post-deductible FSA that pays nothing until the deductible is met, can run alongside an HSA for the same plan year.

  • General-purpose health FSA: blocks HSA contributions for the whole plan year
  • Limited-purpose FSA for dental and vision: compatible with an HSA
  • Dependent care FSA: a separate bucket, compatible with an HSA

The other difference is the deadline. HSA money has none and follows you between jobs; FSA money is spent or forfeited, subject to a grace period or a capped carryover. The FSA calculator prices that forfeiture directly.

Errors that cost real money

The mistakes below show up in balances rather than on statements.

  • Leaving the cash portion uninvested: at 0.5% instead of 6% the 20-year balance falls from $157,660.20 to $86,294.07, a $71,366.13 loss for doing nothing
  • Paying medical bills from the account and discarding the receipts, when you can reimburse yourself years later for any expense incurred after the HSA was opened
  • Withdrawing $5,000 for a non-medical expense before 65: $1,000 of penalty plus $1,200 of income tax at 24%, leaving $2,800 of the $5,000
  • Ignoring Medicare premiums later: Part B, Part D and Medicare Advantage premiums are qualified expenses and often become the largest line item in the account after 65

Frequently asked questions

Is an HSA better than an FSA?

For anything beyond a single plan year, yes. On these defaults the HSA reaches $157,660.20 on $82,000 of contributions, while an FSA must be spent or forfeited every year and never compounds. Use an FSA only for expenses you can predict inside the plan year.

How much can I contribute to an HSA?

The calculator preloads $3,850 a year, which is below the self-only ceiling. The statutory cap is indexed annually, higher for family coverage, with an extra catch-up from age 55. Employer and employee contributions share one limit.

Does HSA money expire?

No. There is no use-it-or-lose-it rule, the balance rolls over indefinitely, and the account stays with you if you change jobs or retire. That is the structural difference from a health FSA.

Can I invest my HSA balance?

Most custodians allow it once the cash portion clears a threshold that is often $1,000–$2,000. Investing is the difference between $86,294.07 at 0.5% and $157,660.20 at 6% over 20 years.

What happens if I spend HSA money on non-medical expenses?

Before 65 you owe income tax plus a 20% penalty, or $2,200 on a $5,000 withdrawal at a 24% rate. After 65 the penalty disappears and the withdrawal is taxed as ordinary income, exactly like a traditional IRA.

Is an HSA worth it if I am healthy?

That is the case where it is worth most. Unspent balances compound tax-free for decades: $3,850 a year at 6% for 20 years becomes $157,660.20, with $75,660.20 of it untaxed growth.

Can I contribute to an HSA after enrolling in Medicare?

No. Enrolment ends eligibility and any excess must be removed. You can still spend the balance tax-free on qualified expenses, including Medicare Part B and Part D premiums.

What counts as a qualified medical expense?

Medical, dental and vision care, prescription drugs, most over-the-counter items, and long-term care premiums up to age-based limits. Medicare premiums qualify; Medigap premiums do not.

Do I lose my HSA if I change jobs?

No. The account belongs to you rather than your employer and nothing is forfeited when you leave. You can move it to a lower-cost custodian at any time without tax.

Method and sources

Calculation basis

Calculations follow standard financial mathematics (amortization, compound interest and time-value formulas) and reference 2026 U.S. federal parameters, such as IRS mileage and contribution rates, where applicable.

Last updated: November 19, 2026
Formula & data sources
  • HSA future value = balance and contributions compounded at expected return; contributions are tax-deductible and qualified withdrawals tax-free.

For educational purposes only — not financial, tax, or legal advice. Verify figures with a qualified professional before acting.

Cite this page

Reference formats
APA 7CalcSeed. (2026, November 19). HSA Calculator. https://calcseed.com/c/finance/hsa-calculator/
MLA 9"HSA Calculator." CalcSeed, 19 Nov. 2026, calcseed.com/c/finance/hsa-calculator/.
ChicagoCalcSeed. "HSA Calculator." Last modified November 19, 2026. https://calcseed.com/c/finance/hsa-calculator/

Related calculators

People also calculate