Gross profit margin shows how much revenue remains after the direct cost of goods sold. It is useful for comparing products and evaluating pricing.
Gross profit margin formula
Gross margin = (Revenue − Cost of goods sold) / Revenue × 100.
If revenue is $10,000 and direct costs are $6,000, gross profit is $4,000 and gross margin is 40%.
Excel formula
Enter revenue in B2 and cost in C2. In D2 enter =IF(B2=0,"",(B2-C2)/B2) and format the cell as a percentage. Copy the formula down for other products.
Margin vs markup
Margin uses revenue as the denominator; markup uses cost. A $60 item sold for $100 has a 40% margin and approximately 66.67% markup.
Try our free profit margin calculator or explore business finance calculators.
Common mistakes
Do not confuse gross profit with net profit. Net profit also accounts for operating expenses, interest and taxes. Zero revenue makes the margin undefined.