Estimate your capital gain, potential home-sale exclusion, and tax when selling your house.
Enter your house sale information
to estimate your capital gain and tax.
A capital gains on house sale calculator is a free online tool that helps homeowners estimate the potential capital gain when selling a house. By entering your sale price, purchase price, improvements, selling expenses, and other key information, you can get a quick estimate of your gain and potential tax.
Understanding your capital gains on house sale is important for financial planning. This calculator also estimates your potential eligibility for the home-sale exclusion, which can eliminate tax on up to $250,000 (single) or $500,000 (married joint) of gain for qualifying primary residences.
Using this house sale capital gains calculator is straightforward. Follow these steps:
The basic formula for calculating capital gains on a house sale is:
Adjusted Basis = Purchase Price + Capital Improvements + Other Basis Adjustments
Amount Realized = Sale Price โ Selling Expenses
Estimated Capital Gain = Amount Realized โ Adjusted Basis
Taxable Gain = Estimated Capital Gain โ Potential Exclusion
Estimated Tax = Taxable Gain ร Estimated Tax Rate รท 100
The home-sale exclusion can eliminate tax on up to $250,000 (single) or $500,000 (married joint) of gain for qualifying primary residences.
The home-sale exclusion allows qualifying taxpayers to exclude a portion of the gain from the sale of a primary residence:
This calculator provides an estimate of potential eligibility. Actual qualification depends on your specific circumstances.
To qualify for the home-sale exclusion, you generally must meet the 2-out-of-5-year test:
Yes. Qualifying capital improvements increase your adjusted basis, which reduces your taxable gain. Examples include:
Routine repairs and maintenance (painting, fixing leaks) do not generally increase basis.
Yes. Selling expenses reduce the amount you realize from the sale, which reduces your capital gain. Common selling expenses include:
No. The standard primary-home exclusion is not automatically available for a second home. Second homes generally do not qualify for the exclusion. Rental and investment properties have different tax treatment, including depreciation recapture. See our Selling Second Home Tax Calculator or Selling Rental Property Tax Calculator for these situations.
Hypothetical Scenario:
| House Sale Price | $625,000 |
| Selling Expenses | $30,000 |
| Amount Realized | $595,000 |
| Purchase Price | $375,000 |
| Capital Improvements | $45,000 |
| Other Basis Adjustments | $5,000 |
| Adjusted Basis | $425,000 |
| Estimated Capital Gain | $170,000 |
| Potential Exclusion (Single) | $170,000 |
| Taxable Gain | $0 |
| Estimated Tax | $0 |
This example is for illustration only and does not establish tax eligibility.
Consider professional advice when:
Always consult a qualified tax professional for your specific situation.
Capital gains on a house sale are the profit you make when you sell your house for more than your adjusted basis. It's calculated as: Sale Price โ Selling Expenses โ Adjusted Basis.
Calculate as: Amount Realized โ Adjusted Basis = Capital Gain. Amount Realized = Sale Price โ Selling Expenses. Adjusted Basis = Purchase Price + Improvements + Other Adjustments. Then subtract any eligible exclusion to get taxable gain.
Adjusted basis is your investment in the house: purchase price + capital improvements + other basis adjustments. A higher basis means a lower taxable gain.
Yes. Qualifying capital improvements that add value, extend the property's life, or adapt it to new uses increase your adjusted basis, which reduces your taxable gain.
Yes. Selling expenses such as real estate commissions, legal fees, and closing costs reduce your amount realized, which reduces your capital gain.
The home-sale exclusion allows qualifying taxpayers to exclude up to $250,000 (single) or $500,000 (married joint) of gain from the sale of a primary residence, provided they meet the ownership and use requirements.
Yes, single filers may be able to exclude up to $250,000 of gain from the sale of a qualifying primary residence, provided they meet the ownership and use requirements.
Yes, married couples filing jointly may be able to exclude up to $500,000 of gain from the sale of a qualifying primary residence, provided both spouses meet the ownership and use requirements.
To qualify for the full home-sale exclusion, you generally need to have owned and lived in the house as your primary residence for at least 2 years (24 months) in the 5-year period before the sale.
No. The standard primary-home exclusion generally does not apply to second homes. Second homes have different tax treatment. See our Selling Second Home Tax Calculator.
No. The home-sale exclusion generally applies to primary residences only. Rental properties and investment properties have different tax treatment. See our Selling Rental Property Tax Calculator.
Yes, in many states. State tax treatment varies widely. Some states have no capital gains tax, while others tax it as ordinary income. Check with your state's tax authority.
No. This calculator provides an estimate for educational purposes only. Actual tax liability depends on many factors including your basis, exclusion eligibility, income, filing status, and federal and state rules.
Keep records of: sale price, purchase price, closing costs, capital improvements, selling expenses, ownership and use dates, and any prior exclusion use. These records support your tax basis and exclusion eligibility.
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 โ