Gross Margin vs Operating Margin: What Investors Should Measure
September 17, 20268 min read

Gross Margin vs Operating Margin: What Investors Should Measure

Gross margin shows the economics of what a company sells. Operating margin shows what remains after running the business. Understanding the gap between them can reveal more than either number alone.

M

MOATEY Team

MOATEY Research

Gross margin and operating margin are two of the most commonly quoted profitability measures in fundamental analysis. They are also easy to blur together because both describe profit as a percentage of revenue.

The difference is important. Gross margin focuses on the direct economics of producing or delivering what a company sells. Operating margin goes further and includes the broader cost of running the business, such as research, marketing, administration and other operating expenses.

For a long-term investor, this means the two margins answer different questions. Gross margin helps you understand the economics of the product or service itself. Operating margin helps you understand whether the company can turn those economics into an efficiently run business.

What is gross margin?

The basic calculation is:

Gross margin = Gross profit / Revenue

Gross profit is revenue minus the direct cost of producing the goods or services sold. The SEC's guide to financial statements explains that gross profit is calculated after deducting cost of sales, before broader operating expenses such as administrative salaries, marketing and research costs.

If a company generates €100 of revenue and the direct cost of providing its product is €40, gross profit is €60 and gross margin is 60%.

That margin gives investors a first look at the economics of the company's offering. A high gross margin often means the incremental cost of delivering another unit of revenue is relatively low. A lower gross margin can indicate that materials, manufacturing, distribution, labor or infrastructure consume a larger share of each sales dollar.

Neither is automatically good or bad. A supermarket and a software company can both be excellent businesses while operating with completely different gross-margin structures. The useful comparison is usually with similar businesses and with the company's own history.

What is operating margin?

Operating margin moves further down the income statement:

Operating margin = Operating income / Revenue

After gross profit is calculated, the company still has to pay the expenses required to operate the wider organization. These can include sales and marketing, research and development, corporate salaries, rent and other operating costs. The SEC describes operating margin as the percentage of sales remaining after these operating expenses have been deducted.

Using the same example, imagine a company generates €60 of gross profit from €100 of revenue but spends €35 on research, marketing and administration. Operating income would be €25, producing a 25% operating margin.

The company's gross margin is still 60%. But shareholders do not receive 60 cents of operating profit for every euro of revenue because the organization itself costs money to run.

The gap between the two margins matters

One of the most useful ways to analyze profitability is not simply to look at gross margin and operating margin independently, but to study the distance between them.

Suppose two companies both have a 70% gross margin. Company A produces a 30% operating margin, while Company B produces only 10%. Their product-level economics may look similar, but the wider businesses clearly behave very differently.

Company B might spend much more on customer acquisition, product development or administration. Some of that spending may be wasteful. Some may also be rational investment in future growth.

The income statement does not answer that question by itself. It tells you where the money is being spent. Fundamental analysis has to determine whether those expenses are creating durable economic value.

Gross margin is often a clue to unit economics

Professor Aswath Damodaran has described high gross margins as evidence of favorable unit economics because relatively little additional cost is required to generate the next unit of revenue. His broader framework also distinguishes this from operating margin, which incorporates the wider cost structure of the business.

This makes gross margin especially useful when analyzing businesses where pricing power, product differentiation or low marginal production costs matter.

If gross margin consistently rises, several things may be happening. The company could be raising prices faster than input costs, improving its product mix, becoming more efficient or gaining purchasing power over suppliers.

If gross margin declines, the opposite may be happening. Input costs may be rising, competitive pricing pressure may be increasing or the company may be shifting toward lower-margin products.

The important word is consistently. A one-quarter change can reflect temporary inventory effects, currency movements or product timing. The multi-year direction usually tells a more useful story.

Operating margin tells you about the business model

Operating margin captures something broader. It shows how much of the gross profit survives after the company funds the organization required to generate and support its revenue.

This makes operating margin useful for studying scale.

Imagine revenue grows 15%, gross margin stays roughly unchanged and operating expenses grow only 5%. Operating margin should expand because the company's overhead is growing more slowly than revenue.

That can be evidence that the business is becoming more efficient as it scales.

The opposite can happen too. A company may maintain excellent gross margins while operating margin deteriorates because marketing, research or administrative spending grows faster than revenue.

The product may still be attractive. The economic machine surrounding it may simply be becoming more expensive.

High gross margins do not guarantee a great business

This is where gross margin is sometimes overinterpreted.

A company with an 80% gross margin can still lose money. If it needs enormous sales and marketing spending to acquire customers, or continuous research spending simply to remain competitive, the attractive gross margin may never translate into strong operating economics.

Conversely, a company with a modest gross margin can still produce excellent shareholder returns if it turns inventory quickly, operates with little capital and keeps overhead tightly controlled.

This is why fundamental analysis should rarely stop at one ratio. Margins are pieces of an economic system. The quality of the business depends on how revenue, costs, capital requirements, growth and competitive advantage interact.

Margin expansion is not always equally valuable

Investors also need to understand why a margin improved.

Suppose operating margin rises from 15% to 20%. That looks positive, but several very different paths can produce the same result.

The company may have become structurally more efficient. It may have raised prices because customers value the product more highly. Or it may simply have reduced spending on research, marketing or employee development.

The first two could improve the long-term economics of the business. The third might improve reported profitability today while weakening future growth.

Cost cutting is not automatically value creation.

A useful question is therefore not just whether operating margin improved, but whether the company strengthened the business while doing so.

Why industry comparisons require care

Margin levels vary enormously across business models.

Software companies can often produce very high gross margins because delivering another copy of software costs relatively little. Manufacturers have material and production costs. Retailers purchase inventory. Infrastructure businesses may have large depreciation charges associated with physical assets.

Comparing those businesses on gross margin alone tells you little.

Even accounting presentation can differ. Some companies report adjusted gross margins or adjusted operating margins that remove stock-based compensation, restructuring expenses or other items. SEC filings frequently include reconciliations because such non-GAAP measures can differ from standard accounting figures.

That does not make adjusted margins useless. It does mean investors should understand exactly what has been removed before comparing them with another company or with earlier periods.

Watch the trend, not only the level

A margin becomes much more informative when viewed through time.

Suppose a company has maintained a 60% gross margin for five years while operating margin rises steadily from 15% to 25%. That could indicate improving scale economics. The company is retaining roughly the same product-level economics while a larger portion of gross profit reaches operating income.

Now imagine gross margin falls from 60% to 50% while operating margin stays at 25%. The headline operating profitability has not deteriorated yet, but something inside the product economics may be changing.

Management might be offsetting weaker gross margins through cost reductions elsewhere. That can work for a period, but eventually there is a limit to how much overhead can be removed.

Looking at the two margins together helps investors see these shifts earlier.

Margin quality matters more than maximum margin

Investors sometimes assume that the highest possible margin is automatically the objective. In reality, companies frequently have profitable opportunities to accept lower margins in exchange for greater growth.

A business could lower prices to enter a new market, spend more heavily on product development or invest in sales capacity. Near-term operating margin may fall even if those investments eventually create considerable shareholder value.

This is why margin analysis needs context.

MOATEY's approach is to examine profitability alongside growth, financial health, management, moat evidence and valuation rather than treating any single profitability metric as a verdict. The underlying idea is simple: a company should not be judged by how attractive one line of its income statement looks in isolation.

Want to see how these pieces fit together in a full company analysis?

The MOATEY demo shows how fundamentals, growth, moat evidence and valuation are considered together rather than as isolated ratios.

See the MOATEY framework in practice

How to analyze gross margin and operating margin together

A useful starting point is to examine at least several years of both metrics. Look at whether gross margin is stable, expanding or contracting, then compare that with the direction of operating margin.

If gross margin is stable while operating margin expands, ask whether scale is improving. If gross margin expands but operating margin does not, investigate where the additional gross profit is being spent. If both margins deteriorate, determine whether the cause is temporary or structural.

Then compare the company with businesses that have genuinely similar economics. A peer comparison is far more useful when revenue recognition, capital intensity and product structure are broadly comparable.

Finally, connect margins to cash flow and capital requirements. A highly profitable income statement can still produce mediocre economics if maintaining the business requires enormous reinvestment.

The two margins answer different questions

Gross margin asks how attractive the economics of the product or service are before the wider organization is considered. Operating margin asks how much of that value survives after the company pays to run itself.

Neither metric is sufficient on its own. The most useful information often comes from understanding how they move relative to each other.

A widening spread can reveal rising operating costs. A narrowing spread can signal improving scale. Falling gross margins can expose pressure that cost cuts temporarily hide. Stable gross margins with expanding operating margins can show a business becoming more efficient as it grows.

The goal is not to find the company with the highest margin. It is to understand what the margins reveal about the economics underneath the business.