Skip to main content
NoCostSeg
Sign inGet my free studyStart free

Depreciation recapture calculator: the gain on your sale, layer by layer

When you sell a rental, the depreciation you took comes back as taxable gain, and part of it is taxed at higher rates than a plain capital gain. Enter what you paid, how long you hold it and what it sells for, and see how much of your gain is recapture, with a cost segregation study and without.
  • No sign-up
  • IRS tables, modeled study shares
  • Updates as you type
The property

Rental home: the building is 27.5-year property. The scenarios assign 15% to 25% of the basis into 5-year property and 5% to 10% into 15-year. 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.

Include the closing costs you capitalized.

Land share of the price

Land never depreciates. Your county assessor's split is a good guide.

The dates

The day you signed the binding contract, in most purchases; your CPA confirms the date that counts. It sets the bonus rate.

The day it was ready to rent.

The sale
years

Whole years from the in-service date: sold in January 2036.

Work the sale price from
%

Compounded each year. The depreciation recapture guide's example uses 3%.

Cost segregation
Cost segregation study

The headline's case. The other is shown beside it.

The study's split

Shares of the basis moved into 5- and 15-year property. We use the upper shares unless you pick another: they are the most the modeled range adds to the gain. Choose your own study to enter documented 5-, 7- and 15-year amounts.

Your tax rate
Federal tax bracket

Only for the tax figures. The layers of the gain don't depend on it.

in your gain, with a modeled study

$222,818

· 0, 15 or 20%
$163,360
· up to 25%
$89,818
· ordinary above straight line
$38,000
· ordinary rates
$95,000
Taxable gain
$386,178

First-year depreciation scenarios

Illustrative

Year one could be $86,594 to $141,608 instead of $13,242.

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

Start my free study

Starts a free study of a building you own. No card.

Federal, before selling costs. See how it's worked out

Recapture in the gain, with a study and without

With a study
$222,818 of $386,178
Without a study
$138,182 of $301,542
A study adds to the gain
$84,636

Federal tax on the depreciation, at a 32% bracket

up to $63,241

Without a study: $34,545. The 5- and 7-year layer at 32%, the most it can be; the 15-year layer's part above straight line at 32% and the rest at 25%; the building's at 25%. The price growth is taxed on top, at 0, 15 or 20%.

Your result, in plain words

$222,818 of your $386,178 gain is depreciation coming back

Sold in January 2036 for $638,360 (what you paid, grown 3% a year), your taxable gain is the sale price less your of $252,182: the $475,000 you paid less $222,818 of depreciation taken. Only $163,360 of it is price growth, taxed as a long-term capital gain at 0, 15 or 20%. The rest is , taxed in layers at higher rates.

The building's $89,818 is , taxed at your ordinary rate but no more than 25%. The 5- and 7-year parts' $95,000 is gain at ordinary rates, the most that layer can be, since it assumes their share of the sale price covers their cost. On the 15-year parts' $38,000, the $12,667 above what straight-line depreciation would have taken is taxed at ordinary rates and the $25,333 of straight line at up to 25%.

Without a study, the same sale's gain would be $301,542: a study adds $84,636, exactly the extra depreciation it lets you deduct years before the sale. What it buys is time: tax not paid for years, which you keep meanwhile. The tax it saves and hands back at your bracket is worked out under the figures below.

Your tax preparer reports the sale on Form 4797 for 2036, and the building's layer is worked out on the Unrecaptured Section 1250 Gain Worksheet in the Schedule D instructions. Selling costs and improvements you made later would lower the gain; state tax, the 3.8% net investment income tax and any suspended passive losses a sale would free are left out. To put the tax off instead, a like-kind exchange defers the gain into your next property: the 1031 exchange calculator works it out.

How the gain is reached

With a modeled study (upper estimate), the figures in the result written out: your adjusted basis, the gain on it and the federal tax on the depreciation at your bracket.

Your adjusted basis

What you paidClosing costs included, land too
$475,000
Depreciation takenThe building $89,818, 15-year $38,000, 5- and 7-year $95,000
$222,818
$252,182

Your taxable gain

Sale priceWhat you paid, grown 3% a year for 10 years
$638,360
Adjusted basis
$252,182
Taxable gain$163,360 of price growth and $222,818 of depreciation
$386,178

Tax on the depreciation, at 32%

5- and 7-year parts, $95,000 × 32%Ordinary rates: the most this layer can be
$30,400
15-year parts, $12,667 × 32% and $25,333 × 25%Above straight line at ordinary rates, the straight-line part at up to 25%
$10,387
The building, $89,818 × 25%Your 32% bracket, capped at 25%
$22,454
Federal tax on the depreciation, at most
$63,241

The same sale, side by side

The planning scenarios assign 15% to 25% of the basis into 5-year property and 5% to 10% into 15-year. 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

The sale with no study, a modeled study's lower and upper shares, and your own study
No studyModeled, lowerModeled, upper
Sale price$638,360$638,360$638,360
Less what you paid−$475,000−$475,000−$475,000
0, 15 or 20%$163,360$163,360$163,360
up to 25%$138,182$110,546$89,818
ordinary above straight line$0$19,000$38,000
ordinary rates$0$57,000$95,000
$138,182$186,546$222,818
$336,818$288,454$252,182
Taxable gain$301,542$349,906$386,178

The layers are price growth plus the three layers of depreciation; the taxable gain is the sale price less the adjusted basis. Both add up the same way.

What a study changes in tax, and the depreciation year by yearThe tax a study saves while you hold the property and hands back at the sale, at a 32% bracket; then each tax year from 2026 to the sale, with its CSV.

What a study changes in federal tax, at a 32% bracket

One bracket every year, each deduction usable in the year it comes (the passive-loss rules decide that), the 5- and 7-year layer at your full rate, the most it can cost, the 15-year layer's straight-line part at no more than 25%, and no state tax.

What a study changes in federal tax over the hold
Modeled, lowerModeled, upper
Tax in 2026$23,472 less$41,077 less
Tax, 2027 to 2036$7,996 more$13,993 more
Tax at the sale$16,524 more$28,696 more
Over the 10 years$1,048 more$1,612 more

Depreciation taken, year by year

Each tax year from 2026 to the sale, with a modeled study's upper shares and without a study. In the year of the sale the parts take half a year and the building runs to the middle of January.

Depreciation taken each tax year, with a study and without
Tax yearWith a studyWithout a studyDifference
2026$141,608$13,242$128,366
2027$8,981$13,819−$4,838
2028$8,982$13,818−$4,836
2035$8,982$13,818−$4,836
2036, sold in January$374$576−$202
Total$222,818$138,182$84,636
Download the years (CSV)

What a study would change

Will a study cost you more when you sell?

At a 32% bracket, a little: $1,612 more tax over the 10 years, if your bracket stays at 32% every year and you can use each deduction in the year it comes. Your free study lists every part with its class and the depreciation it takes each year: what your CPA fills Form 4797 from when you sell.

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.

With a modeled study (upper estimate), at a 32% bracket

$41,077 less tax in 2026

Then $13,993 more from 2027 to 2036, and $28,696 more at the sale: $1,612 more in all.

How the calculator works out your gain

  1. The sale price

    Your sale price, or what you paid grown at your yearly rate for the years you hold it. Less what you paid, that is the price growth.

  2. The depreciation taken

    Each part on the IRS's tables from the day it went into service, with the bonus rate your contract date gives. In the year of the sale the parts count half a year and the building runs to the middle of the month.

  3. The study's split

    A lower or upper share of the basis from published property-type scenarios, or your own study's amounts. Without a study, the whole basis stays in the building.

  4. The layers

    Price growth, then the building's depreciation, the 15-year parts' and the 5- and 7-year parts'. Together they are your sale price less your adjusted basis.

From the IRS's Publication 946 (the depreciation tables and conventions), Publication 544 (sales and depreciation recapture), the Instructions for Form 4797, the Unrecaptured Section 1250 Gain Worksheet in the Schedule D instructions, and the IRS's 2026 inflation adjustments for the capital gain rates. The same engine runs every study.

Questions about depreciation recapture

How do you calculate depreciation recapture on a rental property?

Add up the depreciation you were allowed while you owned it. Your adjusted basis is what you paid less that depreciation, and the sale price less your adjusted basis is your taxable gain. The part of the gain that is depreciation is the recapture: the building's share is taxed at up to 25%, and the 5- and 7-year parts' at ordinary rates. The rest is price growth, taxed at 0, 15 or 20%.

What is the depreciation recapture tax rate?

There is no single rate. The building's depreciation is taxed at your ordinary rate, capped at 25%. Depreciation on personal property, such as appliances and carpet, is taxed at your ordinary rate, which runs from 10% to 37% in 2026. The price growth is a long-term capital gain at 0%, 15% or 20%, and the 3.8% net investment income tax can come on top of all of it.

Does cost segregation increase depreciation recapture?

Yes, by exactly the extra depreciation it let you deduct. A study moves parts of the building into 5-, 7- and 15-year property, which you deduct years earlier, often in the first year with bonus depreciation. At the sale more of the gain is taxed at ordinary rates and the building's layer is smaller. In this calculator's $475,000 example sold after 10 years, a modeled study's upper shares add $84,636 to the taxable gain.

Do you owe depreciation recapture if you sell for less than you paid?

Usually, yes. You have a taxable gain whenever the sale price is above your adjusted basis, and depreciation lowered that basis below what you paid. The gain is then smaller than the depreciation taken, and how much is left in each layer depends on how the price is split among the land, the building and the parts. This calculator stops at the price you paid for that reason, and your CPA splits a falling price.

Can you avoid depreciation recapture by not claiming depreciation?

No. The tax code lowers your basis by the depreciation you were allowed or allowable, claimed or not. If you never claimed it, you still have the lower basis when you sell, and you pay tax on deductions that never saved you anything. If your returns were filed without depreciation, ask your CPA about a Form 3115 catch-up before you sell.

Does a 1031 exchange avoid depreciation recapture?

It defers it; it does not erase it. In a like-kind exchange the gain carries into the new property's lower basis and comes due when you sell that one for cash. Since 2018 only real property qualifies, so the 5- and 7-year parts a study finds can be taxed in the year of the exchange. CPAs disagree on the details, so plan it with yours before you list.

What happens to depreciation recapture at death or with a gift?

At death it is generally gone. Your heirs' basis is the property's value on the date of death, and the recapture rules do not apply to a transfer at death. A gift is different: no recapture is due when you give the rental away, but the person who receives it keeps your basis and your depreciation, and pays the recapture when they sell.

Guides on selling a rental