Personal Finance
1031 Exchange Calculator
See how much tax a 1031 like-kind exchange defers when you sell investment real estate — capital gain, depreciation recapture, NIIT and state tax — and the tax on any cash boot you take.
Estimates only — not tax advice. Tax rules change and depend on your situation; check with the tax authority or a tax professional.
How to use
- 1Enter the sale price, selling costs, original purchase price and depreciation taken.
- 2Enter cash you'll take out (boot) and your tax rates.
- 3See the tax deferred by exchanging instead of selling.
How it's calculated
Gain = sale price − selling costs − (purchase price + improvements − depreciation). Tax if sold = depreciation recapture at up to 25% + remaining gain at your capital-gains rate + 3.8% NIIT + state. Boot is taxed up to the gain.
Frequently asked questions
What are the 1031 deadlines?
Identify replacement property within 45 days of the sale and close within 180 days, using a qualified intermediary to hold the proceeds.
What is boot?
Cash or debt relief you receive that isn't reinvested — it's taxable up to the amount of your gain.
Does 1031 work for my home?
No — only real property held for investment or business use.
Sources
Why depreciation taken over the years comes back to bite you at sale
Every year of depreciation claimed on an investment property reduces its tax basis, which increases the eventual taxable gain when it's sold — and that recaptured depreciation is taxed at up to 25%, a higher rate than the standard long-term capital gains rate that applies to the rest of the gain. A 1031 exchange defers both pieces simultaneously, which is exactly why it's particularly valuable for a heavily depreciated property, where the recapture portion alone could otherwise be a substantial tax bill.
Worked example: 1031 Exchange Calculator
A property sold for $800,000 with $48,000 in selling costs, an original purchase price plus improvements of $450,000, and $90,000 of depreciation taken has a basis of $360,000 and a total gain of $392,000 — of which $90,000 is depreciation recapture (taxed at 25%) and the remaining $302,000 is standard long-term gain. If sold outright rather than exchanged, that produces about $87,400 in combined federal tax; exchanging into a replacement property defers the entire $87,400 rather than paying any of it now.
Why taking any cash out of the exchange partially defeats its purpose
Any 'boot' — cash or debt relief received that isn't reinvested into the replacement property — is taxable up to the amount of the gain, proportionally reducing how much of the original tax bill actually gets deferred. Someone who exchanges a property but pulls out $100,000 in cash doesn't defer the tax on that $100,000; they're taxed on it in the year of the exchange just as if they'd sold outright for that portion, which is why the 45-day identification and 180-day closing deadlines matter — reinvesting the full proceeds, not just part of them, is what maximizes the deferral.
The deferred tax is rounded to the nearest dollar
Sale price opens at 800,000, selling costs at 48,000, purchase price plus improvements at 450,000, and depreciation at 90,000. Cash taken out opens at zero. The capital-gains rate is a menu of 0, 15, and 20 percent, opening on 15, not a number I can type freely. State tax opens at 5 percent and cannot go above 15. The 3.8 percent NIIT switch starts off. The gain cannot come out negative. If the gain is zero, boot is not taxed. Otherwise the boot that is taxed cannot exceed the gain, and its tax is that share of the full tax. Tax deferred and the gain line are rounded to the nearest dollar.
Related tools
- UK Capital Gains Tax Calculator 2026/27
Calculate UK Capital Gains Tax for 2026/27 on shares, crypto, second homes or business assets — £3,000 allowance, 18%/24% rates, losses, and Business Asset Disposal Relief at 18%.
- Capital Gains Tax Calculator 2026
Calculate federal tax on stock, crypto or property gains for 2026 — short-term vs long-term (0%, 15%, 20%), stacked on your other income, plus the 3.8% net investment income tax.
- Crypto Tax Calculator 2026
Estimate US federal tax on crypto for 2026 — short- and long-term gains from selling or trading coins, plus staking, mining and airdrop income taxed as ordinary income.
- Inheritance & Estate Tax in Europe by Country
Which European countries tax inheritances, estates and gifts — and at what rates — from Austria's zero to Spain's regional system, with key allowances for spouses and children.
- Tax-Loss Harvesting Calculator
Estimate the tax saved by selling investments at a loss to offset capital gains and up to $3,000 of ordinary income a year (US rules).
- Heat Index & Wind Chill Calculator
Find the 'feels like' temperature: heat index from temperature and humidity, or wind chill from temperature and wind speed, using the US National Weather Service formulas.