How do i calculate the proceeds of disposition on the sale of my primary residence?

I sold at a loss and the mortgage has nothing owing.