Verified Tool

1031 Exchange Calculator

Calculate how much capital gains tax you can defer with a 1031 like-kind exchange. Compare selling vs exchanging investment property with boot analysis.

By Jurica Šinko
Updated 2026-04-15
2 min read

1031 Exchange Tax Deferral Analysis

Compare selling vs. exchanging your investment property

Relinquished Property (Selling)

Replacement Property (Buying)

Minimum for full deferral: $705,000

Must be ≥ $200,000 to avoid mortgage boot

Tax Rates

Total Tax Deferred via 1031 Exchange

$110,800

This amount stays invested and continues compounding

Sell Without Exchange

Net Sale Price$705,000
Mortgage Payoff$200,000
Total Taxes$112,240
Net Proceeds$392,760

1031 Exchange

Net Sale Price$705,000
Mortgage Payoff$200,000
Tax on Boot$1,440
Equity Reinvested$503,560

Tax Breakdown (If Sold Without Exchange)

Capital Gains$31,000
Depreciation Recapture$50,000
NIIT$13,490
State Tax$17,750

Realized Gain

$355,000

Capital Gain

$155,000

Depreciation Recapture

$200,000

New Cost Basis

$550,000

Boot Detected — Partial Tax Due

Your exchange doesn't fully defer all taxes. "Boot" is any value received that wasn't reinvested in the replacement property.

Cash Boot

$5,000

Mortgage Boot

$0

Tax on Boot

$1,440

Detailed Basis Calculation
Original Purchase Price$500,000
+ Capital Improvements$50,000
= Original Basis$550,000
− Accumulated Depreciation (10 yrs × $20,000/yr)$200,000
= Adjusted Basis$350,000
Net Sale Price (after 6.0% costs)$705,000
= Realized Gain$355,000

Delayed Exchange Timeline

1
Day 0
Close on sale
2
Day 45
Identify replacement
3
Day 180
Close on replacement

Running Your 1031 Exchange Analysis

Follow these steps to model your exchange

1

Enter Your Relinquished Property Details

Input the sale price, original purchase price, capital improvements, years owned, selling costs, and existing mortgage balance for the property you're selling

2

Set Your Replacement Property Price

Enter the replacement property price and new mortgage amount — the calculator shows the minimum values needed for full tax deferral

3

Adjust Tax Rates to Your Situation

Set your federal capital gains rate (0%, 15%, or 20%), state tax rate, and whether NIIT applies based on your income level

4

Review the Sell vs. Exchange Comparison

Compare net proceeds from a straight sale against a 1031 exchange to see exactly how much tax you defer

5

Check for Boot

If you're not reinvesting all equity or reducing your debt, the calculator flags cash and mortgage boot with the exact tax amount due

6

Export Your Analysis

Download the full breakdown as a CSV file to share with your CPA, qualified intermediary, or real estate attorney

Key Features

Side-by-side comparison of selling outright vs. 1031 exchange with full tax breakdown
Automatic boot detection — flags cash boot and mortgage boot with exact tax amounts due
Depreciation recapture calculation using the 27.5-year residential schedule
Support for delayed, reverse, and improvement exchange types with visual timelines
Detailed adjusted basis walkthrough showing purchase price, improvements, and accumulated depreciation
CSV export of the complete exchange analysis for your CPA or tax advisor

Sell or Exchange? The Decision That Could Save You $150,000 in Taxes

Written by Jurica ŠinkoApril 15, 2026
1031 exchange illustration showing a rental property being exchanged for a larger investment property with tax deferral arrows and IRS timeline markers

Full Tax Deferral

Defer 100% of capital gains and depreciation recapture when you reinvest in like-kind property

Strict Deadlines

45 days to identify and 180 days to close — miss either and you owe the full tax bill

Boot Trap

Any cash or debt reduction you pocket triggers partial tax — even $1 of boot is taxable

A 1031 exchange calculator shows you exactly how much capital gains tax you can defer by swapping one investment property for another instead of selling outright. Here's the scenario that makes this concrete: you bought a rental duplex for $500,000 a decade ago, it's now worth $750,000, and you're eyeing a small apartment complex for $900,000. Sell the duplex normally, and you're writing a check to the IRS for roughly $120,000-$150,000 between federal capital gains, depreciation recapture, NIIT, and state taxes. Execute a 1031 exchange, and that entire amount stays invested — compounding in your new property instead of disappearing into the tax system.

Section 1031 of the Internal Revenue Code has been a wealth-building engine for real estate investors since 1921. The 2017 Tax Cuts and Jobs Act narrowed it to real property only (no more exchanging aircraft or artwork), but for investment real estate, it's more relevant than ever. Let's break down the math, the rules, and the traps.

The Three Taxes You're Actually Deferring

Most investors think a 1031 exchange just defers capital gains tax. It actually defers three separate taxes, and the depreciation recapture piece is often the largest:

Tax TypeRateApplied ToExample ($250K Gain)
Federal Long-Term Capital Gains0% / 15% / 20%Appreciation above adjusted basis$12,800
Depreciation Recapture (Sec. 1250)25% (flat)All depreciation claimed or allowed$50,000
Net Investment Income Tax (NIIT)3.8%Total gain if AGI > $200K/$250K$9,500
State Capital Gains0%–13.3%Total gain (varies by state)$12,500 (at 5%)
Total Tax LiabilityCombined effective rate: ~34%$84,800

That $200,000 in depreciation you claimed over 10 years? The IRS wants 25% of it back at sale. On a $550,000 basis depreciated over a decade, that's $200,000 × 25% = $50,000 just for depreciation recapture — often more than the capital gains tax itself. A 1031 exchange defers all of it.

How the Adjusted Basis Math Works — Step by Step

The adjusted basis determines your taxable gain. Getting this number wrong is the most common reason investors miscalculate their 1031 savings. Here's the exact calculation for a property purchased at $500,000 with $50,000 in improvements, held for 10 years:

Original Purchase Price       $500,000

+ Capital Improvements       $ 50,000

= Cost Basis                 $550,000

 

Annual Depreciation          $550,000 ÷ 27.5 = $20,000/yr

× Years Owned               × 10

= Accumulated Depreciation   $200,000

 

Adjusted Basis = $550,000 − $200,000 = $350,000

If you sell for $750,000 with 6% selling costs ($45,000), your net sale price is $705,000. The realized gain is $705,000 − $350,000 = $355,000. That breaks into $155,000 in capital gains (appreciation above the original $550,000 basis) and $200,000 in depreciation recapture. Use our depreciation calculator to verify your accumulated depreciation across different methods.

What Qualifies as "Like-Kind" — It's Broader Than You Think

"Like-kind" doesn't mean identical. Under IRS rules, any real property held for investment or business use can be exchanged for any other real property held for the same purpose. A single-family rental can be exchanged for a strip mall, raw land for an apartment building, or a commercial warehouse for a vacation rental. The key restrictions:

  • Must be investment or business property — your primary residence doesn't qualify (but a rental unit within a multi-family you live in might)
  • Real property only since 2018 — personal property like equipment, vehicles, and intellectual property no longer qualifies
  • Must be within the U.S. — domestic property for domestic property only; you can't exchange a Miami condo for a Cancún villa
  • "Held for" test matters — properties flipped within months rarely qualify; the IRS looks for a holding period of at least 12-24 months

The Boot Trap: Where Most Exchanges Leak Tax

"Boot" is the technical term for any value you receive in the exchange that isn't like-kind property. It comes in two forms, and both are taxable:

Cash Boot

Pocket $50,000 from the exchange instead of reinvesting it? That $50,000 is taxable at your combined capital gains rate. On a $355,000 gain with a 28.8% combined rate, that's $14,400 in taxes.

Mortgage Boot

Old mortgage: $200,000. New mortgage: $150,000. The $50,000 difference is mortgage boot — taxable even though you didn't receive cash. New debt must equal or exceed old debt.

Here's the part that catches people: cash boot and mortgage boot offset each other. If your old mortgage was $200,000 and your new mortgage is $150,000 ($50,000 mortgage boot), you can eliminate the boot by adding $50,000 more cash to the exchange. But you can't do it the other way — more debt doesn't offset cash boot.

Sell vs. Exchange: A Side-by-Side Comparison

Let's run the full numbers on our $750,000 duplex scenario. Original purchase: $500,000. Improvements: $50,000. Held 10 years. Old mortgage: $200,000. Replacement property: $900,000 with a $400,000 mortgage. Selling costs: 6%.

Line ItemSell Outright1031 Exchange
Net Sale Price$705,000$705,000
Mortgage Payoff−$200,000−$200,000
Capital Gains Tax (20%)−$31,000$0
Depreciation Recapture (25%)−$50,000$0
NIIT (3.8%)−$13,490$0
State Tax (5%)−$17,750$0
Cash Available to Reinvest$392,760$505,000
Tax Deferred$112,240

That $112,240 isn't just tax savings — it's additional investment capital. If the replacement property appreciates at 4% annually, that extra $112,240 generates roughly $4,490 per year in additional equity growth. Over another 10 years, the compounding effect adds over $53,000 to your net worth compared to selling and reinvesting after tax.

The 45/180 Day Rules — No Extensions, No Exceptions

The IRS deadlines for a delayed (forward) exchange are absolute. Congress has never granted a blanket extension — not during COVID, not during natural disasters, not ever for individual hardship.

45-Day Identification Window

You must identify up to 3 potential replacement properties in writing to your qualified intermediary. The "3-property rule" limits you to 3 regardless of value. The "200% rule" lets you identify more, but total fair market value can't exceed 200% of the relinquished property.

180-Day Closing Deadline

You must close on the replacement property within 180 calendar days of selling the relinquished property. If your tax return is due before day 180, you must file an extension — or the exchange fails on your filing date.

Costly Mistakes That Blow Up 1031 Exchanges

Touching the Proceeds — Cost: Entire Tax Deferral

If you receive even $1 of the sale proceeds directly, the exchange is disqualified. All funds must flow through a qualified intermediary (QI). You cannot use your attorney, title company, or real estate agent as QI if they've worked for you in the past 2 years.

Reducing Debt Without Adding Cash — Cost: $5,000-$50,000+

Old mortgage: $300,000. New mortgage: $200,000. That $100,000 in debt relief is mortgage boot, taxed at your combined rate. On $100K of boot at a 28.8% rate, you owe $28,800 — money you thought you'd deferred. Always match or exceed your old debt.

Missing the 45-Day Deadline by Even One Day — Cost: Entire Deferral

Day 46? Exchange disqualified. There is no "close enough" with the IRS. Calendar days, not business days. An investor selling on January 15 must identify by March 1 — not March 2, regardless of weekends or holidays.

Using the Property as a Primary Residence Too Soon — Cost: Partial or Full Disqualification

The IRS requires the replacement property to be held for investment. Moving in immediately signals personal use. Safe harbor: rent the property for at least 24 months (14+ days/year to tenants) before converting to personal use.

When a 1031 Exchange Gives You Wrong Answers

A 1031 exchange isn't always the right move. Here are specific situations where the math doesn't work:

Your gain is under $80,000 (married filing jointly) — if your total income keeps you in the 0% long-term capital gains bracket, you'd pay zero federal tax on the sale anyway. The exchange adds QI fees ($750-$2,500), complexity, and a lower basis on the replacement property for no tax benefit.

You're in a state with no income tax — in Texas, Florida, Nevada, or other no-income-tax states, the total tax rate drops significantly. If your gain is modest and your federal bracket is 15%, the $1,500+ QI fee and reduced basis may not be worth the deferral.

You need liquidity — a 1031 exchange locks 100% of equity into the replacement property. If you need cash for another investment, a business emergency, or portfolio diversification, taking the tax hit and freeing up capital may produce better risk-adjusted returns.

You plan to hold until death — heirs receive a stepped-up basis, eliminating all deferred gain permanently. But if you exchange into a property you'll sell again in 5 years, you're just delaying the inevitable (though the time value of the deferred tax still has value).

The Stepped-Up Basis Strategy: How 1031 Exchanges Become Permanent Tax Elimination

Here's the strategy sophisticated investors actually use: chain multiple 1031 exchanges throughout your lifetime, deferring hundreds of thousands in taxes across each swap. When you pass the final property to your heirs, they receive a stepped-up basis equal to fair market value at date of death. Every dollar of deferred gain vanishes permanently.

The math is striking. An investor who buys a $300,000 property in 2005, exchanges into a $600,000 property in 2015, then exchanges into a $1,200,000 property in 2025 has deferred roughly $200,000-$350,000 in cumulative taxes across both exchanges. If they pass the $1.2M property to heirs at death, those heirs inherit a $1.2M basis — zero tax on any prior gains. Use our capital gains tax calculator to see what selling at each stage would have cost.

QI Fees and Exchange Costs — What You'll Actually Pay

Cost ItemTypical RangeNotes
Qualified Intermediary Fee$750–$2,500Per exchange; higher for reverse exchanges
Reverse Exchange (EAT) Fees$3,000–$10,000Exchange accommodation titleholder costs
Legal Review$500–$2,000Attorney review of exchange documents
Additional Closing Costs$0–$1,000Extra title/escrow fees for exchange structure
Total Typical Cost$1,250–$5,500Forward exchange; $3,500–$15,000 for reverse

On our $750,000 sale example with $112,240 in deferred taxes, even the most expensive QI at $2,500 represents a 44:1 return on cost. The exchange pays for itself 44 times over. Calculate the potential returns on your replacement property using our rental property calculator.

Decision Framework: Should You Do a 1031 Exchange?

Exchange if your combined tax rate exceeds 20%, you're buying a property of equal or greater value, you can meet the 45/180-day deadlines, and you don't need the cash. The breakeven is typically around $15,000-$20,000 in deferred tax — below that, QI fees and complexity eat into the benefit.

Sell outright if you're in the 0% capital gains bracket, need liquidity, want to exit real estate entirely, or can't find a suitable replacement property within 45 days. Also consider selling if the property has minimal appreciation and limited depreciation recapture — the tax bite may not justify the exchange constraints.

Consider partial exchange if you want some cash but still want to defer the majority. You'll pay tax on the boot but defer the rest. Example: on a $355,000 gain, taking $50,000 in boot triggers ~$14,400 in tax but defers $97,840 — still a strong net win.

The 1031 exchange is the single most powerful tax deferral tool available to real estate investors. But it rewards preparation and punishes procrastination. Start identifying replacement properties before you list the relinquished property, line up your QI early, and run the numbers through the calculator above to know exactly what you're deferring — and what happens if you take boot. For a broader view of your property's investment performance, pair this analysis with our cap rate calculatorto evaluate the replacement property's return potential.

About the Author

Jurica Šinko

Financial Planning Expert with 15+ years in real estate investment and tax strategy

Connect with Jurica

Frequently Asked Questions

How much tax does a 1031 exchange save on a $500,000 gain?
On a $500,000 gain with 20% federal capital gains, 25% depreciation recapture on $200K of depreciation, 3.8% NIIT, and 5% state tax, total taxes would be roughly $148,000-$165,000. A properly structured 1031 exchange defers 100% of this amount. The exact savings depend on how much of the gain is capital appreciation versus depreciation recapture — recapture is taxed at a flat 25%, which is often higher than your capital gains rate.
What happens if I miss the 45-day identification deadline?
The exchange is completely disqualified — no partial credit, no extension. You owe the full tax on the sale as if you never attempted the exchange. The IRS counts calendar days from the closing date of the relinquished property, including weekends and holidays. If day 45 falls on a Saturday, your deadline is still Saturday. This is why experienced investors begin identifying replacement properties before they even list the relinquished property for sale.
Can I do a 1031 exchange on a property I've lived in?
Your primary residence doesn't qualify. However, if you convert it to a rental property and hold it as an investment for at least 24 months (renting it at fair market value for 14+ days per year), it can then qualify. Some investors combine Section 121 (the $250K/$500K primary residence exclusion) with Section 1031 — live in the property for 2 of the last 5 years to exclude up to $500K (married), then 1031 exchange the remaining gain. This hybrid strategy requires careful planning and proper documentation.
What is boot in a 1031 exchange and how much tax does it trigger?
Boot is any non-like-kind value you receive — either cash you pocket instead of reinvesting (cash boot) or debt reduction when your new mortgage is smaller than the old one (mortgage boot). Boot is taxed at your combined capital gains rate. For example, $50,000 of boot at a 28.8% combined rate (20% federal + 5% state + 3.8% NIIT) triggers $14,400 in taxes. You can offset mortgage boot by adding more cash, but extra debt doesn't offset cash boot.
Does a 1031 exchange eliminate taxes permanently or just delay them?
Technically, it defers taxes to when you eventually sell the replacement property without another exchange. However, if you hold the property until death, your heirs receive a stepped-up basis equal to fair market value — permanently eliminating all deferred gains. An investor who chains three 1031 exchanges over 30 years, deferring $300,000+ in cumulative taxes, can pass the final property to heirs with zero tax on any prior gains. This is why many investors use 1031 exchanges as a generational wealth strategy.
How much does a qualified intermediary charge for a 1031 exchange?
Standard forward exchanges cost $750-$2,500 for the QI fee, plus $500-$2,000 in legal review. Reverse exchanges are significantly more expensive — $3,000-$10,000 because they require an Exchange Accommodation Titleholder (EAT) to hold the replacement property. On a $750,000 sale deferring $112,000 in taxes, even the most expensive QI represents a 44:1 return on cost. Never choose a QI based on price alone — they hold your entire sale proceeds, so verify their bonding, insurance, and segregated escrow accounts.
Can I exchange a rental house for commercial property or raw land?
Yes. 'Like-kind' under Section 1031 means any real property held for investment or business use. A single-family rental qualifies to exchange for an apartment complex, office building, retail space, agricultural land, or even a parking lot — as long as both properties are within the U.S. and held for investment purposes. The only real property that doesn't qualify is your primary residence and property held primarily for resale (fix-and-flips held under 12 months are risky).

Share this 1031 Exchange Calculator