Skip to main content
RealCostIQ

Free calculator ยท instant results ยท no signup

1031 Exchange Calculator

A Section 1031 exchange lets you roll the gain from one investment property into the next instead of paying tax today. Enter your sale, your basis, and your replacement property to see what you defer โ€” and whether you're creating taxable boot.

Educational calculators โ€” always consult a licensed professional before making financial decisions.

The contract price on the relinquished property.

$
$10K$100M

Original purchase price + improvements โˆ’ accumulated depreciation.

$
$0$100M

Total depreciation claimed over your entire hold.

$
$0$100M

Commissions, title, escrow, and closing fees.

$
$0$10M

What you're buying with the exchange proceeds.

$
$0$100M

Debt cleared at the closing of the property you're selling.

$
$0$100M

Debt you're taking on the property you're buying.

$
$0$100M

The US long-term brackets are 0%, 15%, and 20%.

Most common

Leave at 0 if your state has no income tax.

%
0%20%

Tax Deferred With a 1031

$72,300

vs $72,300 owed if you sell outright

Realized gain$402,000
Gain deferred into new property$402,000
Taxable bootNone
Tax due now on boot$0
Carryover basis in new property$548,000
Fully deferred โ€” no boot. You're reinvesting all the proceeds and replacing at least as much debt, so the whole gain rolls forward. Remember: deferred, not forgiven โ€” the gain follows you into the new property through a reduced basis.

If You Sell Outright

Net sale price (after selling costs)$752,000
โˆ’ Adjusted basis$350,000
= Realized gain$402,000
Depreciation recapture @ 25%$120,000 โ†’ $30,000
Remaining capital gain @ 15%$282,000 โ†’ $42,300
Total tax if you sell$72,300

Boot Check

Net proceeds to the intermediary$502,000
Cash the replacement property needs$550,000
Cash boot (proceeds not reinvested)$0
Mortgage boot (debt relief)$0
Total boot$0

The Clock

Identify replacement property within45 days
Close on replacement property within180 days

Both deadlines run from the closing of the property you sell, and they run concurrently โ€” the 180 days is the total period, not 45 + 180. Neither can be extended.

Email me the detailed report

A full PDF breakdown of these numbers โ€” yours to keep or hand to a contractor.

Educational estimate โ€” not tax or legal advice. 1031 exchanges are technical and mistakes are expensive: a missed deadline or touching the proceeds yourself can disqualify the whole exchange and trigger the full tax bill. This tool ignores net investment income tax, partial-year and state-specific rules, and non-real-property elements. Consult a CPA and a Qualified Intermediary before you list the property.

Add this calculator to your site

Your Saved Scenarios

No saved scenarios yet

How a 1031 exchange actually works

A Section 1031 like-kind exchange lets you sell one investment property and buy another without paying the tax on your gain right now. The critical word is defer, not forgive. Nothing is written off. The gain is parked, and it follows you into the next property. What you get is the use of the tax money โ€” the full proceeds keep working in real estate instead of a chunk leaving for the IRS at every trade. Over a career of moving up from a duplex to a fourplex to a small apartment building, that compounding is the entire point.

The clock is the part people get wrong. From the day the property you're selling closes, you have 45 days to identify your replacement property in writing and 180 days to close on it. Both deadlines are measured from that same closing date and they run concurrently โ€” the 180 days is the total period, not 45 days plus another 180. Burn all 45 days deciding and you have 135 left to actually close. There is no extension for a slow lender, a failed inspection, or a seller who backs out. This is why serious exchangers line up candidate properties before they list.

You cannot touch the money. The proceeds must go to a Qualified Intermediary, hired before the sale closes, who holds the funds and buys the replacement property on your behalf. Taking constructive receipt โ€” having the check routed to you or your own account, even for a day, even untouched โ€” disqualifies the exchange. It is the most common way an otherwise clean deal falls apart, and it's entirely preventable with a phone call made a week earlier.

Boot is what trading down costs you. To defer the whole gain, you generally need to buy at or above your net sale price and replace at least as much debt as you paid off. Fall short and the shortfall is boot, which is taxable. Cash boot is proceeds you don't reinvest; mortgage boot is debt relief when the new loan is smaller than the old one. A partial exchange still works โ€” you recognize gain only up to the boot and defer the rest โ€” but people are routinely surprised that paying down debt on the new property generated a tax bill.

Depreciation rides along. The depreciation you claimed lowered your basis every year, which is why long-held rentals have far larger gains than owners expect. That slice is taxed as unrecaptured Section 1250 gain at up to 25% on a sale โ€” and a 1031 defers it too, rather than erasing it. Your basis in the new property is its price minus the deferred gain, so the untaxed gain is baked in from day one, along with smaller future depreciation deductions.

"Swap till you drop." As a general principle, exchanges can be chained indefinitely, and under current law heirs receive a stepped-up basis at death โ€” which is why some investors never sell outright at all. That's a long-horizon estate strategy that turns on rules which can change, so treat it as context rather than a plan, and build it with an estate attorney. In the meantime, judge the replacement property on its own merits: run its cap rate and its full ROI before the tax tail wags the investment dog. A deferred tax bill is a poor reason to overpay for a worse building.

How it works

1

Enter the sale

Input sale price, adjusted basis, accumulated depreciation, and selling costs.

2

Add the replacement

Enter the new property price, the mortgage you're paying off, and the new mortgage.

3

Read your deferral

See tax deferred vs selling outright, any taxable boot, and your carryover basis.

The 1031 clock โ€” both deadlines run from the same closing

MilestoneDeadlineMeasured from
Identify replacement property in writing45 daysClosing of the relinquished property
Close on replacement property180 days totalClosing of the relinquished property
Time left to close after using all 45 days135 daysEnd of the identification period
Extensions availableNoneโ€”

The 180 days is the total exchange period, not 45 + 180. Proceeds must be held by a Qualified Intermediary throughout โ€” taking constructive receipt disqualifies the exchange.

Frequently asked questions

What are the 45-day and 180-day deadlines in a 1031 exchange?+

You have 45 days from the closing of the property you sell to identify your replacement property in writing, and 180 days from that same closing to complete the purchase. Both clocks start at the same moment and run concurrently โ€” the 180 days is the total period, not an extra 180 on top of the 45. So once you use the full 45 days to identify, you have 135 days left to close. Neither deadline can be extended, and missing either one generally means the exchange fails and the full tax comes due.

Do I really need a Qualified Intermediary?+

Yes. You cannot take constructive receipt of the sale proceeds at any point. A Qualified Intermediary must be engaged before the relinquished property closes and must hold the funds between the sale and the purchase. Having the proceeds routed to you, your attorney, or your own escrow โ€” even briefly, even if you never spend a dollar โ€” is one of the most common ways people accidentally blow an otherwise valid exchange. Set the intermediary up before you close, not after.

What is boot in a 1031 exchange?+

Boot is any value you receive from the exchange that isn't like-kind replacement property, and it's taxable. It comes in two forms. Cash boot is sale proceeds you don't reinvest โ€” money that ends up in your pocket instead of the new property. Mortgage boot is debt relief: if the new mortgage is smaller than the loan you paid off on the sale, the difference counts as value received. Trading down in price or debt is what triggers boot. The gain you recognize is the lesser of your boot and your total realized gain, so a partial exchange still defers the rest.

Does a 1031 exchange defer depreciation recapture too?+

Yes. Depreciation recapture โ€” the unrecaptured Section 1250 gain taxed at a maximum rate of 25% โ€” is deferred along with the rest of the gain, not eliminated. This matters more than most investors expect, because depreciation reduces your adjusted basis every year you own the property. After a long hold, the recapture slice can be a large share of your total tax bill, and it rides forward into the replacement property with everything else.

What happens to my basis in the replacement property?+

It carries over, reduced by the gain you deferred. Your basis in the new property is roughly its purchase price minus the deferred gain, rather than the full price you paid. That's the mechanism that makes deferral work: the untaxed gain follows you into the new property. Practically, it means lower depreciation deductions going forward and a larger gain waiting whenever you eventually sell without exchanging again.

What property qualifies as like-kind?+

Since 2018, Section 1031 applies only to real property held for investment or productive use in a trade or business. Real estate is broadly like-kind to other real estate โ€” an apartment building can be exchanged for raw land, a rental house for a strip mall. What does not qualify is your primary residence, a property held primarily for resale (a flip), and personal property such as vehicles or equipment, which lost 1031 eligibility in the 2017 tax law.

Thinking about a swap? Run the numbers before you list.

Back to the calculator โ†‘

Cost ranges and rates here are checked against contractor quotes and published industry data. If a number still looks off, email Support@RealCostIQ.com and we'll review and fix it.