Skip to main content

1031 Exchange Calculator

Calculate tax deferral savings from a 1031 like-kind exchange for investment properties. Enter values for instant results with step-by-step formulas.

Share this calculator

Formula

Tax Deferred = (Capital Gain x Cap Gains Rate) + (Depreciation x 25%) + (Gain x NIIT) + (Gain x State Rate)

Calculate the adjusted basis by adding improvements and subtracting depreciation from the original purchase price. The total gain is the net sale price minus adjusted basis. Tax deferred includes federal capital gains tax, depreciation recapture at 25%, the 3.8% Net Investment Income Tax, and applicable state income tax.

Worked Examples

Example 1: Standard Investment Property Exchange

Problem: Sell a rental property for $500,000 (bought for $300,000, $50,000 improvements, $80,000 depreciation, $30,000 selling costs). 20% cap gains rate, 5% state tax. Replace with $600,000 property.

Solution: Adjusted basis = $300,000 + $50,000 - $80,000 = $270,000\nNet sale price = $500,000 - $30,000 = $470,000\nTotal gain = $470,000 - $270,000 = $200,000\nDepreciation recapture = $80,000 x 25% = $20,000\nCapital gain tax = $120,000 x 20% = $24,000\nNIIT = $200,000 x 3.8% = $7,600\nState tax = $200,000 x 5% = $10,000\nTotal tax deferred = $61,600

Result: Tax Deferred: $61,600 | Total Gain: $200,000 | Effective Rate: 30.8%

Example 2: Exchange with Boot (Partial Reinvestment)

Problem: Sell for $400,000 (basis $200,000, $40,000 depreciation, $20,000 costs). Only reinvest into a $350,000 property. 15% cap gains, 4% state.

Solution: Adjusted basis = $200,000 - $40,000 = $160,000\nNet sale price = $400,000 - $20,000 = $380,000\nTotal gain = $380,000 - $160,000 = $220,000\nBoot = $380,000 - $350,000 = $30,000 (taxable)\nBoot tax = $30,000 x (15% + 4% + 3.8%) = $6,840\nRemaining $190,000 gain is deferred\nNew property basis = $350,000 - $190,000 = $160,000

Result: Boot Tax Owed: $6,840 | Tax Deferred on $190,000 | Boot: $30,000

Frequently Asked Questions

What are the tax benefits of a 1031 exchange?

The primary tax benefit of a 1031 exchange is the complete deferral of capital gains taxes, depreciation recapture taxes, and the Net Investment Income Tax that would otherwise be owed on the sale of an investment property. For a property with significant appreciation, the tax savings can amount to twenty-five to forty percent of the total gain. The deferred taxes remain invested in the replacement property, effectively giving you an interest-free loan from the government to purchase a larger or more profitable property. Through successive 1031 exchanges over a lifetime, investors can continually defer taxes while upgrading their portfolio. At death, heirs receive a stepped-up basis, potentially eliminating the deferred taxes entirely, which makes the 1031 exchange one of the most powerful wealth-building tools in real estate.

What is boot in a 1031 exchange and how is it taxed?

Boot refers to any non-like-kind property or cash received in a 1031 exchange that does not qualify for tax deferral. Common forms of boot include cash proceeds not reinvested into the replacement property, debt reduction if the new mortgage is smaller than the old one, and personal property received in the transaction. Boot is taxable in the year of the exchange up to the amount of the realized gain. For example, if you sell a property for five hundred thousand dollars with a two hundred thousand dollar gain and only reinvest four hundred fifty thousand, the fifty thousand dollar difference is boot and taxed at your applicable capital gains and state tax rates. To avoid boot entirely, the replacement property must be equal or greater in value and debt to the relinquished property.

What are the strict timeline requirements for a 1031 exchange?

A 1031 exchange has two critical deadlines that cannot be extended under virtually any circumstances. The identification period requires you to identify potential replacement properties in writing within forty-five calendar days of closing on the sale of your relinquished property. You may identify up to three properties regardless of value under the three-property rule, or any number of properties as long as their total fair market value does not exceed two hundred percent of the relinquished property value. The exchange period requires closing on the replacement property within one hundred eighty calendar days of the original sale. Both deadlines are firm and include weekends and holidays. Missing either deadline disqualifies the entire exchange and all deferred taxes become immediately due for that tax year.

What is depreciation recapture and how does it affect my 1031 exchange?

Depreciation recapture is the portion of your gain attributable to depreciation deductions you claimed or could have claimed on the property during ownership. The IRS taxes depreciation recapture at a flat twenty-five percent federal rate, which is higher than the standard long-term capital gains rate of fifteen to twenty percent. For example, if you purchased a rental property for three hundred thousand dollars and claimed eighty thousand in depreciation over your holding period, that eighty thousand is subject to recapture at twenty-five percent when you sell. In a 1031 exchange, this recapture tax is deferred along with the capital gains tax. The depreciation recapture carries over to the replacement property through the adjusted basis calculation, meaning it remains deferred until you eventually sell without doing another exchange.

Can I do a 1031 exchange on my primary residence?

No, a 1031 exchange cannot be used for a primary residence or a second home used solely for personal purposes. The property must be held for productive use in a trade, business, or investment. However, there are strategies that combine 1031 exchanges with Section 121 exclusions. If you convert a rental property to your primary residence and live in it for at least two of the five years before selling, you may qualify for the Section 121 exclusion of up to two hundred fifty thousand dollars in gains for single filers or five hundred thousand for married couples filing jointly. This combined approach requires careful tax planning and strict adherence to IRS rules regarding usage timelines.

What types of properties qualify as like-kind for a 1031 exchange?

The definition of like-kind for real estate is quite broad under Section 1031. Any real property held for investment or business use can generally be exchanged for any other real property. You can exchange a single-family rental for an apartment complex, raw land for a commercial building, or a retail space for an industrial warehouse. The properties do not need to be the same type, grade, or quality. However, since the Tax Cuts and Jobs Act of 2017, personal property such as equipment, vehicles, artwork, and collectibles no longer qualifies for 1031 exchange treatment. Additionally, both properties must be located within the United States. Foreign real estate cannot be exchanged for domestic real estate.

References