Margin analysis · 15 sectors
Gross Margin vs Net Margin vs Operating Margin
Four profit margins measure four different things about a business. Gross margin tells you about pricing power. Operating margin tells you about efficiency. EBITDA margin tells you what management wants you to see. Net margin tells you what's left. This guide walks through each one, when to trust it, and what to investigate when they diverge.
Gross Margin — What It Includes, What It Misses
Gross margin is revenue minus cost of goods sold (COGS), divided by revenue. It measures how much money a company keeps after paying the direct costs of producing what it sells. For a software company, COGS is mostly hosting and customer support. For a manufacturer, it includes raw materials, factory labor, and freight. The number tells you how much room the business has to cover everything else — R&D, sales, overhead, interest, and taxes — before reaching profit.
High gross margin signals pricing power. A company that charges $100 for something that costs $20 to produce has a 80% gross margin and significant room to absorb cost increases, invest in growth, or weather a downturn. A company at 25% gross margin has almost no buffer. When input costs rise 10%, the high-margin business barely notices; the low-margin business may swing to a loss.
What gross margin misses is everything below the line. A pharmaceutical company with 68% gross margin may spend 20% of revenue on R&D and another 25% on sales and marketing, leaving an operating margin in the low teens. Gross margin tells you the company has a structurally advantaged product — it does not tell you whether the business is run efficiently or generates real profit. Two companies with identical gross margins can have wildly different profitability depending on how they allocate spending below COGS.
Watch gross margin trends, not just levels. A declining gross margin often means the company is competing on price, entering lower-margin product lines, or experiencing input cost inflation it cannot pass through. If gross margin is falling while revenue grows, the company may be buying top-line growth at the expense of unit economics. This is a red flag that shows up in gross margin before it appears anywhere else in the income statement.
Operating Margin — The Real Efficiency Lens
Operating margin is operating income divided by revenue. It captures everything gross margin captures plus all the costs of actually running the business: research and development, sales and marketing, general and administrative expenses. It excludes interest, taxes, and one-time items. This makes it the cleanest measure of how efficiently the core business converts revenue into profit.
Operating margin is where operating leverage shows up. A business with high fixed costs and low variable costs — think software, media, or pharmaceuticals — should see operating margin expand as revenue scales. If revenue doubles but operating margin stays flat, the company is spending every incremental dollar as fast as it earns it. That can be fine during a deliberate investment phase, but if management promises operating leverage and it never arrives, the cost structure may be permanently bloated.
The gap between gross and operating margin tells a story. Software companies average 72% gross margin but only 25% operating margin — the 47-point gap is almost entirely R&D and sales compensation. Consumer staples run 38% gross and 15% operating — a tighter 23-point gap because mature CPG businesses don't need heavy R&D. When two companies in the same sector have similar gross margins but very different operating margins, the difference is management discipline and spending priorities.
Operating margin strips out capital structure noise. Unlike net margin, operating margin is not affected by how a company finances itself. A company funded entirely by equity and one funded 50% by debt will show the same operating margin if they run the same business equally well. This makes operating margin the right tool for comparing businesses with different balance sheets — which is most comparisons you will ever make.
EBITDA Margin — When It Helps, When It Lies
EBITDA margin adds back depreciation and amortization to operating income before dividing by revenue. The logic is that D&A is a non-cash charge that reflects past capital spending, not current operating performance. For capital-intensive businesses — telecom, utilities, airlines — EBITDA margin can be more comparable across companies with different asset ages and depreciation schedules.
EBITDA margin is useful for one specific comparison. When you are comparing two companies in the same capital-intensive sector that have different asset ages or depreciation methods, EBITDA margin removes that accounting noise. A telecom that just built out fiber has higher D&A and lower operating margin than one running on fully depreciated copper — but EBITDA margin may be similar if their actual operating efficiency is comparable. This is the legitimate use case.
EBITDA margin lies when capex is real and recurring. An airline with 18% EBITDA margin may sound profitable until you realize it must spend 12% of revenue replacing aging aircraft — leaving a real economic margin of 6%. A software company with 35% EBITDA margin and 2% capex is genuinely profitable. The gap between EBITDA margin and free cash flow margin is the honesty test. If they diverge significantly, EBITDA is flattering the business. Always check what the free cash flow actually looks like.
Management teams love EBITDA because they can control the narrative. "Adjusted EBITDA" adds back stock-based compensation, restructuring charges, and anything else management deems non-recurring. Some of these adjustments are legitimate. Many are not. If a company reports adjusted EBITDA that is 2x GAAP net income, the adjustments deserve scrutiny. Check the reconciliation table in the earnings release — every addback is a cost the business actually incurred.
Net Margin — The Bottom Line With All the Noise
Net margin is net income divided by revenue. It is the final number — what remains after every cost, tax, interest payment, and one-time charge has been subtracted. It is also the noisiest margin because it includes items that have nothing to do with the core business: interest expense from capital structure decisions, tax rate differences across jurisdictions, impairment charges on old acquisitions, and gains or losses on investments.
Net margin is the margin that actually accrues to shareholders. Operating margin and EBITDA margin are useful diagnostic tools, but shareholders own what is left after all claims are paid. A company with 25% operating margin and 5% net margin is generating profits that mostly go to lenders and tax authorities. Net margin tells you the truth about what the equity holder receives — even if that truth is noisy and unflattering.
The operating-to-net margin cascade reveals capital structure costs. Utilities average 22% operating margin but only 12% net — a 10-point compression driven by interest on infrastructure debt. Telecoms show a similar pattern: 18% operating, 9% net. When you see a large gap, check the interest coverage ratio. If the company is spending a third of its operating income on interest, it is running with significant financial risk that operating margin alone does not reveal.
Use net margin for valuation, operating margin for diagnosis. When you are building a PE-based valuation or comparing price-to-earnings across companies, net margin is what feeds the denominator. When you are diagnosing whether a business is well-run, operating margin is cleaner. The two margins answer different questions, and confusing them is one of the most common mistakes in fundamental analysis.
When Margins Diverge — Red Flags and What to Investigate
Gross margin falling while revenue grows
The company is likely discounting to win deals, entering lower-margin product lines, or facing input cost inflation it cannot pass through. Check whether the revenue mix is shifting — a hardware company adding a services line will see blended gross margin fall even if both segments are healthy. If it is a pure price/cost problem, the trend is unlikely to reverse without a strategic change.
Operating margin expanding while gross margin is flat
This is the operating leverage story — the company is scaling revenue faster than overhead. It is generally positive, but verify it is not achieved through underinvestment. If R&D spending as a percentage of revenue is declining sharply, the company may be harvesting the current product line without investing in the next one. Check whether the savings are structural (automation, offshoring) or just deferred spending.
EBITDA margin high but free cash flow margin low
Maintenance capex is eating the cash. This is common in telecom, utilities, and asset-heavy industrials where depreciation understates the true cash cost of maintaining the asset base. If EBITDA margin is 30% but FCF margin is 8%, the business is spending heavily to stay in place. EBITDA is overstating the economic reality. Build the free cash flow bridge before trusting the EBITDA number.
Net margin volatile while operating margin is stable
Below-the-line items are driving the swings — typically interest expense, tax rate changes, impairments, or mark-to-market on investments. This is common in financial companies and conglomerates with investment portfolios. The core business may be fine. Normalize net income by stripping out non-recurring items and calculating what net margin would be at a standard tax rate and stable interest expense.
Sector Margin Benchmarks — 15 Industries Compared
The table below shows median gross, operating, and net margins across 15 sectors. Use it to benchmark any company against its peer group — and to understand why certain sectors structurally trade at higher valuation multiples. A business that converts 20% of revenue to net income is worth more per dollar of revenue than one that converts 4%.
| Sector | Gross ▼ | Operating | Net | What Drives the Spread |
|---|---|---|---|---|
| Banks | 99% | 35% | 26% | Gross margin is meaningless for banks — net interest margin is the real metric. |
| Software | 72% | 25% | 20% | Near-zero COGS on incremental licenses; R&D and S&M eat the operating line. |
| Pharmaceuticals | 68% | 22% | 17% | High gross margin reflects IP protection; R&D and litigation drag operating. |
| Biotech | 62% | -5% | -8% | Pre-revenue names destroy the median; profitable biotechs look like pharma. |
| Healthcare Equipment | 55% | 18% | 14% | Razor-and-blade models show up as strong gross, steady operating margins. |
| Telecom | 55% | 18% | 9% | High gross margin but massive D&A on network infrastructure halves it to net. |
| Semiconductors | 52% | 26% | 22% | Fab-lite models push gross margins up; fab-heavy names sit 10 pts lower. |
| Insurance | 45% | 10% | 8% | Combined ratio drives profitability; investment income smooths the net line. |
| Utilities | 42% | 22% | 12% | Regulated returns cap upside; depreciation and interest eat operating-to-net. |
| Technology Hardware | 38% | 14% | 11% | Physical product mix compresses gross; scale on SG&A narrows the gap to net. |
| Consumer Staples | 38% | 15% | 10% | Input costs pin gross margin; brand pricing power shows in operating stability. |
| Consumer Discretionary | 35% | 11% | 7% | Wide dispersion — luxury at 65% gross vs. auto parts at 25%. |
| Industrials | 32% | 12% | 8% | Aftermarket services lift gross; capex-heavy segments compress net. |
| Retail | 30% | 6% | 4% | Thin margins by design; volume and inventory turns matter more than margin. |
| Energy (Integrated) | 30% | 12% | 8% | Commodity prices drive all three margins; mid-cycle numbers shown here. |
See How Margins Flow to Free Cash Flow
Enter a ticker and calculate free cash flow from operating cash flow and capex — the margin that matters most for valuation.
Open FCF Calculator →Related Tools & Guides
PE Calculator
Net margin drives the E in PE. Check any stock's trailing and forward PE with sector context.
Open PE Calculator →DCF Calculator
Margins feed the cash flow projections in a DCF. Model any stock's intrinsic value with margin assumptions built in.
Open DCF Calculator →Common questions
Profit margins — answered directly.
What is a good gross margin?
It depends entirely on the industry. Software companies typically run 70–80% gross margins because incremental distribution costs almost nothing. Retailers operate at 25–35% because they're reselling physical goods. A "good" gross margin is one that is stable or expanding relative to direct peers — not a universal number. If gross margin is declining while revenue grows, the company may be buying growth by discounting or entering lower-margin product lines.
What is the difference between gross margin and operating margin?
Gross margin subtracts only the direct cost of producing goods or services (COGS). Operating margin goes further and also subtracts R&D, sales and marketing, and general overhead (SG&A). A company with a 70% gross margin and a 10% operating margin is spending heavily to grow or run the business. The gap between the two tells you how much of each revenue dollar is consumed by the operating structure before interest, taxes, and one-time items.
Is EBITDA margin better than operating margin?
EBITDA margin is useful for comparing companies with different capital structures or depreciation policies — it strips out D&A, interest, and taxes. But it can hide real costs: a telecom with 40% EBITDA margin and massive annual capex may have a 9% net margin. Use EBITDA margin for cross-company comparisons within capital-intensive sectors, but always check the gap to net margin to see what EBITDA is hiding.
Why would net margin be much lower than operating margin?
Three common causes: heavy debt (interest expense), high tax rates, and large non-operating charges (impairments, restructuring, legal settlements). Utilities are the textbook case — 22% operating margin compresses to 12% net because of interest on infrastructure debt and depreciation. When you see a 10+ percentage point gap between operating and net margin, investigate the interest expense and below-the-line items in the income statement.
Which margin matters most for stock valuation?
For valuation, free cash flow margin matters most because it reflects what the business actually generates for shareholders after all real cash costs. But for diagnosing a business, each margin answers a different question: gross margin reveals pricing power and cost structure, operating margin shows operational efficiency, and net margin captures the full cost of running the enterprise including capital structure decisions. Use all four together — the pattern of how they cascade tells you more than any single number.
Run a full margin analysis on any stock.
Basis Report generates a decision-ready analysis — margins, cash flow, earnings quality, and red flags in one document.
Generate a report