1031 Exchange Calculator

A 1031 exchange (Section 1031 of the Internal Revenue Code) allows real estate investors to defer capital gains tax by reinvesting sale proceeds into a like-kind replacement property. Tax owed = (Sale Price - Selling Costs - Adjusted Basis) x Tax Rate, plus depreciation recapture at 25%. For example, selling a rental property for $500,000 with an adjusted basis of $300,000 and $30,000 in selling costs produces an estimated realized gain of $170,000. At a 15% federal rate with 5% state tax, the estimated total tax is approximately $34,000. A 1031 exchange defers that entire amount. Enter your property details below to compare the estimated outcomes.

Quick Answer

Selling a $500,000 property with a $300,000 adjusted basis and $30,000 in selling costs produces an estimated gain of $170,000. At 15% federal and 5% state rates, a 1031 exchange defers approximately $34,000 in estimated taxes.

Renovations, additions, or other capital expenditures

Total depreciation claimed over the holding period

Agent commissions, closing costs, transfer taxes

Varies by state (0% to 13.3%)

Common Examples

Input Result
$500,000 sale, $300,000 basis, $30,000 costs, 15% federal, 5% state Estimated tax deferred: approximately $34,000
$750,000 sale, $400,000 basis, $50,000 depreciation, $45,000 costs, 15% federal, 0% state Estimated tax deferred: approximately $63,750
$1,000,000 sale, $600,000 basis, $100,000 depreciation, $60,000 costs, 20% federal, 9.3% state Estimated tax deferred: approximately $124,580
$350,000 sale, $200,000 basis, $20,000 costs, 15% federal, 5% state Estimated tax deferred: approximately $26,000
$2,000,000 sale, $1,050,000 adjusted basis, $150,000 depreciation, $120,000 costs, 20% federal, 9.3% state Estimated tax deferred: approximately $280,690

How It Works

Step 1: Calculate the adjusted basis

Adjusted Basis = Original Purchase Price + Capital Improvements - Accumulated Depreciation

The adjusted basis reflects the tax cost of the property after accounting for money spent on improvements and depreciation deductions already taken.

Step 2: Calculate the realized gain

Realized Gain = Sale Price - Selling Costs - Adjusted Basis

Selling costs include agent commissions, closing costs, and transfer taxes.

Step 3: Calculate taxes owed without a 1031 exchange

Federal Tax = Realized Gain x Federal Capital Gains Rate

State Tax = Realized Gain x State Capital Gains Rate

Depreciation Recapture = Accumulated Depreciation x 25%

The IRS taxes previously claimed depreciation at a flat 25% recapture rate, separate from the capital gains rate.

Total Estimated Tax = Federal Tax + State Tax + Depreciation Recapture

Step 4: Compare net proceeds

Without 1031: Net Proceeds = Sale Price - Selling Costs - Mortgage Balance - Total Tax

With 1031: Net Proceeds = Sale Price - Selling Costs - Mortgage Balance (no tax due)

The difference between these two amounts is the estimated tax savings from the exchange.

Step 5: Determine exchange requirements

For a full tax deferral, the replacement property must have a value equal to or greater than the sale price of the relinquished property. All net equity (sale price minus selling costs minus mortgage payoff) must be reinvested.

Worked example

A rental property purchased for $300,000 has $50,000 in capital improvements and $40,000 in accumulated depreciation. It sells for $500,000 with $30,000 in selling costs and a $100,000 remaining mortgage.

Adjusted basis = $300,000 + $50,000 - $40,000 = $310,000. Realized gain = $500,000 - $30,000 - $310,000 = $160,000. At 15% federal and 5% state: federal tax = $24,000, state tax = $8,000, depreciation recapture = $40,000 x 0.25 = $10,000. Total estimated tax = $42,000.

Without the exchange, estimated net proceeds = $500,000 - $30,000 - $100,000 - $42,000 = $328,000. With the exchange, estimated net proceeds = $500,000 - $30,000 - $100,000 = $370,000. The exchange defers an estimated $42,000 in taxes. The replacement property must be worth at least $500,000, and the investor must reinvest at least $370,000 in equity.

Related Calculators

Frequently Asked Questions

What types of property qualify for a 1031 exchange?
Only real property held for investment or productive use in a trade or business qualifies. This includes rental properties, commercial buildings, raw land, and industrial properties. Personal residences, vacation homes used primarily for personal purposes, and property held mainly for resale (such as fix-and-flip inventory) do not qualify. Both the relinquished and replacement properties must be like-kind, which for real estate means any type of real property can be exchanged for any other type of real property.
What are the timeline requirements for a 1031 exchange?
There are two strict deadlines. The investor must identify potential replacement properties within 45 days of selling the relinquished property. The purchase of the replacement property must close within 180 days of the sale. These deadlines are not extendable, even if they fall on weekends or holidays. Missing either deadline disqualifies the exchange, and all deferred taxes become due.
What is boot, and how does it affect the exchange?
Boot is any non-like-kind property received in the exchange, including cash proceeds not reinvested and debt reduction (when the new mortgage is smaller than the old one). Boot is taxable to the extent of the realized gain. For full tax deferral, the investor must reinvest all net equity and acquire replacement property of equal or greater value with equal or greater debt.
How does depreciation recapture work in a 1031 exchange?
When selling without a 1031 exchange, the IRS taxes previously claimed depreciation at a 25% recapture rate, separate from the capital gains rate on the remaining profit. In a 1031 exchange, depreciation recapture is also deferred. However, the depreciation carries over to the replacement property, reducing its basis. The recapture tax is deferred, not eliminated, and becomes due when the replacement property is eventually sold without another exchange.
What is a reverse 1031 exchange?
A reverse exchange allows the investor to acquire the replacement property before selling the relinquished property. This is useful in competitive markets where the replacement property may not be available later. Reverse exchanges require an Exchange Accommodation Titleholder (EAT) to hold title to one of the properties during the exchange period. They follow the same 45-day identification and 180-day completion deadlines, but are more complex and expensive to execute than standard forward exchanges.