What Is Gross Margin?
Gross margin is the percentage of revenue a company retains after paying only the direct costs of producing its goods or services — before operating expenses, interest, or taxes. It is the first test of a business's pricing power and production efficiency.
COGS (Cost of Goods Sold) covers the direct cost to produce what the company sold — raw materials, manufacturing labour, and direct production overhead. Everything else (salaries, marketing, rent, interest, taxes) comes lower in the income statement.
Gross margin answers one question: for every dollar of revenue, how much does the company keep before paying its overhead?
TL;DR: Gross margin measures how much profit a company earns on each dollar of sales after covering its direct production costs. A high gross margin (above 40%) signals pricing power and scalability. Use the Gross Margin filter on ScreenerHub to screen for capital-efficient, high-quality businesses — especially in software, pharmaceuticals, and branded consumer goods.
Why Gross Margin Matters for Investors
Gross margin reveals something fundamental about a business's economics — something that can't easily be managed or obscured, unlike net income.
Here's why it belongs in every quality screen:
- Pricing power signal. A company with a 70% gross margin charges far more than its production costs. That gap reflects a brand, a patent, a network effect, or some competitive advantage that lets it set prices — rather than accept them.
- Scalability indicator. High-margin businesses can grow revenue without proportionally growing costs. A software company adds a new customer at near-zero marginal cost. A manufacturer must buy more raw materials with every new order. These are structurally different businesses.
- Durability under stress. When a recession hits or input costs rise, high-margin businesses have more room to absorb pressure or cut prices to defend market share. A company operating on a 10% gross margin has almost no buffer.
- Foundation for all downstream profitability. You cannot build a 20% net profit margin on top of a 15% gross margin — the arithmetic doesn't allow it. Gross margin sets the ceiling for every profitability metric below it on the income statement.
How Gross Margin Is Calculated
Gross margin is calculated in two steps: first compute gross profit, then express it as a percentage of revenue.
Worked example — three hypothetical companies:
| Company | Revenue | COGS | Gross Profit | Gross Margin |
|---|---|---|---|---|
| SaaS software | $100M | $12M | $88M | 88% |
| Consumer goods | $500M | $325M | $175M | 35% |
| Grocery retailer | $2,000M | $1,700M | $300M | 15% |
All three companies can be profitable. But the software company reaches that profitability far sooner as it scales — its fixed overhead is covered by a much smaller revenue base because so much of each dollar earned flows through as gross profit.
What Is a Good Gross Margin?
Gross margin benchmarks differ so dramatically between industries that cross-sector comparisons are almost meaningless. Always compare against sector peers.
Interpretation guide
| Gross Margin | What It Usually Signals |
|---|---|
| Above 60% | Exceptional. Typical of software, biotech, luxury brands, and asset-light platforms. |
| 40% – 60% | Strong. Financial services, medical devices, branded consumer goods. |
| 25% – 40% | Moderate. Industrial goods, diversified consumer companies. |
| 10% – 25% | Thin. Wholesale, distribution, commodity-oriented manufacturing. |
| Below 10% | Very thin. Grocery retail, commodity trading — high-volume, low-markup models. |
Sector benchmarks (approximate U.S. market averages)
| Sector | Typical Gross Margin | Why |
|---|---|---|
| Software / SaaS | 65% – 85% | Near-zero cost to deliver software to an additional user |
| Pharmaceuticals / Biotech | 55% – 80% | High pricing power on patented or specialty drugs |
| Medical Devices | 50% – 70% | High-value products protected by IP and regulatory moats |
| Financial Services | 40% – 60% | Revenue is interest or fees; direct cost base is limited |
| Consumer Goods (branded) | 35% – 55% | Brand premium over commodity production costs |
| Industrials | 20% – 35% | Material-intensive, labour-intensive manufacturing |
| Retail | 20% – 35% | High COGS from merchandise purchasing |
| Grocery / Food Retail | 20% – 30% | High volume, minimal pricing premium over cost |
| Energy / Commodities | 15% – 35% | Volatile input costs, price-taker environment |
A 30% gross margin is excellent for a retailer and a concern for a software company. Context is everything.
<!-- [SCREENSHOT: ScreenerHub Studio — Gross Margin filter set to > 65%, showing results panel filtered to high-margin software and pharmaceutical companies] -->
Gross Margin vs. Related Profitability Metrics
Gross margin is only the first stop on the income statement waterfall. Understanding how it relates to other margins gives you the full profitability picture.
| Metric | What It Deducts | What It Reveals |
|---|---|---|
| Gross Margin | Direct production costs (COGS) | Pricing power and production efficiency |
| Operating Margin | COGS + operating expenses (SG&A, R&D, depreciation) | Core business profitability, excluding financing |
| Net Profit Margin | All costs, including interest and taxes | Final bottom-line profitability |
| EBITDA Margin | COGS + cash operating expenses (excludes D&A) | Cash earnings power; popular in buyout analysis |
The key insight: The gap between gross margin and operating margin reveals how much a company spends on overhead — sales, marketing, R&D, and administration. A business with 80% gross margins but only 10% operating margins is spending heavily on growth. That can be rational (early-stage SaaS investing in customer acquisition) or a warning sign (a mature business with bloated fixed costs that isn't scaling as expected).
When Gross Margin Misleads
Like every metric, gross margin has blind spots worth knowing before you screen:
- Accounting classifications vary. What one company counts as COGS, another may classify as an operating expense — artificially inflating reported gross margin while hiding costs further down the income statement. Check accounting policies before comparing margins across companies.
- Gross margin ≠ profitability. A company with a 90% gross margin can still be deeply unprofitable if it spends most of that on R&D and marketing. Always look at operating margin and net margin alongside gross margin.
- Blended margins hide segment economics. A manufacturer that also sells software subscriptions may report blended margins that are hard to interpret without segment-level data. Apple's reported gross margin blends hardware (~35%) and services (~70%+) — the company-level number understates how valuable the services segment actually is.
- Commodity input cost swings. A manufacturer's gross margin can compress sharply when raw material prices spike, even if the underlying business is unchanged. Compare margin trends over a full cycle, not just the most recent quarter.
How to Screen Using Gross Margin on ScreenerHub
Gross margin becomes a powerful screening tool when combined with other filters. Here are three practical setups:
Screener 1: High-quality compounders
Find businesses with exceptional economics and meaningful scale.
| Filter | Setting |
|---|---|
| Gross margin | > 50% |
| Revenue growth (1Y) | > 10% |
| Market cap | > $1B |
High gross margins combined with sustained revenue growth are the signature of a genuine compounder — a business that becomes more valuable as it scales because each incremental dollar of revenue costs very little to generate.
Screener 2: SaaS and software quality filter
Target capital-efficient software businesses with proven unit economics.
| Filter | Setting |
|---|---|
| Gross margin | > 65% |
| Net income | Positive |
| Market cap | > $500M |
Software companies with margins above 65% and positive net income are past the high-spending growth phase and have begun to demonstrate operating leverage — a powerful setup for long-term compounding.
<!-- [SCREENSHOT: ScreenerHub Studio — Gross Margin > 65% and Net Income Positive filters active, showing filtered results list] -->
Try it now: Open ScreenerHub Studio, add a Gross Margin filter, and see which companies in any sector command the strongest production economics.
Frequently Asked Questions
What is the difference between gross margin and gross profit?
Gross profit is an absolute dollar figure: Revenue minus COGS. Gross margin expresses that same figure as a percentage of revenue. Gross margin is the better tool for comparing companies of different sizes — a 50% gross margin means the same thing whether the company generates $10M or $10B in revenue.
Is a higher gross margin always better?
Within the same industry, yes — a higher gross margin generally signals better pricing power or lower production costs. Across industries, direct comparisons are misleading. A 30% gross margin in grocery retail is excellent; the same figure in software would raise serious questions about the business model.
Can gross margin be negative?
Yes. If COGS exceeds revenue, gross margin is negative. This can occur when a company sells products below cost — sometimes deliberately during a market entry phase, or during an inventory write-down. A persistently negative gross margin signals a fundamentally broken cost structure.
Why do software companies have such high gross margins?
Software has near-zero marginal cost of delivery. Once a product is built, adding another user costs almost nothing — there are no raw materials, no factory, no warehouse. COGS for a software company is primarily cloud hosting infrastructure and customer support, which remains a small fraction of revenue even as the business scales significantly.
Keep Learning
Gross margin is the starting point of the profitability waterfall. Follow it deeper:
- What Is Revenue? — The top line that gross margin is calculated from.
- What Is Net Income? — The full profitability picture after all costs, not just production costs.
- What Is the P/E Ratio? — Valuation built on earnings, which starts with gross profit.
- What Is Stock Screening? — How to combine gross margin with other filters into a complete investment strategy.
- Screener Studio — Filter stocks by gross margin right now.