Home Sale Capital Gains Tax Calculator (2026)

Updated November 2, 2026

Selling your house? Most homeowners owe nothing, thanks to the $250,000 ($500,000 married) home sale exclusion. But home prices have risen so much that more sellers now go over it. Enter your numbers to see your gain, how much is excluded, and the 2026 federal capital gains tax, the 3.8% investment tax and your state tax.

Kitchen, roof, addition, new HVAC. Not repairs or upkeep.

Agent commission, title, transfer taxes.

Estimated total tax on the sale
Your gain
Home sale exclusion used
Taxable gain
Federal capital gains tax
Net investment income tax (3.8%)
State income tax
You keep after selling costs and tax

Mortgage payoff is not subtracted. Depreciation recapture on a home you rented out is not included.

2026 capital gains tax rates

Long-term gains (property owned more than a year) are taxed at these rates, based on your taxable income including the gain:

RateSingleMarried filing jointly
0%Up to $49,450Up to $98,900
15%$49,451 to $545,500$98,901 to $613,700
20%Over $545,500Over $613,700
+3.8% NIITIncome over $200,000Income over $250,000

Examples

SaleGainTaxable after exclusionTotal tax
Single, Texas: bought $250k, sold $450k$143,000$0$0
Married, California: bought $350k, sold $900k$446,000$0$0
Single, Florida: bought $300k, sold $700k$338,000$88,000$13,200
Single, North Carolina rental: bought $380k, sold $500k$90,000$90,000$17,091
Married, New York: bought $600k, sold $1.5M$725,000$225,000$56,865

The home sale exclusion

If you owned the home and lived in it as your main home for at least 2 of the 5 years before the sale, you can exclude up to $250,000 of gain, or $500,000 if married filing jointly. You can use it once every 2 years. A smaller, partial exclusion may apply if you moved early for a job, health or other unforeseen reasons.

How to lower the tax

How this calculator works

Gain is the sale price minus selling costs, what you paid and improvements. The exclusion is taken first. The taxable gain is stacked on top of your other income (after the 2026 standard deduction) to find the 0%, 15% and 20% portions. The 3.8% net investment income tax applies to the taxable gain above $200,000 of income ($250,000 married). State tax treats the gain like regular income, which is true in most states, though a few give gains a break.

Jump to: partial exclusion · work out your gain · wait to sell · rental or home office · inherited home · cash at closing.

Moving before 2 years? Estimate the partial exclusion

If you sell early because of a job move of at least 50 miles, a health reason or an unforeseen event, you may keep part of the exclusion. It is scaled by how much of the 24 months you owned and lived in the home.

Partial exclusion you may use
Share of 24 months met
Taxable gain left
Largest partial exclusion

This only applies if the sale is for a qualifying reason, such as a job change, health or an unforeseen event. It is not available just because you moved early.

Work out your gain step by step

Your gain is not just the sale price minus the price you paid. Add buying costs and improvements to your basis, and subtract selling costs from the sale price.

Your gain
Adjusted basis
Amount you really receive on the sale

Repairs and upkeep, such as repainting or fixing a leak, do not count as improvements. Keep receipts for the big projects.

Should you wait to hit the 2-year mark?

Selling a few months early can turn a tax-free gain into a taxable one. Enter your numbers to see what waiting is worth, if you do not qualify for a partial exclusion.

Months left to wait
Tax if you sell now, with no exclusion
Tax if you wait
Tax saved by waiting

Waiting also costs you the carrying cost of the house and the risk that prices move. Include a rate that fits your tax bracket plus state tax.

Rented the home or used part for a home office? Depreciation is taxed

The exclusion does not cover depreciation you claimed, or could have claimed, for a rental or business use after May 6, 1997. That part is taxed up to 25%.

Tax on the depreciation
Total depreciation
Gain taxed up to 25%
Rate used

You must reduce your basis by depreciation you were allowed to take, even if you did not claim it. A tax professional can work out the exact figure.

Selling a home you inherited? Your basis steps up

When you inherit a home, your basis is usually its value on the date of the owner's death, not what the owner paid. That can wipe out most of the gain.

Gain or loss on the sale
Amount you really receive
Estimated tax

Inherited property is treated as a long-term holding no matter how soon you sell. The $250,000 exclusion only applies if you also owned and lived in the home yourself for 2 of the last 5 years.

How much cash will you walk away with?

Gain and cash are different. Subtract selling costs, your mortgage payoff and any tax to see what lands in your account.

Cash you receive after tax
Selling costs
Cash before tax

The tax figure comes from the calculator at the top of this page. Moving costs, prorated property tax and escrow refunds are not included.

FAQ

Do I pay capital gains tax when I sell my house?

Usually not. If you lived there 2 of the last 5 years, up to $250,000 of gain ($500,000 married) is tax-free. You only pay tax on the gain above that.

What is the capital gains tax rate on a home sale in 2026?

0%, 15% or 20% for a home owned more than a year, depending on your income, plus 3.8% if your income is above $200,000 ($250,000 married). Short-term gains are taxed like wages.

How do I lower capital gains tax on a home sale?

Add your improvements and closing costs to your basis, subtract selling costs, and make sure you meet the 2-out-of-5-year rule before you sell.

Do I pay state tax on a home sale?

In most states yes, on any gain above the exclusion, at your normal state rate. States without an income tax, like Florida and Texas, do not tax it.

Is the home sale exclusion going to change?

Congress has discussed raising or removing the limit, but as of October 2026 the $250,000 and $500,000 limits are still the law.

Rules and rates last checked: October 2026. This is an estimate for general information only, not financial, tax or legal advice. Check IRS.gov or a tax professional before you file.

Can I use the home sale exclusion if I rented the house out?

Possibly, if you still owned and lived in it for 2 of the last 5 years. But the part of your gain equal to depreciation you took, or could have taken, as a landlord or for a home office is taxed, at up to 25%. In the example above, $30,000 of depreciation in a $120,000 gain adds about $7,200 of tax.

Do I owe tax when I sell an inherited home?

Usually very little. Your basis steps up to the home's value on the date of death, so you are taxed only on the growth after that. In the example above, a home worth $410,000 at death and sold for $465,000 leaves a gain of about $27,100 after 6% selling costs.

What if my spouse died?

A surviving spouse who has not remarried can still use the $500,000 exclusion if the home is sold within two years of the death and the ownership and use tests were met just before it. After that the limit is $250,000.

Do I have to report a home sale if the gain is tax-free?

Generally not. If your whole gain is covered by the exclusion and you did not receive a Form 1099-S, you do not have to report the sale. If you got a 1099-S, or your gain is over the exclusion, you report it on Form 8949 and Schedule D.

Related calculators

๐Ÿก

Home Affordability

How much house you can afford
๐Ÿ 

Mortgage

Payment with taxes and insurance
๐Ÿงพ

Federal Income Tax

2026 bracket tax
๐Ÿ’ฐ

Down Payment

How much to save

More Home & Loans calculators · See all calculators