Gross margin measures the share of sales left after paying the direct cost of the goods sold. Harvard Business School Online gives it as (Sales − Cost of Goods Sold) ÷ Sales. Because it is divided by the selling price, a gross margin is always below 100%.
Formula
gross margin (%) = (sales − COGS) ÷ sales × 100
Sales is the selling price (or total net sales); COGS is the direct cost of the goods sold.
Example
An item costs $60 and sells for $100. Gross profit is $40, so gross margin = 40 ÷ 100 × 100 = 40%. To reach that margin from a $60 cost, price = 60 ÷ (1 − 0.40) = $100.
Gross margin vs markup
Markup divides the same profit by cost instead of price. The $40 profit is a 40% gross margin but a 66.67% markup. Penn State Extension shows the same trap: a 30% markup on a $1.00 item yields only a 23% margin. See how to calculate profit margin for a conversion table, and the markup calculator to convert any pair.