1031 exchange calculator

How much of your gain defers, how much becomes taxable boot, and the two deadlines that cannot be extended. Every rule applied here is cited below, because this is the calculator on the site where being confidently wrong costs the most.

Loaded with an example sale. Every figure is yours to change, and the results update as you type or drag.

The property you sell
The property you buy
Your tax position
Federal long-term capital gains rate

Filing single: 0% on taxable income up to $48,350, 15% up to $533,400, 20% above.

Net Investment Income Tax (3.8%)

Gain, boot and deferral

Sale price
$600,000
Selling costs
$36,000
Net sales price
$564,000
Adjusted basis
$400,000
Realized gain
$164,000
Cash boot
$0
Mortgage boot
$0
Total boot
$0
Gain recognized now
$0
Gain deferred
$164,000

Estimated tax

Taxed as depreciation recapture
$0
Taxed as capital gain
$0
Estimated tax on the exchange
$0
Estimated tax on an outright sale
$32,600
Tax deferred
$32,600
  • On these numbers the whole gain defers. That result depends on meeting the 45-day and 180-day deadlines and on the exchange being handled by a qualified intermediary from the start — you cannot take receipt of the proceeds.

Boot is what makes an exchange partly taxable

The IRS puts it plainly: "If, as part of the exchange, you also receive other (not like-kind) property or money, you must recognize a gain to the extent of the other property and money received. You can't recognize a loss." (IRS, Like-kind exchanges — real estate tax tips)

Boot arrives two ways. Cash boot is what is left over when the replacement property costs less than the net sale price.Mortgage boot is the debt you cleared that you did not replace — and it is the one that surprises people, because it is taxable even when every dollar of cash went back into the new property.

Recognized gain is then the smaller of your realized gain and your total boot, never below zero — the rule Form 8824 states as "enter the smaller of line 15 or line 19, but not less than zero" (IRS, Instructions for Form 8824).

The two deadlines, and what people get wrong about them

You have 45 days from transferring the property you gave up to identify replacements in writing, and 180 days to close. Both run from the same day — the sale — which is the detail most often misread.

Both figures are from the Instructions for Form 8824, which is also the form that reports the exchange.

Why depreciation is taxed separately

Any gain you do recognize is not all taxed at one rate. Depreciation you previously deducted comes back first as unrecaptured section 1250 gain, taxed at a maximum 25% rate, and only what is left is taxed at your long-term capital gains rate (IRS, Topic 409). The calculator applies the recapture rate first for exactly that reason, and caps it at your ordinary rate when yours is lower.

Only real property qualifies

Since the 2017 tax act, "exchanges of machinery, equipment, vehicles, artwork, collectibles, patents and other intellectual property and intangible business assets generally do not qualify for non-recognition of gain or loss as like-kind exchanges" (IRS).