1031 Exchange Calculator
Calculate how much in capital gains and depreciation recapture taxes you can defer with a like-kind 1031 exchange — and what happens if you receive boot.
How to Use This 1031 Exchange Calculator
Enter five values to see how much tax you can defer:
- Sale Price: What you're selling your investment property for.
- Adjusted Cost Basis: Your original purchase price, plus improvements, minus depreciation already taken. This is your tax basis — the lower it is, the larger your capital gain.
- Total Depreciation Taken: Cumulative depreciation deductions claimed over your ownership period. Taxed at 25% upon sale (depreciation recapture). In a 1031, this is also deferred.
- Capital Gains Tax Rate: Your applicable long-term capital gains rate: 0%, 15%, or 20% depending on your income. Add 3.8% NIIT if applicable for high earners.
- Replacement Property Price: What you'll pay for your new investment property. Must equal or exceed sale price to avoid boot (taxable gain).
How 1031 Exchange Tax Deferral Works
Depreciation Recapture Tax = Depreciation × 25%
Capital Gains Tax = (Capital Gain − Depreciation) × CG Rate
Total Tax Without 1031 = Recapture Tax + CG Tax
Boot = MAX(0, Sale Price − Replacement Price)
Boot Tax = Boot × Capital Gains Rate
Deferred Tax = Total Tax − Boot Tax
In a full 1031 exchange (no boot), you defer ALL taxes by rolling equity into a replacement property of equal or greater value. The taxes aren't forgiven — they carry forward into the new property's basis. You only pay when you eventually sell without exchanging again.
The Key Time Rules
- 45-day identification period: Identify up to 3 replacement properties within 45 days of selling.
- 180-day closing period: Must close on the replacement property within 180 days of selling (or your tax filing deadline, whichever comes first).
- Qualified Intermediary (QI): Proceeds must be held by a QI — never touch the money yourself or it becomes immediately taxable.
Example: Deferring $120,000 in Taxes
Patricia's Rental Property Exchange
Patricia bought a rental duplex for $250,000 in 2010 and sells for $600,000 in 2025. She has taken $50,000 in depreciation. Her income puts her in the 20% long-term capital gains bracket.
| Sale Price | $600,000 |
| Adjusted Basis | $200,000 |
| Total Depreciation | $50,000 |
| Capital Gain | $400,000 |
| Depreciation Recapture (25%) | $12,500 |
| Capital Gains Tax (20%) | $70,000 |
| Total Tax Without 1031 | $82,500 |
| Replacement Property | $750,000 apartment building |
| Boot | $0 (replacement exceeds sale) |
| Total Tax Deferred | $82,500 |
Patricia defers $82,500 in taxes and rolls all $600,000 into a larger income-producing property, compounding her wealth tax-deferred. If she holds until death, heirs receive a stepped-up basis and may never pay these taxes.