Free tool · runs in your browser
1031 Exchange Calculator
Enter your relinquished and replacement property details to see how much gain you defer, what boot you owe tax on now, and your new property basis.
Inputs
Results
How a 1031 exchange works
- Like-kind exchange: under IRC §1031, you can defer capital gains tax when you sell investment real estate and reinvest the proceeds into another investment property within strict deadlines — 45 days to identify a replacement, 180 days to close.
- Adjusted basis: your original purchase price plus capital improvements, minus accumulated depreciation. Depreciation taken reduces your basis and is subject to §1250 recapture at 25% when you eventually sell.
- Realized gain: sale price minus selling costs minus adjusted basis. The exchange defers this gain; it does not eliminate it — it is embedded in your new property's basis.
- Boot: any value you receive that is not like-kind property. Cash boot (proceeds not reinvested) and mortgage boot (debt relieved but not replaced) are both taxable in the year of the exchange. Boot is taxed first as depreciation recapture (25%), then as long-term capital gain at your rate.
- To fully defer: (1) buy a replacement property worth at least as much as you sold, (2) replace at least as much debt (or compensate with extra cash), and (3) reinvest all net proceeds through a qualified intermediary (QI). You cannot touch the cash.
Worked example
You sell a rental for $500,000 (original basis $200,000, depreciation $50,000, selling costs $25,000, existing loan $150,000). Adjusted basis = $150,000. Amount realized = $475,000. Realized gain = $325,000. Net equity into the QI = $325,000.
You buy a $600,000 replacement with a $250,000 loan, putting $350,000 in — $25,000 more than the $325,000 from the exchange. No boot. Entire $325,000 gain is deferred. New basis = $600,000 − $325,000 = $275,000. Estimated tax deferred ≈ $53,750 ($50k × 25% recapture + $275k × 15% LTCG).
If instead you buy a $450,000 replacement with a $100,000 loan, the $50,000 debt reduction is partly offset by the $25,000 extra cash you invest — leaving $25,000 of mortgage boot. That boot is all depreciation recapture, taxed at 25% = $6,250 owed now. $300,000 of gain defers.
1031 exchange identification rules and critical deadlines
The IRS enforces two hard deadlines from the day you close on the relinquished property. Missing either one collapses the entire exchange — there are almost no extensions (disaster declarations being the rare exception).
| Deadline | Days from closing | What you must do |
|---|---|---|
| Identification deadline | 45 calendar days | Deliver a written list of replacement properties to your qualified intermediary or the seller. Verbal identification is not accepted. |
| Exchange deadline | 180 calendar days | Close on the replacement property. If your tax return is due earlier (including extensions), the earlier date controls. |
Identification rules — you must follow one of three:
- 3-property rule: identify up to 3 properties of any value. Most investors use this rule — it is the safest and most flexible.
- 200% rule: identify any number of properties, provided their combined fair market value does not exceed 200% of the relinquished property's sale price.
- 95% rule: identify any number of properties, but you must actually close on 95% of their combined value. This rule is very difficult to meet and rarely used.
Reverse and improvement exchanges: if you need to buy before you sell, a reverse exchange (facilitated through an Exchange Accommodation Titleholder) allows you to park the replacement property for up to 180 days while you sell. Improvement exchanges let you use exchange funds to improve a replacement property before title transfers. Both require more complex structures and higher QI fees ($2,000–$5,000+).
Boot: what triggers taxable gain in a 1031 exchange and how to avoid it
Boot is any value you receive that is not like-kind property. Even in a successful exchange, boot makes part of your gain taxable immediately. Understanding the two types of boot — and how to offset them — determines whether you can fully defer or only partially defer the gain.
| Boot type | What creates it | How to offset it | Tax treatment |
|---|---|---|---|
| Cash boot | Exchange proceeds not fully reinvested — e.g. you sold for $500k and only reinvested $450k | Invest the entire net equity; do not take any cash from the QI | Taxable dollar-for-dollar; treated as depreciation recapture first, then LTCG |
| Mortgage / debt boot (net) | Debt relieved on the relinquished property exceeds debt assumed on the replacement | Take on at least as much debt on the replacement, or add additional cash to the exchange | Same as cash boot — the net debt reduction is treated as cash received |
| Personal property boot | Non-real-property value mixed into the exchange — e.g. furniture, fixtures or equipment | Keep personal property separate from the real estate transaction; do not include it in the exchange agreement | No like-kind deferral available for personal property post-2017 TCJA |
| Partial identification failure | You identified 3 properties but could only close on one that was worth less than the relinquished property | Always identify replacement properties worth more than the relinquished property; plan for a backup option | Unexchanged equity becomes taxable boot |
Calculating your boot exposure: boot = MAX(0, (relinquished FMV − selling costs) − (replacement FMV)) + MAX(0, (old debt) − (new debt + extra cash added)). The calculator displays this automatically. If your boot is small relative to the total gain, it may be worth accepting rather than over-leveraging a replacement purchase. Enter your numbers to find the break-even — sometimes a small taxable event now is better than taking on too much replacement debt.
Reverse and improvement exchanges: when and why to use them
Standard (forward) 1031 exchanges require you to sell before you buy. When market conditions make that impossible — the ideal replacement property won't wait 180 days — reverse and improvement exchanges offer a solution, at higher cost and complexity.
| Exchange type | Sequence | When to use it | Typical additional cost | Key constraint |
|---|---|---|---|---|
| Forward (standard) exchange | Sell → 45-day ID → 180-day close | Standard case; you have flexibility on timing the replacement purchase | $500–$1,500 QI fee | Must identify in 45 days; strict deadlines apply |
| Reverse exchange | Buy replacement first → sell relinquished within 180 days | Hot market where replacement won't wait; competitive multi-offer environment | $3,000–$8,000 (Exchange Accommodation Titleholder required) | You must own both properties simultaneously through an EAT; cannot hold title yourself during the parked period |
| Improvement (build-to-suit) exchange | Sell → QI holds funds → improvements built → take title to improved property within 180 days | Replacement property needs renovation; available exchange proceeds fund the rehab | $3,000–$8,000 + legal costs for improvement agreement | All improvements must be complete and title transferred within 180 days — scope creep can jeopardize the exchange |
| Combined reverse + improvement | EAT buys and improves replacement → you sell → take title within 180 days | You need to buy and improve before selling your existing property | $5,000–$12,000+ | Most complex structure; requires experienced QI and real estate attorney |
When a reverse exchange makes sense: you have identified a property that is priced fairly and competitive, and the seller will not wait for you to sell first. The additional QI cost ($3,000–$8,000) is small relative to the tax deferred on most exchanges. The main risk is that you then need to sell the relinquished property within 180 days under time pressure — price it aggressively from day one and do not wait to list.
Revenue Procedure 2000-37: reverse exchanges are governed by IRS Rev. Proc. 2000-37, which provides a "safe harbor" for exchanges structured through an EAT. Deviating from the safe harbor increases IRS scrutiny risk. Use an experienced QI who has completed dozens of reverse exchanges, not a general title or escrow company.
Frequently asked questions
Does the exchange eliminate the capital gains tax?
No — it defers it. The deferred gain is embedded in the replacement property's lower basis, so you owe the tax when you eventually sell without doing another exchange. Many investors "swap until they drop" and step up the basis at death under current law, though tax law can change.
What is a qualified intermediary (QI)?
A third party who holds the sale proceeds between the sale of the relinquished property and the purchase of the replacement. You cannot receive or control the proceeds during the exchange, or you lose the tax deferral. QI fees are typically $500–$1,500.
What counts as "like-kind" property?
Any real property held for investment or business use qualifies, regardless of type — a single-family rental can exchange into an apartment building, a commercial building, or land. Your primary residence does not qualify.
What is the 45/180-day rule?
You must identify potential replacement properties in writing within 45 calendar days of closing on the relinquished property, and close on a replacement within 180 calendar days (or the due date of your tax return, whichever is earlier). These deadlines are strict — there are almost no extensions.
Estimates last reviewed . Results are estimates for educational use; not financial or investment advice. Methodology →