how do you calculate gross margin 
gross margin is expressed as a percentage first subtract the cost of goods sold from the company s revenue this figure is the company s gross profit expressed as a dollar figure divide that figure by the total revenue and multiply it by 100 to get the gross margin 