Deductions & credits

I suggest using the home sale worksheet. 1099-S never includes a cost basis. That requires manual entry in whatever form you use (The HSW makes it easy). Closing costs are on the closing statement. Not all costs are deductible. Some, like taxes and interes,t are entered on Schedule A (subject to limitations specific to your situation). HOA fees and utility prorations are generally not deductible unless it's a rental. There may be other costs that are deductible/noit deductible.