Gross Margin
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 × 100
Or equivalently: Gross Margin = Gross Profit / Revenue × 100
What It Means
Gross margin is the single most revealing metric about a business's fundamental economics. It answers: 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 is in a commoditized, competitive market where margins are squeezed and efficiency is everything.
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.
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
| Industry | Typical Gross Margin | Key Driver |
|---|---|---|
| Software (SaaS) | 65-85% | Near-zero marginal cost to add users |
| Pharmaceuticals | 60-80% | Patent protection; minimal COGS vs. selling price |
| Medical devices | 50-70% | Proprietary technology; high switching costs |
| Consumer brands | 40-60% | Brand premium over commodity ingredients |
| Semiconductors (fabless) | 45-65% | IP-heavy; outsourced manufacturing |
| Aerospace & defense | 15-25% | Complex manufacturing; cost-plus contracts |
| Restaurants | 60-75% (on food only) | ~25-40% on total revenue after labor |
| Automotive | 10-20% | High materials cost; competitive pricing |
| Grocery retail | 22-28% | High volume, thin margins |
| Airlines | 15-25% | Fuel cost dominates |
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 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 cause |
| Sudden drop | Loss of pricing power; new competitor; contract renegotiation | Red flag — urgent investigation |
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.
Gross Margin and Competitive Moat
Sustainably high gross margins indicate a competitive moat — 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 | 40-45% |
| Patent protection | Pfizer (on-patent drug) | 70-85% |
| Cost advantage | Walmart (vs. small retailers) | 24% (but operational leverage compensates) |
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 — measures 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 — the ability to charge more than production costs
- Declining gross margins are a major warning sign — investigate whether it is temporary or structural
- Gross margin determines the ceiling for all downstream profitability — it is the first and most important margin
- Compare gross margins within an industry — cross-industry comparisons are not meaningful
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 built, serving one additional customer costs almost nothing. This is the "winner-take-most" dynamic — high margins, scalable with minimal COGS growth, justifying high valuation multiples.
Q: Can a company have a negative gross margin? A: Yes, though rarely sustainable. Some early-stage companies (especially in hardware or heavy subsidization situations) sell below cost to gain market share. Amazon's early e-commerce operations occasionally ran negative gross margins in specific categories. Persistent negative gross margins suggest the business model does not work economically.
Q: What is a "good" gross margin? A: 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.
Related Terms
Gross Profit Margin
Gross profit margin measures the percentage of revenue remaining after subtracting the cost of goods sold — revealing how efficiently a company produces its products and how much money is available to cover operating expenses and generate profit.
Contribution Margin
Contribution margin is the amount of revenue remaining after subtracting variable costs — showing how much each dollar of sales contributes toward covering fixed costs and generating profit.
Income Statement
An income statement reports a company's revenues, expenses, and profits over a specific period, showing whether the business earned or lost money and how efficiently it converted revenue into profit.
Economies of Scale
Economies of scale occur when a company's cost per unit decreases as output increases — giving larger producers a structural cost advantage over smaller competitors and creating a powerful barrier to entry.
Economic Moat
An economic moat is a sustainable competitive advantage that protects a company's profits from being eroded by competitors — the wider the moat, the longer the company can maintain above-average returns on capital.
Alpha
Alpha measures the excess return an investment generates above what its market risk (beta) would predict, representing the value added by a portfolio manager's skill or a stock's independent performance.
Related Articles
How to Stop Comparing Your Money to Other People's
Financial comparison is invisible, constant, and expensive. Here's why your brain does it automatically, what it costs you, and how to actually break the habit.
How Much Should a Teenager Save Each Month?
There's no single right answer — but there is a simple framework. Here's how to figure out the right savings amount for your income, goals, and situation.
How to Negotiate Your First Salary (And Why It Matters for Retirement)
Most people accept the first offer they get. That single decision can cost them hundreds of thousands of dollars over a career. Here's how to negotiate — and why the stakes are higher than they appear.
Fractional Shares Explained: How to Invest in Amazon With $10
Fractional shares let you buy a slice of any stock or ETF regardless of its price. Here is how they work, which brokerages offer them, and when they actually matter for your portfolio.
Social Security at 62 vs 67 vs 70: Which Age Is Right for You?
Claiming Social Security at the wrong age can cost you tens of thousands of dollars over your lifetime. Here's the complete breakdown of what each age means in real dollars — and how to decide.
