Free online tools to generate, calculate,
convert, format, encode, and play.
 

Capital Gains Tax on Property

Estimate the capital gains tax owed when selling a property. Provide the purchase price, sale price, holding period, improvement costs, and any applicable exemptions such as the primary residence exclusion or a 1031 like-kind exchange.


Sale Details

Original cost basis when you bought the property.
Gross proceeds from the sale.
Qualifying renovation costs that increase basis (e.g. additions, new roof).
Agent commissions, closing costs, and other sale expenses.
Properties held over 1 year qualify for long-term rates.
Your income besides this property gain (used to determine bracket).
Flat effective state rate on capital gains. Use 0 if none.

Exemptions
Excludes up to $250k ($500k if MFJ) of gain if you lived in the home 2 of the last 5 years.
Defers all capital gains tax by rolling proceeds into a qualifying replacement property.

How It Works

Capital gains on a property sale are calculated from the adjusted cost basis:

Adjusted Basis = Purchase Price + Capital Improvements

Net Proceeds = Sale Price − Selling Costs

Gross Gain = Net Proceeds − Adjusted Basis

Taxable Gain = Gross Gain − Applicable Exclusions

The federal tax rate depends on how long you held the property and your total taxable income for the year. Gains on properties held 1 year or less are taxed as ordinary income (short-term). Gains on properties held more than 1 year are taxed at preferential long-term rates of 0%, 15%, or 20%.

Long-Term Federal Rates (2024)

RateSingleMFJ
0%Up to $47,025Up to $94,050
15%Up to $518,900Up to $583,750
20%Above $518,900Above $583,750

Primary Residence Exclusion

  • Excludes up to $250,000 of gain (single filers)
  • Excludes up to $500,000 of gain (married filing jointly)
  • Requires living in the home as your primary residence for at least 2 of the last 5 years
  • Can generally be used once every 2 years

1031 Like-Kind Exchange

A Section 1031 exchange allows investors to defer all capital gains tax by reinvesting the proceeds into a qualifying replacement property of equal or greater value. Key rules: you must identify the replacement property within 45 days and close within 180 days. The deferred gain reduces the replacement property's cost basis, so tax is paid upon a future taxable sale.


Tips

Increasing Your Basis

  • Keep receipts for capital improvements (roof, additions, HVAC systems)
  • Routine maintenance does not add to basis, but structural upgrades do
  • Depreciation claimed on rental property reduces your basis, increasing the gain

Minimising Tax

  • Hold property over 1 year to qualify for lower long-term rates
  • Use the primary residence exclusion if eligible before selling
  • Explore 1031 exchanges for investment properties to defer tax indefinitely
  • Offset gains with capital losses from other investments (tax-loss harvesting)
Disclaimer: This tool provides estimates for educational purposes only. Tax law is complex and varies by state and individual circumstances. Consult a qualified tax professional before making decisions.


Feedback

Help us improve this page by providing feedback, and include your name/email if you want us to reach back. Thank you in advance.


Share with