Recapture Depreciation Calculator
When you sell a rental property or a business asset, the IRS does not tax the whole gain at one rate. The part of the gain that matches the depreciation you claimed gets recaptured first, at up to 25% for real property or at your full ordinary rate for equipment, and only the rest gets capital gains treatment. This calculator splits the gain for you, adds state tax, and shows every step.
Years fill in automatically from the dates. uses 27.5-year straight line on the building value for every property type, so treat it as a rough placeholder, not a correct life for commercial or equipment property.
Tax summary
Step-by-step breakdown
Planning strategies
Estimate for planning only, not tax advice. The capital gains rate is estimated from your marginal bracket (0% at a bracket of 15% or below, 15% up to 35%, 20% above), and the 3.8% Net Investment Income Tax is not included.
Quick Answer
On the pre-filled example, a rental bought for $350,000 with $25,000 of improvements and $110,514 of depreciation, then sold for $500,000 with $32,000 of selling expenses, produces a $203,514 gain. Of that, $110,514 is depreciation recapture taxed at 22%, or $24,313.08, and $93,000 is capital gain taxed at 15%, or $13,950. Add 5% state tax of $10,175.70 and the total tax is $48,438.78, an effective 23.80% of the gain.
Key takeaways
- Recapture is the lesser of your total depreciation and your total gain, so a sale at a loss produces no recapture at all.
- Real property (Section 1250) is capped at 25%; equipment and vehicles (Section 1245) are taxed at your full ordinary rate.
- Depreciation counts whether you claimed it or not. The basis reduction happens under the allowed or allowable rule either way.
- This tool estimates the capital gains rate from your marginal bracket and leaves out the 3.8% Net Investment Income Tax, so read the result as a planning estimate.
- Quick Answer
- How to use the recapture depreciation calculator
- How depreciation recapture is calculated, step by step
- Worked example: a residential rental sold after years of depreciation
- Section 1250 vs Section 1245: the rate is the whole game
- Planning around recapture before you sell
- What competing calculators miss
- Frequently asked questions
- Add This Calculator to Your Website
- References
How to use the recapture depreciation calculator
Work top to bottom: describe the asset, enter what it cost and what you claimed, then enter the sale. The results stay hidden until you calculate.
- Pick the property type: the three real property options switch the calculator to the Section 1250 capped rate; equipment and vehicles use Section 1245 at your full ordinary rate.
- Enter purchase price, land value and improvements: purchase plus improvements is your original basis. Land is never depreciable, and if you are tracking your annual deductions separately, the depreciation expense calculator works out the yearly amount.
- Enter total depreciation taken: use the total from your past returns. If your records are incomplete, set the purchase and sale dates (or type the years owned) and click Estimate my depreciation, then replace its rough figure with your real total when you can.
- Enter the sale: sale price, selling expenses, your marginal rate, your state rate, and the business use percentage if the asset was not fully business.
- Click Calculate: you get the gain, the recapture amount and its tax, the capital gains tax, state tax, the total, a step-by-step breakdown and planning strategies. Copy or share the summary from the results box.
Three entries are required and checked: a purchase price above zero (“Enter a valid purchase price.”), a depreciation total (“Enter the total depreciation taken (0 is allowed).”), and a sale price of zero or more (“Enter a valid sale price.”). Most other blanks are treated as zero, a blank business use is treated as 100%, and a negative depreciation entry is treated as zero.
How depreciation recapture is calculated, step by step
The calculation is a five-step chain, and the calculator prints each step in its breakdown so you can check it against your own records.
Adjusted basis = original basis − depreciation taken
Gain = (sale price − selling expenses) − adjusted basis
Recapture = lesser of (depreciation taken, gain) × business use %
Total tax = recapture tax + capital gains tax + state tax
The IRS explains the underlying basis rules in its guidance on the basis of assets in Publication 551: basis starts at cost, rises with capital improvements, and falls with depreciation allowed or allowable. The sale itself is reported under the rules in Publication 544, Sales and Other Dispositions of Assets, with the recapture computation worked through on Form 4797.
Two rate choices sit inside the chain, and being clear about them matters more than the arithmetic. For Section 1250 property this calculator taxes the recapture slice at your marginal rate capped at 25%. For Section 1245 property it uses your full marginal rate. The remaining gain is taxed at a capital gains rate the calculator estimates from your marginal bracket: 0% if the bracket is 15% or below, 15% if it is above 15% and up to 35%, and 20% above 35%. That is a bracket shortcut, not the IRS capital gains worksheet, which keys off taxable income and filing status rather than your marginal bracket alone. Treat the split as a close planning estimate and the exact liability as a job for the return itself.
Worked example: a residential rental sold after years of depreciation
The pre-filled figures are the example: $350,000 purchase, $70,000 of it land, $25,000 of improvements, $110,514 of depreciation taken, a $500,000 sale with $32,000 of selling expenses, a 22% marginal rate, a 5% state rate and 100% business use.
Four more sales run through the same tool show how sharply the answer moves with the property type, the bracket and the business use share:
| Scenario | Gain | Recapture | Total tax | Why |
|---|---|---|---|---|
| Residential rental (worked example) | $203,514 | $110,514 | $48,438.78 | 22% bracket is under the 25% cap, so recapture is taxed at 22% |
| Business equipment, Section 1245 ($80,000 cost, $60,000 depreciation, $70,000 sale, $2,000 expenses, 32% bracket, no state tax) | $48,000 | $48,000 | $15,360.00 | The whole gain is recapture at the full 32% rate, no cap, no capital gain left |
| Same rental, 37% bracket | $203,514 | $110,514 | $56,404.20 | Cap binds at 25% on recapture; capital gain estimated at 20% |
| Same rental, 50% business use | $203,514 | $55,257 | $24,219.39 | Only the business half of the gain is recaptured and taxed in this estimate |
| Rental sold at a loss ($350,000 purchase, $25,000 improvements, $110,514 depreciation, $250,000 sale, $10,000 expenses) | −$24,486 | $0 | $0.00 | No gain, no recapture; the loss is documented instead |
Check the 37% row by hand: recapture tax is $110,514 × 25% = $27,628.50, capital gains tax is $93,000 × 20% = $18,600, state tax stays $10,175.70 because it is charged on the full gain either way, and the three add to $56,404.20, exactly what the tool prints.
Section 1250 vs Section 1245: the rate is the whole game
Both sections recapture the same thing, depreciation, but they price it differently. That single difference is why the property type field sits at the top of the calculator.
| Point | Section 1250 (real property) | Section 1245 (personal property) |
|---|---|---|
| Covers | Rental homes, commercial buildings, business real estate | Equipment, machinery, vehicles, furniture |
| Recapture rate here | Your ordinary rate, capped at 25% | Your full ordinary rate, no cap |
| Character | Unrecaptured Section 1250 gain for straight-line property, a special capital gain category | Ordinary income, recharacterized under Section 1245 |
| Statute | 26 U.S. Code Section 1250 | 26 U.S. Code Section 1245 |
One simplification to know about: for post-1986 real property, depreciation is straight line, so there is normally no ordinary-income recapture under Section 1250 itself; the depreciation slice is taxed as unrecaptured Section 1250 gain at up to 25% through the Schedule D worksheet. This calculator follows that standard treatment, which is also how the main competing tools handle it. Older property depreciated under accelerated methods can have a genuine ordinary recapture piece on top, and that case is outside this tool.
Planning around recapture before you sell
The estimate is most useful before the sale closes, while the timing and the structure are still yours to choose. The calculator’s own strategies list points at the same levers.
- Like-kind exchange: a valid Section 1031 exchange defers both the recapture and the capital gains tax. The IRS sets out the requirements in its like-kind exchange guidance for real estate: strict identification and exchange deadlines apply, and the deferred depreciation follows you into the replacement property.
- Installment sale: taking payments over several years spreads the income, though the recapture portion is generally recognized up front. The rules sit in Publication 537, Installment Sales.
- Timing and loss harvesting: selling in a lower-income year can cut both the recapture rate (if you are under the cap) and the capital gains rate, and realized capital losses offset the capital gain slice.
- Hold until death: heirs take a stepped-up basis, which wipes out the built-in recapture entirely. That is estate planning, not a sales tactic, but it is the only route that erases rather than defers the tax.
- Keep the records: every year’s depreciation schedule is evidence at sale time. If you run rentals year to year, pairing this estimate with a net rental income calculator keeps the annual picture and the exit picture in the same set of books, and checking your bracket in a tax rate calculator helps you pick the marginal rate to enter here.
What competing calculators miss
The recapture tools and guides that rank for this term each cover part of the picture:
- Fixed-rate tools (Calculator City’s recapture calculator): clean worked examples, but the recapture rate is an input set at 25% and the capital gains rate at 15%, so a 22%-bracket seller overstates the recapture tax and a top-bracket seller understates the capital gains tax. This page derives both rates from your bracket and property type instead.
- Five-step solvers (Complete Tools): the Section 1250 and 1245 logic matches ours, but there is no state tax, no business-use apportionment, and no selling-expenses handling beyond a mention. Its own step text also defines adjusted basis without improvements before adding them back in the example.
- Guide-first pages (Dimov CPA, TaxGainsCalc): genuinely strong on the Schedule D worksheet and on separating land gain from building gain, which this tool does not do: it works on the whole property’s basis and gain, with land used only by the estimator. In exchange, the guides give you no full tax figure for your own numbers.
- Investor analyzers (Rental Property Analyzer): add 1031 savings framing and email reports, but keep the same flat 25% assumption and leave state tax and mixed business use out.
- The gap this page fills: bracket-derived rates for both recapture regimes, state tax, business-use apportionment, selling expenses, a depreciation estimator for incomplete records, and a printed step-by-step breakdown, in one tool.
Frequently asked questions
When you sell a depreciated asset at a gain, the IRS taxes the part of the gain attributable to depreciation you claimed, or were deemed to claim, at a special recapture rate instead of the capital gains rate. This calculator works out that slice, the tax on it, and the tax on the rest of the gain.
For real property it is taxed at your ordinary income rate up to a maximum of 25%, which is the unrecaptured Section 1250 gain rule. For equipment and other Section 1245 property it is taxed at your full ordinary rate with no cap. Pick the property type in the calculator and it applies the right rule.
There is no recapture without a gain. If the sale produces a loss, the recapture, capital gains and state figures in this calculator all read zero, and a capital loss can offset other capital gains and up to $3,000 of ordinary income per year.
A valid like-kind exchange defers both the capital gains tax and the recapture tax until a future taxable sale. It defers the tax rather than erasing it, because the deferred gain and depreciation carry into the replacement property’s basis.
The IRS treats depreciation as taken whether you claimed it or not, under the allowed or allowable rule, so skipping the deduction does not avoid recapture. Your basis is still reduced by the depreciation you could have claimed.
The 3.8% Net Investment Income Tax can apply to passive rental gains above $200,000 of modified adjusted gross income for single filers or $250,000 for joint filers. It is not included in this estimate, and the calculator flags it in the planning strategies when your capital gain lands in the top rate band.
Only the business-use slice of the gain is subject to recapture in this calculator. Enter a business use below 100% and the recapture amount, the capital gain and the state tax are all worked out on that slice only. A blank, zero or over-100 entry is treated as 100%.
The Estimate my depreciation button always divides the building value by 27.5, the residential rental life, whatever property type you selected. That is a rough shortcut, not a correct life for commercial property (39 years) or for equipment and vehicles, so treat its output as a placeholder and replace it with your actual depreciation total whenever you have records.
Add This Calculator to Your Website
Embed this calculator on your own site with the code below. Pick a size to preview it live, then copy the code.
Powered by Calculator Zilo
References
- Internal Revenue Service. Publication 544, Sales and Other Dispositions of Assets (gain and loss on dispositions, recapture of depreciation on business property). Accessed October 24, 2026.
- Internal Revenue Service. Publication 946, How To Depreciate Property (MACRS lives: 27.5 years residential, 39 years nonresidential, straight line for real property). Accessed October 24, 2026.
- Internal Revenue Service. Publication 551, Basis of Assets (cost basis, improvements increasing basis, depreciation reducing basis). Accessed October 24, 2026.
- Internal Revenue Service. Publication 527, Residential Rental Property (rental depreciation, basis and sale of rental property). Accessed October 24, 2026.
- Internal Revenue Service. Instructions for Form 4797, Sales of Business Property (Part III gain computation and Section 1245/1250 recapture reporting). Accessed October 24, 2026.
- Internal Revenue Service. Instructions for Schedule D (capital gains worksheet and the Unrecaptured Section 1250 Gain Worksheet). Accessed October 24, 2026.
- Internal Revenue Service. Topic No. 409, Capital Gains and Losses (capital gains rates and the $3,000 annual loss limit against ordinary income). Accessed October 24, 2026.
- Internal Revenue Service. Like-Kind Exchanges: Real Estate Tax Tips (Section 1031 deferral requirements and deadlines). Accessed October 24, 2026.
- Internal Revenue Service. Publication 537, Installment Sales (spreading gain over payments received, recapture recognized in the year of sale). Accessed October 24, 2026.
- Internal Revenue Service. Questions and Answers on the Net Investment Income Tax (3.8% NIIT thresholds of $200,000 single and $250,000 joint). Accessed October 24, 2026.
- Legal Information Institute, Cornell Law School. 26 U.S. Code Section 1245: Gain from dispositions of certain depreciable property. Accessed October 24, 2026.
- Legal Information Institute, Cornell Law School. 26 U.S. Code Section 1250: Gain from dispositions of certain depreciable real property. Accessed October 24, 2026.
