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.
Example: a store brings in $50,000 in revenue for the month. The total cost of goods sold is $30,000.
- Gross Profit = $50,000 − $30,000 = $20,000
- Gross Margin = $20,000 ÷ $50,000 × 100 = 40%
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:
- Evaluating purchasing and production efficiency: a gross margin that falls month after month indicates product costs are rising faster than the selling price.
- Comparing product categories: which lines have the highest margin? Where should sales efforts be focused?
- Setting a feasible ceiling for operating expenses: if gross margin is 40%, the business can spend at most 40% of revenue on expenses without running a net loss.
- Analyzing the impact of discounts: a 10% discount on a product with a 30% gross margin wipes out a third of the gross profit.
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
| Segment | Typical Gross Margin |
|---|---|
| Supermarket | 20% to 35% |
| Pharmacy (generics) | 20% to 28% |
| Pharmacy (cosmetics) | 40% to 60% |
| Restaurant | 60% to 75% |
| Apparel and fashion | 50% to 70% |
| E-commerce | 35% to 55% |
| Distributor | 8% to 20% |
| Software / SaaS | 70% to 90% |
Use the Margin Calculator to calculate the unit gross margin of each product and build a more precise pricing strategy.