Estimate your potential federal capital gains tax when selling property. This calculator provides a quick estimate based on current 2026 tax rates.
Enter your property sale information
to estimate your capital gains tax.
A capital gains tax calculator on sale of property is a free online tool that helps property owners estimate the potential federal capital gains tax when selling real estate. By entering your purchase and sale details, improvements, expenses, and other key information, you can get a quick estimate of your gain and potential tax.
Understanding your capital gains tax on property sale is important for financial planning. This calculator considers the home sale exclusion, depreciation recapture, and long-term vs short-term capital gains rates.
Using this property capital gains calculator is straightforward. Follow these steps:
The basic formula for calculating capital gains on property is:
Net Sale Proceeds = Sale Price − Selling Expenses
Adjusted Basis = Purchase Price + Closing Costs + Improvements − Depreciation + Other Adjustments
Estimated Capital Gain = Net Sale Proceeds − Adjusted Basis
Taxable Gain = Estimated Capital Gain − Applicable Exclusion
Estimated Tax = Taxable Gain × Applicable Tax Rate
The home sale exclusion can eliminate tax on up to $250,000 (single) or $500,000 (married joint) of gain for qualifying primary residences.
Your adjusted basis is what you've invested in the property. It includes:
A higher basis means a lower taxable gain. For more details, see IRS Publication 551.
Several items can increase your cost basis, which reduces your taxable gain:
Normal maintenance and repairs (painting, fixing leaks) do not increase basis.
Yes. Selling expenses are subtracted from the sale price to determine your net proceeds. Common selling expenses include:
If the property was your primary residence, you may be eligible for the home sale exclusion. To qualify, you generally must have:
The exclusion allows you to exclude up to:
Partial exclusions may be available for certain situations (e.g., health issues, job relocation, or unforeseen circumstances).
Rental and investment properties have additional tax considerations:
For rental properties, see our Capital Gains on Sale of Rental Property Calculator.
The holding period determines whether your gain is short-term or long-term:
For 2026, the 0% rate applies for single filers with taxable income up to $44,600, and the 20% rate applies above $492,300 (single) or $553,850 (joint).
This calculator estimates federal capital gains tax only. State tax treatment varies:
Check with your state's tax authority for complete guidance.
Hypothetical Scenario:
| Purchase price | $200,000 |
| Capital improvements | $30,000 |
| Purchase closing costs | $8,000 |
| Depreciation taken | $12,000 |
| Adjusted basis | $226,000 |
| Sale price | $350,000 |
| Selling expenses | $21,000 |
| Net sale proceeds | $329,000 |
| Estimated capital gain | $103,000 |
If this is a primary residence with a $250,000 exclusion, the taxable gain would be $0 (since $103,000 is below the exclusion). If it's a rental, the gain would be taxed at applicable rates.
Consider professional advice when:
Always consult a qualified tax professional for your specific situation.
Basic formula: Net Sale Proceeds − Adjusted Basis = Estimated Gain. Net sale proceeds are sale price minus selling expenses. Adjusted basis includes purchase price, closing costs, capital improvements, and adjustments for depreciation. The gain is then taxed at applicable rates based on your filing status and holding period.
Adjusted basis is what you've invested in the property. It's your original purchase price, plus closing costs and capital improvements, minus depreciation taken, plus other basis adjustments. A higher basis means a lower taxable gain.
Yes. Selling expenses such as real estate commissions, legal fees, transfer taxes, and advertising costs reduce your net sale proceeds, which in turn reduces your taxable gain. These costs are subtracted directly from the sale price.
Yes. Qualifying capital improvements that add value, extend the property's life, or adapt it to new uses increase your cost basis. Examples include room additions, new roofs, HVAC systems, and major renovations. Routine repairs do not increase basis.
Not necessarily. If it was your primary residence and you meet the 2-out-of-5-year ownership and use test, you may exclude up to $250,000 ($500,000 for married joint filers) of gain. Gains above the exclusion may be taxable.
The home sale exclusion allows primary residence sellers to exclude a portion of their capital gain from federal tax. For 2026, the exclusion is $250,000 for single filers and $500,000 for married joint filers, subject to eligibility requirements.
Rental properties are subject to capital gains tax on the sale, but with additional considerations. Depreciation taken during the rental period must be recaptured and taxed at a maximum rate of 25%. The remaining gain is taxed at long-term capital gains rates. 1031 exchanges may defer the gain.
Yes. Depreciation reduces your cost basis, which increases your taxable gain. It also triggers depreciation recapture, which is taxed at a 25% maximum rate for residential rental property.
No. Capital gains tax is based on the capital gain (sale price minus selling expenses minus adjusted basis), not the entire sale price. Only the profit portion is taxed. The home sale exclusion can also eliminate tax on the gain for primary residences.
No. This calculator estimates federal capital gains tax only. State capital gains taxes vary widely and are not included. Some states have no capital gains tax, while others tax it as ordinary income. Consult your state's tax authority for state tax information.
Our team of financial writers, tax researchers, and technical developers work together to deliver clear, accurate, and useful tax calculators and guides for U.S. taxpayers. We are committed to helping you understand your taxes better and make informed financial decisions.
Learn More About Our Team →