Back to Learn

What Is Gross Margin? How to Measure Pricing Power and Profitability

Fundamentals
8 min read
By ScreenerHub Team

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.

Gross Profit=RevenueCOGS\text{Gross Profit} = \text{Revenue} - \text{COGS}
Gross Margin=Gross ProfitRevenue×100\text{Gross Margin} = \frac{\text{Gross Profit}}{\text{Revenue}} \times 100

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.

Gross Profit=RevenueCOGS\text{Gross Profit} = \text{Revenue} - \text{COGS}
Gross Margin=Gross ProfitRevenue×100\text{Gross Margin} = \frac{\text{Gross Profit}}{\text{Revenue}} \times 100

Worked example — three hypothetical companies:

CompanyRevenueCOGSGross ProfitGross Margin
SaaS software$100M$12M$88M88%
Consumer goods$500M$325M$175M35%
Grocery retailer$2,000M$1,700M$300M15%

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 MarginWhat 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)

SectorTypical Gross MarginWhy
Software / SaaS65% – 85%Near-zero cost to deliver software to an additional user
Pharmaceuticals / Biotech55% – 80%High pricing power on patented or specialty drugs
Medical Devices50% – 70%High-value products protected by IP and regulatory moats
Financial Services40% – 60%Revenue is interest or fees; direct cost base is limited
Consumer Goods (branded)35% – 55%Brand premium over commodity production costs
Industrials20% – 35%Material-intensive, labour-intensive manufacturing
Retail20% – 35%High COGS from merchandise purchasing
Grocery / Food Retail20% – 30%High volume, minimal pricing premium over cost
Energy / Commodities15% – 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.

MetricWhat It DeductsWhat It Reveals
Gross MarginDirect production costs (COGS)Pricing power and production efficiency
Operating MarginCOGS + operating expenses (SG&A, R&D, depreciation)Core business profitability, excluding financing
Net Profit MarginAll costs, including interest and taxesFinal bottom-line profitability
EBITDA MarginCOGS + 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.

FilterSetting
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.

FilterSetting
Gross margin> 65%
Net incomePositive
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: