Two companies sell to the world. On every dollar of sales, Nvidia keeps about 75 cents before any other cost; the grocery chain Kroger keeps roughly 23. Same economy, same customers with the same wallets — a 50-cent gap in what each sale is worth. That single number is gross margin, and once you learn to read it, you can size up a company's pricing power in about ten seconds.
This is gross margin explained the way a fundamental analyst actually uses it: the formula, what a high or low number really tells you, where it quietly misleads, and why a falling margin warns you before the profit line does. If you want to turn this into a repeatable stock-screening skill, a structured fundamental analysis course walks through the full income statement — but you can get the core of gross margin right here.
- Gross margin = (Revenue − Cost of Goods Sold) ÷ Revenue, as a percentage. It is the share of each sales dollar left after the direct cost of making the product.
- A high margin often signals pricing power — but it can also just mean a low-cost business model, so always compare within an industry.
- Real spread, latest filings: Nvidia 75.0%, Microsoft ~68.8%, Coca-Cola 61.4%, Apple 46.2%, Walmart 24.1%, Kroger 23.1%.
- Watch the trend: a falling gross margin is an early warning, because it sits above operating costs and reacts fast to price cuts and rising input costs.
What is gross margin, and what does it reveal?
Gross margin is the percentage of revenue a company keeps after paying the direct cost of producing what it sells. The gross margin formula is simple: take revenue, subtract cost of goods sold (COGS), and divide the result by revenue. COGS is only the directly attributable cost — raw materials, factory or production labour, and, for a software business, the cost of hosting and delivering the product. It deliberately excludes rent, marketing, salaries of head-office staff, interest and tax.
Here is the arithmetic on a round example. A company books $10 billion in revenue and $6 billion in COGS. Gross profit is $4 billion, so gross margin is 40%. In plain terms: 40 cents of every sales dollar is left to cover everything else the business does — sales teams, research, debt, the tax bill, and whatever profit remains at the end.
That is what the number reveals. Gross margin is the first checkpoint on the income statement, and it isolates one question: how much is this company's product actually worth relative to what it costs to make? A business that can charge far above its production cost has room to fund growth, absorb shocks and still turn a profit. A business scraping a thin slice on each sale has almost none.
Gross margin vs gross profit: the difference that matters
People use the terms interchangeably, but they measure different things, and the gap trips up beginners. Gross profit is a dollar amount — revenue minus COGS. Gross margin is that same figure as a percentage of revenue. One is a quantity; the other is a rate.
Why does the distinction matter for an investor? Because a dollar figure tells you nothing about efficiency or size. A corner shop and a multinational can both report "rising gross profit," yet only the percentage lets you compare them, or compare either one against last year. Gross margin standardises the picture across companies of wildly different scale — which is exactly why analysts quote the percentage, not the raw profit.
The trap is real money. Dollar gross profit can keep climbing while the margin percentage quietly falls, simply because revenue grew faster than the margin held. We will see a live example of that below. The rule: watch the percentage, not just the dollars.
The pricing-power ladder: six real companies compared
Nothing teaches gross margin faster than ranking real companies by it. The figures below come straight from each company's most recent filings with the U.S. Securities and Exchange Commission. Read them top to bottom as a pricing-power ladder.
Gross margin by company, latest reported fiscal year (%)
Source: company Form 10-K / 10-Q filings, SEC EDGAR — Nvidia FY2025, Microsoft FY2025, Apple FY2024, Walmart FY2025, Coca-Cola nine months to Sep 2024, Kroger Q4 FY2025. Fiscal year-ends differ, so this is a directional ladder, not a single-date snapshot.
What should you do with this chart? Use it as a mental yardstick. When you next look at a company, ask where it would sit on this ladder and why. A chip designer and a brand-drinks giant live near the top because buyers pay a premium few rivals can match. A grocer sits near the bottom because shoppers choose on price and a rival is always one aisle away. Neither is "good" or "bad" in isolation — but a company's place on the ladder tells you how its whole business model has to work.
What does a high gross margin really tell you (and what does it hide)?
A high gross margin usually points to pricing power: the ability to charge well above direct cost without losing customers. That power comes from a handful of durable sources — a trusted brand, a genuinely differentiated product, high switching costs, network effects, or simply limited competition. Where those exist, a company sets the price. Where they do not, the market sets it, and margins get squeezed toward the cost of production.
But here is the catch, and it is the single most common misread: a high margin does not always mean pricing power. It can also mean a structurally low-cost business. Software is the classic case — once the product is built, the cost of serving one more customer is close to zero, which lifts gross margins into the 70s and 80s almost regardless of how aggressively the company prices. So a fat margin might reflect genuine premium pricing, a cheap-to-deliver model, or both. You cannot tell which from the number alone.
The fix is discipline: compare gross margin within an industry, never across unrelated ones. As a rough guide, software businesses typically run 70%+ while grocery runs around 20% — comparing the two tells you nothing useful. Comparing two grocers, or two chip makers, tells you a great deal.
One company proves that a single margin figure can hide a lot. Apple's overall gross margin was 46.2% in fiscal 2024 — but that blends two very different businesses.
Source: Apple Inc Form 10-K, fiscal year 2024 (SEC EDGAR).
Read that gap carefully. Apple's hardware earns a solid-but-ordinary 37.2%; its services earn a near-software 73.9%. The blended 46.2% hides the fact that every dollar shifting from gadgets to subscriptions lifts the whole company's margin. That is why a shift in revenue mix can move a company's gross margin even when no single price changes — and why reading the segment detail beats trusting the headline number.
Why does a falling gross margin warn you first?
If you track only one thing about a company over time, track the direction of its gross margin. Because gross margin sits at the very top of the income statement — above operating expenses, interest and tax — it reacts fast and cleanly to the two forces that quietly erode a business: rising input costs and weakening pricing power. A slide in gross margin is often the first measurable sign that something in the core business is under pressure, and it is hard to fix quickly because the cost and pricing pressures behind it rarely reverse on their own.
Now return to the trap from earlier, with a real number attached. In fiscal 2025, Microsoft's dollar gross profit rose 13% — up almost $23 billion. A casual reader sees "profit up" and moves on. But the gross margin percentage slipped from 69.8% to about 68.8%, pressured by the cost of scaling its AI infrastructure. The dollars grew; the margin on each dollar shrank. Had you watched only the headline profit, you would have missed a genuine, if small, change in the economics of the business.
This is why the percentage is the signal and the dollar figure is the noise. Consider how the two readings diverge:
- Stable or rising gross margin across several years
- Margin holding even when the company cuts prices to grow — a sign of real cost advantage
- Mix shifting toward higher-margin products or services
- Gross margin falling year after year while revenue grows
- Management blaming "temporary" input costs that never go away
- Discounting to hold market share, visible as margin erosion
What this means for you: when you read a company's results, find the gross margin line, then find last year's, and the year before. The arithmetic takes seconds. The pattern it reveals — whether this company is getting stronger or quietly weaker — is worth more than any single quarter's headline.
How to use gross margin when you analyse a stock
Gross margin is powerful precisely because it is simple, but it is one checkpoint, not the whole analysis. Use it in a disciplined sequence.
- Calculate it, or find it. Revenue minus COGS, divided by revenue. Most filings and data sites report it directly — but knowing the formula lets you spot when a figure looks wrong.
- Compare it within the industry. A 35% margin is weak for software and excellent for a grocer. Benchmark against direct peers, never against unrelated sectors.
- Read the trend, not the snapshot. Pull three to five years. Direction and stability matter more than any single figure.
- Pair it with the margins below it. Gross margin shows pricing power; operating and net margins show whether the rest of the business is run well. Read them together.
That last step is the one beginners skip. Gross margin tells you about the product; it says nothing about overheads, debt or tax. A company can have a gorgeous gross margin and still lose money if its costs below the line are bloated — which is exactly why you then check how operating and net margins differ. Pair margins with efficiency measures too, such as how efficiently a company uses its assets, and for fast-growing firms with little profit yet, valuing a company on its sales.
Avoid these common mistakes with gross margin:
- Comparing across industries. The single biggest error — it makes a healthy grocer look broken next to a software firm.
- Trusting one period. A single strong quarter can be a one-off; the trend is the truth.
- Assuming high margin equals pricing power. It may just be a low-cost model. Check whether rivals could undercut.
- Ignoring mix. A blended margin can hide a high-margin segment carrying a low-margin one, as Apple's split shows.
- Stopping at gross. It is the first read on quality, not the last word on profitability.
Frequently asked questions
This article is educational content, not investment advice. Company figures are drawn from public filings as of the fiscal periods noted and can change in later reporting.