Yes. And also deduct any returns if you have them.
Your reductions of anything you are selling can be calculated as aloss as well