How to Calculate Cost Basis on Sale of Rental Property Calculator
Estimate adjusted basis, depreciation impact, net proceeds, potential gain, and depreciation recapture in seconds.
Results
Enter your values and click calculate to see adjusted basis, gain, and recapture estimate.
Expert Guide: How to Calculate Cost Basis on Sale of Rental Property
If you are selling a rental property, your tax result is not based on what you originally paid alone. It is based on your adjusted cost basis, which changes over time as you add capital improvements and claim depreciation. Understanding this calculation is one of the most important steps in forecasting taxes, setting your listing price, and avoiding expensive filing mistakes.
At a practical level, cost basis determines how much gain or loss is recognized when you sell. Your recognized gain can be split into two major tax buckets: depreciation recapture and capital gain. If you calculate basis incorrectly, you may overpay tax, underpay tax, or misreport your transaction on your return.
Authoritative references you should review
- IRS Publication 551 (Basis of Assets)
- IRS Publication 527 (Residential Rental Property)
- IRS Topic No. 409 (Capital Gains and Losses)
What cost basis means when selling rental property
Your starting basis is usually your acquisition cost, including purchase price plus certain closing costs. Over the years, this basis is adjusted. Capital improvements increase basis. Depreciation deductions reduce basis. By the time you sell, the number that matters most is your adjusted basis.
Simple formula:
Adjusted Basis = Original Basis + Capital Improvements – Accumulated Depreciation – Other Basis Reductions
Once you have adjusted basis, you compare it to your net sale proceeds:
Gain or Loss = Net Sale Proceeds – Adjusted Basis
Where net sale proceeds are typically sale price minus commissions and other selling expenses.
Step-by-step method to calculate adjusted basis correctly
- Determine original basis. Start with purchase price and add acquisition costs that are capitalizable (for example title and recording fees).
- Allocate land vs building. Land is not depreciable. Building value is depreciable for residential rentals under current IRS rules.
- Add capital improvements. Improvements that add value or extend useful life increase basis. Routine repairs generally do not.
- Subtract accumulated depreciation. This is often the largest basis reduction over long holding periods.
- Calculate net sale proceeds. Subtract allowable selling costs from gross sale price.
- Compute total gain or loss. Compare net proceeds with adjusted basis.
- Split gain into components. The depreciation portion may be taxed as unrecaptured Section 1250 gain (up to 25%), with remaining gain potentially taxed at long-term capital gains rates if holding requirements are met.
What increases basis versus what does not
Items that often increase basis
- Purchase price
- Capitalizable closing costs
- Additions (new room, garage, deck)
- Major system upgrades (new roof, HVAC replacement, full plumbing overhaul)
- Renovations that materially improve or restore the property
Items that usually do not increase basis
- Property taxes
- Insurance premiums
- Routine maintenance and minor repairs
- Utility bills
- Mortgage interest (deductible expense, not basis increase)
Depreciation: the most misunderstood part of basis
For most residential rental real estate, the federal recovery period is 27.5 years under straight-line depreciation. Even if you did not claim all allowable depreciation, the IRS generally requires basis reduction by depreciation allowed or allowable. That means missed depreciation can still lower basis in many scenarios, which can increase taxable gain on sale. This is one reason many owners work with tax professionals before disposition.
The table below shows how quickly basis can decline from depreciation alone, assuming pure straight-line depreciation of the depreciable portion.
| Holding Period | Approx. Depreciation Claimed | Percent of Depreciable Basis Recovered | Impact on Adjusted Basis |
|---|---|---|---|
| 1 year | 1 / 27.5 | 3.64% | Small initial reduction |
| 5 years | 5 / 27.5 | 18.18% | Meaningful reduction |
| 10 years | 10 / 27.5 | 36.36% | Major reduction for long hold |
| 20 years | 20 / 27.5 | 72.73% | Very large basis reduction |
| 27.5 years | 27.5 / 27.5 | 100.00% | Depreciable basis fully recovered |
Federal capital gain brackets matter after basis is calculated
After you compute adjusted basis and estimate total gain, your actual tax depends on character of gain and your taxable income. For many investors, one portion can be depreciation recapture and another portion can be long-term capital gain. Below is a planning reference table for commonly cited 2024 federal long-term capital gain thresholds.
| Filing Status | 0% LTCG Rate Up To | 15% LTCG Rate Range | 20% LTCG Starts Above |
|---|---|---|---|
| Single | $47,025 | $47,026 to $518,900 | $518,900 |
| Married Filing Jointly | $94,050 | $94,051 to $583,750 | $583,750 |
| Head of Household | $63,000 | $63,001 to $551,350 | $551,350 |
Planning note: depreciation recapture can be taxed at rates up to 25% before the remaining gain is taxed at long-term capital gain rates. High-income filers may also face additional federal taxes such as NIIT. Always run a full tax projection before closing.
Detailed worked example
Suppose you bought a rental home for $350,000 and paid $8,000 in capitalizable acquisition costs. Your original basis is $358,000. If your land allocation is 20%, the building portion is 80%, or $286,400. Over time, you add $45,000 in capital improvements. Your total depreciable basis (using a simplified model) becomes $331,400. If you held it as rental for 10 years, straight-line depreciation estimate is $120,509 (331,400 multiplied by 10 divided by 27.5).
Now assume you sell for $590,000 and pay $42,000 in selling costs. Net proceeds equal $548,000. Adjusted basis is original basis plus improvements minus depreciation: $358,000 + $45,000 – $120,509 = $282,491.
Estimated total gain is $548,000 – $282,491 = $265,509. Depreciation recapture estimate is the lesser of depreciation or total gain, so $120,509. The remaining $145,000 may be taxed as long-term capital gain if holding requirements are met.
This example shows why owners are surprised by taxable gain even when sale proceeds seem only moderately above purchase price. Depreciation can materially lower basis over the hold period.
Common mistakes that cause tax overpayment or IRS notices
- Forgetting acquisition costs that should have been added to basis.
- Mixing repairs and improvements. Repairs usually are expense deductions, not basis increases.
- Ignoring depreciation allowed or allowable. This can distort basis and gain reporting.
- Using gross sale price instead of net proceeds. Selling costs usually reduce amount realized.
- No documentation trail. Missing invoices, settlement statements, and depreciation schedules create audit risk.
Document checklist before you sell
- Original closing statement (HUD-1 or equivalent) and purchase records
- All improvement invoices and contractor agreements
- Annual depreciation schedules from prior returns
- Refinance and legal documents that affect basis treatment
- Projected seller closing statement showing commissions and fees
- Prior casualty loss claims, credits, or insurance reimbursements if applicable
How to use this calculator wisely
This calculator gives a strong planning estimate, especially for investors who need a quick framework before listing a property. You enter original acquisition figures, improvements, depreciation method, and sale assumptions. The output then displays adjusted basis, net proceeds, gain estimate, and recapture estimate.
Use it for scenario analysis:
- Change sale price to test low, base, and optimistic outcomes.
- Model different selling costs when comparing listing strategies.
- Evaluate how additional improvements affect adjusted basis.
- Understand whether a potential loss position is realistic after depreciation.
Tax planning strategies to discuss with your advisor
1) Timing the sale
In some cases, spreading recognition across years or selling in a lower-income year can reduce effective federal rate exposure on capital gains. Timing decisions should be coordinated with your total household tax picture.
2) 1031 exchange
If you are reinvesting, a like-kind exchange may defer recognition of gain under applicable rules. Strict deadlines and procedural requirements apply, so planning must start before closing.
3) Installment sale structure
In selected transactions, installment treatment can spread gain over multiple years. This is a complex area with special recapture rules, but can improve cash-flow alignment with tax payments in certain situations.
4) State tax review
State-level treatment can materially change your total burden. Some states tax capital gains as ordinary income, while others have different conformity rules. Build a federal-plus-state model, not just a federal estimate.
Final takeaway
When owners ask how to calculate cost basis on sale of rental property, the right answer is systematic: establish original basis, apply all valid increases, subtract depreciation and other reductions, then compare against net sale proceeds. The quality of your basis calculation directly determines gain reporting accuracy. With organized records and a clear formula, you can avoid surprises, negotiate from a position of confidence, and make much better sell-versus-hold decisions.
Educational use only. This page provides a planning calculator and general information, not legal or tax advice. Tax rules can change and depend on facts such as entity type, use history, passive activity rules, prior losses, and state law. Consult a qualified CPA or tax attorney before filing.