Transfer of property · math

The home sale gain exclusion

Gain is the amount realized (price less selling costs) minus the adjusted basis (cost plus capital improvements).

Owners who owned and lived in a home as their main residence for 2 of the last 5 years can exclude up to $250,000 of gain, or $500,000 on a qualifying joint return.

Where the rule comes from

  • 26 U.S.C. § 1001The gain from the sale or other disposition of property shall be the excess of the amount realized therefrom over the adjusted basis
  • 26 U.S.C. § 1016for expenditures, receipts, losses, or other items, properly chargeable to capital account
  • 26 U.S.C. § 121The amount of gain excluded from gross income under subsection (a) with respect to any sale or exchange shall not exceed $250,000.
  • 26 U.S.C. § 121$500,000 Limitation for certain joint returns

Two worked examples

Example 1

A married couple filing a joint return sells the home they have owned and lived in for 9 years for $1,333,000, paying $43,000 in selling costs. They bought it for $555,000 and later spent $145,000 on a capital improvement. If they qualify for the full exclusion, how much of the gain is taxable?

  1. Amount realized: $1,333,000 − $43,000 = $1,290,000
  2. Adjusted basis: $555,000 + $145,000 = $700,000
  3. Gain: $1,290,000 − $700,000 = $590,000
  4. Exclusion: $500,000 (joint return)
  5. Taxable gain: $590,000 − $500,000 = $90,000

Answer: $90,000

Example 2

A married couple filing a joint return sells the home they have owned and lived in for 8 years for $1,720,000, paying $90,000 in selling costs. They bought it for $720,000 and later spent $125,000 on a capital improvement. If they qualify for the full exclusion, how much of the gain is taxable?

  1. Amount realized: $1,720,000 − $90,000 = $1,630,000
  2. Adjusted basis: $720,000 + $125,000 = $845,000
  3. Gain: $1,630,000 − $845,000 = $785,000
  4. Exclusion: $500,000 (joint return)
  5. Taxable gain: $785,000 − $500,000 = $285,000

Answer: $285,000

Practice it

More in this area: Property tax under Proposition 13 · The 2% assessment cap · Documentary transfer tax · Property tax prorations · Rent prorations · Withholding on sales · all 23 types