Skip to main content
🧮 Free Calculator

Rental Property Sale Tax Calculator

Estimate the federal tax on selling a rental property, including unrecaptured Section 1250 depreciation-recapture gain taxed at up to 25%.

Last updated July 14, 2026

🧮

Rental Property Sale Tax Calculator

Loading calculator...

Selling a rental property is not taxed the same way as selling stock or a primary residence. Every dollar of depreciation you claimed while renting the property out reduces your cost basis -- which increases your taxable gain when you sell, and a portion of that gain (up to however much depreciation you claimed) is taxed as unrecaptured Section 1250 gain, at ordinary rates capped at 25%, rather than the usual 0/15/20% long-term capital gains rates.

This calculator splits your gain into the two pieces -- the depreciation-recapture portion and the regular long-term capital gain portion -- and estimates federal tax on each using the same incremental-tax and bracket-stacking mechanics as our Capital Gains Tax Calculator. It does not model passive-activity-loss limitations, so if this sale is a loss, it tells you the raw amount and points you to a professional rather than guessing how much of it you can currently deduct.

How It Works

The math follows the same shape as Schedule D, Form 4797, and the Unrecaptured Section 1250 Gain Worksheet, at a level appropriate for a planning estimate:

  1. Net proceeds = sale price minus selling costs.
  2. Original basis = purchase price plus acquisition costs and capital improvements.
  3. Adjusted basis = original basis minus total depreciation claimed over the years you owned the property -- depreciation reduces your basis even though you never received that money back in cash, which is exactly what makes the eventual gain bigger.
  4. Total gain = net proceeds minus adjusted basis. If this is zero or negative, it is a loss -- this calculator reports the amount but does not determine how much is currently deductible, since that depends on passive-activity-loss rules this version does not model.
  5. Unrecaptured Section 1250 gain = the smaller of your total gain or the total depreciation you claimed. This portion is taxed at ordinary income rates, but capped at a maximum of 25% -- if your own ordinary bracket at that income level is lower than 25%, you pay that lower rate instead.
  6. Regular long-term capital gain = whatever is left of your total gain after subtracting the unrecaptured Section 1250 portion, taxed at the usual 0/15/20% long-term rates, stacked on top of your ordinary income the same way a stock sale would be.
  7. Both portions only apply if the property was held more than one year; a short-term sale is taxed entirely as ordinary income instead, uncapped.
  8. NIIT (3.8%) applies to the lesser of your net investment income or the amount your MAGI exceeds your filing status's threshold, same as our other calculators.

Understanding Your Results

The estimated federal tax figure is the combined incremental impact of this sale, broken into its ordinary-rate, unrecaptured-Section-1250, regular long-term, and NIIT pieces so you can see which is driving the total. Unrecaptured §1250 gain and regular long-term gain show exactly how your total gain splits between the two tax treatments.

If this sale is a loss, the result explains that a rental property loss can potentially be deducted -- unlike a loss on a personal residence -- but that determining how much is deductible this year versus suspended for future years depends on passive-activity-loss rules (the $25,000 active-participation special allowance and its income phase-out, or unlimited deductibility for a qualifying real estate professional) that this tool does not model.

Why rental property gain isn't taxed like a stock sale

When you claim depreciation on a rental property, the IRS lets you deduct a portion of the building's cost against your rental income each year -- but that deduction reduces your basis. When you sell, the gain "made up" of that depreciation is recaptured and taxed at up to 25%, not the lower long-term capital gains rates that apply to the rest of your gain.

Worked example

You bought a rental property for $250,000, spent $14,000 on acquisition costs and capital improvements over the years (adjusted basis before depreciation: $264,000), and claimed $60,000 of depreciation while renting it out -- bringing your adjusted basis down to $204,000. You sell for $400,000, paying $24,000 in selling costs, for net proceeds of $376,000. Total gain: $376,000 − $204,000 = $172,000. Of that, $60,000 (matching the depreciation claimed) is unrecaptured Section 1250 gain, taxed at up to 25%. The remaining $112,000 is taxed at the regular 0/15/20% long-term rates.

When the cap doesn't bind

The 25% figure is a maximum, not a flat rate. If your ordinary tax bracket at the relevant income level is lower than 25% -- for example, if you're in the 22% or 24% bracket -- your unrecaptured Section 1250 gain is taxed at that lower rate instead. The cap only matters for taxpayers whose ordinary rate at that income level would otherwise exceed 25%.

A loss works differently than a personal residence

Unlike a loss on selling your home, a loss on a rental property is potentially tax-deductible, since it is investment/business property. But exactly how much of it you can deduct this year, versus carry forward as a suspended loss, depends on passive-activity-loss rules -- including a $25,000 special allowance for active participation that phases out between $100,000 and $150,000 of MAGI, and no limit at all for a qualifying real estate professional. This calculator reports the raw loss amount and stops there; the deductibility question needs a tax professional who knows your full situation.

Pros and Considerations

Benefits

  • Splits the gain into its unrecaptured Section 1250 (up to 25%) and regular long-term (0/15/20%) portions instead of guessing a single blended rate
  • Correctly applies the 25% figure as a cap, not a flat rate -- lower-bracket taxpayers pay their own lower rate on the recapture portion
  • Explicitly flags that a loss's deductibility depends on passive-activity-loss rules this tool does not model, rather than presenting a potentially wrong tax-savings number
  • Free, no account required

Considerations

  • Federal estimate only -- state tax is not included
  • Requires you to already know your total depreciation claimed; does not compute depreciation schedules
  • Does not model passive-activity-loss limitations, 1031 exchanges, or multiple/partial-year-owned properties
  • Does not net this sale against other capital gains or losses realized the same year

Important Notes

  • This calculator covers a single rental property sale only.
  • It does not calculate depreciation schedules, passive-activity-loss limitations, 1031 like-kind exchanges, or sales involving multiple properties or partial-year ownership changes -- each has rules a general calculator would misrepresent if it guessed.
  • State tax is not included in this version.
  • This calculator is publicly available as a planning estimate and is undergoing final professional tax review.

Warnings

  • This tool provides an estimate for planning purposes only. It is not tax advice and does not replace Form 4797, Schedule D, or a qualified tax professional.
  • Results depend entirely on the accuracy of what you enter, especially your total depreciation claimed. Verify it against Form 4562 or your tax preparer's records before relying on any number here.
  • Tax law can change. Figures are specific to the 2026 tax year as understood at the time this calculator was published.

Frequently Asked Questions

How is selling a rental property taxed differently from selling stock?
A portion of your gain -- up to the amount of depreciation you claimed while renting it out -- is "unrecaptured Section 1250 gain," taxed at ordinary rates capped at 25%, rather than the usual 0/15/20% long-term capital gains rates that apply to the rest of the gain.
What is depreciation recapture?
Depreciation you claimed against rental income reduces your cost basis. When you sell, the portion of your gain that corresponds to that depreciation is "recaptured" and taxed at up to 25%, since you already got a tax benefit from deducting it in earlier years.
Is the 25% rate on depreciation recapture a flat rate?
No, it is a maximum. If your ordinary tax bracket at that income level is below 25%, the unrecaptured Section 1250 gain is taxed at your actual (lower) ordinary rate instead. The 25% only binds for taxpayers who would otherwise be in a higher bracket.
Do I need to know my exact depreciation amount?
Yes -- enter the total depreciation you have claimed on this property over the years, from your tax records or Form 4562. This calculator does not compute depreciation schedules for you, since getting the IRS's exact mid-month-convention rules right requires your specific placed-in-service date and property classification.
Can I deduct a loss on selling a rental property?
Potentially, unlike a loss on a personal residence -- but how much is deductible this year versus carried forward depends on passive-activity-loss rules (a $25,000 special allowance for active participation, phased out between $100,000 and $150,000 of MAGI, or no limit for a real estate professional) that this calculator does not model. Consult a tax professional for that determination.
Does the calculator net this sale against my other capital gains or losses?
No. Use the Capital Gains Tax Calculator and enter this sale's total gain as an "other long-term gain" if you also had other capital transactions the same year.
What if I held the property for a year or less?
The unrecaptured-Section-1250 treatment only applies to long-term sales. A short-term sale is taxed entirely as ordinary income on the full gain, with no 25% cap involved at all.
Does this include a 1031 exchange?
No. A 1031 like-kind exchange defers gain recognition entirely under different rules than a taxable sale, which this calculator does not model.
Does my state tax this gain?
This is a federal estimate only. Nine states have no general income tax -- Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas, Washington, and Wyoming -- so residents of those states typically owe no state tax on this gain (Washington's separate state capital gains excise tax explicitly exempts direct real estate sales). Many other states tax this gain in some form, but rules vary widely -- check with your state's tax authority or a tax professional for your specific situation.

Related Calculators

References

  1. IRS Publication 544, Sales and Other Dispositions of Assets
  2. IRS Form 4797, Sales of Business Property
  3. IRS Topic No. 425, Passive Activities -- Losses and Credits
  4. IRS Schedule D (Form 1040), Capital Gains and Losses
  5. IRS Form 8960, Net Investment Income Tax
← All Calculators