Finance & Investment Tools

Like-Kind 1031 Exchange Calculator

Estimate the gain a US like-kind 1031 exchange defers, any taxable cash or mortgage boot, the new basis, and the 45-day and 180-day deadlines.

  • Realized vs recognized gain
  • Cash and mortgage boot
  • Deferred gain
  • 45-day ID and 180-day close dates
Runs in your browser

Everything you paste, type or drop is processed in this browser tab. It is not uploaded, logged, stored or sent to analytics.

1031 workspace

1 The property you sell

Try it:

Commissions, title, escrow and intermediary fees paid from the proceeds.

2 The replacement property

Equity your figures leave unspent with the intermediary is counted as cash taken out.

Tax-return due date and tax rates (optional)

Leave blank to use 15 April after the sale year (15 October with an extension).

IRS Topic 409: taxed at a maximum 25% rate. Your own rate may be lower.

3 Deferred gain, boot and deadlines

Enter the sale and the replacement to see the deferred gain and your deadlines.

What the Like-Kind 1031 Exchange Calculator does

This 1031 exchange calculator estimates, under US federal rules, how much gain an investor defers by swapping investment or business real estate for like-kind real property: the realized gain, the cash and mortgage boot that is taxable now, the deferred gain, the replacement property's new basis, and the 45-day and 180-day deadlines.

It follows Part III of IRS Form 8824 line by line, so the numbers match what a tax preparer would file. Enter the sale, the replacement purchase and the transfer date; the page nets the debt you pay off against new debt and cash you add, warns when the tax-return due date shortens the 180 days, and estimates the tax deferred at rates you choose. Everything is worked out in your browser.

How to use it

  1. Enter the sale price, the selling and exchange expenses, what you paid for the property, capital improvements and the depreciation you have taken. These give the adjusted basis and the realized gain.
  2. Enter the mortgage paid off at the sale and the date the relinquished property transferred.
  3. Enter the replacement price, the new mortgage, any cash you add from outside and any cash you take out. If your figures leave equity unspent, the page counts it as cash taken out, because the intermediary would return it to you.
  4. Open the optional section to set your capital gains, unrecaptured section 1250 and state rates, or a different return due date. Then read the deferred gain, the boot, the Form 8824 lines and the two deadline dates.

Reading the results

Recognized gain is the part taxed this year: the smaller of the boot and the realized gain. Deferred gain is the rest, and it is not forgiven. It lowers the basis of the replacement property, so it comes back when you sell that property without another exchange.

Boot has two forms. Cash boot is money you receive, and it is taxed even if you also take on a bigger mortgage. Mortgage boot is debt relief: the loan paid off minus the new loan and cash you add. To defer everything, buy a replacement worth at least the net sale price, reinvest all the equity and replace the old debt with new debt or cash.

The deadline panel gives two dates. Miss either one and the exchange fails, so the gain is taxable in the year of the sale.

Worked example: an $800,000 rental traded for a $700,000 property with $22,000 taken out

The property cost $400,000, had $50,000 of improvements and $120,000 of depreciation, so the adjusted basis is $330,000. It sells for $800,000 with $48,000 of expenses: the amount realized is $752,000 and the realized gain is $422,000. A $250,000 mortgage is paid off, leaving $502,000 of equity with the intermediary.

The replacement costs $700,000 with a $220,000 mortgage and the investor takes $22,000 in cash. Cash boot is $22,000 and mortgage boot is $250,000 - $220,000 = $30,000, so line 15 is $52,000. Recognized gain is the smaller of $52,000 and $422,000, so $52,000; the deferred gain is $370,000 and the new basis is $330,000 ($700,000 - $370,000).

At 25% on unrecaptured section 1250 gain, 15% on other long-term gain and 5% state tax, the tax now is $52,000 x 25% + $52,000 x 5% = $15,600, against $96,400 on a plain sale, so about $80,800 is deferred. With a 15 June 2026 transfer, identification is due by 30 July 2026 and the replacement must be received by 12 December 2026.

Formulas and scoring rules

Adjusted basis
adjusted basis = purchase price + improvements - depreciation allowed or allowable
Realized gain (line 19)
realized gain = (sale price - selling and exchange expenses) - adjusted basis
Boot (line 15)
line 15 = cash received + max(0, debt paid off - (new debt + cash added)), less exchange expensesExpenses paid from the proceeds are treated as cash received and then offset. New debt and added cash offset debt relief; new debt does not offset cash received.
Recognized gain (line 20)
recognized = max(0, min(line 15, line 19))
Deferred gain (line 24)
deferred = line 19 - recognized gainA loss is never recognized in the exchange; it stays in the basis.
Replacement basis (line 25)
basis = line 18 + recognized gain - line 15, line 18 = adjusted basis + max(0, new debt + cash added - debt paid off)
Deadlines
identify by transfer date + 45 days; receive by the earlier of transfer date + 180 days and the return due date including extensions
Tax estimate
tax = min(gain, depreciation) x 1250 rate + rest x capital gains rate + gain x state rateYour rates; money shown to the dollar.

US only: what qualifies

Section 1031 is US federal law. For 2018 and later years it applies only to exchanges of real property held for use in a trade or business or for investment, not to property held primarily for sale, and not to equipment, vehicles or art. Your main home does not qualify, though a property used partly as a home can combine section 121 and section 1031 under special rules in the Form 8824 instructions.

Most exchanges today are deferred exchanges through a qualified intermediary, who holds the sale proceeds so you never receive them. If you touch the money, the deal is a sale. Related parties and your own agents cannot act as the intermediary.

Identifying replacement property

The identification must be in writing, signed and delivered within 45 days, describing each property clearly. Treasury Regulation 1.1031(k)-1 lets you identify up to three properties of any value, or more if their total value is no more than 200% of what you sold, or any number if you go on to acquire at least 95% of the value identified. The deadlines do not move for weekends or holidays.

When to get professional help

Choose the qualified intermediary before the sale closes, and ask a CPA or enrolled agent and a real-estate attorney to review the contract language, the identification letter and the debt structure. State rules differ: some states track the deferred gain and tax it when you later sell, even out of state.

Limitations: what the result does not prove

  • It models one relinquished and one replacement property with no other (non-like-kind) property given or received. Multiple properties, personal property, partnership interests and related-party exchanges need the full Form 8824.
  • The tax estimate treats recognized gain as unrecaptured section 1250 gain first and does not compute ordinary-income recapture under line 21, the net investment income tax or your actual bracket. Use your rates as a rough guide only.
  • The default due date is 15 April after the sale year for a calendar-year individual and is not moved for weekends or holidays. Corporations, partnerships and fiscal-year filers should enter their own due date.
  • It cannot tell you whether a property is like-kind, whether it was held for investment long enough, or whether your intermediary arrangement meets the safe harbors.

Privacy: where your data goes

Everything you paste, type or drop is processed in this browser tab. It is not uploaded, logged, stored or sent to analytics. Session recording and tag-manager scripts are switched off on this page.

Standards and sources

Frequently asked questions

How does a 1031 exchange work?

You sell investment or business real estate and buy other real estate through a qualified intermediary, and the gain is deferred instead of taxed. The intermediary holds the proceeds, you identify the replacement within 45 days and close within 180 days, and the deferred gain carries into the new property's lower basis.

What is boot in a 1031 exchange?

Boot is anything you receive that is not like-kind real property, and it is taxable up to your gain. It is usually cash taken out of the exchange or mortgage relief, where the debt paid off is larger than the new debt plus the cash you add.

What are the 45-day and 180-day deadlines?

You must identify the replacement in writing by midnight on the 45th day after the sale, and receive it by the 180th day or the due date of that year's return with extensions, whichever is earlier. A sale late in the year can lose days to the April due date unless you extend.

Do I need to buy a more expensive property?

To defer all the gain, buy a replacement worth at least the net sale price, reinvest all the equity and take on at least as much debt (or add cash). Buying cheaper is allowed, but the shortfall usually shows up as cash or mortgage boot and is taxed.

Is depreciation recapture deferred in a 1031?

Yes, for a fully deferred exchange the depreciation is carried into the replacement's lower basis rather than taxed now. It is taxed later when you sell without exchanging, and any recognized boot is generally taxed as unrecaptured section 1250 gain first.

Does new mortgage debt cancel out cash I take from a 1031 exchange?

No. Under the Form 8824 netting rules, debt you take on or cash you add can offset the debt you are relieved of, but taking on more debt does not offset cash you receive, so the cash is still boot.

What happens to the basis after a like-kind exchange?

The replacement's basis is roughly its price minus the deferred gain, which is Form 8824 line 25. A lower basis means smaller depreciation deductions and a larger gain when you finally sell.

Last reviewed by the A2Z.Tools team against the sources listed above.

Rate this tool

Was this tool useful? Your feedback helps us improve it.

No ratings yet — be the first to rate this tool.
Your rating (required)
0 / 2000

Please do not include passwords, payment details or other sensitive information.

Your feedback is sent privately to the A2Z.Tools team and will not be posted publicly.

Advertisement