REInvestorAdvisorMatch

1031 Exchange Tax-Deferral Calculator

Should you do a 1031 exchange or pay the tax and diversify? This calculator shows the exact tax bill you avoid — broken down by capital gains, depreciation recapture, and NIIT — plus the long-run cost of giving up that capital now.

Property Details

Your Tax Situation

Opportunity Cost

How the 1031 math works

Step 1: Your realized gain

Realized gain = Sale price − Adjusted basis − Selling costs. Adjusted basis = original cost + capital improvements − accumulated depreciation. Most investors underestimate this because depreciation (even if not taken) reduces basis — you get recaptured on "allowed or allowable" depreciation regardless of whether you claimed it.

Step 2: The tax stack

The gain isn't all taxed at one rate. It's a stack:

  1. Depreciation recapture (unrecaptured §1250 gain) — the portion of your gain equal to accumulated depreciation is taxed first, at a maximum 25% rate. This applies to straight-line depreciation on residential/commercial property. Cost segregation accelerations via 5/7-year components are taxed as ordinary income (§1245 recapture) — fully at your marginal rate, not capped at 25%.
  2. Remaining capital gain — taxed at 0%, 15%, or 20% depending on your total taxable income. Your other income "fills up" the lower brackets first.
  3. NIIT (Net Investment Income Tax) — a 3.8% surtax on net investment income applies if MAGI exceeds $200K (single) or $250K (MFJ). This calculator assumes the full gain is subject to NIIT if you're over threshold — in practice your CPA will calculate this precisely.
  4. State capital gains tax — many states tax capital gains as ordinary income. California at 13.3% makes a dramatic difference.
The recapture trap most investors miss: If you've owned a $600K property for 10 years (building value $480K, 27.5 yr residential), you've accumulated ~$174K of depreciation. Even if the property only appreciated to $700K, that entire $174K gets recaptured at 25% = $43.5K in federal tax from recapture alone, before you count the appreciation gain. Many investors assume they're in the 15% LTCG bracket and are blindsided by this.

What a 1031 does

A 1031 exchange defers all of these taxes — recapture, capital gains, NIIT — by rolling your equity into a replacement property. The deferred basis carries forward: your replacement property starts with a lower basis, which means higher gains (and larger recapture) when you eventually sell. The game plan is to keep rolling 1031s until death, at which point heirs receive a stepped-up basis that eliminates the deferred gain entirely.

What it doesn't solve

A 1031 only works if you want to stay in real estate. If your goal is diversification — putting rental equity into a balanced portfolio — a 1031 keeps you in RE by definition. Some investors use a Delaware Statutory Trust (DST) as the replacement property: you exchange into a passively managed institutional property, get the 1031 deferral, and stop being an active landlord. Others use Qualified Opportunity Zones for diversification with a partial deferral. These strategies deserve proper advisor modeling.

When NOT to do a 1031

Get your 1031 exchange modeled

A specialist advisor can model your full gain stack — including cost segregation recapture, suspended passive losses, and whether a DST or QOZ fits better than a direct replacement. Free match, no obligation.

Tax values used (2026): LTCG 0%: Single ≤$49,450 / MFJ ≤$98,900 (IRS Rev. Proc. 2025-61); LTCG 15%: Single $49,451–$545,500 / MFJ $98,901–$613,700; LTCG 20%: Single >$545,500 / MFJ >$613,700; Unrecaptured §1250 gain: 25% max (IRC §1250, §1(h)(1)(D)); NIIT: 3.8% on net investment income above $200K single / $250K MFJ (IRC §1411 — thresholds not indexed).