What Is Gross Margin?

Gross margin is the percentage of sales revenue left over after deducting only the Cost of Goods Sold (COGS) — that is, the direct cost of buying or producing the product sold. It does not account for operating expenses such as rent, salaries, marketing, or income taxes.

Gross Margin (%) = [(Sales Revenue − COGS) ÷ Sales Revenue] × 100

Example: a store brings in $50,000 in revenue for the month. The total cost of goods sold is $30,000.

This means 40% of everything the store brings in is left over to cover operating expenses and generate net profit.

What Is Gross Margin Used For?

Gross margin is the ideal indicator for:

Gross Margin vs. Net Margin: What's the Difference?

Indicator What it deducts What it's used for
Gross Margin Only COGS (product cost) Purchasing and pricing efficiency
Operating Margin COGS + operating expenses Efficiency of the operation as a whole
Net Margin COGS + expenses + income taxes Real profitability of the business

Example — From revenue to net profit

Revenue: $100,000 | COGS: $55,000 | Operating expenses: $30,000 | Taxes: $6,000

  • Gross Margin = (100,000 − 55,000) ÷ 100,000 = 45%
  • Operating Margin = (45,000 − 30,000) ÷ 100,000 = 15%
  • Net Margin = (15,000 − 6,000) ÷ 100,000 = 9%

Typical Gross Margins by Industry

SegmentTypical Gross Margin
Supermarket20% to 35%
Pharmacy (generics)20% to 28%
Pharmacy (cosmetics)40% to 60%
Restaurant60% to 75%
Apparel and fashion50% to 70%
E-commerce35% to 55%
Distributor8% to 20%
Software / SaaS70% to 90%

Use the Margin Calculator to calculate the unit gross margin of each product and build a more precise pricing strategy.