Property Capital Gains Tax Calculator
Estimate taxable gain, federal tax, state tax, and net after-tax profit when selling real estate.
How this capital gains tax calculator works
This calculator estimates the tax impact when you sell real estate. It starts with your net gain, then applies rules for home sale exclusion, depreciation recapture, and short-term or long-term tax rates.
The result is an estimate of your total tax and after-tax profit. It is designed for planning, not for filing returns.
Formula used for property capital gains
Step 1: Find adjusted basis
Adjusted Basis = Purchase Price + Purchase Costs + Capital Improvements − Depreciation Claimed
Step 2: Find net sale proceeds
Net Sale Proceeds = Sale Price − Selling Costs
Step 3: Calculate total gain
Total Gain = Net Sale Proceeds − Adjusted Basis
Step 4: Split taxable gain components
- Depreciation recapture is taxed at the recapture rate you enter (often up to 25%).
- Primary home exclusion (if qualified): up to $250,000 single or $500,000 married filing jointly.
- Remaining gain is taxed at ordinary rate if held 1 year or less, otherwise long-term capital gains rate.
Inputs explained
- Purchase closing costs: Buyer-side eligible acquisition costs that increase basis.
- Capital improvements: Permanent upgrades that add value or prolong useful life.
- Selling costs: Commissions and transaction fees that reduce proceeds.
- Depreciation claimed: Total depreciation deductions taken over ownership of rental property.
- State tax rate: Simplified flat estimate for state-level taxation of gain.
Practical example
Suppose you bought a property for $350,000, invested $40,000 in improvements, and later sold for $600,000 with $36,000 in selling costs. The calculator first finds your gain, then applies exclusion (if eligible), and finally computes federal plus state taxes.
This is useful for deciding when to sell, how much to reserve for taxes, and whether a strategy like a 1031 exchange or phased sale planning is worth exploring with a tax professional.
Ways investors may reduce capital gains tax legally
1) Track basis carefully
Good records of purchase costs and improvements can materially reduce taxable gain.
2) Use the primary residence exclusion when eligible
Meeting occupancy and ownership tests can shield a significant portion of profit.
3) Consider timing
Holding longer than one year may shift gains from ordinary income rates to lower long-term rates.
4) Evaluate 1031 exchanges for investment property
A like-kind exchange may defer tax, subject to strict IRS rules and timelines.
Common mistakes to avoid
- Ignoring selling expenses when estimating gain.
- Forgetting depreciation recapture on rental property.
- Assuming primary residence exclusion applies automatically.
- Not reserving cash for state taxes.
- Using rough tax rates without checking your actual bracket impact.
Important disclaimer
Tax law is jurisdiction-specific and can change. This page provides educational estimates only and is not tax, legal, or financial advice. Before making sale or reinvestment decisions, consult a qualified CPA, enrolled agent, or tax attorney.