Skip to main content
TaxMath

HSA savings calculator

Your health savings account limit for the year, the federal and state income tax a contribution saves, and what the account grows to if you leave it invested.

Income
W-2 box 1, before tax.
1099-DIV box 1a.
1099-DIV box 1b; part of ordinary dividends.
1099-DIV box 2a.
Household
Joint returns only.
HSA
Outside payroll, deducted on your return.
Growth
Your 2025 HSA limit$4,300
Room left this year
$300
Income tax your contribution saves this year
$880
Federal
$880
State
$0
Balance in 25 years
$190,908.41
The same, in today’s dollars
$102,974.20
Year by year
StepAgePut inEmployerReturnTaken outBalance at year endIn today’s dollars
Year 140$4,000$0$0$0$4,000$3,902.44
Year 241$4,000$0$200$0$8,200$7,804.88
Year 342$4,000$0$410$0$12,610$11,709.64
Year 443$4,000$0$630.50$0$17,240.50$15,619.04
Year 544$4,000$0$862.03$0$22,102.53$19,535.42
Year 645$4,000$0$1,105.13$0$27,207.66$23,461.08
Year 746$4,000$0$1,360.38$0$32,568.04$27,398.36
Year 847$4,000$0$1,628.40$0$38,196.44$31,349.60
Year 948$4,000$0$1,909.82$0$44,106.26$35,317.13
Year 1049$4,000$0$2,205.31$0$50,311.57$39,303.32
Year 1150$4,000$0$2,515.58$0$56,827.15$43,310.52
Year 1251$4,000$0$2,841.36$0$63,668.51$47,341.10
Year 1352$4,000$0$3,183.43$0$70,851.94$51,397.44
Year 1453$4,000$0$3,542.60$0$78,394.54$55,481.95
Year 1554$4,000$0$3,919.73$0$86,314.27$59,597.03
Year 1655$4,000$0$4,315.71$0$94,629.98$63,745.11
Year 1756$4,000$0$4,731.50$0$103,361.48$67,928.65
Year 1857$4,000$0$5,168.07$0$112,529.55$72,150.11
Year 1958$4,000$0$5,626.48$0$122,156.03$76,411.98
Year 2059$4,000$0$6,107.80$0$132,263.83$80,716.77
Year 2160$4,000$0$6,613.19$0$142,877.02$85,067.02
Year 2261$4,000$0$7,143.85$0$154,020.87$89,465.28
Year 2362$4,000$0$7,701.04$0$165,721.91$93,914.15
Year 2463$4,000$0$8,286.10$0$178,008.01$98,416.24
Year 2564$4,000$0$8,900.40$0$190,908.41$102,974.20
  • Assumed. The saving is the income tax your own contribution takes off this year’s federal and state return, figured by running both engines with and without it; each state’s own treatment of an HSA deduction is its engine’s. Your employer’s contribution is already left out of your wages.
  • Assumed. A contribution through a cafeteria plan at work is also free of Social Security and Medicare tax, which this does not figure. The same amount is put in every year; future limits rise with inflation.
  • Assumed. Nothing is withdrawn. A withdrawal for qualified medical expenses is tax-free; one for anything else is taxable and, before 65, owes an additional tax.

How it works

The limit is the year’s §223(b)(2) amount for your coverage from the IRS revenue procedure, plus $1,000 if you are 55 or older by the year’s end; your and your employer’s contributions together must fit within it.

The tax saved is the federal and state income tax with your contribution deducted on Schedule 1 line 13 less the tax without it. The balance grows at the return each year, rounded to the cent, with the year’s contributions added at its end.

Nothing you enter leaves your browser, and nothing is stored. The same calculator is available to AI agents as the tool calc_hsa_savings, in the page through WebMCP and at https://taxmath.org/mcp.

Sources

Put this calculator on your site

Paste this where the calculator should appear. Our script draws the calculator above the credit line, which is a plain link in your page. It is free, needs no signup and keeps nothing your readers type. Please keep the credit line. The embed page lists the options it takes.

<!-- TaxMath hsa savings calculator -->
<div class="taxmath-embed" data-taxmath-calc="hsa-savings" data-taxmath-title="HSA savings calculator" style="max-width:680px;margin:1.5rem auto">
  <p style="font:400 13px/1.4 system-ui,sans-serif;color:#4b4b5a;margin:.5rem 0 0">
    <a href="https://taxmath.org/calculators/hsa-savings/?utm_source=embed&amp;utm_medium=referral&amp;utm_campaign=calculator-widget">HSA savings calculator</a> by <a href="https://taxmath.org/?utm_source=embed&amp;utm_medium=referral&amp;utm_campaign=calculator-widget">TaxMath</a>
  </p>
</div>
<script src="https://taxmath.org/embed.js" async></script>
Your site strips scripts? Use the iframe version
<!-- TaxMath hsa savings calculator -->
<div class="taxmath-embed" style="max-width:680px;margin:1.5rem auto">
  <iframe src="https://taxmath.org/embed/v3/hsa-savings/"
          title="TaxMath — HSA savings calculator"
          width="100%" height="640" loading="lazy"
          style="width:100%;border:1px solid #d8dae6;border-radius:4px"></iframe>
  <p style="font:400 13px/1.4 system-ui,sans-serif;color:#4b4b5a;margin:.5rem 0 0">
    <a href="https://taxmath.org/calculators/hsa-savings/?utm_source=embed&amp;utm_medium=referral&amp;utm_campaign=calculator-widget">HSA savings calculator</a> by <a href="https://taxmath.org/?utm_source=embed&amp;utm_medium=referral&amp;utm_campaign=calculator-widget">TaxMath</a>
  </p>
</div>
<script src="https://taxmath.org/embed.js" async></script>

Go further