Dana sells after nine years and still has gain left over
Hypothetical example, not law
Single. Owned and lived in the home for nine years; no rental, no home office.
- Before listingDana passes both tests easily and has not used the exclusion on another sale.Her cap is $250,000.
- Pulling recordsShe adds up her basis: purchase price, closing costs and the roof and kitchen. Repainting is upkeep, not an improvement.310,000 + 6,300 + 54,000 = $370,300 of basis.
- At closingThe home sells; she subtracts selling costs from the price to get the amount realized.860,000 - 52,000 = $808,000.
- Figuring the gainAmount realized minus basis.808,000 - 370,300 = $437,700 of gain.
- Applying the capShe leaves out the cap and reports the rest on Form 8949 and Schedule D as long-term capital gain.$437,700 - the $250,000 cap = $187,700 taxable.
Dana excludes the full cap and reports $187,700 of long-term gain. Her improvement receipts lowered the gain dollar for dollar.
Worked examples on the same rules
Maya and Chris: one spouse is short on the use test
Hypothetical example, not law
Married, filing jointly. Maya owned and lived in the home for six years. Chris moved in eight months ago.
- Before listingThey count each spouse's months. Maya passes. Chris does not.Joint cap needs both to pass the use test; otherwise it is the sum of each spouse's own cap.
- Figuring the gainTheir amount realized and adjusted basis give the gain.1,060,000 - 440,000 = $620,000 of gain.
- Version A: Chris had also lived there six yearsBoth pass, so the joint cap applies.$620,000 - the $500,000 cap = $120,000 taxable.
- Version B: Chris moved in eight months agoThe cap is Maya's single cap, and zero for Chris unless a work, health or unforeseen reason earns him a reduced amount.$620,000 - the $250,000 cap = $370,000 taxable.
- DecidingThey compare the extra tax with the cost of waiting for Chris to reach the use test, or with a reduced amount for Chris if a qualifying reason applies.The two versions differ by exactly the difference between the joint cap and the single cap.
Version A leaves $120,000 taxable; Version B leaves $370,000 taxable. Checking each spouse's dates before listing is worth six figures.
Worked examples on the same rules
Sam rented the home for two years, then lived in it for three
Hypothetical example, not law
Single. Bought for $306,500, rented all of it for two years with $15,600 of depreciation, then lived in it as the main home.
- Before listingSam passes the tests: three years of use inside the last five years, and owned for all five.Cap: $250,000.
- Figuring the gainAdjusted basis is cost minus depreciation. Amount realized is price minus selling costs.306,500 - 15,600 = $290,900; 639,000 - 40,000 = $599,000; gain $308,100.
- Depreciation comes out firstGain up to the depreciation after May 6, 1997 can't be excluded.$15,600 taxable (up to the unrecaptured section 1250 rate); $292,500 remains.
- Rental years before moving inTwo of five years of ownership were nonqualified use, so two fifths of the remaining gain can't be excluded.$292,500 x 24 / 60 = $117,000 taxable.
- What is excludedThe rest fits under the cap.292,500 - 117,000 = $175,500 excluded.
Sam excludes $175,500 and reports $132,600 of gain (15,600 from depreciation plus 117,000 from rental time). Moving in sooner would have cut the rental share.
Worked examples on the same rules