1031 exchange calculator: gain deferred, boot and deadlines
- No sign-up
- Form 8824, line by line
- Updates as you type
Gain you
$260,000
Taxed when you sell the new property for cash.
- Taxed this year, gain
- $24,000
- Gain
- $284,000
- : cash and debt relief
- $24,000
- New property's
- $490,000
A study of its $192,000 of new basis
IllustrativeYear one: $43,287 to $71,171 instead of $6,109.
Planning scenarios use published 5- and 15-year shares and assume no separate 7-year assets. Actual allocations can fall outside these figures. A paid study values the components you document. WeCostSeg’s 2026 industry report
Starts a free study of a building you own. No card.
Federal only, for a building on a straight line. A studied rental may owe more (line 21). See how it's worked out
Your deadlines
Your sale closes on December 6, 2026, day 0. Name the new property in writing by January 20, 2027 and close on it by April 15, 2027. Your 2026 return falls due before day 180, so it ends the exchange 50 days early. An extension filed by April 15, 2027 keeps all 180 days, to June 4, 2027. A federally declared disaster can postpone both deadlines.
The sale closesIts cash goes to your qualified intermediary, never to you.
Sun, Dec 6, 2026Day 0
Name the new property in writingSigned, and sent to the intermediary or the seller.
Wed, Jan 20, 2027Day 45
You close on the new propertyIts new basis goes into service this day.
Thu, Feb 4, 2027Day 60
Your 2026 return is dueWithout an extension, so the exchange ends here.
Thu, Apr 15, 2027Day 130
Day 180, cut shortYour return ends the exchange 50 days before it.
Fri, Jun 4, 2027Day 180
The cash between the two closings
- Held by your
- $324,000
- The purchase takes, beyond its loan
- $300,000
- Cash back to you
- $24,000
Part of the $24,000 taxed may count as , at up to 25% on a building's straight-line depreciation. After a cost seg study, the old rental's 5- and 7-year parts may be taxed this year too (line 21); CPAs differ on when they carry over, and yours decides. Furniture is not part of an exchange: it counts as sold.
Your result, in plain words
You defer $260,000 of your $284,000 gain, and $24,000 is taxed this year
Your rental sells for $600,000. Less $36,000 of selling and exchange costs and its $280,000 , your gain is $284,000: line 19 of Form 8824, the gain realized. It is the same in a sale or an exchange; the exchange decides when it is taxed.
is what you get out of the exchange that is not real property. Here it is $24,000 of cash that comes back to you: $24,000 on line 15, taxed this year up to your gain. Your own cash can make up a smaller loan, but a bigger new loan never offsets cash you keep.
The other $260,000 is deferred (line 24). It lowers the new property's basis to $490,000, its $750,000 price less the gain carried in (line 25). It is taxed when you sell that property for cash, unless you exchange again.
Of that basis, $98,000 is land at your 20% share. $200,000 is your old building's remaining basis, the , which keeps its old schedule for its remaining years. The other $192,000 is , in service from the day you close on the new property, February 4, 2027, which a cost segregation study can sort into 5-, 7- and 15-year parts.
Part of any gain taxed may count as . If your rental had a cost seg study, its 5- and 7-year parts may be taxed in the exchange year even with no boot (CPAs differ), and its furniture is not part of an exchange at all. To compare a plain sale, the depreciation recapture calculator splits its tax layer by layer.
Form 8824
Like-Kind Exchanges
2026
Note: Complete lines 12 through 14 only if you gave up property that was not like-kind. Otherwise, go to line 15.
Form 8824, Part III, in the words of the IRS's 2026 form, with your numbers. Lines 22 and 23 count line 21 as zero, as for a building on a straight line; after a cost seg study your CPA fills it in. An example to check with your CPA, not a return to file.
- Land, never depreciated
- $98,000 20%
- Old schedule, carried over
- $200,000 41%
- New basis a study can sort
- $192,000 39%
Each line worked outLines 15 to 25 as arithmetic, with the rule beside each line
Boot, line 15
- Cash you receiveThe $24,000 that comes back to you, and the $36,000 of costs paid from the sale's cash
- $60,000
- Debt reliefThe $240,000 loan paid off, less the $450,000 new loan and $0 of your own cash; never below zero
- $0
- Exchange expensesNetted against the cash and debt relief, never below zero
- $36,000
- Line 15, boot
- $24,000
Gain realized, lines 16 to 19
- Line 16, the new property's value
- $750,000
- Line 15, boot
- $24,000
- Line 17
- $774,000
- Line 18The $280,000 adjusted basis, $210,000 net paid (the new loan and cash added beyond the loan paid off) and $0 of expenses not netted on line 15
- $490,000
- Line 19, gain realizedThe same as the $600,000 sale price, less $36,000 of costs and the $280,000 adjusted basis
- $284,000
Taxed and deferred, lines 20 to 24
- Line 19, gain realized
- $284,000
- Line 23, gain recognizedLine 20: the smaller of line 15 and line 19, never below zero. Lines 21 and 22, the recapture rules, are your CPA's
- $24,000
- Line 24, gain deferred
- $260,000
The new property's basis, line 25
- Line 18
- $490,000
- Line 23, gain recognized
- $24,000
- Line 15, boot
- $24,000
- Line 25, basisIts $750,000 price less the $260,000 carried in
- $490,000
- Land20% of the basis, the land's share of the price
- $98,000
- Old scheduleThe $280,000 adjusted basis less $80,000 of land, up to the new building's basis: the exchanged basis
- $200,000
- New basisIn service when the new property is: the excess basis
- $192,000
What a study would change
What does a study find in the property you buy?
A cost segregation study sorts it into 5-, 7- and 15-year parts that depreciate faster than the building. Of its basis, $192,000 is new property, the part those lines start fresh on; the rest keeps your old schedule.
Your free cost segregation study
- Free. No card and no sales call. The filing pack is an optional upgrade.
- Prepared by software from your closing statement and photos of the property.
- Every figure says what it rests on. Classes and rates from the IRS's tables, costs from your own documents, and anything estimated marked as an estimate.
- Your CPA files it. The report and the schedule are written for them to check line by line.
Year one, no study
$6,109
With a study
Illustrative$43,287 to $71,171
A first estimate on the $192,000 of new basis alone, in service from February 2027, at a 100% bonus rate. The $200,000 carried over keeps the old building's schedule and is left out. Our study works from the price you paid, so your CPA applies its lines to the new basis with your Form 8824.
Planning scenarios use published 5- and 15-year shares and assume no separate 7-year assets. Actual allocations can fall outside these figures. A paid study values the components you document. WeCostSeg’s 2026 industry report
Open the cost seg calculatorHow the 1031 exchange calculator works it out
The gain realized
What the old property sells for, less the selling and exchange costs and its adjusted basis: what you paid, less the depreciation taken. Form 8824 reaches it on lines 15 to 19.
The boot
Cash that comes back to you, plus a loan paid off beyond the new loan and the cash you add, with the costs netted against the cash. Debt you take on never offsets cash you keep.
Taxed and deferred
The smaller of the boot and the gain is taxed this year (lines 20 and 23). The rest is deferred (line 24) and lowers the new property's basis (line 25).
Your deadlines
Day 45 and day 180 are calendar days from the day after the sale closes. The 180 days end at your return's due date if it comes first: April 15, or October 15 extended.
From the IRS's instructions for Form 8824 and their Taylor and Finley example, Publication 544 (Sales and Other Dispositions of Assets), and the Treasury regulations on deferred exchanges, on liabilities in an exchange, and on depreciating exchanged and excess basis. Our tests hold the arithmetic to those examples. The recapture rules (line 21) are left to your CPA.
1031 exchange calculator questions
How is boot calculated in a 1031 exchange?
Boot is what you get out of the exchange that is not real property: cash that comes back to you, and debt relief, which is the loan paid off beyond the new loan and any cash you add. Exchange expenses such as commissions are netted against the cash. A bigger new loan never offsets cash you keep. Boot is taxed in the year of the exchange, up to your gain.
How do you calculate the basis of a 1031 replacement property?
Take its price and subtract the gain you deferred. That is Form 8824's line 25 by another route: the old property's adjusted basis, plus what you paid in and the gain taxed, less the boot. In the calculator's example, a $750,000 property with $260,000 of deferred gain has a $490,000 basis. The lower basis means less depreciation, and the deferred gain comes due when you sell.
What are the 45-day and 180-day rules in a 1031 exchange?
Both count calendar days from the day after your old property's sale closes. You must name the new property in writing by day 45 and receive it by day 180. The 180 days end sooner if your tax return for the year of the sale falls due first, so a sale after mid-October needs an extended return to keep them all. A federally declared disaster can postpone both.
Can I add cash to make up a smaller mortgage in a 1031 exchange?
Yes. A loan paid off at the sale that is larger than the new loan counts as boot, unless you add your own cash to close the gap. It does not work the other way: cash you take out of the exchange is boot even when the new loan is bigger. In the calculator, once the purchase takes all the proceeds, a smaller new loan shows as your own cash added and the boot stays the same.
Are closing costs taxed as boot in a 1031 exchange?
Exchange expenses are not. Publication 544 names brokerage commissions, attorney fees and deed preparation fees, and nets them against any cash you receive, so paying them from the proceeds is not taxed as boot. They also lower the gain realized. Other items on a closing statement, such as loan fees, prorated rent or property taxes, are not named there. Ask your CPA how each line of your statements is treated.
Does a 1031 exchange defer depreciation recapture?
On the real property, generally yes: the building's depreciation is carried into the new property and taxed when you sell that property for cash. Boot is taxed in the exchange year, and part of it may count as recapture. If your rental had a cost segregation study, its 5- and 7-year parts may be taxed in the exchange year too; CPAs differ on when they carry over. Furniture is not real property and is not part of an exchange.
Can I get a cost segregation study on my 1031 replacement property?
Yes. The new property's basis above what carried over from the old one is new property, placed in service when the new property is, so a study can sort it into 5-, 7- and 15-year parts. The carried-over part keeps the old building's schedule. Our study works from the price you paid, so give your CPA its lines and your Form 8824. On a used property, bonus depreciation reaches only the new part.
Guides on selling and exchanging a rental
Selling
What is depreciation recapture? A rental sale, worked out
What is depreciation recapture? The tax on depreciation you took, due when you sell. One $475,000 rental's sale, layer by layer, with and without a study.
12 min readDepreciation
Section 1245 property vs 1250: a rental, part by part
Section 1245 property is a rental's personal property, like appliances and carpet; 1250 is the building and yard. Look up any part and see why it matters.
10 min readBasics
What is cost segregation? A $475,000 rental, line by line
What is cost segregation? A study that splits a rental's price into parts the IRS depreciates faster, shown on an invented $475,000 example, line by line.
13 min read
The other calculators
- Cost seg calculatorYear one with a study and without, and the tax it saves
- Depreciation calculatorAny asset's MACRS schedule, year by year, as a CSV
- Depreciation recapture calculatorHow much of your gain is recapture, layer by layer
- Section 179 calculatorThe deduction, the carryover and what's left for bonus