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.
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer
1031 Exchange Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: Tax Deferred = (Capital Gain x Cap Gains Rate) + (Depreciation x 25%) + (Gain x NIIT) + (Gain x State Rate)
Additional inputs: Replacement Property Price ($).
Worked example โ Tax Deferred: $61,600 | Total Gain: $200,000 | Effective Rate: 30.8%
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 Net sale price = $500,000 - $30,000 = $470,000 Total gain = $470,000 - $270,000 = $200,000 Depreciation recapture = $80,000 x 25% = $20,000 Capital gain tax = $120,000 x 20% = $24,000 NIIT = $200,000 x 3.8% = $7,600 State tax = $200,000 x 5% = $10,000 Total 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 Net sale price = $400,000 - $20,000 = $380,000 Total gain = $380,000 - $160,000 = $220,000 Boot = $380,000 - $350,000 = $30,000 (taxable) Boot tax = $30,000 x (15% + 4% + 3.8%) = $6,840 Remaining $190,000 gain is deferred New 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 is a 1031 exchange and how does it work?
A 1031 exchange, named after Section 1031 of the Internal Revenue Code, allows real estate investors to defer paying capital gains taxes when they sell an investment property and reinvest the proceeds into a like-kind replacement property. The exchange must follow strict IRS rules including identification of replacement property within forty-five days and closing within one hundred eighty days of the original sale. The properties must be held for investment or business use, not personal residences. The investor must use a qualified intermediary to hold the sale proceeds during the exchange period. Both the relinquished and replacement properties must be like-kind, which for real estate is broadly defined as any real property exchanged for other real property within the United States.
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.
What is a reverse 1031 exchange and when would I use one?
A reverse 1031 exchange allows you to acquire the replacement property before selling your current property. This is useful in competitive real estate markets where you find the perfect replacement property but have not yet sold the relinquished property. In a reverse exchange, a qualified exchange accommodation titleholder temporarily takes title to either the replacement or relinquished property. You then have one hundred eighty days to complete the exchange by selling the original property. Reverse exchanges are significantly more complex and expensive than standard forward exchanges, typically costing five thousand to fifteen thousand dollars more in fees. They also require substantial cash reserves or financing since you temporarily own two properties simultaneously.
What happens if I fail to complete a 1031 exchange?
If you fail to meet the strict requirements of a 1031 exchange, the entire transaction is treated as a taxable sale. The most common reasons for failure include missing the forty-five day identification deadline, failing to close on the replacement property within one hundred eighty days, touching the sale proceeds directly instead of using a qualified intermediary, or acquiring property that does not qualify as like-kind. When an exchange fails, all capital gains taxes, depreciation recapture taxes, Net Investment Income Tax, and applicable state taxes become due for the tax year in which the original property was sold. There is no partial deferral available for a failed exchange, making it essential to work with experienced exchange professionals and plan carefully.
How does the Net Investment Income Tax affect my 1031 exchange calculation?
The Net Investment Income Tax is a three point eight percent surtax that applies to investment income for individuals with modified adjusted gross income above two hundred thousand dollars for single filers or two hundred fifty thousand dollars for married couples filing jointly. This tax applies to capital gains from real estate sales, including both the capital gain portion and depreciation recapture. In a 1031 exchange, the NIIT is deferred along with other taxes, which can represent significant savings on large transactions. For example, on a two hundred thousand dollar gain, the NIIT alone would be seven thousand six hundred dollars. Over multiple exchanges spanning decades, deferring this additional tax allows substantially more capital to remain invested and compounding in your real estate portfolio.
References
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer ยท Editorial policy
Related Calculators
๐งฎReal Estate Syndication Calculator
Estimate returns from real estate syndication deals including preferred return and splits.
๐งฎReal Estate Commission Calculator
Calculate buyer and seller agent commissions from sale price and split percentages.
๐งฎHome Buying Closing Timeline Calculator
Estimate your home purchase closing timeline from offer to keys day by day.
๐งฎFirst Time Home Buyer Calculator
Calculate total costs and savings needed for first-time home buyers including FHA options.
๐งฎHow Much Home Can i Afford Calculator
Calculate maximum home price from income, debts, down payment, and current rates.
๐งฎHome Inspection Cost Calculator
Estimate home inspection costs from home size, age, location, and additional tests.
๐งฎEarnest Money Calculator
Calculate recommended earnest money deposit amount from home price and local customs.
๐งฎTitle Insurance Cost Calculator
Estimate title insurance premiums for owner and lender policies from home price and state.