How to Use This Calculator
- 1
Enter the original purchase price
Input the price you initially paid for the real estate property.
- 2
Add closing costs at purchase
Include title fees, attorney fees, transfer taxes, and other costs incurred when you bought the property.
- 3
Specify capital improvements
Enter the total amount spent on renovations, additions, or major upgrades that increase the property's value (not routine repairs).
- 4
Input total depreciation claimed
For rental or investment properties, enter the cumulative depreciation deductions you've taken over the years.
- 5
Enter the property's sale price
Provide the final price for which the property was sold.
- 6
Add selling costs
Include agent commissions, closing costs, staging fees, and other expenses incurred during the sale.
- 7
Review your adjusted cost basis and gain/loss
The calculator displays Adjusted Cost Basis, Capital Gain/Loss, Net Sale Proceeds, Depreciation Recapture, and Long-Term Capital Gain. The Tax Impact Insights panel shows estimated recapture tax, LTCG tax estimates at 15% and 20% brackets, and improvements impact analysis.
Example Calculation
An investor is selling a rental property and needs to calculate their capital gain for tax purposes.
Purchase Price
$300,000
Closing Costs (at Purchase)
$8,000
Capital Improvements
$45,000
Total Depreciation Claimed
$50,000
Sale Price
$420,000
Selling Costs
$25,000
Results
Adjusted Cost Basis
$303,000.00
Capital Gain
$92,000.00
Net Sale Proceeds
$395,000.00
Depreciation Recapture
$50,000.00
Long-Term Capital Gain
$42,000.00
Tips
Document All Improvements
Keep meticulous records of all capital improvements (invoices, receipts). Your $45,000 in improvements directly increases your cost basis by $45,000, reducing taxable gain by the same amount.
Differentiate Improvements from Repairs
Only capital improvements (new roof, addition, major remodel) count towards cost basis. Routine repairs (fixing a leaky faucet) are typically expensed annually and don't affect basis.
Consider a 1031 Exchange
If your capital gain is significant, a 1031 like-kind exchange can defer both depreciation recapture and capital gains taxes by reinvesting proceeds into another qualifying investment property.
Review Depreciation Impact
The Tax Impact Insights panel shows how depreciation recapture affects your tax bill. In this example, $50,000 is recaptured at up to 25% ($12,500 max tax), while $42,000 is taxed at lower LTCG rates.
The Real Estate Cost Basis Calculator computes your property's adjusted cost basis, incorporating the purchase price, closing costs, capital improvements, and total depreciation claimed.
This essential tool helps investors and homeowners determine their taxable capital gain, understand depreciation recapture, and calculate net proceeds upon sale.
For example, a property bought for $300,000 with $53,000 in closing costs and improvements and $50,000 in depreciation has an adjusted cost basis of $303,000, resulting in a $92,000 capital gain when sold for $420,000 (after $25,000 in selling costs) in 2026.
Tax Implications of Real Estate Cost Basis in 2026
The adjusted cost basis of a real estate property is a cornerstone of tax planning for investors and a critical factor in determining capital gains tax liability upon sale.
For instance, if a property has an adjusted cost basis of $303,000 and net sale proceeds of $395,000, the capital gain is $92,000.
In 2026, long-term capital gains tax rates typically range from 0% to 20% for most taxpayers, but a unique rule applies to depreciation.
Depreciation recapture, specifically under Section 1250 of the IRS code, taxes the portion of the gain attributable to depreciation at a maximum rate of 25%.
In this example, $50,000 of the $92,000 gain is recaptured at up to 25%, while the remaining $42,000 is taxed at long-term rates.
Understanding these components is vital for maximizing net proceeds and for strategic decisions like employing a 1031 exchange to defer capital gains taxes on investment properties.
The Formula for Adjusted Cost Basis
The Real Estate Cost Basis Calculator applies a precise formula to determine your property's adjusted cost basis, a figure critical for tax calculations.
adjusted_cost_basis = purchase_price + closing_costs_at_purchase + capital_improvements - total_depreciation_claimed
net_sale_proceeds = sale_price - selling_costs
capital_gain_or_loss = net_sale_proceeds - adjusted_cost_basis
depreciation_recapture = min(total_depreciation_claimed, max(0, capital_gain_or_loss))
long_term_capital_gain = max(0, capital_gain_or_loss - depreciation_recapture)
Here, purchase_price is your initial outlay, closing_costs_at_purchase are initial transaction fees, capital_improvements add value, and total_depreciation_claimed reduces the basis. sale_price and selling_costs are used to determine the final gain.
Calculating Cost Basis for a Rental Property Sale
An investor purchased a rental property for $300,000, incurring $8,000 in closing costs.
Over their ownership, they invested $45,000 in capital improvements (e.g., a new roof, kitchen remodel) and claimed $50,000 in depreciation deductions.
They recently sold the property for $420,000, with $25,000 in selling costs (commissions, title fees).
- Calculate Adjusted Cost Basis: $300,000 + $8,000 + $45,000 - $50,000 = $303,000.
- Calculate Net Sale Proceeds: $420,000 - $25,000 = $395,000.
- Calculate Capital Gain: $395,000 - $303,000 = $92,000.
- Calculate Depreciation Recapture: min($50,000, max(0, $92,000)) = $50,000. Taxed at max 25%.
- Calculate Long-Term Capital Gain: $92,000 - $50,000 = $42,000. Taxed at long-term rates.
The adjusted cost basis for this property is $303,000.00.
The investor realized a total capital gain of $92,000, with $50,000 subject to depreciation recapture tax (up to $12,500 at 25%) and $42,000 taxed at long-term capital gains rates (approximately $6,300 at 15% or $8,400 at 20%).
Situations Where Cost Basis Calculations Differ
While the adjusted cost basis formula is generally applicable, certain real estate scenarios require specialized calculations.
- Inherited Property: When property is inherited, its cost basis typically "steps up" to its fair market value on the date of the decedent's death, rather than retaining the original purchase price. This significantly reduces potential capital gains tax for the heir.
- Gifted Property: For property received as a gift, the recipient's basis is generally the donor's adjusted basis. However, if the fair market value at the time of the gift is lower than the donor's basis, a different rule applies for determining a loss on a subsequent sale.
- Principal Residence Exclusion: Homeowners selling their primary residence may be able to exclude up to $250,000 (for single filers) or $500,000 (for married filing jointly) of capital gains from taxation, provided they meet specific ownership and use tests (IRS Publication 523).
Industry Benchmarks for Cost Basis Management
Real estate investors and tax professionals employ specific strategies and benchmarks for managing cost basis effectively.
A key practice is meticulously documenting all capital improvements, as these additions directly increase the basis and can reduce taxable gains by tens of thousands of dollars over a property's lifespan.
For example, a $50,000 kitchen remodel can directly offset $50,000 of potential capital gains.
When it comes to depreciation, investors typically aim to maximize legitimate deductions over the property's useful life (e.g., 27.5 years for residential rentals per IRS Publication 527), understanding the balance between annual tax savings and future depreciation recapture.
Professionals often advise annual reviews of a property's cost basis to ensure all adjustments are accurately recorded, especially for properties held for more than five years.
Frequently Asked Questions
What is real estate cost basis?
Real estate cost basis is the original value of a property used for tax purposes, adjusted over time to reflect improvements and depreciation. It includes the purchase price, certain closing costs, and the cost of capital improvements, minus any depreciation claimed. For example, a $300,000 purchase with $8,000 closing costs, $45,000 improvements, and $50,000 depreciation has an adjusted basis of $303,000. This figure is crucial for calculating capital gains or losses when the property is sold.
How do capital improvements affect cost basis?
Capital improvements, such as adding a room, replacing a roof, or renovating a kitchen, increase a property's cost basis. These are investments that add value, prolong the property's life, or adapt it to new uses, rather than simply maintaining it. A $45,000 improvement increases the basis by $45,000, which reduces the taxable capital gain by the same amount when the property is sold, potentially saving thousands in taxes.
What is depreciation recapture?
Depreciation recapture is the portion of a capital gain on the sale of a depreciable asset that is taxed at a maximum rate of 25% under Section 1250 of the IRS code. It applies to the amount of depreciation previously deducted. For example, if you claimed $50,000 in depreciation and your total capital gain is $92,000, the first $50,000 is subject to recapture at up to 25% ($12,500 max tax), and the remaining $42,000 is taxed at long-term capital gains rates.
What counts as selling costs for real estate?
Selling costs include expenses incurred when selling a property that reduce the net proceeds. Common examples are real estate agent commissions (typically 5-6% of the sale price), attorney fees, transfer taxes, title insurance, and staging costs. These costs are subtracted from the sale price to determine net proceeds. On a $420,000 sale with $25,000 in selling costs, net proceeds are $395,000.
What does the Tax Impact Insights panel show?
The Tax Impact Insights panel provides estimated depreciation recapture tax (at the 25% maximum rate), estimated long-term capital gains tax at both 15% and 20% brackets, and analysis of how your capital improvements reduced your taxable gain. It also shows a visual Capital Gain Composition bar splitting the gain between depreciation recapture and long-term capital gain portions.
