Capital Gains on Sale of Rental Property Calculator
Estimate your capital gain, depreciation recapture, and total tax when selling a rental property.
How to Use the Rental Property Capital Gains Calculator
This tool helps you estimate the capital gains on sale of rental property. Follow these steps:
- Enter the sale price — The total amount you received from the sale.
- Enter the purchase price — What you originally paid for the rental property.
- Add capital improvements — Major renovations, additions, or structural improvements.
- Enter selling expenses — Commissions, legal fees, and closing costs.
- Enter depreciation taken — Total depreciation claimed during the rental period.
- Select filing status — Single, Married Joint, etc.
- Enter estimated tax rates — Capital gains rate and depreciation recapture rate.
- Click Calculate — Review the gain, tax breakdown, and net proceeds.
How Is Gain on Rental Property Calculated?
The basic formula for calculating gain on rental property is:
Adjusted Basis = Purchase Price + Improvements + Other Adjustments − Depreciation
Amount Realized = Sale Price − Selling Expenses
Total Gain = Amount Realized − Adjusted Basis
Depreciation-Related Amount = User-entered depreciation
Other Gain = Total Gain − Depreciation-Related Amount
Capital Gains Tax = Other Gain × Capital Gains Rate
Depreciation Tax = Depreciation Amount × Depreciation Rate
Total Tax = Capital Gains Tax + Depreciation Tax
Rental property sales can be more complex than primary residence sales due to depreciation considerations.
Why Does Depreciation Matter When Selling Rental Property?
Depreciation is a tax deduction that allows rental property owners to recover the cost of the property over time. When you sell:
- Reduces Basis — Depreciation lowers your adjusted basis, increasing your taxable gain.
- Depreciation Recapture — The depreciation claimed is "recaptured" and taxed at a maximum rate of 25% for residential rental property.
- Capital Gain — Any remaining gain after recapture is taxed at long-term capital gains rates.
Even if you didn't claim depreciation, the IRS may require recapture of allowable depreciation. See IRS Publication 544 for details.
What Is the Adjusted Basis of Rental Property?
Your adjusted basis is what you've invested in the rental property:
- Purchase Price — The original cost of the property.
- Capital Improvements — Major renovations that add value or extend the property's life.
- Depreciation — Reduces your basis, which increases your taxable gain.
- Other Adjustments — Special assessments, legal fees, and certain other costs.
A higher basis means a lower taxable gain. For more details, see IRS Publication 551.
Do Improvements Increase Rental Property Basis?
Yes. Qualifying capital improvements increase your adjusted basis, which reduces your taxable gain. Examples include:
- Additions — Room additions, decks, or garages.
- Major renovations — Kitchen remodels, bathroom upgrades.
- Structural improvements — New roof, siding, windows.
- Systems upgrades — HVAC, electrical, plumbing.
Routine repairs and maintenance do not generally increase basis.
Do Selling Expenses Reduce Rental Property Gain?
Yes. Selling expenses reduce the amount you realize from the sale, which reduces your capital gain. Common selling expenses include:
- Real estate commissions — Paid to listing agents and buyer's agents.
- Legal fees — Attorney fees for the closing.
- Closing costs — Title insurance, transfer taxes, recording fees.
- Advertising costs — Marketing and listing expenses.
How Is Rental Property Different From a Primary Home?
Rental property can involve different tax treatment:
- Depreciation — Rental property owners can claim depreciation deductions.
- Investment Rules — Different rules apply to investment property.
- Exclusion — The primary home-sale exclusion does not apply to rental property in the same way.
- Recapture — Depreciation recapture can create additional tax liability.
Is Investment Property Taxed the Same Way?
Investment property may have additional considerations. Rental and investment properties are generally treated similarly for tax purposes, but specific rules may apply based on how the property was used.
Does State Tax Apply to Rental Property Sales?
Yes, in many cases. State tax treatment varies widely:
- Some states have no capital gains tax (e.g., Texas, Florida, Washington).
- Others tax capital gains as ordinary income (e.g., California, New York).
- State-specific rules may apply to rental property sales.
This calculator estimates federal tax only. Check with your state's tax authority for complete guidance.
Example of Selling a Rental Property
Hypothetical Scenario:
| Sale Price | $500,000 |
| Selling Expenses | $25,000 |
| Amount Realized | $475,000 |
| Purchase Price | $280,000 |
| Capital Improvements | $40,000 |
| Depreciation | $60,000 |
| Adjusted Basis | $260,000 |
| Estimated Total Gain | $215,000 |
| Depreciation Amount | $60,000 |
| Depreciation Tax (25%) | $60,000 × 25% = $15,000 tax |
| Other Gain (15%) | $155,000 × 15% = $23,250 tax |
| Total Estimated Tax | $38,250 |
This example is illustrative only and does not determine actual federal or state tax liability.
Common Mistakes When Calculating Rental Property Capital Gains
- Forgetting depreciation recapture — This can significantly increase your tax bill.
- Not tracking capital improvements — Improvements increase your basis and reduce gain.
- Ignoring allowable depreciation — Even if you didn't claim it, the IRS may require recapture.
- Missing selling expenses — These reduce your amount realized.
- Overlooking state taxes — State tax can significantly increase your total liability.
When to Consult a Tax Professional
Consider professional advice when:
- You have significant depreciation or recapture concerns.
- You're unsure about your basis or improvements.
- The property was inherited or gifted.
- You have multiple rental properties or complex ownership.
- You're considering a 1031 exchange or other deferral strategy.
Always consult a qualified tax professional for your specific situation.
Frequently Asked Questions
Calculate as: Amount Realized − Adjusted Basis = Total Gain. Then separate depreciation recapture from capital gains. Depreciation is taxed at up to 25%, and remaining gain is taxed at capital gains rates.
When you sell a rental property, you may owe tax on the gain. Depreciation claimed during the rental period is recaptured and taxed at up to 25%, and remaining gain is taxed at capital gains rates.
Depreciation reduces your adjusted basis, which increases your taxable gain. It also triggers depreciation recapture, which is taxed as ordinary income up to 25% for residential rental property.
Adjusted basis is: Purchase Price + Improvements + Other Adjustments − Depreciation. Depreciation reduces your basis, which increases your taxable gain when you sell.
Yes. Qualifying capital improvements that add value, extend the property's life, or adapt it to new uses increase your basis. Examples include new roofs, HVAC systems, additions, and major renovations.
Yes. Selling expenses such as real estate commissions, legal fees, and closing costs reduce your amount realized, which reduces your gain.
Yes. Rental property involves depreciation, recapture, and different exclusion rules. The primary home-sale exclusion does not apply to rental property in the same way.
Depreciation-related gain is the portion of your total gain attributable to depreciation claimed during the rental period. It may be taxed at different rates than ordinary capital gains.
Yes. This calculator works for rental properties and investment properties. However, tax treatment can differ based on how the property was used. Consult a tax professional for specific guidance.
Yes, in many states. State tax treatment varies widely. Some states have no capital gains tax, while others tax it as ordinary income. Check with your state's tax authority.
If you sell for less than your adjusted basis, you have a capital loss. Losses from rental property may be deductible against other income, subject to passive activity loss rules.
No. The home-sale exclusion generally applies to primary residences only. Rental properties and investment properties have different tax treatment.
No. This calculator provides an estimate for educational purposes only. Actual tax liability depends on many factors including basis, depreciation, income, filing status, and federal and state rules.
Keep records of: sale price, purchase price, closing costs, capital improvements, depreciation taken, selling expenses, and ownership dates. These records support your tax basis and gain calculation.
Yes. Depreciation reduces your adjusted basis, which increases your gain. It also triggers depreciation recapture, which adds to your tax liability. This is why depreciation can indirectly increase your taxable gain.
Read full disclaimer →