1031 Exchange Calculator — Defer Capital Gains on Like-Kind Swaps

A 1031 exchange lets you defer capital gains tax by rolling proceeds into a like-kind property. This guide models the tax saved, the 45-day/180-day clocks, and depreciation recapture.

A 1031 exchange calculator shows the tax you defer by swapping one investment property for another under IRC §1031. Instead of paying capital-gains and recapture tax on a sale, you roll the gain into a replacement property and keep compounding. This guide models the savings.

How a 1031 Works

Sell a rental, identify a like-kind replacement within 45 days, and close within 180 days. Use a qualified intermediary to hold proceeds (you never "touch" the cash). The gain is deferred, not forgiven — it transfers to the new basis.

The Tax Deferred

On a $300,000→$520,000 sale with $212,000 gain:

TaxRateAmount
Long-term capital gains15%$31,800
Depreciation recapture25%$variable
State cap gainse.g. 5%$10,600

A 1031 defers all of it. On a $212,000 gain at ~20% blended federal + 5% state, that is roughly $53,000 kept working instead of sent to the IRS.

Depreciation Recapture in the Exchange

Recapture (up to 25% on §1250) is also deferred in a 1031 — it surfaces only when you finally cash out (or step-up at inheritance). This is why 1031 is the cornerstone of the "swap 'til you drop" strategy. See the depreciation calculator for the recapture mechanics.

The Deadlines Are Non-Negotiable

Miss either and the exchange fails — the full gain becomes taxable. Build a buffer; donors and title companies slip.

Like-Kind Breadth

"Like-kind" is broad: any US investment real estate for any other (residential rental, commercial, vacant land, NNN). You cannot swap into a primary residence or stocks.

Boot — The Taxable Slip

If you receive cash or debt relief ("boot"), that portion is taxable. A smaller replacement loan than the old one creates mortgage boot. Model the exact debt to avoid surprise tax.

When a 1031 Beats Paying Tax

If you'd owe $53,000 and reinvest the full proceeds, the deferred tax compounds. Over 20 years at 7%, $53,000 grows to ~$205,000 — the real value of deferral. Paying tax locks in the loss of that compounding.

The Three Identification Rules (Pick One)

"Identify within 45 days" hides a choice among three commonly used identification methods, and picking the wrong one voids the exchange. The 3-property rule lets you name up to three candidate replacements of any value — the default for most investors because it is simple and forgiving. The 200% rule lets you name more than three properties as long as their combined value does not exceed 200% of what you sold — useful when diversifying one sale into several small rentals. The 95% rule allows unlimited identifications but only works if you actually close on at least 95% of the total identified value — rarely used because one failed closing kills the whole exchange. Identification must be in writing, signed, and delivered to your qualified intermediary by midnight of day 45; a property not on that list cannot be substituted in later, no matter how good the deal.

Reverse & Improvement Exchanges

The standard "sell first, buy second" order is not the only structure. In a reverse exchange (Rev. Proc. 2000-37 safe harbor), an exchange accommodation titleholder parks the replacement property so you can buy before you sell — powerful in a fast market where the replacement would not wait, but it roughly doubles intermediary fees and still runs on the same 45/180-day clocks in mirror image. An improvement (build-to-suit) exchange lets exchange funds pay for construction on the replacement, but only work completed and in place by day 180 counts toward the exchange value — you cannot bank future renovations. Both variants cost more ($3,500–$7,500+ in accommodator fees versus ~$1,000–$1,500 for a standard delayed exchange) and demand earlier planning, so price them into the deal before committing.

Choosing the Qualified Intermediary — the Unregulated Weak Link

Your sale proceeds sit with the qualified intermediary for up to six months, and the QI industry is lightly regulated in most states — QI failures and misappropriations have cost exchangers their entire proceeds in past downturns. Screen for: segregated, dual-signature escrow accounts (not commingled operating funds); a fidelity bond and errors & omissions coverage you can verify; institutional backing or membership in the Federation of Exchange Accommodators; and years of operating history through at least one market cycle. Also remember the disqualified-person rule: your own attorney, CPA, or agent who served you within the prior two years generally cannot act as your QI. Line the QI up before listing the property — once the sale closes with proceeds in your hands, even for a moment, the exchange is dead.

Using the Calculator Below

Enter original price, selling price, costs, land, holding years, new price, and tax brackets. The tool estimates deferred federal + state tax and the 180-day deadline. Load the sample to see a typical deferral.

Disclaimer: 1031 rules are strict and fact-specific. This estimates only; engage a qualified intermediary and CPA (IRC §1031, Rev. Proc.).

Contact & corrections

RentalInvestCalc is an independent editorial project. Spot a data error or want a source added? Email 18999737@qq.com or read our About page. We publish estimates and guides, not tax, legal, or financial advice — always confirm figures with the county assessor and a licensed CPA or attorney.

1031 Like-Kind Exchange — Tax Deferral Calculator

Calculate deferred capital gains taxes and replacement property basis for IRS Section 1031 exchanges.

Original Property (Sold)

Real estate agent commission, legal fees, closing costs.
The portion of purchase price allocated to land (not depreciable). Typical: 15-25%.
Leave blank to auto-calculate using 27.5-year straight-line.

Replacement Property (Buying)

0% (low income), 15% (medium), 20% (high). Plus 3.8% NIIT may apply.

1031 Exchange Results

Capital Gain (Realized)
Tax Deferred (If 1031 Completed)
Total capital gains tax avoided
Tax Due (If NO 1031)
New Depreciable Basis
IRS Timeline Requirements
Important: A 1031 exchange requires a qualified intermediary. The replacement property must be identified within 45 days and closed within 180 days of selling the original property. Consult a tax professional.

Frequently Asked Questions

The property must be held for productive use in a trade or business or for investment. Primary residences do NOT qualify. The replacement property must be "like-kind" — generally any real property held for investment qualifies (residential rental, commercial, vacant land).

After selling the original property, you have 45 calendar days to identify up to 3 potential replacement properties (or more under certain rules). You must close on the replacement property within 180 calendar days of the original sale.

Yes. You cannot directly receive the sale proceeds. A qualified intermediary (QI) must hold the funds and facilitate the exchange to meet IRS requirements. Fees typically range from $800-$2,000.

Frequently Asked Questions