How do I enter a 1099s when the sale was a loss?

My 1099s shows the gross proceeds from the sale of my main home. The sale was a loss.  I would need to subtract the commission paid on the gross amount.