Gross Margin Analysis
A gross margin is the percentage of revenue remaining after subtracting the cost of goods sold (COGS), revealing the profit available to cover operating expenses, taxes, and capital returns. Analyzing it across time and peers uncovers shifts in manufacturing efficiency, pricing power, and competitive position.
The arithmetic and what it signals
Gross margin is one of the cleanest metrics in financial analysis because it captures only direct production costs—materials, labor, energy, packaging—and nothing else. A company with 40% gross margin keeps 40 cents of every sales dollar before paying rent, salaries, R&D, or debt service.
The metric strips away operational overhead to isolate manufacturing health. A retailer buying merchandise at $50 and selling at $100 has a 50% gross margin, independent of whether it leases stores in expensive downtowns or runs a lean warehouse operation. Those efficiency differences show up downstream in operating margin and net profit margin, not in gross margin.
Comparing gross margins across competitors reveals who is winning on cost control. If Competitor A runs 45% gross margin while Competitor B runs 38%, and their sales are otherwise similar, A has an advantage: lower input costs, better supply-chain efficiency, or stronger pricing leverage—or some combination.
Margin erosion and input cost inflation
Gross margin often compresses first when input costs rise (raw materials, labor) faster than companies can raise prices. During commodity spikes, gross margins of industrial manufacturers and packaged-food companies typically fall 2–5 percentage points as their COGS climbs.
The reverse happens when commodity prices fall. In 2015–2016, oil plummeted, and energy-intensive manufacturers and shipping companies saw gross margins expand because their fuel and materials costs dropped faster than they could lower prices. A year later, as prices stabilized, margins settled at new equilibrium levels.
This dynamic is critical in fundamental analysis. A company with shrinking gross margins is losing pricing power—a sign of increasing competition, commoditization, or weak demand. A company with expanding margins is either benefiting from operational improvements (automation, better supply chains) or gaining pricing power (brand strength, monopoly position, shifts in customer demand toward higher-value products).
Mix effects and product shifts
Gross margins can also shift because of changes in the mix of what a company sells. A software vendor might have 70% margins on licenses but only 45% on services. If the company shifts from selling pure licenses (high margin) to bundled services (lower margin), overall gross margin falls even if unit economics on each product remain unchanged.
These mix effects can mislead. A declining gross margin might not signal weakness if it’s driven by deliberate moves into higher-volume, lower-margin products—especially if revenue growth accelerates and return on equity improves. Conversely, rising margins might mask slowing revenue if the company is simply cutting unprofitable sales.
Sector benchmarks
Gross margins vary wildly by industry:
- Software: 80%+ (mostly fixed costs, minimal COGS)
- Pharma: 70%+ (patent protection, high prices)
- Semiconductor: 40–60% (capital-intensive manufacturing)
- Packaged food: 30–45% (tight commodity margins)
- Discount retail: 15–25% (high volume, low margin model)
- Grocery: 20–30% (same dynamic as discount retail)
Comparing a retailer’s 22% margin to a software company’s 85% margin tells you nothing. But comparing two retailers or two software companies against their own history and peers tells you plenty about relative competitive strength.
Analysis tips
Watch for margin inflection points. A company that has held 40% margins for five years, then drops to 38%, usually signals a structural change—new competition, loss of a major customer, shift in product mix, or rising input costs. Similarly, a sudden margin expansion (without obvious explanation) warrants skepticism: it often fades once the market reprices or competition responds.
When drilling into earnings, examine gross profit in absolute dollars alongside the percentage. A company that grows revenue 20% but gross profit only 5% is losing margin and absolute profitability—worse than a company that holds margins flat.
For valuation, margin trends matter more than absolute levels. A company with low but stable margins and strong return on capital employed may be more valuable than a higher-margin business with declining returns.
Closely related
- Operating margin — Profit after operating expenses, not just COGS.
- Net profit margin — Bottom-line profitability after all costs and taxes.
- Cost of goods sold — The denominator in the calculation.
Wider context
- Profitability factor — Margin trends as a stock factor.
- Dupont analysis — Framework relating margins to returns on equity.
- Earnings quality — Using margin trends to assess sustainability of profits.