Deductions & credits

this is the way to do it:

 

Sale of home (250,000) less the cost to sell ($10,000 realtor fees + closing) LESS the original purcahse price.

 

Since the partial exclusion is $169,000.... as long as you paid more than $71,000 for the home back in early 2021, there is no capital gains tax.

 

assume cost of home was $75,000

 

Sale of home (250,000) less orignal purchase price ($75,000)  less cost to sell ($10,000 realtor fees + closing) = $165,000 of gain

 

As the exlcusion was is $169,000, there is no capital gain tax.