CommercialPropertyLoanCalculator Get a Quote

1031 Exchange Calculator: Replacement Price, Loan and Boot

Selling an investment property and buying another through a 1031 exchange? Enter the sale, the loan you are paying off and the property you want to buy. The calculator shows the loan you will need, whether the plan defers the whole gain, and how much cash or mortgage boot it leaves.

Free · No sign-up · Updated November 2026

Loan needed on the replacement property
$2,320,000
58.0% of the price
Boot on these numbers
$0
the whole gain stays deferred
Net sale price after costs$2,880,000
Loan paid off at the sale$1,200,000
Exchange equity held by the intermediary$1,680,000
Equity reinvested$1,680,000
Cash boot$0
Mortgage boot (debt not replaced)$0
Minimum replacement price for full deferral$2,880,000
Minimum new debt plus added cash$1,200,000

Price, reinvested equity and debt all meet the full-deferral test on these numbers. The 45-day identification and 180-day closing deadlines still apply.

Loan needed and boot at other replacement prices (same cash plan):

Replacement priceLoan neededLoan-to-valueBoot
$2,592,000 (90% of net sale)$912,00035.2%$288,000
$2,880,000 (100% of net sale)$1,200,00041.7%$0
$3,168,000 (110% of net sale)$1,488,00047.0%$0
$3,600,000 (125% of net sale)$1,920,00053.3%$0
$4,320,000 (150% of net sale)$2,640,00061.1%$0

This uses the standard netting rules in simplified form. Exchange expenses, loan costs paid from exchange funds, multiple properties and depreciation recapture all change the result. Your qualified intermediary and tax advisor have the final numbers.

You have 180 days to close, and the loan is usually the slowest part. Get a purchase quote on the replacement property before you identify it.

Get a purchase quote

The three tests for full deferral

A 1031 exchange lets you sell real estate held for investment or business use and buy other investment or business real estate without paying tax on the gain now. The tax is deferred, not forgiven: the gain carries over into the new property’s basis. Since 2018 only real property qualifies, but nearly any kind counts as like-kind to any other. An apartment building can be exchanged for a warehouse, or a retail strip for land.

Deferring all of the gain comes down to three numbers:

Replacement price ≥ net sale price (sale price − selling and exchange costs)
Equity reinvested = all of the net cash from the sale
New debt + cash you add ≥ debt paid off at the sale

Miss one and the shortfall is boot, which is taxable up to the amount of your gain. The calculator runs all three tests at once and shows the loan the purchase needs once your exchange equity is in.

Cash boot and mortgage boot

  • Cash boot is sale money you end up with instead of reinvesting it. That includes cash you take at closing and exchange funds left over because the new property cost less than you had to spend.
  • Mortgage boot is debt relief you don’t replace. If you paid off a $1,200,000 loan when you sold and the new property carries an $820,000 loan with no cash added, the $380,000 difference is mortgage boot.

The two don’t offset each other evenly. Cash you put in from outside the exchange counts against mortgage boot. A bigger loan on the new property does not cancel cash you kept, because you would just be swapping a tax-free loan for taxable cash.

Worked example

An owner sells a building for $3,000,000. Selling and exchange costs are 4% (an example), so the net sale price is $2,880,000. The $1,200,000 loan is paid off at closing, which leaves $1,680,000 of equity with the qualified intermediary. These are the calculator’s default numbers:

  • Buying a $4,000,000 property with all $1,680,000 reinvested needs a $2,320,000 loan, 58.0% of the price. The price is above $2,880,000, all equity goes back in, and the new loan is bigger than the old one, so there is no boot.
  • Keeping $200,000 of the proceeds means the loan has to grow to $2,520,000 to close the same purchase, and the $200,000 is cash boot all the same. With an adjusted basis of $1,100,000, the gain is $1,780,000. $200,000 of it becomes taxable and $1,580,000 stays deferred.
  • Trading down to $2,500,000 leaves $380,000 of boot, the gap between the $2,880,000 net sale and the new price. The owner’s own cash doesn’t fix this: adding $380,000 shrinks the loan to $440,000, and the boot is still $380,000.
  • Buying at exactly $2,880,000, the net sale price, needs a $1,200,000 loan, the same as the old one, and defers the whole gain.

If the new building has $300,000 of net operating income and the $2,320,000 loan is at an example 7.25% over 25 years, debt service is $201,229 a year, a DSCR of 1.49x. Add the property’s NOI and a quoted rate in the optional fields to run that check on your own deal.

Replacing the debt

The debt rule catches owners who plan to buy the next property with less leverage. Once all the equity goes back in, the loan you need is the replacement price minus that equity and any cash you add. Buy at or above the net sale price and the new loan plus your added cash will always match or beat the loan you paid off. Mortgage boot shows up when the price falls short, and that is why paying cash doesn’t rescue a trade-down: less debt plus more cash still adds up to the lower price.

The practical question is whether a lender will make the loan you need. Commercial purchase loans are usually limited to 65–80% of value and to what the property’s income supports. A loan at 1.25x DSCR on the new building may come out lower than the debt you need. Check it with the loan amount calculator or the DSCR calculator before you identify a property. If the loan comes up short, the gap has to be covered with cash, or it becomes boot.

Deadlines and the loan timeline

  • 45 days from the sale to identify replacement properties in writing. You can name up to three properties, or more if their total value is no more than 200% of what you sold.
  • 180 days from the sale to close on the replacement, or your tax return due date for that year if it comes first. Extensions on your return can preserve the full 180 days.
  • The sale money has to stay with a qualified intermediary. If you receive or control it, it is taxable.
  • The buyer of the replacement property, and so the borrower, generally has to be the same taxpayer that sold.

Commercial loans take weeks: appraisal, environmental and property condition reports, title and lender underwriting. A loan that starts late can push the closing past day 180. Getting a purchase quote before the 45-day list is due tells you what you can actually close on.

Common ways an exchange creates boot

  • Buying for less than the net sale price, then holding the leftover exchange funds
  • Taking cash at the sale closing, even briefly, instead of leaving it with the intermediary
  • Planning to borrow less on the new property and making up the difference with exchange cash you keep
  • Paying loan costs, such as origination fees, appraisal or lender legal, out of exchange funds; these are often treated as taxable boot
  • Prorated rents and security deposits credited to you at the sale closing

The calculator uses the standard netting rules in simplified form. Part of any taxable gain can be depreciation recapture, which is taxed differently from capital gain, and state rules vary. Run the numbers here to size the loan and spot boot, then confirm the plan with your qualified intermediary and tax advisor. For a property you plan to keep instead of exchanging, the cash-out refinance calculator shows how much equity a new loan could release.

Frequently asked questions

How do you calculate boot in a 1031 exchange?
Cash boot is any sale money you receive instead of reinvesting, including exchange funds left over after the purchase. Mortgage boot is the debt paid off at the sale minus the new debt on the replacement property and minus any cash you add. Total boot is taxable up to the amount of your gain.
How much do I need to reinvest to avoid taxes in a 1031 exchange?
All of the net cash from the sale, in a replacement property priced at or above the net sale price (sale price minus selling and exchange costs), with new debt plus any cash you add at least equal to the debt you paid off.
Do I need a loan on the replacement property?
Only if the replacement price is more than your exchange equity plus any cash you add. But if you had a loan on the property you sold, you have to replace that debt with new debt or your own cash, or the difference is mortgage boot.
Can I take cash out of a 1031 exchange and borrow more to make up for it?
Not without tax. Cash you keep is cash boot, and a bigger loan on the new property does not offset it. Extra cash you add can offset mortgage boot, but not the other way around.
What are the 1031 exchange deadlines?
You have 45 days from the sale to identify replacement properties in writing and 180 days from the sale to close, or until your tax return due date for that year if it is earlier. The deadlines are not extended for weekends or holidays.

Buying a replacement property?

Get a free purchase loan quote before your 45-day identification deadline. No credit pull.

Get a purchase quote