- 1Gross Margin = (Revenue - Cost of Goods Sold) ÷ Revenue × 100
- 2It measures how much of each revenue dollar survives the production process
- 3High gross margins signal pricing power and competitive advantage
- 4Always compare margins within the same industry — a 25% margin is exceptional in grocery but poor in software
- 5Margin trends matter more than absolute levels: expanding margins suggest strengthening competitive position
#What Is Gross Margin?
Gross margin is the percentage of revenue a company retains after subtracting the direct costs of producing its goods or services. Those direct costs — raw materials, manufacturing labor, factory overhead — are collectively called Cost of Goods Sold (COGS). Everything else the company spends (marketing, executive salaries, rent, R&D) comes later.
Gross Margin = (Revenue - COGS) ÷ Revenue × 100
If Apple sells an iPhone for $1,000 and it costs $400 to manufacture, the gross profit is $600 and the gross margin is 60%. That 60 cents on every dollar flows downstream to fund research, marketing, retail stores, and ultimately profits.
The calculation seems simple, but gross margin is one of the most revealing numbers in a financial statement. It strips away corporate overhead and financial engineering to expose the fundamental economics of a business: can this company charge meaningfully more than it costs to deliver the product?
#Why Gross Margin Is the Best Proxy for Pricing Power
Warren Buffett has long argued that the most important characteristic of a great business is the ability to raise prices without losing customers. Gross margin is the clearest quantitative expression of that idea.
Consider two companies with identical $1 billion revenues:
- Company A has a 75% gross margin — only $250 million goes to production costs
- Company B has a 20% gross margin — $800 million is consumed by production
Company A can absorb a 10% increase in input costs and still retain a 72.5% margin. Company B faced with the same cost increase sees its margin shrink to 12%, potentially threatening the entire business model.
This asymmetry is why investors obsess over margins. High-margin businesses have an enormous buffer against inflation, supply chain disruptions, and competitive pressure. Low-margin businesses operate on a knife's edge where small cost increases can eliminate profits entirely.
#Gross Margin by Industry
Gross margins vary dramatically by industry because the nature of "production" differs:
| Industry | Typical Gross Margin | Why |
|---|---|---|
| Software / SaaS | 70–90% | Near-zero marginal cost to serve additional users |
| Pharmaceuticals | 65–80% | High R&D costs but minimal manufacturing costs per pill |
| Luxury Goods | 60–75% | Brand premium far exceeds material costs |
| Semiconductors | 50–65% | Expensive fabs but high-value chips |
| Consumer Staples | 30–50% | Brand power varies; commoditized ingredients |
| Industrial Manufacturing | 25–40% | Physical production, raw materials, labor |
| Retail / E-commerce | 20–35% | Reselling products at a markup |
| Grocery | 25–30% | Extremely competitive, thin margins by design |
| Airlines | 15–25% | Fuel, labor, and maintenance dominate costs |
The critical lesson: never compare gross margins across industries. A 30% margin at a grocery chain like Costco represents operational excellence. The same 30% at a software company would signal a fundamentally broken business model.
#What Goes Into COGS?
Understanding what counts as a "cost of goods sold" is crucial for interpreting margins correctly:
Manufacturing Companies - Raw materials and components - Direct labor (assembly workers, not executives) - Factory overhead (utilities, equipment depreciation) - Shipping to distribution centers
Software Companies - Cloud hosting and infrastructure (AWS, Azure costs) - Customer support directly tied to the product - Third-party software licenses embedded in the product - Content acquisition costs (for media platforms)
Retail Companies - Purchase price of inventory from suppliers - Inbound freight and distribution - Shrinkage (theft, damage, spoilage)
One common pitfall: companies have some discretion in classifying costs as COGS versus operating expenses. A software company might classify certain engineering costs as COGS (reducing gross margin) or as R&D operating expenses (preserving gross margin). Always read the footnotes.
#Margin Trends: The Story Behind the Numbers
Absolute gross margin tells you the current state of a business. Margin trends tell you where it's heading. There are four scenarios every investor should understand:
1. Expanding Margins — The Best Signal
Rising gross margins typically mean the company is gaining pricing power, achieving economies of scale, or shifting toward higher-margin products. Adobe's transition from selling boxed software (one-time purchase) to a cloud subscription model lifted gross margins from roughly 85% to over 90% — the recurring revenue model reduced distribution costs while increasing per-customer revenue.
2. Stable Margins — Competitive Equilibrium
Consistent margins over time suggest a business operating within a stable competitive environment. This is common among consumer staples companies like Procter & Gamble, where brand loyalty and distribution scale create a durable but not expanding advantage.
3. Compressing Margins — Warning Sign
Declining gross margins often signal increasing competition, commoditization, or rising input costs that can't be passed to customers. If a company's margins compress for three or more consecutive quarters, investigate whether the competitive moat is eroding.
4. Volatile Margins — Commodity Exposure
Wild margin swings typically indicate dependence on commodity prices. Oil companies, miners, and agricultural businesses can see margins swing 20+ percentage points as input costs fluctuate beyond their control.
#Gross Margin and Competitive Advantage
Michael Porter's framework on competitive strategy maps directly to gross margins:
Cost Leadership companies (Walmart, Costco, Ryanair) deliberately accept low gross margins in exchange for massive volume. Costco operates on roughly a 13% gross margin — effectively capping its markup — because the strategy depends on membership fees and volume, not product margins.
Differentiation companies (Apple, LVMH, Hermès) command premium pricing because customers perceive unique value. Hermès achieves 70%+ gross margins on leather goods because the brand itself is the product, not the leather.
Niche / Focus companies (specialized medical devices, enterprise software for specific industries) often achieve the highest margins of all because they serve a concentrated market with few alternatives.
#The Link Between Gross Margin and Stock Returns
Academic research has established a direct connection between profitability and future stock performance. Robert Novy-Marx's 2013 paper in the Journal of Financial Economics demonstrated that gross profitability — gross profit divided by total assets — predicts stock returns as effectively as the classic book-to-market value factor.
His key insight was that profitable firms and value firms tend to look very different on the surface. Value stocks are often cheap because they have poor profitability. By combining both factors, investors can dramatically improve portfolio returns. A stock that is both cheap (high book-to-market) and profitable (high gross profitability) represents a rare and powerful combination.
This research directly influenced factor models used by institutions worldwide, including the Fama-French five-factor model which added a profitability factor in 2015.
#Common Mistakes When Analyzing Gross Margin
1. Ignoring Revenue Mix Effects
A company might show improving gross margins not because each product is more profitable, but because it's selling more of its high-margin products. If that mix shift reverses, margins fall even though nothing changed about individual product economics.
2. Confusing Gross Margin with Net Margin
A company with 80% gross margins might still lose money if it spends aggressively on sales, marketing, and R&D. Many high-growth SaaS companies have excellent gross margins but negative net income. Gross margin tells you about the product; net margin tells you about the business.
3. Not Adjusting for Stock-Based Compensation
Some companies exclude stock-based compensation from COGS, flattering their gross margins. If a significant portion of engineering salaries is paid in stock, the true "cost" of delivering the product is higher than COGS suggests.
4. Comparing Across Business Models
A marketplace business (Airbnb, eBay) might report only the commission as revenue, yielding an artificially high gross margin. A retailer reports total sales as revenue. The underlying economics might be similar, but the reported margins look dramatically different.
#Related Profitability Metrics
| Metric | Formula | What It Adds |
|---|---|---|
| Operating Margin | Operating Income ÷ Revenue | Adds overhead costs (R&D, SG&A) to the picture |
| Net Margin | Net Income ÷ Revenue | Includes interest, taxes — the true bottom line |
| EBITDA Margin | EBITDA ÷ Revenue | Operating profit before depreciation — common in M&A |
| Gross Profitability | Gross Profit ÷ Total Assets | Novy-Marx's factor — normalizes for asset base |
| Contribution Margin | (Revenue - Variable Costs) ÷ Revenue | Unit-level economics for startups |
Each metric adds a layer of complexity. Gross margin is the starting point — if a business can't generate attractive margins at the gross level, no amount of cost-cutting further down the income statement will save it.
#How We Use Gross Margin in Our Rankings
Gross margin is a foundational metric in our Profitability factor (weighted at 30% of the composite score). Specifically, we incorporate it through:
- Gross profitability (Novy-Marx methodology): Gross profit divided by total assets, which normalizes for company size and asset intensity
- Margin stability: Companies with consistent margins over five years receive higher scores than those with volatile margins, even if the average level is similar
- Industry-relative ranking: We compare margins within sector peer groups to avoid penalizing inherently lower-margin industries
Following Ball et al. (2016), we complement gross margin with cash-based operating profitability, which strips out accrual-based accounting adjustments to focus on actual cash generation. The combination of high gross margins and strong cash conversion is the hallmark of a truly exceptional business.
Last updated: February 11, 2026