小王算钱
Learn

IBKR Margin Tax Optimizer

Quantify the true after-tax cost of leveraged VOO positions and see how CA ↔ WA relocation rewrites the math. Built for high-bracket MFJ tech-worker households running core-satellite portfolios.

Effective after-tax margin cost

(side-by-side)
California
2.73%
pre-tax 5.00%·Net annual tax savings $9.1k/yr
Washington
3.29%
pre-tax 5.00%·Net annual tax savings $6.9k/yr

Where each dollar of interest goes

Interest is allocated in order: first to bridge the standard-deduction gap, then to NII free fuel, then to elected LT, then to undeductible residual.

California
Total interest $20k
Dead zone
$2.3k11%
Free fuel (ST + ordinary)
$17k85%
Election fuel (LT)
$7204%
Undeductible waste
$00%
Washington
Total interest $20k
Dead zone
$2.3k11%
Free fuel (ST + ordinary)
$17k85%
Election fuel (LT)
$7204%
Undeductible waste
$00%

Adjust Your Numbers

$
%
Benchmark 3.88% as of 2026-11-20 · NY Fed EFFRSynced from IBKR Pro tier (5.00%)
$
%
$
Federal deduction strategy
Wage earners
$
$
$

Tax savings detail

CaliforniaWashington
Federal income tax saved$6.2k$6.2k
NIIT (3.8%) saved$761$761
CA state tax saved$2.3k—
LT election cost (15¢/$)-$108-$108
Net annual tax savings$9.1k$6.9k
WA cap-gains excise tax
——

Optimal margin level

California
Current balance$400k
Optimal margin balance$805k
Capacity+$405k
of unused tax shield — room to add margin
Washington
Current balance$400k
Optimal margin balance$805k
Capacity+$405k
of unused tax shield — room to add margin

Post-rotation terminal state

Once the rotation completes, gains drop to zero. Only ordinary investment income remains as NII.

California
Effective rate post-rotation3.92%
vs. now 2.73% · pre-tax 5.00%
Washington
Effective rate post-rotation4.21%
vs. now 3.29% · pre-tax 5.00%

At that point, margin becomes a leveraged-VOO play, not a tax arbitrage. Plan to deleverage with W-2 income or hold for further compounding only if leverage still pencils on its own.

Insights

You have unused tax-shield capacity. Either increase margin balance or wait for a larger gain year.
WA savings on W-2 income (~$56K/yr for a $1M earner) dwarf the lost margin tax benefit. The shield weakens but the relocation math usually still works.

Household tax snapshot

Full-year tax estimate based on the inputs above. Wage income is backed out as AGI − capital gains − ordinary investment income. FICA uses the wage-earner count from Other Itemized Deductions.

CaliforniaWashington
Income
Wage income (W-2)
+$562k+$562k
Short-term capital gains+$9.0k+$9.0k
Long-term capital gains+$21k+$21k
Ordinary investment income+$8.0k+$8.0k
Total taxable income (AGI)$600k$600k
Tax-advantaged savings (already excluded from AGI)
401(k) total (employee + employer match, all earners)+$33k+$33k
HSA + FSA+$1.0k+$1.0k
Total tax-advantaged savings$34k$34k
Total compensation
$634k$634k
Tax
Federal deduction used (itemized)
$50k$50k
Federal income tax (ordinary)−$123k−$123k
Federal LT capital gains tax−$4.1k−$4.1k
NIIT (3.8%)−$683−$683
State income tax−$46k—
FICA (SS + Medicare)
−$23k−$23k
WA cap-gains excise tax——
Total tax−$197k−$151k
Effective tax rate32.8%25.1%
Margin interest paid−$20k−$20k
After-tax income (spendable cash)
$383k$429k
Take-home income (cash + pre-tax savings)
$417k$463k

Estimates only. Assumes a 35% federal marginal rate for MFJ (35% + 3.8% NIIT, 20% LT): the 35% bracket, or the 37% bracket, where from 2026 the benefit of itemized deductions is capped at 35%. Standard deduction defaults to the 2026 MFJ $32,200 but is editable for age 65+ or scenario planning. SALT cap modeled per OBBBA for 2026: $40,400 base, phasing down by 30% of MAGI above $505K to a $10K floor at ~$606K. Not tax advice.

DISCUSSION

Join the discussion

Share a thought or question. Comments publish immediately; add your email only if you would like reply notifications.

Be the first to start the conversation.