Skip to content
← Back to Blog

HSA Triple-Tax Calculator: The 3-Number Formula for Your Exact Savings When Mortgage Rates Top 7% in September 2026

Mortgage rates crossed back above 7% this week. NerdWallet's September 11 rate check had them "just below 7%," and by Monday, September 14, they'd pushed over it — markets are now pricing in a Fed rate hike at Wednesday's meeting, and lenders are moving ahead of the announcement. Meanwhile, the Bureau of Labor Statistics' latest numbers show CPI up 0.4% in August, unemployment holding at 4.1%, payrolls up 162,000, and average hourly earnings up just $0.10.

None of those four numbers, by themselves, tell you what to do with your next dollar. But together, they set the two competing "guaranteed returns" you're choosing between right now: paying down a mortgage sitting above 7%, or capturing the HSA triple-tax advantage. This post gives you the actual formula — not a rule of thumb — so you can run your own numbers instead of guessing.

The 3-Number HSA Calculator

Every HSA decision comes down to three inputs multiplying against each other. Get these three numbers for your own situation, and the rest is arithmetic:

  1. Your immediate tax rate (federal marginal bracket + state income tax + 7.65% FICA if contributing via payroll deduction)
  2. Your investment time horizon and expected return (how many years until you need the money, and what you invest it in)
  3. Your withdrawal tax treatment (qualified medical = 0%, non-medical after 65 = ordinary income like a traditional IRA, non-medical before 65 = ordinary income + 20% penalty)

Step 1: The immediate deduction

If you're in the 24% federal bracket and contribute through payroll, your out-of-pocket cost per dollar contributed is:

1 − 0.24 (federal) − 0.0765 (FICA) = $0.68 per $1.00 contributed

On the 2026 family HDHP limit of $8,750, that's:

  • Tax + FICA savings: 8,750 × 0.3165 = $2,769
  • Actual out-of-pocket cost: 8,750 − 2,769 = $5,981

You already got a 32%+ return before the money even touched an investment account. This is the part most calculators stop at — but it's only step one.

Step 2: The growth multiplier — this is where cash vs. invested HSAs diverge hard

If that $8,750 sits in cash, it earns whatever your HSA administrator's savings rate is — often under 2%, sometimes near-zero. If it's invested (most HSA administrators let you invest anything above a small cash threshold), it compounds at market rates.

Using a 7% average annual return — not coincidentally the same number showing up in this week's mortgage headlines — here's what $8,750/year invested looks like over 20 years:

FV = 8,750 × [(1.07²⁰ − 1) / 0.07]

1.07²⁰ ≈ 3.8697

FV ≈ 8,750 × 41.0 ≈ $358,750

That's from contributions alone, growing completely tax-free — no capital gains tax, no dividend tax, no annual 1099-DIV drag the way a taxable brokerage account would have. The gap between leaving that money in cash versus investing it is the same mechanic covered in the $146,112 hidden cost of leaving your HSA in cash, just compounding at whatever your own contribution and timeline actually are.

Step 3: The withdrawal — where age 65 changes everything

  • Qualified medical expense, any age: 0% tax, 0% penalty. This is the "triple" in triple-tax.
  • Non-medical withdrawal before 65: ordinary income tax + 20% penalty.
  • Non-medical withdrawal at 65+: ordinary income tax only, no penalty — functionally identical to a traditional IRA.

That last line is the Medicare coordination detail people miss. Once you enroll in Medicare, you can no longer contribute to an HSA (Medicare enrollment is retroactive up to 6 months if you delay past 65, so watch that lookback window if you're still contributing). But the account doesn't stop being useful — it just shifts from "tax-free medical wallet" to "backup retirement account with a Roth-like bonus for medical spending." You're never locked out of the money; you're choosing which tax treatment applies to it.

This is the kind of analysis Trivexano runs for you — so you don't have to build the spreadsheet yourself.

Applying the Formula: Mortgage Paydown vs. HSA Right Now

With rates over 7%, the instinct is "guaranteed 7% return by paying down the mortgage beats a stock market gamble." But that's comparing pre-tax debt cost to pre-tax investment return, and it ignores step 1 of the calculator entirely.

Worked example (24% bracket, $1,000 available this month):

PathImmediate costEffective annual value
Extra mortgage payment (7.1% rate)$1,000 out of pocket7.1% guaranteed, no tax event
HSA contribution, invested$683 out of pocket ($1,000 × 0.68)Needs only ~4.8% market return to match the mortgage's 7.1% on a per-dollar-invested basis, and every dollar above that is pure upside

That 4.8% breakeven number is the one that matters — not the mortgage rate itself. A 20-year historical average for a diversified stock/bond HSA allocation comfortably clears 4.8%. This is the same break-even logic laid out in the HSA triple-tax vs. 7% mortgage math from May's rate jump, applied to September's number instead of May's. But your numbers will differ based on your actual bracket, state tax, mortgage rate, remaining loan term, and expected return — the breakeven for a 32%-bracket household with a 6.8% mortgage is a meaningfully different number than the 24%/7.1% example above.

The "Die with Zero" Question Applied to HSAs

NerdWallet's recent piece on the "Die with Zero" philosophy — spend your money while you can enjoy it, rather than dying with a large unused balance — raises a real question for HSA holders nearing 65: are you over-saving in an account you'll never fully use?

Run the math before assuming yes. Unlike a taxable account you might genuinely die with unused, an HSA has three exits that all avoid the "wasted savings" problem:

  • Spend it on medical costs (including Medicare premiums, dental, vision, and long-term care insurance premiums, all tax-free) as you age — and healthcare spending reliably rises with age, not falls.
  • Reimburse yourself for any qualified medical expense paid out-of-pocket at any point since you opened the HSA, with no expiration date, as long as you kept the receipt.
  • Withdraw it as ordinary income after 65, same as a traditional IRA, with zero penalty.

That third exit is what makes "Die with Zero" largely a non-issue for HSAs specifically — you're never trapped. The account converts into flexible retirement money automatically at 65. The real decision isn't "save or spend," it's "cash or invested" and "mortgage or HSA," which is exactly what the 3-number calculator above answers.

Where the Chase Sapphire Comparison Fits

If you're also weighing a Chase Sapphire Preferred or Reserve sign-up bonus against directing that same cash into your HSA, you're running a parallel version of this same calculator — immediate value (points) versus deducted, invested, tax-free value (HSA). NerdWallet's rundown of the card's seven traveler benefits is worth reading for the point valuations, but the tax math underneath is covered step-by-step in the Chase Sapphire 100,000-point offer vs. HSA triple-tax breakdown. The short version: a one-time points bonus is a fixed dollar value; an HSA contribution compounds for decades. Which wins depends entirely on how soon you'd redeem the points versus how long the HSA money would sit invested.

Your Numbers, Not the Example's Numbers

Every figure above — the $8,750 limit, the 24% bracket, the 7% mortgage rate, the 7% market return — is a specific, labeled example, not a universal answer. Change any one of the three calculator inputs and the conclusion can flip:

  • A 32% bracket taxpayer gets a bigger step-1 discount, lowering the breakeven return needed to beat any given mortgage rate.
  • A 5-year time horizon instead of 20 makes step 2's compounding far less powerful, which can tip the decision toward mortgage paydown or an emergency fund instead — the kind of tradeoff mapped out in the 5-gate HSA vs. emergency fund decision framework.
  • A state with no income tax changes step 1's math meaningfully versus a high-tax state.

You can model this for your specific situation at Trivexano — plug in your actual bracket, contribution amount, mortgage rate, and time horizon, and get the breakeven number instead of an example one.

The Bottom Line

With mortgage rates over 7% and a Fed decision landing Wednesday, this is a genuinely live decision for anyone with spare cash this month — not an abstract exercise. The formula doesn't change week to week: tax savings now, tax-free growth over your horizon, tax-free (or IRA-equivalent) withdrawal later. What changes is which numbers you plug in. Run your own three numbers before the next rate announcement moves the goalposts again — Trivexano will do the compounding math for you in the time it takes to read this sentence twice.

Sources

Ready to optimize your HSA strategy?

Optimize Your HSA Strategy Free