Rental Property Capital Gains Calculator
Estimate 2026 federal capital gains tax on selling rental or investment property, including depreciation recapture taxed at up to 25%.
Estimate 2026 federal capital gains tax on selling rental or investment property, including depreciation recapture taxed at up to 25%.
Results
About This Calculator
Selling a rental or investment property involves a wrinkle a primary residence sale doesn't: any depreciation you claimed while renting it out has to be "recaptured" and taxed at ordinary rates (capped at a 25% maximum), with only the REMAINING gain taxed at the usual preferential long-term rates. Enter your other taxable income, the total gain on the sale, the amount of depreciation you claimed over the years (your tax preparer or prior returns will have this figure), and your filing status.
This calculator splits the gain into its recapture portion and its remaining long-term portion automatically, taxing each correctly rather than applying one blended rate.
Example
Example: a Single filer with $90,000 in other income sells a rental property for a $120,000 total gain, of which $40,000 is depreciation recapture. The recapture portion is taxed at ordinary rates capped at 25% (about $8,964), and the remaining $80,000 of gain is taxed at long-term rates (about $12,000), plus $380 in Net Investment Income Tax — a combined federal tax of roughly $21,344.
Assumptions
This calculator uses 2026 IRS federal capital gains brackets, ordinary income brackets, and the standard deduction — it's federal-only (no state capital gains tax, which many states do levy on top of this) and doesn't account for itemized deductions or every situation (wash sales, Qualified Opportunity Zone deferrals, 1031 exchanges, and similar are not modeled). The 3.8% Net Investment Income Tax is estimated using your other income plus the gain as a stand-in for Modified AGI, which is close but not identical to the IRS's exact MAGI definition.
This tool provides general estimates for informational purposes only and isn't tax, legal, or financial advice. For guidance specific to your situation, consult a qualified tax professional or the IRS.
Depreciation recapture ("unrecaptured Section 1250 gain") is taxed at your ordinary marginal rate, but never higher than 25% — this calculator applies that cap automatically. It doesn't model a 1031 like-kind exchange (which can defer this tax entirely if you reinvest in another property) or passive activity loss carryforwards you may be able to use against the gain.
Frequently Asked Questions
What is depreciation recapture?
While you owned the rental property, you likely deducted depreciation against your rental income each year. When you sell, the IRS "recaptures" that benefit by taxing an amount equal to the depreciation you claimed at ordinary rates (capped at 25%), rather than letting all of it enjoy the lower long-term capital gains rate.
Can I avoid this tax with a 1031 exchange?
Often yes — a 1031 like-kind exchange lets you defer both the capital gains tax and the depreciation recapture tax by reinvesting the proceeds into another qualifying investment property, though the rules are strict on timing and structure. This calculator doesn't model a 1031 exchange; consult a tax professional if you're considering one.
Does this include state capital gains tax?
No — this is a federal-only calculator. Most states also tax capital gains (often as ordinary income), so your total tax bill including state tax will typically be higher than this federal-only estimate.
What is the Net Investment Income Tax?
An additional 3.8% federal tax on investment income (including capital gains) for higher-income filers — above $200,000 Modified AGI for Single/Head of Household, $250,000 for Married Filing Jointly, or $125,000 for Married Filing Separately. This calculator estimates it automatically when it applies.
Related Calculators
About the Author

Professional SEO, Digital Marketer Specialist
I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist
View full profile