1031 Exchange Calculator

See how much capital gains tax and depreciation recapture a 1031 exchange defers when you swap investment properties.

Want to understand the concept, not just the number? Read The Real Estate Tax Guide and more below.

Purchase price plus improvements minus depreciation taken.
Total depreciation claimed, recaptured at up to 25 percent.
Total tax deferred $48,780.00
Total capital gain $250,000.00
Depreciation recapture tax $22,500.00
Capital gains tax $26,280.00

How it's calculated

A 1031 exchange, named for the tax code section, lets a real estate investor sell one investment property and roll the proceeds into another without paying tax on the gain right away. The tax is deferred, not erased, but deferral is powerful, since the money that would have gone to tax keeps working in the next property.

The tax you defer comes in two parts. First, depreciation recapture. All the depreciation you deducted over the years is recaptured at sale and taxed at up to 25 percent. Second, the capital gains tax on the rest of the gain. Take the default. A property with a 250,000 dollar gain, of which 90,000 came from depreciation, owes about 22,500 dollars of recapture tax plus about 26,280 dollars of capital gains tax and net investment income tax, for roughly 48,780 dollars deferred by exchanging instead of selling.

The rules are strict. You have 45 days to identify a replacement property and 180 days to close, the new property must be like-kind and of equal or greater value, and a qualified intermediary must hold the proceeds so you never touch them. Done right, investors chain exchanges for decades, deferring tax the whole way, and heirs can receive the property with a stepped-up basis that wipes the deferred tax out entirely. Use this to size what an exchange saves you now, then work with a qualified intermediary to execute it.

Assumptions

Last updated: 2026-08-08 · Tax year 2026

These assumptions follow our general methodology.

Frequently asked questions

What is a 1031 exchange?

It is a tax-deferred swap of one investment property for another like-kind property. You do not pay capital gains tax or depreciation recapture at the sale, as long as you follow the rules and reinvest the proceeds into a qualifying replacement property.

What are the 1031 exchange deadlines?

You have 45 days from the sale to identify a replacement property in writing, and 180 days to close on it. Both clocks start at the sale and run at the same time. Missing either deadline disqualifies the exchange and triggers the tax.

Is the tax gone forever?

No, it is deferred. You owe it when you eventually sell without exchanging again. But investors can chain exchanges indefinitely, and if you hold until death, your heirs get a stepped-up basis that can erase the deferred tax, which is why it is so powerful.

What is depreciation recapture?

The depreciation you deducted over the years lowered your basis, and at sale that amount is recaptured and taxed at up to 25 percent, higher than the capital gains rate. A 1031 exchange defers this along with the capital gains tax.

Related calculators

Rental Depreciation Calculator Calculate the annual depreciation deduction on a rental and the recapture tax owed when you sell. Capital Gains Tax Calculator (2026) Calculate the tax on a long-term capital gain in 2026, with the gain stacked on your income across the 0, 15, and 20 percent rates. Rental Property ROI Calculator Analyze a rental with the numbers investors use, the net operating income, monthly cash flow, cash-on-cash return, and cap rate.

Learn the concept

The Real Estate Tax Guide Real estate is one of the most tax-advantaged assets there is. Here is how investors use depreciation, exchanges, and structure to keep more. The Real Estate Investing Guide A rental only works if the numbers work. Here is how to read a deal the way investors do, from net operating income to cash-on-cash return.