🇺🇸 US Home Selling

Home Sale Proceeds Calculator (After-Tax)

What will you actually walk away with after the IRS takes their cut? Models Section 121 primary-residence exclusion, adjusted cost basis, and long-term capital gains tax to show your real after-tax proceeds.

Section 121: the home seller's tax break

Internal Revenue Code Section 121 lets primary-residence sellers exclude up to $250,000 of capital gains from federal income tax (or $500,000 for married couples filing jointly). It's the single most valuable tax break available to most US homeowners.

Eligibility — the “2 of 5 years” rule

To claim the full Section 121 exclusion, you must:

  1. Own the home for at least 2 of the 5 years before sale.
  2. Use it as your primary residence for at least 2 of the 5 years before sale.
  3. Not have used the exclusion on another home sale in the past 2 years.

The 2 years don't have to be consecutive, and ownership and use periods can overlap or be different. Special partial-exclusion rules exist for job relocations, health reasons, and unforeseen circumstances.

How the gain is calculated

Capital gain isn't just sale price minus original purchase price. Here's the actual formula:

Realized Gain = Net Sale Proceeds − Adjusted Cost Basis

Note: repairs are not improvements for tax purposes. Painting, replacing a broken window, fixing the dishwasher — those don't add to your basis. Only capital improvements that materially add value or extend the home's life count.

Capital gains tax rates (2025)

Long-term capital gains (assets held >1 year) are taxed at preferential rates:

What this calculator doesn't cover

This is an estimate. We don't model:

If you have any of those situations, talk to a CPA before closing.

Related calculators

Disclaimer: Estimates only. Doesn't include state capital gains tax, NIIT, depreciation recapture for prior rental use, or special situations like partial qualifying use. Capital improvements must be documented to claim the basis adjustment. Consult a CPA before closing — this is not tax advice.