Sale of Rental Property Tax Calculator
Estimate depreciation recapture, long-term capital gains tax, NIIT, state tax, and net proceeds from your rental property sale.
Estimated Results
Enter your numbers and click Calculate Tax Impact.
How to Use a Sale of Rental Property Tax Calculator the Right Way
Selling a rental property is one of the most financially significant events a real estate investor will experience. The sales price alone does not tell you your true outcome. What matters is your net after tax, after commissions, after closing costs, and after depreciation recapture. A high-quality sale of rental property tax calculator helps you estimate these moving parts before you sign a listing agreement, accept an offer, or choose between a cash-out refinance and a sale.
This page is designed to help you quickly estimate potential tax consequences from a U.S. rental property disposition. It includes a practical calculator and an expert guide to interpreting the numbers. Keep in mind that tax law can be complex. State-level treatment, suspended passive losses, prior-year carryovers, installment sale treatment, and 1031 exchange planning can all change the final tax result. Use this tool for planning and discussion, then validate your strategy with a licensed CPA or tax attorney.
Why rental property sales are taxed differently than many owners expect
Many investors assume the tax bill equals selling price minus purchase price times one capital gains rate. In reality, rental property tax is a layered calculation. First, you determine adjusted basis by starting with purchase price, adding capital improvements, and subtracting depreciation claimed (or allowable). Second, you calculate amount realized by taking selling price and reducing it by selling expenses. Third, you determine total gain by subtracting adjusted basis from amount realized.
From there, the total gain is typically split into two major federal categories:
- Depreciation recapture component, generally taxed at up to 25% federally for unrecaptured Section 1250 gain.
- Remaining long-term capital gain, generally taxed at 0%, 15%, or 20%, depending on taxable income and filing profile.
Then you may have additional layers:
- Net Investment Income Tax (NIIT) of 3.8% if your modified adjusted gross income is over threshold.
- State income tax on gain, where applicable.
- Potential local surtaxes in certain jurisdictions.
Inputs in this calculator and what they mean
1) Original purchase price
This is your acquisition cost, generally including what you paid for the property. In full tax preparation, basis may include acquisition costs and allocations between land and building. This simplified planning calculator treats your entered amount as the starting basis figure.
2) Capital improvements
Improvements increase basis if they materially add value, prolong useful life, or adapt the property to new use. Examples include a new roof, major structural renovation, HVAC replacement, and substantial additions. Routine repairs usually do not increase basis.
3) Selling price and selling expenses
Amount realized is usually contract sale price minus commissions, title fees, transfer taxes, legal fees, and other eligible selling costs. Because brokerage and closing costs can be substantial, this line item can significantly reduce taxable gain.
4) Depreciation taken
Depreciation lowers taxable income during ownership, but it often increases tax at sale through recapture rules. The calculator asks for your total depreciation taken so you can estimate this recapture layer. For planning accuracy, this should include depreciation allowed or allowable.
5) Tax rate assumptions
You can choose federal long-term capital gains rate, depreciation recapture rate, and state rate. You can also toggle NIIT. Advanced returns can involve bracket interactions, loss offsets, passive activity rules, and multi-state filing implications, so these are planning assumptions rather than final return calculations.
Core formula used by a sale of rental property tax calculator
- Adjusted Basis = Purchase Price + Improvements – Depreciation
- Amount Realized = Selling Price – Selling Expenses
- Total Gain = Amount Realized – Adjusted Basis
- Depreciation Recapture Portion = smaller of Total Gain or Depreciation
- Remaining Capital Gain = Total Gain – Recapture Portion
- Total Estimated Tax = Recapture Tax + LTCG Tax + NIIT + State Tax
- Estimated Net Proceeds After Tax = Amount Realized – Total Estimated Tax
If total gain is negative, there may be no federal capital gain tax in the simplified model. However, actual treatment of losses can depend on passive activity and disposition rules, and professional review is essential.
Federal rate reference table for planning
The table below summarizes widely used federal long-term capital gains bracket thresholds for 2024 tax year planning, as published by the IRS. These thresholds are adjusted periodically for inflation.
| Filing Status | 0% LTCG Rate | 15% LTCG Rate | 20% LTCG Rate |
|---|---|---|---|
| Single | Up to $47,025 | $47,026 to $518,900 | Over $518,900 |
| Married Filing Jointly | Up to $94,050 | $94,051 to $583,750 | Over $583,750 |
| Head of Household | Up to $63,000 | $63,001 to $551,350 | Over $551,350 |
| Married Filing Separately | Up to $47,025 | $47,026 to $291,850 | Over $291,850 |
NIIT and recapture reference values
The additional federal NIIT layer can materially change your net proceeds, especially for higher-income households. This is why planning ahead matters.
| Metric | Current Value | Why It Matters in a Rental Property Sale |
|---|---|---|
| Net Investment Income Tax (NIIT) | 3.8% | Applies to net investment income for taxpayers above MAGI thresholds. |
| NIIT MAGI Threshold, Single / HOH | $200,000 | Potential trigger point for NIIT exposure. |
| NIIT MAGI Threshold, MFJ | $250,000 | Joint filers can face NIIT on sale gain above threshold conditions. |
| NIIT MAGI Threshold, MFS | $125,000 | Lower threshold can accelerate NIIT exposure. |
| Federal depreciation recapture ceiling (Section 1250 context) | Up to 25% | Depreciation deductions taken during ownership can be taxed back at sale. |
Practical interpretation: what your output is really telling you
When you run this calculator, focus on three outputs first: total gain, total estimated tax, and net proceeds after tax. If total gain is large but your taxes are moderate, your basis may still be relatively high because of improvements or lower depreciation. If taxes are much higher than expected, depreciation recapture and NIIT are often the main drivers.
A powerful use case is comparing alternatives before listing. For example, you can model:
- Sale today versus holding for one to three more years.
- Selling expenses at different commission structures.
- State relocation impact if timing and residency planning are valid and legal.
- Potential tax exposure if your income places you in a higher federal rate year.
Investors frequently discover that strategic timing can preserve five figures or more in net proceeds, especially when combined with entity planning and installment options.
Common mistakes people make when estimating rental property sale tax
- Ignoring depreciation recapture: This is one of the most common and costly planning errors.
- Using gross sale price instead of amount realized: Selling expenses can substantially reduce taxable gain.
- Forgetting state tax: In many states, this is a meaningful additional burden.
- Assuming primary residence exclusion always applies: Rental use can limit or complicate exclusion treatment.
- Not accounting for suspended passive losses: These may alter final tax in ways this simple model does not include.
Advanced planning strategies to discuss with your tax advisor
1031 exchange
If you intend to remain in investment real estate, a like-kind exchange may defer recognition of gain under specific timing and compliance rules. This is not tax elimination, but a deferral mechanism that can improve capital efficiency.
Installment sale structuring
In certain transactions, income recognition may be spread across years. Depending on your broader tax profile, this can help smooth brackets and cash flow. It also introduces credit, security, and legal structuring considerations.
Entity and portfolio sequencing
For multi-property investors, sequencing dispositions and improvements can materially alter after-tax outcomes. Coordination across entities, carryforwards, and timing windows can produce better net results than one-off decisions.
Authoritative resources for deeper verification
Use official references when validating your assumptions and final calculations:
- IRS Publication 527 (Residential Rental Property)
- IRS Tax Topic 409 (Capital Gains and Losses)
- IRS NIIT Questions and Answers
Final guidance
A sale of rental property tax calculator is most valuable when used before decisions are locked in. Model multiple scenarios, stress-test assumptions, and compare net outcomes rather than headline price alone. If your projected gain is large, professional planning is not optional. Small changes in basis tracking, timing, and structure can dramatically affect the final number.
Use this calculator as your fast first pass. Then take your draft figures to a qualified tax professional for a return-level review that includes your full income picture, carryforwards, filing status, and state law details.