Sell Chicago Properties

Seller calculators

Home Sale Capital Gains Tax Calculator

Estimate the capital gains tax on the sale of a home in Illinois, including the Section 121 primary-residence exclusion, federal long-term rates, the net investment income tax, and the Illinois income tax. This is an estimate, not tax advice.

Selling or buying soon

A calculator is a starting point. Get a full picture with a direct review of payoff, taxes, title, condition, and timing.

Estimate your capital gains tax

Enter your purchase price, improvements, sale figures, and filing status. For a rental, add prior depreciation to capture recapture.

Enter your figures to calculate.
Email me my full results

Enter your details and we will review the line-by-line breakdown shown above, then follow up about your property.

Your figures are a preliminary estimate and are not legal, tax, lending, appraisal, or brokerage advice.

Reviewed and updated June 2026

The Section 121 exclusion

If you owned and used the home as your main residence for at least 2 of the last 5 years, you can generally exclude up to 250,000 dollars of gain if single, or 500,000 dollars if married filing jointly. Gain above the exclusion is taxed at federal long-term rates, and Illinois taxes the gain as ordinary income at 4.95 percent.

How to read your results

The headline is your estimated total tax, but the line that drives it is the taxable long-term gain after the Section 121 exclusion.

  • Taxable gain is sale price minus selling costs minus your adjusted basis, then reduced by the Section 121 exclusion if you qualify.
  • If you lived in the home 2 of the last 5 years, up to 250,000 dollars of gain is excluded for a single filer and 500,000 dollars for a joint filer.
  • Depreciation taken on a former rental is recaptured at up to 25 percent and is not covered by the exclusion, so it raises the tax even when the exclusion wipes out the rest.
  • Illinois taxes the gain as ordinary income at 4.95 percent, and a 3.8 percent net investment income tax can apply at higher incomes. Confirm the final number with a tax professional.

2026 federal long-term capital gains brackets

RateSingleMarried filing jointlyHead of household
0 percentUp to $49,450Up to $98,900Up to $66,200
15 percent$49,451 to $545,500$98,901 to $613,700$66,201 to $579,600
20 percentOver $545,500Over $613,700Over $579,600

A 3.8 percent net investment income tax can apply above 200,000 dollars of modified income (250,000 dollars if married filing jointly). Section 1250 depreciation on a rental is recaptured at up to 25 percent.

How capital gains tax on a home works

Your taxable gain is the sale price minus selling costs, minus your adjusted basis. Adjusted basis is what you paid plus capital improvements, reduced by any depreciation you claimed if the home was a rental. The Section 121 exclusion then removes up to 250,000 dollars of gain for a single filer or 500,000 dollars for joint filers who meet the ownership and use tests.

Gain above the exclusion is taxed at the federal long-term rate of 0, 15, or 20 percent based on your income, and a 3.8 percent net investment income tax can apply at higher incomes. Illinois does not give capital gains any special treatment, so it taxes the gain as ordinary income at its flat 4.95 percent rate. Depreciation taken on a former rental is recaptured at up to 25 percent and is not covered by the exclusion.

Related calculators

Capital gains FAQs

How much capital gains can I exclude on a home sale?

If you owned and lived in the home as your main residence for at least 2 of the last 5 years, you can generally exclude up to 250,000 dollars of gain if single, or 500,000 dollars if married filing jointly. Gain above that is taxable.

Does Illinois tax capital gains?

Yes. Illinois has a flat 4.95 percent individual income tax and gives capital gains no preferential treatment, so a taxable gain is taxed as ordinary income at 4.95 percent on top of any federal tax.

What is the net investment income tax?

It is an additional 3.8 percent federal tax that can apply to investment income, including a taxable home-sale gain, when modified adjusted gross income is above 200,000 dollars for single filers or 250,000 dollars for joint filers. Gain excluded under Section 121 is not subject to it.

Do I owe tax if the home was a rental?

Possibly more. Depreciation you claimed while it was a rental is recaptured at up to 25 percent and is not covered by the primary-residence exclusion, so a rental conversion changes the math. Confirm with a tax professional.

Is this calculator tax advice?

No. It is a free estimate using current rates and common assumptions. Your actual tax depends on your full return. Confirm with a qualified tax professional before relying on any figure.

Does Illinois have a separate capital gains tax?

Illinois does not give capital gains a special rate. It taxes the gain as ordinary income at its flat 4.95 percent rate, on top of any federal long-term capital gains tax and the 3.8 percent net investment income tax that can apply at higher incomes.

How does selling a rental change the tax?

A rental does not qualify for the primary-residence exclusion unless you also lived in it long enough to meet the use test. Depreciation you claimed while renting is recaptured at up to 25 percent, which can create tax even when the overall gain is modest.

This calculator is general information for Chicago-area owners, buyers, and investors. It is not legal, tax, lending, appraisal, or brokerage advice, and rates or rules can change. Verify figures with the appropriate professionals before money moves or documents are signed. Tax results depend on your complete return and are not a substitute for advice from a qualified tax professional.