Skip to content
OF OfficialFinancial

HSA priority calculator

If you are HDHP-eligible, the HSA usually beats both Roth and Traditional on after-tax expected value. This calculator shows your annual cap and the priority order we use in the engine.

2026 contribution cap
$4,300
Engine priority order when HSA-eligible
  1. Capture full employer 401(k) match
  2. Eliminate toxic debt
  3. Max HSA
  4. Max IRA (Roth or Traditional)
  5. Increase 401(k) toward annual limit
  6. Taxable brokerage
Want this tied to your real numbers?

Create a free account and we'll plug your profile in automatically — and place this tool inside your full roadmap.

Start My Free Financial Roadmap

FAQ

Why is the HSA "triple tax-advantaged"?
Contributions are pre-tax, growth is tax-free, and qualified medical withdrawals are tax-free. No other account combines all three.
Should I spend my HSA today or invest it?
If cash flow allows, paying medical bills out-of-pocket and saving the receipts lets you invest the HSA balance and reimburse later — turning the HSA into a stealth retirement account.
What happens after 65?
After 65, HSA withdrawals for non-medical expenses are taxed like a Traditional IRA — no penalty.

Educational guidance only. Not legal, tax, or individualized investment advice. We do not recommend individual securities or guarantee outcomes.