Gross Margin Explained: The Fastest Read on Pricing Power
Gross margin is the fastest way to see a company's pricing power. Learn how to calculate it, what a good margin looks like, and where it misleads.

Key Takeaways
- Gross margin is the share of revenue left after the direct cost of goods sold
- It is the cleanest single proxy for pricing power and competitive advantage
- Software and luxury brands run high; grocers and commodities run thin
- A rising gross margin often signals a widening moat; a falling one, trouble
- Never compare gross margins across different industries
Costco (COST) keeps only about 12 cents of gross profit on every sales dollar, while Microsoft (MSFT) keeps closer to 70. Same dollar of revenue, wildly different business — and that one ratio, gross margin, is the fastest way to see how much pricing power a company really has.
What Is Gross Margin?
Gross margin is the slice of every sales dollar a company keeps after paying the direct cost of making its product. If it sells something for $1 and spends 40 cents to produce it, the gross margin is 60%.
Those direct costs are called cost of goods sold, or COGS — the raw materials, factory labor, and production expenses tied directly to each unit sold. Everything above that line is gross profit.
Gross margin is the first line of the income statement that tells you whether a business has an edge. It sits before marketing, salaries, research, and taxes, so it isolates one thing: how profitably a company can actually make and sell its product.
How Do You Calculate Gross Margin?
Take revenue, subtract cost of goods sold, and divide the result by revenue. That is the whole calculation.
The formula: Gross Margin = (Revenue − COGS) ÷ Revenue.
Here is a quick example. If a company books about $50 billion in revenue and roughly $20 billion in COGS, gross profit is around $30 billion and gross margin is about 60%. The higher that percentage, the more of each sale the company keeps to cover everything else and, eventually, to earn a profit.
Do not confuse it with operating margin or net margin, which sit further down the statement after other costs. For the full walk-through of the income statement, see our fundamental analysis hub.
Why Does Gross Margin Reveal Pricing Power?
Because it shows whether customers will pay up. A company that can charge far more than its product costs to make has something rivals cannot easily copy — a brand, a patent, a network, or a technology edge.
That is the link between gross margin and a durable competitive advantage, or "moat." Software firms like Microsoft (MSFT) and Adobe (ADBE) keep the lion's share of every sale because copying software costs almost nothing. Commodity businesses keep very little because anyone can sell the same thing.
A high and stable gross margin is one of the clearest fingerprints of pricing power there is. To see how great investors hunt for exactly this trait, read our super investors profiles.
Real Examples: Gross Margin Across Industries
Numbers shift each quarter, so treat these as illustrative ranges from recent filings, not exact live figures.
| Stock | Business | Illustrative gross margin | Why |
|---|---|---|---|
| Adobe (ADBE) | Subscription software | ~87-89% | Near-zero cost to copy |
| Microsoft (MSFT) | Software + cloud | ~68-70% | Software economics |
| Nike (NKE) | Branded apparel | ~43-45% | Brand premium |
| Walmart (WMT) | Mass retail | ~24-25% | Scale, low prices |
| Costco (COST) | Warehouse retail | ~12-13% | Volume, membership model |
The spread is enormous. Adobe (ADBE) keeps nearly 90 cents on the dollar, while Costco (COST) keeps closer to 12 — yet both are excellent businesses. The lesson is not that high margin is good and low margin is bad; it is that margin only means something inside its own industry. Nike (NKE) sits in the middle because a brand premium lifts apparel margins well above plain manufacturing.
What Mistakes Do Investors Make?
The first is comparing across industries. A roughly 25% gross margin is weak for software and strong for a grocer. Judging Walmart (WMT) by MSFT's yardstick is meaningless.
The second is ignoring the trend. A single quarter says little; the direction over several years says a lot. A steadily rising gross margin often signals growing pricing power, while a falling one can be an early warning of competition or cost pressure — long before it shows up in net profit.
Third, watch how a company defines COGS. Some businesses shift costs below the gross-profit line to make margins look flattering, so always compare like with like.
When Is Gross Margin Misleading?
When a business has no meaningful cost of goods sold at all. Banks, insurers, and many financial firms do not really carry COGS, so gross margin is close to meaningless for them and you need different tools.
It can also mislead for companies scaling fast. A young hardware maker, or a NVIDIA (NVDA)-style chip firm ramping a new product, may post lumpy gross margins as volumes and manufacturing yields swing, even when the long-term trajectory is strong.
Gross margin is a scalpel for product economics, not a universal tool — apply it where a company actually makes and sells a physical or digital product.
Pro Tips for Reading Gross Margin
Track the direction, not just the level. Margin expansion is one of the most powerful signals in investing, because it usually flows straight through to profits and often means the company is gaining an edge on rivals.
Compare only within a sector. Line up COST against other retailers and MSFT against other software firms — never against each other.
Finally, pair gross margin with the bigger picture. Combine it with growth, debt, and the frameworks in our investment strategies guide before drawing conclusions from any single ratio.
Ready to analyze these stocks yourself? Search any ticker on MainRatios to see valuations from 6 legendary investors - free.
Master fundamental analysis
Free guides to P/E, DCF, free cash flow, margin analysis and more.
Learn fundamentalsFrequently Asked Questions
It depends entirely on the industry. Software companies often run gross margins above roughly 70%, while grocers and mass retailers may sit near 20-25% and still be excellent businesses. Always compare a company to its own history and its direct peers.


