1031 Exchange Calculator
A 1031 exchange (named for IRC Section 1031) allows real estate investors to defer capital gains tax when selling investment property and reinvesting the proceeds into a like-kind replacement property. This calculator shows how much tax you can defer, whether you will trigger any taxable "boot," and what your new cost basis will be. Always consult a qualified intermediary and CPA before executing a 1031 exchange — the rules are strict and deadlines are unforgiving. Use the Real Estate Capital Gains Calculator to see the full tax picture if you sell without doing an exchange.
Gross sale price of relinquished property
What you originally paid for the property
Total depreciation claimed — reduces your basis
Agent commissions, title, closing costs
Must equal or exceed amount realized to avoid boot
This calculator shows the gain deferred and boot amount. Actual tax owed depends on your income level, depreciation recapture rate (25%), and long-term capital gains rate (0–20%). Consult a CPA and qualified intermediary before executing a 1031 exchange.
Tax Deferred
$270,000.00
Boot (Taxable Portion)
$0.00
Recognized Gain (Total)
$270,000.00
Adjusted Basis of Relinquished Property
$205,000.00
New Property Cost Basis
$380,000.00
How to use this calculator
- 1
Enter the sale price and original purchase price
The sale price is the gross amount you are selling the relinquished property for. The original purchase price is what you paid when you acquired it — not current value.
- 2
Enter depreciation taken
Total depreciation deductions you have claimed on this property since purchase. This reduces your adjusted cost basis and is subject to "depreciation recapture" at a 25% rate when you sell. Pull this from your prior tax returns (Form 4562 cumulative depreciation).
- 3
Enter selling costs
Agent commissions, title fees, closing costs, and other expenses of the sale. These reduce your amount realized (net sale proceeds) and therefore reduce the recognized gain.
- 4
Enter the replacement property price
The purchase price of the new property you are acquiring. To fully defer all gains, you must reinvest all net proceeds (amount realized) into the replacement property. If your replacement property costs less, the shortfall is "boot" — taxable.
- 5
Review tax deferred, boot, and new basis
The calculator shows total recognized gain, how much is deferred in the exchange, any boot (taxable portion), and the new adjusted cost basis of the replacement property. Consult a CPA for actual tax liability since rates depend on your income and the mix of depreciation recapture vs long-term capital gain.
Formula
Adjusted Basis = Original Purchase Price − Depreciation Taken
Amount Realized = Sale Price − Selling Costs
Recognized Gain = Amount Realized − Adjusted Basis
Boot = MAX(0, Amount Realized − Replacement Property Price)
[Boot = uninvested proceeds; the portion you did NOT reinvest]
Tax Deferred = Recognized Gain − Boot
New Cost Basis = Replacement Property Price − Tax Deferred
[Carries forward the deferred gain into the new property's basis]Adjusted basis is the original cost minus accumulated depreciation — this is the IRS's measure of your "investment" in the property. Amount realized is your net sale proceeds after selling costs. Recognized gain is the economic profit you made. In a 1031 exchange, gains are deferred — not eliminated — as long as you reinvest all proceeds into a replacement property of equal or greater value. Boot is the taxable shortfall: if you reinvest only $400,000 of $475,000 in proceeds, the $75,000 difference is boot and is taxable in the year of exchange. The new basis carries the deferred gain forward so it is eventually taxed when the replacement property is sold (unless you do another 1031). Example: sale price $500,000, purchase price $250,000, depreciation $45,000, selling costs $25,000. Adjusted basis = $205,000. Amount realized = $475,000. Recognized gain = $270,000. If replacement property costs $650,000, boot = $0, tax deferred = $270,000. New basis = $650,000 − $270,000 = $380,000.
Worked Example
Sale Price: $500,000 Original Purchase Price: $250,000 Depreciation Taken: $45,000 Selling Costs: $25,000 Replacement Property: $650,000 Adjusted Basis: $250,000 − $45,000 = $205,000 Amount Realized: $500,000 − $25,000 = $475,000 Recognized Gain: $475,000 − $205,000 = $270,000 Boot: MAX(0, $475,000 − $650,000) = $0 (Replacement costs more than proceeds — no boot) Tax Deferred: $270,000 − $0 = $270,000 New Cost Basis: $650,000 − $270,000 = $380,000 Note: The $270,000 deferred gain includes $45,000 of depreciation recapture (taxed at 25%) and $225,000 of long-term capital gain (taxed at 0%, 15%, or 20% depending on income). Consult a CPA.