Gross margin (also called gross profit margin) measures the percentage of revenue remaining after subtracting the direct costs of producing goods or services — known as cost of goods sold (COGS). It is the first and most fundamental profitability metric on the income statement, revealing how much pricing power a company has and how efficiently it delivers its products.
The Gross Margin Formula
Gross Margin = (Revenue - Cost of Goods Sold) / Revenue x 100
COGS includes only the direct costs of production: raw materials, direct labor, manufacturing overhead, and for software companies, hosting and infrastructure costs. It excludes indirect costs like marketing, R&D, and administrative expenses — those are captured in operating margin.
If a company generates $500 million in revenue with $200 million in COGS, its gross margin is ($500M - $200M) / $500M = 60%.
Industry Benchmarks
| Industry | Typical Gross Margin | What Drives It |
|---|---|---|
| SaaS / Software | 70–85% | Near-zero marginal cost per user |
| Pharmaceuticals | 65–80% | Patent-protected pricing |
| Luxury Goods | 60–75% | Brand premium, aspirational pricing |
| Consumer Staples | 35–50% | Brand value, scale economies |
| Industrials / Manufacturing | 25–40% | Physical production, labor-intensive |
| Retail (e-commerce) | 25–45% | Mix of third-party and first-party |
| Grocery / Discount Retail | 20–30% | High volume, low margin by design |
The contrast is stark: a software company might keep 80 cents of every revenue dollar after direct costs, while a grocery chain keeps only 25 cents. This difference in gross margin fundamentally shapes every aspect of the business — from how much can be spent on marketing and R&D to what kind of profit margins and returns on capital are achievable.
What Gross Margin Reveals About Competitive Advantage
High and stable gross margins are the clearest quantitative signal of a competitive moat. Companies that sustain gross margins well above their industry peers possess one or more structural advantages:
- Pricing power: Customers are willing to pay premium prices because of brand, quality perception, or lack of alternatives. Apple's 45%+ gross margins on hardware — in an industry where most competitors operate at 15-25% — is a direct measurement of brand premium.
- Low-cost production: Scale advantages or proprietary processes allow the company to produce at lower cost than competitors while charging similar prices.
- Network effects: Platforms like Visa or Mastercard have near-zero marginal costs per transaction, creating extraordinary gross margins from the network's scale.
- Intellectual property: Patents, trade secrets, and proprietary technology create products that cannot be easily replicated at lower cost.
The Gross Margin Trend Is Critical
A single snapshot of gross margin is useful, but the trend over 3-5 years is far more informative:
- Expanding gross margins suggest improving pricing power, better cost management, or a favorable product mix shift (selling more high-margin products). This is a bullish signal.
- Stable gross margins in the face of inflation or competition indicate a strong market position. The company is successfully passing cost increases to customers.
- Declining gross margins are a warning signal. Possible causes: increased competition forcing price cuts, rising input costs that cannot be passed through, a product mix shift toward lower-margin offerings, or a commoditization of the company's products.
Gross Margin vs. Operating Margin
Gross margin and operating margin serve different analytical purposes:
- Gross margin reveals pricing power and production efficiency — the fundamental economics of the product itself.
- Operating margin reveals total business efficiency including overhead, SG&A, and R&D.
A company can have excellent gross margins (great product economics) but poor operating margins (bloated overhead). The gap between gross margin and operating margin reveals how efficiently the company runs its non-production operations.
Limitations
- Classification differences. Companies classify costs between COGS and operating expenses differently. Some include certain R&D or distribution costs in COGS; others classify them as operating expenses. This makes direct gross margin comparisons between companies imperfect.
- Capital-light bias. Gross margin naturally favors asset-light businesses. A software company with 80% gross margin is not necessarily "better" than a manufacturer with 35% — they simply have different business models.
- Does not capture full profitability. A 75% gross margin means nothing if the company spends 70% of revenue on sales and marketing. Always look at gross margin in conjunction with operating margin and free cash flow.
How to Use Gross Margin in Practice
- Compare within peer groups. Identify the sector leader on gross margin. Companies with the highest gross margins in their industry typically have the strongest competitive positions.
- Monitor the 5-year trend. Stable or expanding gross margins over multiple years is one of the most reliable quality indicators. Declining trends require immediate investigation.
- Analyze margin bridges. When gross margin changes, determine whether it is driven by pricing (revenue per unit), volume (spreading fixed costs), or cost changes (raw materials, labor). Each has different implications for sustainability.
- Use in combination with growth. A company with 75% gross margins and 20% revenue growth has an extremely powerful earnings growth engine. High gross margins amplify revenue growth into even faster profit growth through operating leverage.
Gross margin is a key input to the quality factor in our quantitative model, which carries a 30% weight in the composite score. Companies with structurally superior gross margins receive higher quality scores, reflecting the pricing power and competitive advantage that stable gross margins represent.
Key Takeaway
Gross margin is the most fundamental measure of a product's economics and a company's pricing power. High, stable gross margins are the financial signature of a competitive moat — they reveal that customers value the product enough to pay a meaningful premium over its production cost. Always analyze gross margin within its industry context, always prioritize the trend, and always combine it with operating margin to understand the full profitability picture.