Gross Margin
Quick Definition
Gross margin is the percentage of revenue that remains after subtracting the Cost of Goods Sold (COGS). It measures how much of each revenue dollar the company retains before paying operating expenses like salaries, rent, and marketing.
Gross Margin = (Revenue - COGS) / Revenue x 100
Or equivalently: Gross Margin = Gross Profit / Revenue x 100
What It Means
Gross margin is the single most revealing metric about a business's fundamental economics. It answers a direct question: how much does it cost to make what you sell, and how much do you keep?
A high gross margin means the company adds substantial value beyond its direct production costs. This is the hallmark of a business with pricing power, one whose customers are not purely price-sensitive. Low gross margins mean the company operates in a commoditized, competitive market where efficiency is everything and margins are squeezed.
Gross margin is also the foundation of all downstream profitability. A company with 70% gross margins has $0.70 of every revenue dollar to fund operations, R&D, marketing, and profit. A company with 10% gross margins has only $0.10. No amount of cost-cutting downstream can compensate for a thin gross margin.
Gross Margin Calculation
Example: Two companies, same revenue, different models:
| Metric | Company A (Software) | Company B (Grocery Retail) |
|---|---|---|
| Revenue | $100M | $100M |
| COGS | $15M | $72M |
| Gross Profit | $85M | $28M |
| Gross Margin | 85% | 28% |
Both generate $100M in revenue, but Company A has $85M left to cover all other expenses and generate profit. Company B has only $28M. The business model determines the margin ceiling.
Gross Margins by Industry (2026 Benchmarks)
The following benchmarks come from NYU Stern's Damodaran database, which aggregates U.S. public-company sector data as of January 2026:
| Industry | Gross Margin Benchmark | Key Driver |
|---|---|---|
| Software (System & Application) | 71.7% | Near-zero marginal cost to add users |
| Pharmaceuticals | 71.7% | Patent protection; minimal COGS vs. selling price |
| Semiconductor | 59.0% | IP-heavy; outsourced manufacturing |
| Hotel/Gaming | 60.9% | Service-driven; low direct cost per room night |
| Cable TV | 62.9% | Infrastructure already built; incremental cost minimal |
| Healthcare Products | 54.0% | Proprietary technology; high switching costs |
| Apparel | 56.9% | Brand premium over commodity materials |
| Oil/Gas (Production and Exploration) | 57.2% | Commodity price minus extraction cost |
| Entertainment | 41.4% | Content creation cost spread across distribution |
| Education | 45.8% | Labor-intensive but scalable delivery |
| Restaurant/Dining | 32.2% | Food cost plus direct labor |
| Retail (General) | 33.2% | Competition compresses margins |
| Retail (Grocery and Food) | 26.3% | High volume, thin margins |
| Aerospace/Defense | 17.5% | Complex manufacturing; cost-plus contracts |
| Auto & Truck | 10.4% | High materials cost; competitive pricing |
| Food Wholesalers | 15.4% | Distribution margin only |
Source: NYU Stern, Damodaran Online, "Margins by Sector (US)", data as of January 2026.
The total market excluding financials has a gross margin of 34.4%. That means the average non-financial public company keeps about $0.34 of every revenue dollar after direct production costs.
Gross Margin Trends: What Changes Mean
| Trend | Possible Causes | Investor Interpretation |
|---|---|---|
| Expanding gross margin | Pricing power; operational efficiency; favorable input costs; mix shift to higher-margin products | Positive: business is improving |
| Stable gross margin | Consistent competitive position; costs and prices moving together | Neutral: steady state |
| Contracting gross margin | Input cost inflation; pricing pressure; competition; mix shift to lower-margin products | Warning: investigate the cause |
| Sudden drop | Loss of pricing power; new competitor; contract renegotiation | Red flag: urgent investigation needed |
A rising gross margin over several years is one of the strongest signals a business is gaining competitive strength. A falling gross margin, even if absolute profit dollars are growing, can signal that the company is sacrificing pricing power for volume.
Gross Margin vs. Operating Margin vs. Net Margin
| Metric | What It Measures | Deducts From Revenue |
|---|---|---|
| Gross Margin | Core production efficiency | COGS only |
| Operating Margin | Operating efficiency | COGS + SG&A + R&D |
| Net Margin | Total profitability | All expenses, taxes, interest |
Full income statement margin waterfall:
| Line Item | $ Amount | Margin |
|---|---|---|
| Revenue | $500M | 100% |
| COGS | -$175M | |
| Gross Profit | $325M | 65% |
| SG&A | -$150M | |
| R&D | -$50M | |
| Operating Income (EBIT) | $125M | 25% |
| Interest & Other | -$15M | |
| Tax | -$27.5M | |
| Net Income | $82.5M | 16.5% |
A company can have a high gross margin but poor operating margin if SG&A and R&D are excessive. This is common in early-stage SaaS companies that spend heavily on customer acquisition.
Gross Margin and Competitive Moat
Sustainably high gross margins indicate a competitive moat, meaning a durable advantage that prevents competition from eroding pricing power:
| Moat Type | Example | Gross Margin |
|---|---|---|
| Network effect | Microsoft Office | 65-70% |
| Switching costs | Salesforce CRM | 70-75% |
| Brand loyalty | Apple | 44-46% |
| Patent protection | Pfizer (on-patent drug) | 70-85% |
| Cost advantage | Walmart (vs. small retailers) | 24% (but operational leverage compensates) |
Warren Buffett has cited durable competitive advantage as a primary reason for selecting companies. High, stable gross margins are one of the clearest indicators of that moat. A company that can maintain 60%+ gross margins over a decade is doing something competitors cannot easily replicate.
Gross Margin vs. Contribution Margin
These are related but different:
| Metric | Includes Fixed Costs? | Use |
|---|---|---|
| Gross Margin | GAAP: may include some fixed manufacturing overhead | Financial reporting; comparability |
| Contribution Margin | No fixed costs, only variable costs | Internal breakeven and pricing analysis |
For financial analysis and stock research, gross margin is used. For pricing decisions and breakeven analysis within a business, contribution margin is more precise.
Key Points to Remember
- Gross margin = (Revenue - COGS) / Revenue, measuring the efficiency of core production
- Software and pharma have the highest gross margins (65-85%); retail and automotive have the lowest (10-28%)
- High gross margin signals pricing power and competitive moat
- Declining gross margins are a major warning sign: investigate whether the cause is temporary or structural
- Gross margin determines the ceiling for all downstream profitability
- Compare gross margins within an industry: cross-industry comparisons are not meaningful
Common Mistakes to Avoid
- Comparing gross margins across industries: A 30% gross margin means something completely different at Walmart vs. a software company. Always benchmark against industry peers.
- Ignoring COGS accounting choices: Companies have flexibility in what they classify as COGS vs. operating expenses. Two companies in the same industry may report different gross margins simply because they categorize costs differently. Check the income statement footnotes.
- Treating gross margin in isolation: Always analyze operating margin and net margin alongside gross margin. A company with 80% gross margins that spends 85% of revenue on sales and marketing is losing money.
- Overlooking margin trends: A 50% gross margin that used to be 60% tells a different story than a 50% margin that has been consistently rising from 40%. The direction matters more than the absolute level.
Frequently Asked Questions
Q: Why do SaaS companies have such high gross margins? A: Software can be replicated and distributed digitally at near-zero marginal cost. Once the product is built, serving one additional customer costs almost nothing. This is why software companies command the highest gross margins of any industry and justify high valuation multiples.
Q: Can a company have a negative gross margin? A: Yes, though it is rarely sustainable. Some early-stage companies, especially in hardware, sell below cost to gain market share. Persistent negative gross margins suggest the business model does not work economically.
Q: What is a "good" gross margin? A: It is entirely industry-dependent. A 25% gross margin is excellent for a grocery chain and catastrophic for a software company. Always benchmark against industry peers and historical trends for the specific company. You can use the ROI metric alongside gross margin to assess whether the business is generating adequate returns on invested capital.
Q: Where can I find a company's gross margin? A: The income statement in a company's 10-K annual report or 10-Q quarterly report filed with the SEC shows revenue and COGS. Subtract COGS from revenue to get gross profit, then divide by revenue. Financial data sites like Macrotrends, Stock Analysis, and Morningstar pre-calculate gross margins for easy comparison.






