What is a 1031 exchange?
A 1031 exchange, named after Section 1031 of the Internal Revenue Code, lets real estate investors sell an investment property and reinvest proceeds into a like-kind replacement property while deferring capital gains tax. Tax is deferred, not eliminated, because the gain carries into the replacement property's basis.
This calculator estimates deferred tax, boot (the taxable portion), depreciation recapture, carryover basis, and a side-by-side comparison of selling outright versus exchanging. Pair it with the adjusted basis calculator to compute the relinquished property basis, and the capital gains calculator to model a taxable sale without an exchange.
1031 exchange calculation steps
Carryover basis on the replacement property equals its purchase price minus the deferred gain.
Worked example: full deferral with no boot
- Adjusted basis: $350,000 + $50,000 - $80,000 = $320,000
- Net sale proceeds: $500,000 - $30,000 = $470,000
- Realized gain: $470,000 - $320,000 = $150,000
- Boot: $0 cash boot and $0 mortgage boot when equity and debt are fully reinvested
- Tax deferred: $150,000 x 28.8% effective rate = $43,200 (federal 20%, state 5%, NIIT 3.8%)
- Carryover basis: $600,000 - $150,000 = $450,000
The 45-day and 180-day rules
After the sale closes, you have 45 calendar days to identify replacement properties in writing and 180 calendar days to complete the purchase. Both deadlines run concurrently from the sale closing date and cannot be extended.
Frequently asked questions
What is a 1031 exchange?
How much capital gains tax can I defer?
What is boot in a 1031 exchange?
What are the 45-day and 180-day rules?
Is depreciation recapture deferred?
What is carryover basis?
Resources and references
The formulas and methods in this calculator were checked against these independent sources.