Depreciation Recapture Calculator for Rental Property

See how much depreciation your rental has taken, how much of your gain is taxed as unrecaptured Section 1250 gain (never more than 25%), how much is regular long-term capital gain, and the total tax when you sell — using IRS MACRS rules and the mid-month convention.

Free to use · no sign-up · runs in your browser

Your property

Purchase & depreciation
$
Include closing costs added to basis. Enter later improvements separately below.
$
Land is never depreciated. The land/improvement split on your property tax bill is a common source.
%
100% for a full rental. Lower it if part was personal use, e.g. 50% if you lived in one unit of a duplex.
The month it was first ready to rent, not necessarily the purchase date.
$
A new roof, an addition, a new HVAC system and similar work done after you bought it. Repairs don't count.
The month the work was finished. Depreciated over the same 27.5 or 39 years.
$
Enter the total from your returns if it differs from the straight-line schedule (for example bonus depreciation on improvements). The IRS uses the greater of the amount allowed or allowable.
Sale
From the placed-in-service month to the sale. 6.5 = six and a half years.
$
$
Agent commission, transfer taxes, title and escrow fees you pay as the seller.
Your tax rates
Recapture is taxed at this rate, capped at 25%.
2026: 15% above $49,450 (single) / $98,900 (joint) of taxable income; 20% above $545,500 / $613,700.
%
Most states tax the whole gain as ordinary income. Enter your marginal rate, or 0.

Your estimate

  1. 1Depreciation recapture
    $69,818
    Unrecaptured §1250 gain taxed at 24% (your rate, under the 25% cap)
    Tax $16,756
  2. 2Remaining capital gain
    $88,800
    Long-term capital gain taxed at 15%
    Tax $13,320
  3. 3Total tax on the sale
    $30,076
    Federal $30,076
Depreciable building basis
$320,000
Straight-line depreciation
$11,636 / year ($970 / month)
Months depreciated
72 months, January 2020 to January 2026
Depreciation allowable
$69,818
Depreciation used for the sale
$69,818 (schedule amount)
Amount realized (price − selling costs)
$488,800
Adjusted basis (price + improvements − depreciation)
$330,182
Total gain
$158,618
Cash after tax, before paying off any loan
$458,724
Year-by-year depreciation schedule
YearMonthsDepreciationCumulative
202011.5 months$11,152$11,152
202112 months$11,636$22,788
202212 months$11,636$34,424
202312 months$11,636$46,061
202412 months$11,636$57,697
202512 months$11,636$69,333
20260.5 month$485$69,818

Federal estimate using your marginal rates. It does not apply suspended passive losses, the home-sale exclusion, installment sales or the alternative minimum tax. Not tax advice — confirm with a tax professional before you file.

How the calculator splits your gain

When you sell a rental at a profit, the IRS looks at the gain in two layers. The calculator shows each layer on its own line, then adds them up:

  1. Depreciation recapture. Every dollar of depreciation you took — or were entitled to take — on the building lowered your basis. When you sell, that part of the gain is unrecaptured Section 1250 gain, taxed at your ordinary income rate but never more than 25%.
  2. Remaining capital gain. Whatever gain is left over is long-term capital gain if you owned the property for more than a year, taxed at 0%, 15% or 20%. In most cases it equals the sale price minus selling costs minus what you paid.
  3. Total tax. Lines 1 and 2 together, plus the 3.8% net investment income tax and state income tax if you include them.

The formulas: adjusted basis = purchase price − depreciation  ·  total gain = (sale price − selling costs) − adjusted basis  ·  recapture = the smaller of total gain or depreciation  ·  remaining capital gain = total gain − recapture.

Worked example: a $400,000 rental sold for $520,000 after 6 years

Assumptions: a residential rental bought for $400,000 with $80,000 of land value, placed in service in January 2020 and sold in January 2026 for $520,000. Selling costs are 6% ($31,200). The owner is in the 24% bracket, pays the 15% long-term capital gains rate, and is not subject to the net investment income tax or a state tax. These are the calculator’s default inputs.

  1. Depreciable basis. $400,000 − $80,000 land = $320,000 building.
  2. Annual depreciation. $320,000 ÷ 27.5 years = $11,636.36 a year, or $969.70 a month ($320,000 ÷ 330 months).
  3. Mid-month convention. 2020 counts 11.5 months ($11,151.52). 2021–2025 count 12 months each (5 × $11,636.36 = $58,181.82). The sale month, January 2026, counts half a month ($484.85). Total: 72 months × $969.70 = $69,818 of depreciation.
  4. Adjusted basis. $400,000 − $69,818 = $330,182.
  5. Amount realized. $520,000 − $31,200 = $488,800.
  6. Total gain. $488,800 − $330,182 = $158,618.
  7. Split the gain. The gain is larger than the depreciation, so all $69,818 is unrecaptured Section 1250 gain. The remaining $88,800 is long-term capital gain — exactly the $488,800 net sale price minus the $400,000 originally paid.
  8. Tax. $69,818 × 24% = $16,756 recapture tax, plus $88,800 × 15% = $13,320 capital gains tax, for $30,076 of federal tax.
Same sale at different brackets
ScenarioRecapture taxCapital gains taxNIITTotal federal tax
24% bracket$16,756 (24%)$13,320—$30,076
32% bracket or higher$17,455 (25% cap)$13,320—$30,775
24% bracket + 3.8% NIIT$16,756$13,320$6,027$36,104
32%+ bracket + 3.8% NIIT$17,455$13,320$6,027$36,802

Why this matters: depreciation deductions offset rental income at your ordinary rate each year, and the recapture comes back at no more than 25%. If you deducted at 32%–37%, you come out ahead; in the 22%–24% brackets the benefit is mostly the years of deferral.

Rental property depreciation under MACRS: 27.5 and 39 years

Rental buildings are depreciated with the straight-line method under the General Depreciation System (GDS) of MACRS, with the mid-month convention:

  • Residential rental property — 27.5 years. A building where at least 80% of the gross rental income comes from dwelling units: single-family rentals, duplexes, apartment buildings.
  • Nonresidential real property — 39 years. Offices, retail, warehouses and other commercial buildings.
  • Land is never depreciated. Only the building and capital improvements are. Appliances, carpet and furniture are 5-year property and are recaptured differently (see the FAQ).
  • Improvements such as a new roof start their own 27.5- or 39-year schedule when placed in service. Enter them under Capital improvements with the month the work was finished; if you made several at different times, enter the total and the month of the largest one, or enter your total depreciation claimed instead.

That makes this page a rental property depreciation calculator too: the year-by-year schedule under the results shows the deduction for every calendar year, which is the number that goes on Schedule E (Form 4562 in the first year).

How the mid-month convention rounds

The exact day does not matter. A building is treated as placed in service in the middle of the month it is ready to rent, and as sold in the middle of the month of sale. Closing on March 1 or March 31 gives the same 9.5 months of depreciation in the first year. In the year of sale you get the months before the sale month plus half of it, so a June sale counts 5.5 months.

Depreciation by month, as a percentage of the depreciable basis
MonthMonths in first year27.5-year: first year39-year: first yearMonths in year of sale27.5-year: year of sale39-year: year of sale
January11.53.485%2.457%0.50.152%0.107%
February10.53.182%2.244%1.50.455%0.321%
March9.52.879%2.030%2.50.758%0.534%
April8.52.576%1.816%3.51.061%0.748%
May7.52.273%1.603%4.51.364%0.962%
June6.51.970%1.389%5.51.667%1.175%
July5.51.667%1.175%6.51.970%1.389%
August4.51.364%0.962%7.52.273%1.603%
September3.51.061%0.748%8.52.576%1.816%
October2.50.758%0.534%9.52.879%2.030%
November1.50.455%0.321%10.53.182%2.244%
December0.50.152%0.107%11.53.485%2.457%
Every full year in between123.636%2.564%———

The percentages are months ÷ 12 ÷ 27.5 (or 39). The 27.5-year column matches IRS Publication 946, Table A-6. The IRS tables round to three decimals, and the 39-year Table A-7a can differ from the formula by a few thousandths of a percent, so tax software may show a result a few dollars away from this page. Once the full 27.5 or 39 years have run, depreciation stops.

Federal rates that apply when you sell (2026)

Part of the gainFederal rate
Unrecaptured Section 1250 gain (building depreciation)Your ordinary rate, maximum 25%
Long-term capital gain (held more than 1 year)0%, 15% or 20%
Short-term gain (held 1 year or less)Ordinary rates, 10%–37%
Net investment income tax3.8% above $200,000 MAGI single / $250,000 joint
2026 long-term capital gains brackets (taxable income, including the gain)
Filing status0% up to15% up to20% above
Single$49,450$545,500$545,500
Married filing jointly$98,900$613,700$613,700
Head of household$66,200$579,600$579,600
2026 ordinary income brackets (to pick your bracket above)
RateSingleMarried filing jointly
10%up to $12,400up to $24,800
12%$12,401–$50,400$24,801–$100,800
22%$50,401–$105,700$100,801–$211,400
24%$105,701–$201,775$211,401–$403,550
32%$201,776–$256,225$403,551–$512,450
35%$256,226–$640,600$512,451–$768,700
37%over $640,600over $768,700

The gain itself adds to your taxable income, so a large sale can push part of it into a higher bracket. Brackets are from IRS Revenue Procedure 2025-32 (2026 inflation adjustments); the NIIT thresholds are set by law and are not indexed.

Depreciation recapture FAQ

What is depreciation recapture on a rental property?

When you sell a rental for a gain, the depreciation you deducted — or were entitled to deduct — is “recaptured”. That part of the gain is called unrecaptured Section 1250 gain and is taxed at your ordinary income rate, capped at 25%, instead of the lower capital gains rates. The sale is reported on Form 4797, and the 25% portion is figured on the Unrecaptured Section 1250 Gain Worksheet in the Schedule D instructions.

How is depreciation recapture different from capital gains tax?

Both come from the same sale. The recapture part equals the depreciation you took and is taxed at up to 25%. The rest of the gain — usually your sale price minus selling costs minus what you paid — is long-term capital gain taxed at 0%, 15% or 20% if you held the property for more than a year. If the 3.8% net investment income tax applies, it is charged on both parts.

Is depreciation recapture always taxed at 25%?

No. 25% is the maximum rate for unrecaptured Section 1250 gain on buildings; if your ordinary bracket is 10%–24%, that part is taxed at your lower rate. Depreciation on personal property — appliances, carpet, or components split out in a cost segregation study — is Section 1245 property and is recaptured as ordinary income at your full rate, with no 25% cap. If you held the property for one year or less, the whole gain is short-term and taxed at ordinary rates.

Do I owe recapture if I never claimed depreciation?

Yes. The IRS reduces your basis by depreciation “allowed or allowable”, so you are taxed as if you had claimed it. Missed depreciation can usually be caught up with Form 3115 (change in accounting method) rather than lost, so talk to a tax professional before you sell. The calculator applies the same rule: if you enter less than the schedule allows, it uses the schedule amount.

How does a 1031 exchange affect depreciation recapture?

A properly structured 1031 exchange defers both the capital gain and the depreciation recapture. The deferred gain carries into the replacement property through its lower carryover basis, so the recapture is still there when you later sell in a taxable sale. If you receive cash or other boot, gain is recognized up to the boot and part of it can be unrecaptured Section 1250 gain. Under current law, heirs who inherit the property generally receive a stepped-up basis, which eliminates the deferred gain. Use the 1031 exchange calculator to compare selling with exchanging.

Do I have to pay state tax on depreciation recapture?

Usually yes, and it is figured separately from the federal tax. Most states tax the entire gain, including the recaptured depreciation, as ordinary income with no special 25% rate. States without a personal income tax, such as Florida, Texas and Nevada, do not tax it. The state where the property is located can tax the gain even if you live elsewhere. Enter your marginal state rate in the calculator to include it.

Does the 3.8% net investment income tax apply when I sell a rental?

Generally yes, if your modified adjusted gross income is above $200,000 (single or head of household) or $250,000 (married filing jointly). The tax is 3.8% of the smaller of your net investment income or the amount your income exceeds the threshold. A qualifying real estate professional whose rentals are a non-passive trade or business may not owe it. The calculator’s checkbox applies 3.8% to the whole gain, which is the upper limit.

Sources

Last reviewed November 2026. This page gives general information, not tax advice. Related reading: depreciation recapture guide, 1031 exchange guide, capital gains tax rates.