Real Estate Capital Gains Tax Calculator - Property Tax Calculator & Real Estate Tax Calculator
Free real estate capital gains tax calculator for property sales. Calculate capital gains tax with primary residence exclusions, depreciation recapture, and tax savings strategies. Our tool helps you understand your tax obligations when selling real estate.
Last updated: October 19, 2025
Need a custom financial calculator for your business? Get a Quote
Renovations, additions, major repairs that add value
Real estate commissions, closing costs, etc.
Total depreciation claimed during ownership (rental property)
Must own 2+ years and live in 2+ of last 5 years
Your annual taxable income (excluding this sale)
Total Capital Gain
$120,000
$120,000 excluded (Primary Residence)
Taxable Gain (After Exclusion)
$0
Holding Period
5.5 years
Long-Term
Tax Rate
15%
Tax Breakdown:
Net Proceeds (After Tax)
$470,000
Tax Strategies & Recommendations
- •Primary residence exclusion can save significant taxes on home sales.
Real Estate Capital Gains Tax Calculator Features
Exclusion
$250k / $500k
Automatically applies primary residence exclusion if qualified
Tax Rate
Up to 25%
Calculates depreciation recapture at up to 25% rate for rental property
Basis
Purchase + Improvements
Maximize cost basis with improvements to reduce taxable gain
Period
Long/Short Term
Automatic calculation of holding period and applicable tax rates
Rates
0%, 15%, 20%
Applies current long-term capital gains tax rates based on income
Net Amount
After All Taxes
Calculate your actual proceeds after all taxes and expenses
Quick Example Result
Primary residence sale: $500,000 (purchased $300,000, improvements $50,000, expenses $30,000, owned 5 years):
Capital Gain
~$120,000
Excluded
$120,000
Tax Owed
$0
How Our Real Estate Capital Gains Tax Calculator Works
Our Real Estate Capital Gains Tax Calculator simplifies the complex process of estimating capital gains tax on property sales. It applies IRS rules for primary residence exclusions, depreciation recapture, and long-term capital gains rates to provide accurate tax estimates for real estate transactions.
Real Estate Capital Gains Tax Formulas
Cost Basis = Purchase Price + ImprovementsAdjusted Basis = Cost Basis - DepreciationCapital Gain = Sale Price - Adjusted Basis - Selling ExpensesTaxable Gain = Capital Gain - Primary Residence ExclusionDepreciation Recapture Tax = Depreciation × 25% (max)Capital Gains Tax = Taxable Gain × Long-Term Rate (0%, 15%, 20%)These formulas calculate real estate capital gains tax with primary residence exclusions ($250k single/$500k married) and depreciation recapture rules. The calculator automatically determines holding period, applies exclusions if qualified, and calculates taxes based on your income and filing status.
Visualizes the steps from property sale to net proceeds after capital gains tax
Understanding Real Estate Capital Gains Tax
Real estate capital gains tax applies when you sell property for more than you paid (adjusted for improvements and depreciation). Primary residences qualify for significant exclusions ($250k/$500k), while investment properties face depreciation recapture and full capital gains tax. Understanding these rules helps maximize tax savings when selling real estate.
- Primary residence exclusion: Up to $250k (single) or $500k (married) tax-free if owned 2+ years and lived in 2+ of last 5 years
- Depreciation recapture: Rental property depreciation is recaptured at up to 25% when sold
- Cost basis includes purchase price plus improvements that add value (not maintenance)
- Long-term rates (0%, 15%, 20%) apply if held >1 year; short-term uses ordinary income rates
- Improvements increase cost basis, reducing taxable gain and tax owed
- 1031 exchanges can defer taxes on investment property by exchanging for like-kind property
Sources & References
- IRS Publication 523 - Selling Your HomeOfficial IRS guidance on primary residence exclusion and capital gains
- IRS Publication 544 - Sales and Other Dispositions of AssetsComprehensive guide to capital gains, depreciation recapture, and real estate taxes
- Internal Revenue Service (IRS) - Official Tax InformationOfficial IRS resources for real estate capital gains tax rules and regulations
Explore other real estate calculators like our Capital Gains Calculator or Rental ROI Calculator.
Get Custom Calculator for Your BusinessReal Estate Capital Gains Tax Calculator Examples
Property Details:
- Sale Price: $500,000
- Purchase Price: $300,000
- Improvements: $50,000
- Selling Expenses: $30,000
- Ownership: 5 years
- Lived In: 5 years
- Filing Status: Married Filing Jointly
Calculation Steps:
- Cost Basis: $300,000 + $50,000 = $350,000
- Capital Gain: $500,000 - $350,000 - $30,000 = $120,000
- Primary Residence Exclusion: $500,000 (married-joint)
- Excluded Gain: min($120,000, $500,000) = $120,000
- Taxable Gain: $120,000 - $120,000 = $0
- Capital Gains Tax: $0
Result: $0 capital gains tax due to primary residence exclusion
The $500,000 exclusion covers the entire gain, resulting in no tax liability.
Property Details:
- Sale Price: $400,000
- Purchase Price: $300,000
- Depreciation: $60,000
- Selling Expenses: $25,000
- Holding Period: 5 years (long-term)
- Filing Status: Single
- Taxable Income: $80,000
Calculation Steps:
- Adjusted Basis: $300,000 - $60,000 = $240,000
- Capital Gain: $400,000 - $240,000 - $25,000 = $135,000
- Depreciation Recapture: $60,000 × 25% = $15,000
- Remaining Gain: $135,000 - $60,000 = $75,000
- Capital Gains Tax (15% rate): $75,000 × 15% = $11,250
- Total Tax: $15,000 + $11,250 = $26,250
Result: $26,250 total tax ($15,000 depreciation recapture + $11,250 capital gains)
Rental property sales include depreciation recapture at 25% plus capital gains tax on remaining gain.
Frequently Asked Questions
Found This Calculator Helpful?
Share it with others who need help with real estate capital gains tax calculations
Suggested hashtags: #RealEstateTax #CapitalGains #PropertyTax #Calculator