Calculate depreciation recapture tax on a rental property sale from the purchase price, land value, years rented and sale price, or your adjusted basis.
- All Business Calculators
- Bonus Depreciation Calculator
- Reverse Depreciation Calculator
- Property Depreciation Calculator
Calculator Functions
| Function | What it does | What it requires |
|---|---|---|
| Residential rental sale estimate | Estimates the depreciation taken on a rental property, then the federal tax on that depreciation when the property is sold | Requires the purchase price, the land value included in it, the years depreciated, the sale price and the two tax rates; improvements and selling costs are optional |
| Manual adjusted basis and depreciation | Estimates the same tax from figures already in the owner's tax records | Requires the sale price, the adjusted basis at sale, the allowed or allowable depreciation and the two tax rates; selling costs are optional |
The two rates are the rate on depreciation-related gain, preset to 25%, and the rate on the remaining gain, preset to 15%. Both can be changed. An optional net investment income tax (NIIT) rate of up to 3.8% can be added, and the rental estimate accepts a depreciation override in place of its own estimate. Each result lists the recaptured depreciation, the remaining gain, the tax on each, the total estimated tax and the proceeds after tax.
Depreciation Recapture Formulas
RA = min(AD, max(0, G))
RT = RA × TR ÷ 100
| G | Gain on the sale ($) [1] |
| SA | Amount realized: sale price minus selling costs ($) |
| BA | Adjusted basis at the time of sale ($) |
| AD | Depreciation allowed or allowable on the property ($) |
| RA | Depreciation-related gain, called unrecaptured section 1250 gain for real property ($) |
| RT | Estimated tax on the depreciation-related gain ($) |
| TR | Tax rate on the depreciation-related gain (%) |
A gain is the amount realized from a sale that is more than the property's adjusted basis [1]. Depreciation lowers the basis each year, so it enlarges the gain when the property is sold. The part of a long-term gain on real property that is due to depreciation is unrecaptured section 1250 gain [1], and it is taxed at a maximum federal rate of 25% [2]. It can never be more than the gain itself, which is why the formula takes the smaller of the depreciation and the gain. A sale at a loss has no recapture.
Any gain above the depreciation is taxed at the rate entered for remaining gain. For tax year 2025 the federal long-term capital gains rates are 0%, 15% and 20%, depending on taxable income [2]. The total estimate is RT plus the remaining gain times its rate, plus the whole positive gain times the NIIT rate if one is entered.
Residential rental sale estimate
min(Y, 27.5) ÷ 27.5 [3]
P is the purchase price, L is the land value included in it, I is the cost of depreciable capital improvements and Y is the number of full years the property was depreciated. Residential rental property is depreciated over 27.5 years, and land cannot be depreciated, so the purchase price has to be divided between land and building [3]. The adjusted basis is then BA = P + I − AD.
Take a property bought for $300,000 with $60,000 of land and $20,000 of improvements, rented for 10 years and sold for $400,000 with $24,000 of selling costs. The depreciable basis is $260,000, so AD = 260,000 × 10 ÷ 27.5 = $94,545.45 and the adjusted basis is $225,454.55. The amount realized is $376,000 and the gain is $150,545.45. All $94,545.45 of depreciation is recaptured, for a tax of $23,636.36 at 25%. The remaining $56,000 of gain at 15% adds $8,400, for a total of $32,036.36.
If the gain is smaller than the depreciation, only the gain is taxed at the recapture rate. A land value above the purchase price is rejected, as is an override larger than the depreciable basis.
Manual adjusted basis and depreciation
The main formulas are applied to the adjusted basis and depreciation entered, with nothing estimated. A sale at $5,000 with an adjusted basis of $3,000 and $3,000 of depreciation has a gain of $2,000. The depreciation-related gain is the smaller figure, $2,000, and the tax at 25% is $500. This function suits a property whose tax depreciation schedule is already in hand.
Limits of This Estimate
- This is a simplified US federal estimate for real estate held more than one year. It is not a tax return calculation, and state income tax and any mortgage payoff are left out.
- The automatic depreciation is a straight 27.5-year average. Actual tax depreciation uses a mid-month convention in the first and last years, and each improvement is depreciated from its own start date [3]. Use the override or the manual function when the real figure is known.
- 25% is a maximum rate, not a flat one, and the capital gains rates cited are those the IRS lists for tax year 2025 [2]. Change either rate to match the owner's own tax position.
- The actual NIIT is 3.8% of the lesser of net investment income and the amount by which modified adjusted gross income exceeds $200,000 for single filers or $250,000 for joint filers [4]. The calculator applies the entered rate to the whole gain.
- Losses, other capital gains and losses, installment sales, like-kind exchanges, the home sale exclusion and recapture on equipment or furnishings are not worked out.
Sources
- Internal Revenue Service, Publication 544 (2025), Sales and Other Dispositions of Assets: gain as amount realized over adjusted basis, and unrecaptured section 1250 gain
- Internal Revenue Service, Topic no. 409, Capital gains and losses: the 25% maximum rate and the 2025 long-term capital gains rates
- Internal Revenue Service, Publication 527 (2025), Residential Rental Property: the 27.5-year recovery period, the mid-month convention and land
- Internal Revenue Service, Topic no. 559, Net investment income tax: the 3.8% rate and its income thresholds
