Real Estate Tax

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

Primary residence exclusion calculation
Depreciation recapture analysis
Long-term vs short-term tax rates

Need a custom financial calculator for your business? Get a Quote

Real Estate Capital Gains Tax Calculator
Calculate capital gains tax on real estate sales with primary residence exclusions

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)

Capital Gains Tax Results

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:

Capital Gains Tax:$0
Total Tax:$0

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

Primary Residence Exclusion
Calculate $250k/$500k exclusion benefits

Exclusion

$250k / $500k

Automatically applies primary residence exclusion if qualified

Depreciation Recapture
Calculate depreciation recapture tax

Tax Rate

Up to 25%

Calculates depreciation recapture at up to 25% rate for rental property

Cost Basis Calculation
Track purchase price, improvements, and expenses

Basis

Purchase + Improvements

Maximize cost basis with improvements to reduce taxable gain

Holding Period Analysis
Determine long-term vs short-term rates

Period

Long/Short Term

Automatic calculation of holding period and applicable tax rates

Tax Rate Estimation
Calculate based on income and filing status

Rates

0%, 15%, 20%

Applies current long-term capital gains tax rates based on income

Net Proceeds Calculation
Determine actual profit after taxes

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.

🏠 Real Estate Tax Calculation Flowchart

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

Real Estate Capital Gains Tax Calculator Examples

Example 1: Primary Residence Sale
Calculate capital gains tax on primary residence sale with exclusion

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:

  1. Cost Basis: $300,000 + $50,000 = $350,000
  2. Capital Gain: $500,000 - $350,000 - $30,000 = $120,000
  3. Primary Residence Exclusion: $500,000 (married-joint)
  4. Excluded Gain: min($120,000, $500,000) = $120,000
  5. Taxable Gain: $120,000 - $120,000 = $0
  6. 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.

Example 2: Rental Property Sale
Calculate capital gains tax on rental property with depreciation recapture

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:

  1. Adjusted Basis: $300,000 - $60,000 = $240,000
  2. Capital Gain: $400,000 - $240,000 - $25,000 = $135,000
  3. Depreciation Recapture: $60,000 × 25% = $15,000
  4. Remaining Gain: $135,000 - $60,000 = $75,000
  5. Capital Gains Tax (15% rate): $75,000 × 15% = $11,250
  6. 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

Share This Calculator
Help others discover this useful tool

Suggested hashtags: #RealEstateTax #CapitalGains #PropertyTax #Calculator

Related Calculators

Capital Gains Calculator
Calculate capital gains tax for stocks, investments, and assets. Includes long-term and short-term rate calculations.
Use Calculator
Rental ROI Calculator
Calculate rental property returns, cap rate, cash-on-cash return, NOI, and analyze real estate investment performance.
Use Calculator
Cap Rate Calculator
Calculate capitalization rate, NOI, property value, and investment returns for real estate investments.
Use Calculator
Mortgage Calculator
Calculate mortgage payments, amortization, PMI, and total interest for home loans.
Use Calculator
Loan to Value Ratio Calculator
Calculate LTV ratio, loan amount, and property value for mortgages and real estate loans.
Use Calculator
Property Flip Profit Calculator
Calculate profit from property flipping, ROI, renovation costs, and after-repair value analysis.
Use Calculator