Home Sale Tax Calculator — Selling your home? See what’s tax-free.
Choose “My home”, then enter the price, what you paid plus improvements, and the selling costs. See what the $250,000 or $500,000 exclusion leaves out, the tax on the rest, and what you keep.
- Free to start
- No sign-up to try
- The exclusion applied
- Selling a business?See how it works for a business sale →
The exclusion, and the tax past it
Most home sellers owe nothing. When the gain is past the exclusion, the rest is taxed like any other long-term gain, stacked on your income that year.
What you keep
The exclusion first, then the tax on the rest.
Owned and lived in for 2 of the last 5 years, $250,000 of gain is left out, or $500,000 for a married couple. Past it, the gain is taxed at 15% or 20% federally, with the 3.8% surtax at higher incomes and your state’s tax.
“Gain the home exclusion leaves out $500,000”The “Selling the family home” example
- $250,000, or $500,000 married
- Federal, the 3.8% surtax and your state on the rest
- What to set aside, and when


What you keep 1/2
Your home’s details
A few questions, in plain words.
What you paid plus the improvements you made, the agent’s commission and closing costs, and whether you lived there 2 of the last 5 years. Depreciation from a home office or renting it out has a field of its own, because the exclusion doesn’t cover it.
“What are you selling? My home · Lived in it 2 of the last 5 years? Yes”The calculator’s first questions
- Improvements and selling costs lower the gain
- Home-office or rental depreciation, at up to 25%
- Any year, any state

About the Home Sale Tax Calculator
Most people who sell the home they live in owe no tax: owned and lived in for 2 of the last 5 years, up to $250,000 of the gain is left out, or $500,000 for a married couple filing jointly. After years of rising prices more sellers are past that line, and the part above it is taxed like any other long-term gain, at 0%, 15% or 20% federally, plus the 3.8% surtax at higher incomes and your state.
Enter the price, what you paid plus the improvements you made, the agent’s commission and closing costs, and the year you sell. The calculator shows the gain the exclusion leaves out, the tax on the rest stacked on your other income that year, and the cash you keep. Depreciation you took for a home office or while renting it out is not covered by the exclusion and is taxed at up to 25%; it asks for that too.
What you can do
- The $250,000 or $500,000 exclusion applied to your gain
- Federal, 3.8% surtax and state tax on the rest
- Improvements and selling costs lower the gain
- Home-office or rental depreciation taxed at up to 25%
- What you keep, and what to set aside
Frequently asked questions
How much of my home sale is tax-free?
Up to $250,000 of gain, or $500,000 for a married couple filing jointly, if you owned the home and lived in it as your main home for at least 2 of the 5 years before the sale, and haven’t used the exclusion in the last 2 years. Gain above that is taxed as a long-term capital gain.
What counts toward my home’s cost basis?
What you paid for it, including closing costs when you bought, plus improvements that add value or extend its life: an addition, a new roof, a remodeled kitchen. Repairs and upkeep don’t count. The selling costs, such as the agent’s commission, come off the price too.
What if I haven’t lived there 2 years?
Then the full exclusion doesn’t apply. A move for a new job, health or another unforeseen reason allows part of it, in proportion to the time you lived there; the calculator doesn’t apply that part, so set the question to No for the worst case and ask your accountant about the rest.
Related calculators and tools
Other calculators and tools that pair well with the Home Sale Tax Calculator.
Photos by HiveBoxx, Jelly Marketing and Vitaly Gariev on Unsplash.


