{
  "slug": "hsa-triple-tax-advantage",
  "title": "HSA Triple Tax Advantage Calculator",
  "heading": "HSA Triple-Tax-Advantage Value Calculator",
  "category": "financial",
  "url": "https://www.revenuelab.fyi/toolbox/hsa-triple-tax-advantage",
  "summary": "See what an HSA is really worth versus a taxable brokerage account.",
  "description": "A Health Savings Account is the only account that skips tax on the way in, skips tax on growth, and skips tax on the way out for qualified medical expenses. This calculator compares investing HSA contributions and letting them ride for decades against putting the same dollars into a taxable account, so you can see the dollar value of the triple exclusion rather than just hearing it's 'the best account.' It models your current contribution, expected annual growth, years until you'd tap the funds, and your marginal tax rate plus long-term capital gains rate for the taxable comparison. The gap comes from three separate breaks stacking: the upfront deduction (or payroll pretax treatment), tax-free compounding with no annual drag from dividends or capital gains distributions, and a fully tax-free withdrawal when the money is used for medical costs, including reimbursing yourself years later for receipts you saved.",
  "formula": "HSA future value = contribution × ((1+r)^n − 1)/r, fully tax-free at withdrawal. Taxable equivalent = same contributions net of upfront tax, grown at after-tax return (r × (1 − LTCG rate)), then compared against pre-tax withdrawal value.",
  "dateModified": "2026-09-30",
  "run_url": "https://www.revenuelab.fyi/api/public/calc?tool=hsa-triple-tax-advantage",
  "inputs": [
    {
      "id": "contribution",
      "label": "Annual HSA contribution",
      "kind": "number",
      "hint": null,
      "default": 4300,
      "unit": "$",
      "min": 0,
      "max": null
    },
    {
      "id": "years",
      "label": "Years invested before withdrawal",
      "kind": "number",
      "hint": null,
      "default": 25,
      "unit": null,
      "min": 1,
      "max": 50
    },
    {
      "id": "returnRate",
      "label": "Expected annual return",
      "kind": "number",
      "hint": null,
      "default": 7,
      "unit": "%",
      "min": 0,
      "max": 15
    },
    {
      "id": "marginalRate",
      "label": "Marginal income tax rate",
      "kind": "number",
      "hint": null,
      "default": 24,
      "unit": "%",
      "min": 0,
      "max": 50
    },
    {
      "id": "ltcgRate",
      "label": "Long-term capital gains + dividend drag",
      "kind": "number",
      "hint": null,
      "default": 18,
      "unit": "%",
      "min": 0,
      "max": 40
    }
  ],
  "outputs": [
    {
      "id": "advantage",
      "label": "HSA advantage over taxable account",
      "format": "currency",
      "hint": null,
      "primary": true
    },
    {
      "id": "fvHsa",
      "label": "HSA future value (tax-free)",
      "format": "currency",
      "hint": null,
      "primary": false
    },
    {
      "id": "fvTaxable",
      "label": "Equivalent taxable account value",
      "format": "currency",
      "hint": null,
      "primary": false
    },
    {
      "id": "pctMore",
      "label": "HSA is larger by",
      "format": "percent",
      "hint": null,
      "primary": false
    },
    {
      "id": "totalContributed",
      "label": "Total contributed over period",
      "format": "currency",
      "hint": null,
      "primary": false
    }
  ],
  "worked_example": {
    "inputs": [
      "Annual HSA contribution: 4300 $",
      "Years invested before withdrawal: 25",
      "Expected annual return: 7 %",
      "Marginal income tax rate: 24 %",
      "Long-term capital gains + dividend drag: 18 %"
    ],
    "outputs": [
      "HSA advantage over taxable account: $99,103",
      "HSA future value (tax-free): $271,971",
      "Equivalent taxable account value: $172,868",
      "HSA is larger by: 57.3%",
      "Total contributed over period: $107,500"
    ]
  },
  "how_to": {
    "title": "How to use this",
    "steps": [
      "Enter annual hsa contribution ($).",
      "Enter years invested before withdrawal.",
      "Enter expected annual return (%).",
      "Enter marginal income tax rate (%).",
      "Enter long-term capital gains + dividend drag (%).",
      "Read your hsa advantage over taxable account on the right — it updates as you type.",
      "Hit Share to keep the scenario or send it to someone."
    ]
  },
  "scenarios": [
    {
      "name": "Conservative",
      "description": "Lower-end numbers — what if things land soft?",
      "values": {
        "contribution": 2600,
        "years": 15,
        "returnRate": 4.2,
        "marginalRate": 14,
        "ltcgRate": 11
      }
    },
    {
      "name": "Typical",
      "description": "Defaults — the most common real-world setup.",
      "values": {
        "contribution": 4300,
        "years": 25,
        "returnRate": 7,
        "marginalRate": 24,
        "ltcgRate": 18
      }
    },
    {
      "name": "Ambitious",
      "description": "Higher-end numbers — what if things really pop?",
      "values": {
        "contribution": 6900,
        "years": 40,
        "returnRate": 11.200000000000001,
        "marginalRate": 38,
        "ltcgRate": 29
      }
    }
  ],
  "limitations": [
    "Results are estimates before tax, fees, and inflation unless an input explicitly covers them.",
    "Rates are treated as fixed for the whole period — variable-rate products will drift from this projection.",
    "This is educational maths, not financial advice. Check anything contractual with the lender or your accountant."
  ],
  "faq": [
    {
      "q": "Do I have to spend HSA money on medical bills right away?",
      "a": "No. There's no use-it-or-lose-it rule and no deadline to reimburse yourself. You can pay medical bills out of pocket now, save the receipts, invest the HSA balance for decades, and reimburse yourself later tax-free whenever you want — even in retirement. That's what makes long-term investing inside an HSA so powerful."
    },
    {
      "q": "What happens if I withdraw for non-medical expenses?",
      "a": "Before 65, it's taxed as ordinary income plus a 20% penalty, similar to an early 401(k) withdrawal but worse. After 65, non-medical withdrawals are taxed as ordinary income with no penalty, functioning like a traditional IRA. That's a solid fallback, not a reason to treat it as a spending account."
    },
    {
      "q": "Should I invest my HSA or keep it in cash for near-term bills?",
      "a": "If you can afford to pay current medical costs from cash flow or savings, invest the HSA and let compounding work. Keep a cash cushion inside the HSA (often $1,000–$2,000) only if you genuinely expect near-term claims you can't cover elsewhere."
    },
    {
      "q": "Is the HSA contribution limit the same as an FSA?",
      "a": "No. For 2024 the HSA limit is $4,150 individual / $8,300 family, plus a $1,000 catch-up at 55+. FSAs top out lower and carry use-it-or-lose-it rules. HSAs also require an HSA-eligible high-deductible health plan."
    }
  ],
  "related": [
    "https://www.revenuelab.fyi/toolbox/mega-backdoor-401k-capacity",
    "https://www.revenuelab.fyi/toolbox/asset-location-tax-efficiency",
    "https://www.revenuelab.fyi/toolbox/hsa-invest-vs-reimburse"
  ],
  "license": "CC-BY-4.0",
  "citation": "RevenueLab — HSA Triple Tax Advantage Calculator (https://www.revenuelab.fyi/toolbox/hsa-triple-tax-advantage)"
}