TR

Home / Home & Real Estate / Home Sale Capital Gains Calculator (Section 121 Exclusion)

🏠 Home Sale Capital Gains Calculator (Section 121 Exclusion)

Home Sale Capital Gains Calculator (Section 121 Exclusion) – get instant, free results right on your device.

⚠️ Important notice: Estimate only, based on the Section 121 limits ($250,000 single, $500,000 married filing jointly) and a simplified model of the 2026 federal capital-gains rules. It does not cover partial exclusions, nonqualified-use rules in detail, state differences, the alternative minimum tax or your full return. Congress can change these rules. For information only; not tax or legal advice. Confirm with IRS Publication 523, the IRS and a licensed tax professional before you act.
WhatsAppTelegramX

The gain is assumed to be long term (home owned more than one year). Tax brackets for long-term gains change every year, so the 2026 ceilings are editable. Results are for information only and do not replace an official calculation. Not an official institution.

Last updated: November 2026 · Parameter year: 2026 · Methods and sources: Methodology · Editorial policy

What is Home Sale Capital Gains Calculator (Section 121 Exclusion)?

This calculator estimates the federal tax due when you sell your main home. It works out the gain (sale price less selling costs, minus your adjusted basis), applies the Section 121 exclusion of up to $250,000, or $500,000 for married couples filing jointly, when the ownership and use tests are met, and then taxes what is left: any depreciation portion at up to 25%, the rest at the long-term capital gains rate bands, and the 3.8% net investment income tax where income is above the statutory thresholds.

Enter the sale price, selling costs, purchase price, purchase closing costs and capital improvements. Choose your filing status and whether you meet the tests (generally owning and living in the home for at least 24 months of the 5 years before the sale, and no other exclusion in the past 2 years). Add depreciation if you ever claimed it, your other taxable income and modified adjusted gross income, and an optional state rate. The 2026 long-term gain ceilings are editable inputs.

The model is simplified. It assumes the home was owned more than one year, does not compute partial exclusions (for sales caused by work, health or unforeseen events), nonqualified-use reductions beyond the amount you enter, alternative minimum tax, or state rules. A loss on a personal residence is not deductible. Congress can change the exclusion limits. Use IRS Publication 523 and a licensed tax professional for your return. Information only; not tax, legal or financial advice.

How to use

Fill in these fields: Sale price, Selling costs – example, enter your own, Purchase price, Purchase closing costs that add to basis, Capital improvements, Filing status for the exclusion, Do you meet the ownership and use tests and the once-per-2-years rule?, Reduction to the exclusion for nonqualified use or other reasons – 0 if none; see IRS Pub. 523, Depreciation claimed after May 6, 1997, e.g. home office or rental, Rate on the depreciation portion – your ordinary rate, capped at 25%, Your other 2026 taxable income, after deductions, Your other 2026 modified adjusted gross income, before this sale, 0% long-term gain ceiling – 2026: single 49,450, joint 98,900, 15% long-term gain ceiling – 2026: single 545,500, joint 613,700, State income tax rate on the gain – enter your state's rate, 0 if none or unsure. Then press the button; the result appears on the same page and your data never leaves your device.

Formula

A $650,000 sale of a home bought for $300,000 (single, qualifying) has a $265,000 gain, $250,000 excluded and about $2,250 of federal tax (example inputs)

Example

A $650,000 sale of a home bought for $300,000 (single, qualifying) has a $265,000 gain, $250,000 excluded and about $2,250 of federal tax (example inputs)

Worked examples and tips

Example 1 (the defaults): a single owner sells for $650,000 with 6% selling costs ($39,000), so the amount realized is $611,000. Basis is $300,000 + $6,000 + $40,000 = $346,000, for a gain of $265,000. The $250,000 exclusion leaves $15,000 taxable. With other taxable income of $90,000 (above the 0% ceiling of $49,450) it is taxed at 15%, so federal tax is $2,250. MAGI including the gain is $115,000, below $200,000, so there is no 3.8% tax.

Example 2: a married couple filing jointly sells for $1,200,000 (6% costs), bought at $500,000 with $10,000 closing costs, $60,000 of improvements and $20,000 of depreciation claimed. Basis is $550,000, gain $578,000, exclusion $500,000, taxable $78,000. The $20,000 depreciation portion is taxed at 25% ($5,000), the other $58,000 at 15% ($8,700), and the 3.8% tax applies to $58,000 of income over $250,000 ($2,204). Federal total: $15,904.

Example 3: the Example 1 sale when the ownership and use tests are not met. There is no exclusion, so the full $265,000 is taxed: $39,750 at 15%, plus $6,270 of 3.8% tax because MAGI including the gain is $365,000. Total $46,020.

Tips: keep records of improvements and closing costs, which raise basis, and read IRS Publication 523 before assuming you qualify. State taxes are not included unless you enter a rate.

Frequently asked questions

Home Sale Capital Gains Calculator (Section 121 Exclusion) – how to use it?

Fill in the fields and press the button; the result appears instantly. Example: A $650,000 sale of a home bought for $300,000 (single, qualifying) has a $265,000 gain, $250,000 excluded and about $2,250 of federal tax (example inputs)

Home Sale Capital Gains Calculator (Section 121 Exclusion) – is it free, and is my data stored?

Yes, it is free and requires no sign-up. Because processing happens in your browser, the information you enter is not sent to a server.

Related guide

Related tools

🏠Rent Increase CalculatorFind the new rent from the current rent and the increase rate applied.🧱Tile / Flooring Quantity CalculatorTile / Flooring Quantity Calculator – get instant, free results right on your device.🎨Paint Quantity CalculatorPaint Quantity Calculator – get instant, free results right on your device.🧱Brick and Aerated Concrete Block Quantity CalculatorBrick and Aerated Concrete Block Quantity Calculator – get instant, free results right on your device.🏠Roof Area and Tile Quantity CalculatorRoof Area and Tile Quantity Calculator – get instant, free results right on your device.🏗️Concrete Quantity CalculatorConcrete Quantity Calculator – get instant, free results right on your device.