1031 Exchange Calculator
1031 Exchange Calculator
Defer-or-pay analysis with full boot-exposure surfacing and step-up-at-death framing.
1031 Exchange Calculator
⚠ Disclaimer: Estimates only. Not investment advice. RECATOOLS is not a licensed or registered investment adviser in any jurisdiction. Past performance does not guarantee future results. Trading and investing carry risk of partial or total loss of capital.
Section 1031 of the US Internal Revenue Code lets you exchange real property held for business or investment for other such property without recognising the gain now. The tax is deferred, not forgiven: the gain, including the part that comes from depreciation, is carried into the replacement property's basis. Enter both sides of the deal to see the tax on a straight sale, the boot an exchange would still tax, and the two dates the exchange has to meet.
If you sell outright
If you exchange (Form 8824, Part III)
The two tests for no boot
Deadlines from the sale closing date
Enter the sale closing date above to see them.
How to Use the 1031 Calculator
Enter the basis and the depreciation separately
Cost basis is what you paid plus capital improvements (a new roof, an addition). Depreciation is everything allowed or allowable on the property, which your past returns show. The calculator subtracts one from the other for the adjusted basis, and keeps the depreciation figure because that part of the gain is taxed at up to 25% rather than at the capital gains rate (IRS Topic 409).
Enter the replacement and its mortgage
Form 8824 counts as boot any cash you receive plus any debt relief that is not covered by new debt or by cash you put in, reduced by your exchange expenses. Two conditions together avoid it: a replacement price at least the net sale price, and at least your net equity going into the replacement. New debt can stand in for cash and cash for debt, so a smaller mortgage paid down with your own money is not boot.
Read the exchange side line by line
The exchange table follows Form 8824 Part III: boot (line 15), gain recognised as the smaller of boot and gain (line 20), gain deferred (line 24) and the basis you carry into the replacement (line 25). The calculator treats recognised gain as the depreciation part first, up to the depreciation taken: the cautious split, since that part carries the higher rate. The calculator assumes straight-line depreciation, so the ordinary-income recapture on line 21 is zero; a building depreciated on an accelerated method needs that figure worked out separately.
Add the sale date
The identification period ends at midnight on the 45th day after the transfer, and the exchange period at midnight on the 180th day or on the due date of your return for that year, whichever comes first (Treas. Reg. §1.1031(k)-1(b)(2)). For a sale from about the middle of October on, day 180 lands after 15 April, so without an extension of your return the deadline is the due date. The calculator shows both.
What a 1031 Exchange Defers, and How Boot Is Counted
Real property only, since 2018
Section 1031(a) says no gain or loss is recognised when real property held for productive use in a trade or business or for investment is exchanged solely for real property of like kind held the same way. The Tax Cuts and Jobs Act limited it to real property for exchanges after 2017; equipment, vehicles and art no longer qualify. Real property held primarily for sale is excluded (§1031(a)(2)), so a flip does not qualify, and US and foreign real property are not of like kind (§1031(h)). A main home is outside it too, because it is not held for investment.
"No gain or loss" cuts both ways. If the property is worth less than your adjusted basis, an exchange defers the loss as well, and a taxable sale is the way to claim it; the calculator says so when it sees one. When there is a gain, it is not erased: the replacement takes a basis lower than its price by exactly the gain deferred (Form 8824, line 25), so the tax comes due if you later sell it in a taxable sale. Under current law an heir's basis is the property's value at the owner's death (26 U.S.C. §1014), which is why exchanges are often held until then; that is a feature of estate law, and Congress can change it.
How boot is counted
Boot is anything you receive that is not like-kind property. Form 8824 adds the cash paid to you, other property you receive, and the net liabilities the other side takes over: your old mortgage minus the new debt you take on, the cash you pay and any other property you hand over. It then reduces that total, not below zero, by your exchange expenses. Two asymmetries matter. New debt offsets old debt, but it does not offset cash you take out. Cash you put in offsets debt relief. The IRS instructions work an example of each side of one trade: the party who received USD 40,000 in cash has USD 40,000 of boot even though it took on more debt than it shed, and the party who paid that cash has USD 30,000 of boot from the USD 150,000 of debt it shed less the USD 80,000 it took on and the USD 40,000 it paid. The calculator's own tests reproduce both.
On this page's defaults the replacement costs more than the net sale price and USD 35,500 of your own cash goes in, so there is no boot and all USD 369,500 of gain is deferred. Change the replacement to USD 600,000 with a USD 120,000 mortgage and the price falls USD 4,500 short of the net sale price: that USD 4,500 is boot, taxed now, and treated as depreciation gain first.
Timing
Within 45 days of the sale you identify the replacement in a written document you sign and send to the person obliged to transfer it to you, or to another party to the exchange who is not a disqualified person, within one of the regulation's limits: up to three properties of any value, any number whose total value is no more than 200% of what you sold, or more than that only if you then acquire at least 95% of the value you identified. You must receive the property by the earlier of day 180 and your return's due date with extensions. Both are counted in calendar days from the transfer. The usual structure keeps the sale money with a qualified intermediary under a written agreement that limits your right to receive it, which is the regulation's safe harbour against your being treated as having received the cash (§1.1031(k)-1(g)(4)).
Forty-five days to identify, and the word 'boot'
Deferred, not forgiven: the replacement's basis is its price less the deferred gain (Form 8824, line 25).
Day 45 and day 180, counted from the transfer, ending at midnight; day 180 moves up to the due date of that year's tax filing when that comes first (Treas. Reg. §1.1031(k)-1(b)(2)).
Identify up to three properties, or any number worth no more than 200% of what you sold, or more if you buy 95% of what you named.
2026 capital gains rates: 0% to USD 49,450 of taxable income, 15% to USD 545,500, 20% above, for a single filer (IRS Rev. Proc. 2025-32).
Unrecaptured §1250 gain, the depreciation part, is taxed at a maximum 25% (IRS Topic 409).
NIIT: 3.8% on the lesser of net investment income and the excess of modified AGI over USD 200,000 (single) or USD 250,000 (joint).
Boot is reduced by exchange expenses; new debt never offsets cash you take out (Form 8824, line 15).
US and foreign real property are not of like kind (§1031(h)).
Frequently Asked Questions
- Real property held for productive use in a trade or business or for investment, exchanged for real property to be held the same way (§1031(a)(1)). Within that, the kind of building does not matter: a rental house for an office building or land for an apartment block both qualify. Excluded: real property held primarily for sale (§1031(a)(2)), a home you live in, foreign real property in exchange for US real property (§1031(h)), and, since 2018, anything that is not real property.
- If you actually or constructively receive money before you receive the replacement, gain can be recognised, and if you receive the whole price that way the deal is a sale, not an exchange (Treas. Reg. §1.1031(k)-1(a)). The regulation gives safe harbours against that, and the one in common use is a qualified intermediary: you transfer the property under a written exchange agreement that expressly limits your right to receive, pledge or borrow against the money it holds (§1.1031(k)-1(g)(4)). Under that safe harbour it is the intermediary that acquires the property you are selling and transfers the replacement to you (§1.1031(k)-1(g)(4)(iii)), so the agreement has to be in place before the sale closes.
- Property not identified by day 45, or received after the exchange period ends, is treated as property that is not like-kind (§1031(a)(3)), so the gain is taxed up to its value. Both periods run in calendar days from the transfer of the property you sold, not from the contract, and end at midnight on the last day.
- Two separate rules apply. First, for a dwelling the IRS will not challenge whether it qualifies as investment property if you own it for at least 24 months after the exchange and, in each of those two 12-month periods, rent it at a fair rental for 14 days or more and use it yourself for no more than the greater of 14 days or 10% of the days it is rented (Rev. Proc. 2008-16). Second, a home acquired in an exchange cannot use the §121 exclusion on a sale within five years of acquiring it (§121(d)(10)). Plan both with a tax adviser before you move in.
- The calculator applies one state rate to the gain on a sale and to the recognised gain in an exchange, which assumes your state follows the federal deferral. Check yours. California is one example of a state that keeps track: if you exchange California property for property outside the state, its Franchise Tax Board requires form FTB 3840 for the year of the exchange and every year after, until the California-source deferred gain is recognised.
- The net investment income tax is 3.8% of the lesser of your net investment income and the amount by which modified adjusted gross income exceeds USD 200,000 (single or head of household), USD 250,000 (married filing jointly) or USD 125,000 (married filing separately) (IRS). Capital gains count as investment income. The calculator's "Yes" applies it to the whole gain, which is right only when your income is above the threshold by at least that much; a gain that is not recognised in an exchange is not income this year.
Method & sources
How it computes
Gain = sale − selling costs − (basis − depreciation). Sale: the depreciation part (capped at the gain) at the user's rate up to 25%, the rest at 0/15/20%, NIIT 3.8% and a state rate on the whole gain. Exchange: Form 8824 Part III — boot (line 15), recognised gain = lesser of boot and gain (20), deferred gain (24), replacement basis (25); line 21 taken as 0 (straight-line). Deadlines: day 45 and the earlier of day 180 or 15 April. Computed in your browser.
What this tool implements
- 26 U.S.C. §1031 as amended by the Tax Cuts and Jobs Act: real property held for business or investment, exchanged for like-kind real property; real property held primarily for sale excluded (§1031(a)(2)); US and foreign real property not of like kind (§1031(h)); a loss is deferred as well as a gain (§1031(a)(1)).
- Boot and basis follow the 2025 Form 8824 instructions, Part III: line 15 = cash received + other property + net liabilities assumed by the other party (relief − liabilities assumed − cash paid − other property given), reduced (not below 0) by exchange expenses; line 18 = adjusted basis + unused expenses + net amount paid; line 20 = lesser of 15 and 19; line 25 = 18 + 23 − 15. The tests reproduce the instructions' Taylor and Finley example (line 15 of 40,000 and 30,000).
- Line 21 (ordinary-income recapture) is taken as 0: for section 1250 property it is depreciation in excess of straight line, and MACRS residential rental and nonresidential real property are straight line (Publication 946, Tables A-6 and A-7a). Recognised gain is treated as unrecaptured section 1250 gain first, up to the depreciation taken — the cautious split.
- Deadlines per §1031(a)(3) and Treas. Reg. §1.1031(k)-1(b)(2): identification ends at midnight on day 45; the exchange period at midnight on the earlier of day 180 and the return due date with extensions. Tested on the regulation's own example (transfer 16 November 1992 → 31 December 1992, day 180 = 15 May 1993). The page names 15 April (IRS, When to file) and Form 4868 rather than predicting a weekend or holiday shift.
- Corrected 2026-11-05: "Tax savings" → "Tax deferred (not forgiven)"; the "not advantageous" verdict on a no-gain sale; "debt also has to match-or-exceed" (cash offsets debt relief); "must buy equal or greater" than the gross sale price (the test is the net sale price); the FAQ schema type https://screen.org/Question → schema.org. Cut as unsourced: named intermediaries and a USD 750-1,500 fee range, a USD 5K reverse-exchange fee, DST fee and hold ranges, the FIRPTA "typically held by the QI" claim, the Massachusetts/Pennsylvania claim, and an unattributed quotation calling the strategy the greatest builder of wealth.
Sources
- 26 U.S.C. §1031, Exchange of real property held for productive use or investment. https://www.law.cornell.edu/uscode/text/26/1031
- Treas. Reg. §1.1031(k)-1, Treatment of deferred exchanges (identification and exchange periods, identification rules, qualified intermediary safe harbour). https://www.law.cornell.edu/cfr/text/26/1.1031(k)-1
- Internal Revenue Service. Instructions for Form 8824 (2025), Like-Kind Exchanges, Part III lines 15-25. https://www.irs.gov/instructions/i8824
- Internal Revenue Service. Topic no. 409, Capital gains and losses (unrecaptured section 1250 gain at a maximum 25%). https://www.irs.gov/taxtopics/tc409
- Internal Revenue Service. Rev. Proc. 2025-32, §3.03 Maximum Capital Gains Rate (2026: 0% to USD 49,450 / 15% to USD 545,500 single; 98,900 / 613,700 joint). https://www.irs.gov/pub/irs-drop/rp-25-32.pdf
- Internal Revenue Service. Net Investment Income Tax (3.8%; thresholds USD 200,000 / 250,000 / 125,000). https://www.irs.gov/individuals/net-investment-income-tax
- Internal Revenue Service. When to file (15 April 2026 for calendar-year filers; Form 4868 six-month extension). https://www.irs.gov/filing/individuals/when-to-file
- Internal Revenue Service. Rev. Proc. 2008-16, Internal Revenue Bulletin 2008-10 (safe harbour for dwelling units). https://www.irs.gov/irb/2008-10_IRB
Show 2 more
- 26 U.S.C. §121(d)(10) (five years before the exclusion applies to property acquired in a like-kind exchange) and §1014(a) (basis at death). https://www.law.cornell.edu/uscode/text/26/121
- California Franchise Tax Board. 2025 Instructions for Form FTB 3840, California Like-Kind Exchanges. https://www.ftb.ca.gov/forms/2025/2025-3840-instructions.html
What can make this go out of date
- The 2026 capital gains breakpoints shown in the rate hint and fact card come from Rev. Proc. 2025-32; replace them from each year's inflation revenue procedure (each autumn).