What are gross, operating and net margin?
They are three profit percentages, each measured as a share of revenue (sales). Each one subtracts more costs, so each answers a different question about where profit is made or lost.
| Margin | Formula | Costs removed | Question it answers |
|---|---|---|---|
| Gross margin | (Revenue minus COGS) / Revenue | Direct cost of making the product (COGS, cost of goods sold) | Is the product itself profitable? |
| Operating margin | Operating income / Revenue | COGS plus R&D, sales, marketing and admin costs | Is the whole business run efficiently? |
| Net margin | Net income / Revenue | Everything above plus interest and taxes | What do shareholders end up with? |
All three come from the income statement in a company's 10-K (annual) or 10-Q (quarterly) filing with the SEC. Some companies report cost of revenue instead of COGS, and a few banks and insurers do not report a gross margin at all.
How do you calculate each margin? A worked example
Take a made-up company with $1,000 million in revenue. The numbers are invented to show the arithmetic.
- COGS: $400 million. Gross profit is $1,000 minus $400 = $600 million. Gross margin is 600 / 1,000 = 60%.
- Operating expenses (R&D, sales, admin): $450 million. Operating income is $600 minus $450 = $150 million. Operating margin is 15%.
- Interest expense: $20 million. Taxes: $26 million. Net income is $150 minus $20 minus $26 = $104 million. Net margin is 10.4%.
The 60% gross margin looks great, but only 10.4 cents of each sales dollar reaches shareholders. The largest drop (45 points) happens between gross and operating, so overhead is where this business spends its money.
What is a good gross margin?
There is no universal good number, because it depends on the industry. A grocer and a software company have very different cost structures.
Here are current medians across large US stocks by sector:
| Sector | Gross margin | Operating margin | Net margin |
|---|---|---|---|
| Technology | 61.5% | 15.9% | 11.3% |
| Consumer Defensive | 33.8% | 11.2% | 4.1% |
| Financial Services | 63.6% | 21.6% | 20.0% |
A company is good or weak only relative to peers. See the full list on the sector benchmarks page.
High gross margin often means pricing power or very cheap delivery, as with software. Low gross margin means a volume business, as with food retail. Neither is better on its own, since low-margin businesses can earn good returns by selling a lot.
What does operating margin tell you?
Operating margin shows how much profit the core business makes after paying for everything needed to run it. It ignores how the company is financed, which makes it the cleanest margin for comparing companies in the same industry.
It also reveals operating leverage. If sales grow 20% but costs grow only 10%, the operating margin widens because many costs (rent, salaries, software) do not rise one for one with sales.
Example: sales go from $1,000 to $1,200 million while operating costs go from $850 to $935 million. Operating income rises from $150 to $265 million, so the margin moves from 15.0% to about 22.1%.
The all-company median operating margin is currently 16.2%.
What does net margin tell you?
Net margin is the share of revenue left as profit for shareholders after every cost, including interest and taxes. It is the figure behind earnings per share and the P/E ratio.
It is also the noisiest margin. Interest costs rise with debt, tax rates change, and one-time items such as lawsuit settlements, asset sales or restructuring charges can swing a single quarter. A jump in net margin with no change in operating margin usually came from a one-off or a tax change, not better operations.
For more on how these profit lines relate to cash, see free cash flow and EBITDA.
How do you read margin trends?
Look at three to five years of each margin, not one quarter. Direction and cause matter more than the level.
| Pattern | Possible meaning | What to check |
|---|---|---|
| Gross margin up | Pricing power, cheaper inputs or richer product mix | Did management explain the cause? |
| Gross margin down | Price cuts, rising input or labor costs | Are rivals cutting prices? |
| Gross flat, operating up | Operating leverage or cost cuts | Are cuts hurting future growth? |
| Gross up, operating down | Heavy spending on growth | Is revenue growth rising to match? |
| Operating flat, net down | More debt interest or higher tax rate | Check the interest and tax lines |
Margins that rise because of lasting advantages, such as brand or switching costs, are worth more than margins lifted by a temporary cost dip. The moat analysis guide covers how to tell the difference.
Where do margins mislead? Limits and common mistakes
Margins are ratios, so they hide size and capital needs. Watch for these traps:
- Comparing across industries. A 4% net margin can be normal for a grocer and weak for a software company. Always compare with sector peers.
- Assuming high gross margin means high profit. A company can have a 80% gross margin and still lose money if sales and marketing eat everything above it.
- Ignoring one-time items. Read the footnotes in the 10-K. Restructuring, impairments and legal charges can distort operating and net margin. See the 10-K guide.
- Ignoring capital needs. Two firms with the same operating margin can differ greatly if one needs far more equipment and factories to earn it. Margins do not show this, but cash flow and return on equity help.
- Different definitions. Companies place some costs (such as depreciation or shipping) in COGS or in operating expenses differently, so gross margins are not always perfectly comparable.
- Financial companies. Banks and insurers do not have a normal COGS, so gross margin has little meaning for them.
What this means for you
When you look at a stock in your brokerage account, spend five minutes on margins before anything else.
- Pull the last four to five years of gross, operating and net margin from the income statements.
- Compare each with two or three direct competitors, not with the whole market.
- Note which margin moved. If gross is stable but operating is falling, the problem is spending, not the product.
- Read the management discussion in the latest 10-K for the reason behind any change of more than a couple of points.
- Check for one-time items before trusting a strong or weak net margin.
Cluenex scores business quality from 0 to 10 against the company's own industry, using four checks that include profitability, so a margin is judged against peers rather than in isolation. Each stock's free page at cluenex.com/stocks/ shows it, and the glossary explains each number in plain words.