b2KIT

1031 Exchange Calculator

Model 1031 exchange tax deferral scenarios comparing capital gains taxes saved versus reinvestment requirements and boot calculation.

Tested tool guide Tested browser tools Checked August 16, 2026

What 1031 Exchange Calculator does, with a checked example

This calculator runs a real estate like-kind exchange through the IRS boot mechanics: enter the relinquished property's sale price, adjusted basis, and mortgage balance, then the replacement property's purchase price and new financing. It computes realized gain, any cash or mortgage boot, the portion of gain you must recognize this year, and the portion deferred into your new basis. The detail most people miss: buying a replacement property for less than the sale price, or paying down debt without adding offsetting cash, creates taxable boot even when no cash actually lands in your pocket.

Worked example

A concrete input and expected output from the current implementation.

Input

Relinquished property: sale price $500,000, adjusted basis $300,000, no existing mortgage. Replacement property: purchase price $450,000, paid all cash, no new loan. Combined federal + state capital gains rate: 20%.

Expected output

Realized gain: $200,000. Cash boot (proceeds not reinvested): $50,000. Recognized (currently taxable) gain: $50,000, taxed at $10,000. Deferred gain: $150,000, carried into the replacement property's basis, deferring $30,000 of tax.

Recognized gain is capped at the lesser of realized gain ($200,000) or boot ($50,000); because the replacement property cost $50,000 less than the sale price, that shortfall is boot and becomes immediately taxable, while the rest of the gain defers.

How the result is produced

1

Boot calculation

Boot is whatever isn't reinvested: cash you pocket at closing, plus mortgage boot, the amount your loan balance drops on the new property minus any new cash you contribute. The calculator nets these against each other, since adding cash to cover a smaller loan can offset debt relief and keep the exchange fully deferred.

2

Gain recognition order

Recognized, currently taxable gain is capped at the lesser of your realized gain or total boot, so you're never taxed on more than what you actually took out of the exchange. Everything above that recognized amount rolls into a reduced carryover basis on the replacement property, deferring tax until a future sale outside another exchange.

Good uses

  • Checking whether a replacement property priced below the relinquished sale price will trigger a taxable boot
  • Comparing scenarios where you pay down mortgage debt versus add cash to see which avoids mortgage boot
  • Estimating the dollars of tax deferred on a swap before committing earnest money, to size the reinvestment correctly

Limits and checks

  • Does not track the 45-day identification window or 180-day closing deadline, or confirm a qualified intermediary is holding proceeds; those procedural IRS requirements have to be managed separately.
  • A single tax rate you enter is applied to the whole recognized gain, so it won't separate out unrecaptured Section 1250 depreciation recapture, which the IRS taxes at its own rate up to 25 percent.
  • Boot depends on accurate mortgage payoff and closing cost figures; leaving out prorations, exchange fees, or payoff penalties will understate or overstate the boot the calculator reports.

Common questions

If I reinvest all my sale proceeds, is the exchange automatically tax-free?

Not necessarily. You also need to replace or exceed the mortgage debt you gave up, or add cash to cover the difference, and acquire property of equal or greater value. Reinvesting all your cash while taking on less debt than before still creates mortgage boot even though no cash changed hands.

Does the calculator confirm my properties qualify as like-kind?

No. It assumes the properties already qualify. Since the 2017 tax law changes, like-kind treatment under Section 1031 applies only to real property, not personal or intangible property. Eligibility and timing rules are yours to verify with a qualified intermediary or tax advisor.

References and verification

The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.

Related Tools