HomeGlossary › Gross Margin

Gross Margin

Gross margin is the percentage of revenue a company retains after subtracting the direct costs of producing its goods or services (cost of goods sold). It’s the first profitability checkpoint on the income statement — and often the most revealing.

Why Gross Margin Matters

Gross margin tells you how efficiently a company turns raw inputs into revenue. A high gross margin means the business has strong pricing power, low production costs, or both. A low or shrinking margin is an early warning sign — it signals that costs are eating into revenue before operating expenses, interest, or taxes even enter the picture.

It’s also one of the stickiest financial characteristics of a business. A company’s operating margin or net margin can swing with one-time charges or tax changes, but gross margin tends to reflect the fundamental economics of the product or service itself.

Gross Margin Formula

Gross Margin Gross Margin = (Revenue − Cost of Goods Sold) ÷ Revenue × 100

The numerator — Revenue minus COGS — is called gross profit. Gross margin simply expresses that dollar figure as a percentage of revenue, which makes it easy to compare across companies of different sizes.

How to Calculate Gross Margin — Example

Say a company reports the following on its income statement:

Line ItemAmount
Revenue$800,000
Cost of Goods Sold$320,000
Gross Profit$480,000
Calculation Gross Margin = $480,000 ÷ $800,000 × 100 = 60%

For every dollar of revenue, the company keeps $0.60 after covering the direct cost of what it sells. The remaining 60 cents has to cover operating expenses, interest, taxes, and — hopefully — leave some profit for shareholders.

Gross Margin vs. Gross Profit

People mix these up constantly. Gross profit is a dollar amount ($480,000 in the example above). Gross margin is a percentage (60%). The margin version is far more useful for comparisons because a $10 billion company and a $100 million company can have identical gross margins but wildly different gross profit figures.

Gross Margin by Industry

There is no universal “good” gross margin — it depends entirely on the business model. Here are typical ranges:

IndustryTypical Gross Margin
Software / SaaS70–85%
Pharmaceuticals60–80%
Consumer Brands40–60%
Industrial Manufacturing25–40%
Grocery Retail25–35%
Airlines15–25%

A 30% margin might look weak for a software company but outstanding for a grocery chain. Always benchmark against sector peers.

What Drives Gross Margin Up or Down

Several forces push on gross margin, and understanding them helps you separate structural advantages from temporary fluctuations:

Margin DriverImpact
Pricing powerCompanies that can raise prices without losing customers enjoy expanding margins
Input costsRising raw material, labor, or shipping costs compress margins
Product mixShifting toward higher-margin products lifts the blended margin
Scale efficienciesHigher production volumes can reduce per-unit costs
CompetitionPrice wars and commoditization erode margins over time
Analyst Tip
Watch the gross margin trend over 3–5 years, not just the latest quarter. A steadily declining gross margin often signals structural pricing pressure that operating leverage can’t fix — no amount of cost-cutting below the gross profit line will save a business that’s losing ground on its core economics.

How Gross Margin Connects to Other Margins

Gross margin is the top of the profitability waterfall. It flows into the other key margin metrics:

MetricWhat It Deducts Beyond Gross Margin
Operating MarginSG&A, R&D, depreciation & amortization
EBIT MarginSame as operating margin in most cases
Net MarginInterest, taxes, and all other expenses

If gross margin is healthy but operating margin is thin, the company has a cost problem below the gross profit line — bloated SG&A, excessive R&D spending, or heavy depreciation. If gross margin itself is weak, the issue is more fundamental: pricing, input costs, or the business model itself.

Limitations of Gross Margin

Gross margin has blind spots. It doesn’t account for operating expenses, so a company with a beautiful 75% gross margin could still be unprofitable if it spends recklessly on sales, marketing, or R&D. It also doesn’t reflect capital expenditures or working capital needs — two cash drains that matter enormously for capital-intensive businesses.

Also be aware that companies classify COGS differently. Some bury depreciation inside COGS while others put it in operating expenses, which can distort peer comparisons if you don’t standardize.

Key Takeaways

  • Gross margin = (Revenue − COGS) ÷ Revenue. It’s your first read on a business’s core economics.
  • It reflects pricing power and production efficiency — the forces hardest for management to fake.
  • Always compare within the same industry. A 30% margin can be great or terrible depending on the sector.
  • Trend matters more than any single quarter — watch for sustained expansion or compression.
  • Pair gross margin with operating margin and net margin to trace where profitability leaks occur.

Frequently Asked Questions

What is a good gross margin?

It depends on the industry. Software companies typically run 70–85%, while grocery retailers hover around 25–35%. A “good” margin is one that’s at or above the median for the company’s sector and stable or expanding over time.

What’s the difference between gross margin and net margin?

Gross margin only subtracts the direct cost of producing goods (COGS). Net margin subtracts everything — operating expenses, interest, taxes, and any other costs. Net margin is always lower than gross margin because it captures the full cost structure.

Can gross margin be over 100%?

No. Since gross margin is (Revenue − COGS) ÷ Revenue, it can never exceed 100%. A gross margin near 100% simply means the cost of goods sold is negligible relative to revenue — common in pure digital or licensing businesses.

Why would gross margin decline?

Common reasons include rising input costs (raw materials, labor, logistics), pricing pressure from competitors, a shift toward lower-margin products in the sales mix, or loss of economies of scale due to falling volumes.