HSA Triple-Tax-Advantaged Investment & Tax Savings Calculator

Project tax-free HSA investment compounding plus upfront income and FICA tax savings.

Projected Tax-Free HSA Corpus USD 359,428.86
Annual Upfront Tax Savings USD 2,626.95
Cumulative Upfront Taxes Saved USD 52,539.00
Tax-Free Investment Growth USD 193,428.86
Inputs
Try:
Amounts are treated in the selected currency; no foreign-exchange conversion is applied.
USD/yr
Annual HSA family or individual contribution.
%
Combined federal, state, and 7.65% FICA payroll tax rate saved (%).
%
Expected annual HSA investment return (%).
years
Years of tax-free compounding before reimbursement.
Results & Graph
Projected Tax-Free HSA Corpus
USD 359,428.86
Annual Upfront Tax Savings
USD 2,626.95
Cumulative Upfront Taxes Saved
USD 52,539.00
Tax-Free Investment Growth
USD 193,428.86

Projected Tax-Free HSA Corpus

Graph 1 • How the inputs feed HSA Triple-Tax Growth
HSA Triple-Tax-Advantaged Investment & Tax Savings Calculator • Custom Domain Schematic (Retirement & Pensions) USDannualHsHSA Triple-Tax Growth Annual Hsa Contribution: 8.3k USD/yr • Combined Income And Fica Tax Pct: 31.65 % PROJECTED TAX-FREE HSA COR USD 359,428.86 • Annual Upfront Tax Sav: USD 2,626.95 • Cumulative Upfront Tax: USD 52,539.00 Eq: AnnualTaxSaved = AnnualContribut
Graph 2 • Projected Tax-Free HSA Corpus as Annual Hsa Contribution changes (40% to 160% of current)
0 USD 316.3k USD 632.6k USD 143.8k 3.3k 215.7k 5.0k 287.5k 6.6k 359.4k 8.3k 431.3k 10.0k 503.2k 11.6k 575.1k 13.3k
Graph 3 • Annual Hsa Contribution and Combined Income And Fica Tax Pct together Compares Projected Tax-Free HSA Corpus when Combined Income And Fica Tax Pct is shifted +25% (solid) vs. −25% (dashed).
0 USD 257.0k USD 514.0k USD --- Combined Income And Fica Tax Pct @ 75% 251.6k -30% 305.5k -15% 359.4k +0% 413.3k +15% 467.3k +30%
Summary: Contributing USD 8,300.00/yr for 20 years at 7.5% grows to USD 359,429.00 while saving USD 2,626.95/yr in upfront payroll + income taxes.
Summary: Contributing USD 8,300.00/yr for 20 years at 7.5% grows to USD 359,429.00 while saving USD 2,626.95/yr in upfront payroll + income taxes.
Interactive chart & math engine powered by CalculatorGraph

Formula: HSA Triple-Tax Growth Mathematical Formula

AnnualTaxSaved = AnnualContribution × (MarginalIncomeTax% + FICA7.65%)
FutureCorpus = PMT × [((1+r)n − 1) / r]
AnnualTaxSaved = AnnualContribution × (MarginalIncomeTax% + FICA_7.65%); FutureCorpus = PMT × [((1+r)^n − 1) / r]
  • annualHsaContribution: Annual Hsa Contribution (USD/yr)
  • combinedIncomeAndFicaTaxPct: Combined Income And Fica Tax Pct (%)
  • expectedInvestmentReturnPct: Expected Investment Return Pct (%)
  • investmentYears: Investment Years (years)

Frequently Asked Questions

Why is the default tax rate 31.65%?

It appears to combine a 24% income tax bracket with the 7.65% payroll tax rate. It is only an example. Your own figure depends on your federal bracket, your state, and whether you contribute through payroll. Replace it with your own estimate, and ask a tax professional if you are unsure which rates apply to your contributions.

Is the $52,539 of tax savings added to the HSA corpus?

No. The cumulative savings line is just $2,626.95 times 20 years. It is money that stayed in your pocket, and the model does not invest it anywhere. The $359,428.86 corpus comes only from the $8,300 contributions and their growth. If you invested the tax savings separately, they would grow too, but outside the HSA.

Does the projection assume I contribute at the start or end of each year?

The end. The formula is the ordinary annuity, so each deposit starts earning in the following year. Contributing earlier, through payroll or a January lump sum, would give a somewhat higher result. Contributing the full amount at the start of every year would make the corpus 7.5% larger than the default projection.

Should I include payroll tax if I contribute from my bank account?

Generally not. The payroll tax saving usually applies only to contributions made through an employer's payroll plan. Direct contributions may still reduce your income tax but typically not your payroll tax. Leave the 7.65% out of the combined rate in that case, and confirm the treatment for your situation with a tax professional.

Is the projected corpus in today's dollars?

No, it is in future dollars. The calculator applies a nominal 7.5% return and makes no inflation adjustment. Medical costs tend to rise over time, so the $359,428.86 projected for year 20 will buy less care than the same sum would now. To think in today's dollars, enter a return that is reduced by your inflation assumption.

Does changing the tax rate change the projected corpus?

No. The corpus depends only on the contribution, the return and the years. The tax rate affects the annual and cumulative savings lines and nothing else. That is because the calculator invests the full contribution, which matches how pre-tax HSA contributions work: the tax saving shows up in your pay or tax return, not in the account.

What happens if I set the expected return to zero?

The corpus becomes the plain sum of your contributions, twenty times $8,300 on the defaults, and the growth line reads zero. That is roughly what happens if your HSA balance sits in cash. It is a useful comparison, because it shows how much of the projected corpus depends on actually investing the money.

Does the calculator check the HSA contribution limit?

Only that the contribution is above zero. It accepts any positive amount, including amounts above what the rules allow for your coverage. Limits depend on whether you have self-only or family coverage and on the year, and they are updated over time. Look up the current limit before entering a figure, as the page's own error message suggests.

How do I use this calculator if I spend my HSA on current bills?

Reduce the contribution to the amount you expect to leave invested each year after paying bills, or shorten the investment years. The tax savings line still reflects the full amount you contribute, so you may want to run it twice: once for the tax saving on the full contribution, and once for the corpus on what you actually leave invested.

What does the $4,300 self-only scenario show?

Everything scales with the contribution. At $4,300 a year, about 52% of the default, the corpus after 20 years is $186,210.13, the annual tax saving $1,360.95 and the growth $100,210.13. Each figure is the same fraction of its default counterpart, which is a quick way to estimate any other contribution level without rerunning the page.

Are HSA withdrawals always tax-free?

The calculator assumes they are, because it assumes the money pays for qualified medical expenses. Withdrawals for other purposes are treated differently, and may be taxed and possibly penalized depending on the circumstances. The rules are specific enough that a tax professional should confirm them before you plan around a non-medical withdrawal.

Can I compare investing the HSA with leaving it in cash?

Yes, by running the page twice. Keep every input the same and set the return to zero for the cash version. The difference between the two corpus figures is the growth you would give up by not investing, which on the defaults is the full $193,428.86 growth line. Fees and cash interest would narrow the gap slightly.

Reading the default: $8,300 a year for 20 years

The calculator opens with an annual HSA contribution of $8,300, a combined tax rate of 31.65%, an expected investment return of 7.5% and a 20 year horizon. The combined rate looks like a 24% income tax bracket plus 7.65% of payroll tax, though the field accepts any figure you choose.

On those inputs the projected corpus after 20 years is $359,428.86. Below it, the annual upfront tax saving is $2,626.95, which is simply $8,300 times 31.65%. Over 20 years those savings add up to $52,539 in total. And the tax-free investment growth line, $193,428.86, is the part of the corpus that came from returns rather than from your own deposits.

Put those together and you can see the shape of the argument the page is making. Twenty deposits of $8,300 are your money going in. The rest of the $359,428.86 is growth that, under the strategy described here, would never be taxed. And separately, every year you contributed you kept $2,626.95 that would otherwise have gone in tax.

Each of those numbers rests on assumptions, and the rest of this guide walks through what they are and how much each input moves the answer.

The pay-bills-now, reimburse-later strategy behind the corpus

The page is built around one specific way of using an HSA. You pay your current medical bills out of your own pocket, leave the HSA money invested for decades, and reimburse yourself much later. The field help for the years input says this directly: years of tax-free compounding before reimbursement.

That is why the corpus is shown as tax-free. The calculator assumes the money eventually comes out to pay for qualified medical expenses, which is the case where HSA withdrawals are not taxed. If the money comes out for other purposes, the tax treatment is different and the corpus shown here overstates what you would keep. The rules for non-medical withdrawals, including any penalty and how age affects it, are something to confirm with a tax professional rather than infer from this page.

The strategy has a practical requirement that the calculator does not show: you need records. If you plan to reimburse yourself years from now for bills paid today, keep the receipts and a simple log of what you paid and when. Without them, the reimbursement may be hard to justify.

It also needs spare cash. Paying medical costs out of pocket while also contributing $8,300 a year only works if your budget can carry both. If it cannot, using the HSA for current bills is a perfectly sensible choice, and the long-term corpus will be smaller.

How the corpus formula treats your deposits

The corpus uses the standard future value of an annuity: the contribution times the quantity (1 + r) to the power n minus 1, divided by r. I checked the default by hand and $8,300 at 7.5% for 20 years does give $359,428.86.

That formula assumes each contribution goes in at the end of its year and then earns the full return from the next year on. Many people contribute through payroll, a little every pay period, so their money starts earning sooner. Others contribute a lump sum in January. In both cases the real result would be somewhat higher than the page shows. Paying the whole year's contribution at the start of each year, for example, would make the corpus 7.5% larger than the end-of-year figure, because every deposit gets one more year of growth.

The formula also assumes the return is smooth, the same 7.5% every year. Real investment returns vary, and a few bad years near the end of the period can leave the corpus well below the projection even if the average comes out the same.

Finally, the money has to be invested to grow. Many HSAs hold contributions in cash by default, and some require a minimum cash balance before you can invest. Cash earning little or nothing would not produce anything like the growth line here.

What goes in the 31.65% combined tax field

The tax field is a single percentage that the calculator multiplies by your contribution. It does not know your bracket, your state or how you contribute, so the figure you enter decides the whole tax saving column.

The default of 31.65% includes 7.65% of payroll tax. That part of the saving generally applies only when contributions are taken from your pay through an employer's plan. If you contribute directly from your bank account, you may still get the income tax deduction but not the payroll tax saving, and you should leave the 7.65% out.

State tax is another judgement call. Most people include their state rate, but not every state treats HSA contributions the same way as federal law, so check your own state before adding it in.

Changing this field moves only the tax lines. The corpus and growth figures do not depend on it at all, because the calculator invests the full contribution, not the contribution minus tax. Enter 22% instead of 31.65% and the annual saving falls in proportion while the $359,428.86 corpus stays exactly where it was.

Note too that the $2,626.95 a year you save in tax is not invested anywhere in this model. The cumulative $52,539 line is just the annual saving times the years. If you invested those savings as well, your total wealth would be higher, but that money would sit in a taxable account, not the HSA.

Return and time: the two inputs that move the corpus most

Set the expected return to zero and the corpus is simply twenty times $8,300, with nothing on the growth line. That is a useful floor: it is what the strategy produces if the money sits in cash.

At 5% instead of 7.5% the corpus drops by nearly a quarter. The return assumption is the most uncertain input on the page, and it compounds, so a modest change produces a large difference by year 20. Run the calculator at a cautious return as well as your hopeful one.

The horizon matters even more. Cut the years to 10 and the corpus is roughly a third of the 20 year figure. The family preset over 30 years shows the other direction: $858,215.04, with $609,215.04 of that being growth and $78,808.50 of cumulative tax saved. That is more than double the 20 year corpus, even though you have only contributed half as much again. It is the whole case for leaving HSA money invested and paying current bills from elsewhere: the late years do most of the work.

Two cautions on time. The investment years field means years of contributing and compounding together, so it assumes you keep contributing every year until the end. And the result is in future dollars. Medical costs tend to rise over time, so $359,428.86 in 20 years will not pay for as much care as that sum would today.

The $4,300 self-only scenario and scaling with contribution size

A smaller saver is modelled by the self-only style preset at $4,300 a year. With the same 31.65% tax rate, 7.5% return and 20 years, the corpus is $186,210.13. The annual tax saving is $1,360.95, the cumulative saving is $27,219 over the period, and the growth line is $100,210.13.

Each of those is about 52% of the default figure, because $4,300 is about 52% of $8,300 and every output in the model is proportional to the contribution. That makes the calculator easy to reason about. If you contribute half as much, everything is halved.

The calculator does not check your contribution against any legal limit. HSA contribution limits depend on your coverage type and the year, and they are revised over time. The engine will happily project a contribution that is larger than you are allowed to make. Look up the limit for your coverage before entering a figure, and treat the default $8,300 as an example rather than a current limit.

It also assumes the same contribution every year for 20 years. Limits usually rise over time and circumstances change, so a real contribution history will rarely be this flat.

Fees, eligibility and the costs the model skips

The projection assumes no account fees and no fund expenses. HSA providers vary, and a fee taken every year reduces the effective return. If your provider charges fees, lower the return input by roughly that amount to see the effect.

It also assumes you are eligible to contribute for all 20 years. HSA contributions depend on being covered by a qualifying high-deductible health plan, and a change of job or insurance can end eligibility. Years without contributions would shrink the corpus considerably.

The model also says nothing about the cost of the health plan itself. A high-deductible plan can mean higher out-of-pocket costs in a year when you need a lot of care. The tax savings on this page are only one side of choosing a plan, and they should be weighed against premiums and deductibles with your own expected medical use.

None of this is tax or financial advice. The calculator shows the arithmetic of one strategy under steady assumptions. For decisions about your own coverage, contributions and withdrawals, a tax professional or benefits adviser is the right person to ask.

Input checks on contribution, tax rate and years

The calculator now checks its inputs before projecting anything, which removes several ways to get an official looking but meaningless answer.

The contribution must be above zero. A blank or negative figure is rejected with a reminder to check the current-year HSA limit. The check stops nonsense, but it does not compare your figure with the limit for your coverage, so that part is still up to you.

The combined tax rate must be between 0% and 60%. A typo such as an extra digit, which would otherwise suggest you saved more in tax than you contributed, is caught here.

Investment years must be a whole number from 1 to 60. If you want to see what happens with no investing at all, keep the years and set the return to zero instead.

One mistake the checks cannot catch: enter 7.5 for 7.5%, not 0.075. A return typed as a decimal is a valid input, read as a tiny fraction of a percent, and the corpus will look almost identical to the bare sum of your deposits.