Two companies can report the exact same sales and the exact same operating margin — and one still hands shareholders far more profit than the other. The reason lives in the gap between two numbers most beginners treat as interchangeable. Understanding operating margin vs net margin is the difference between judging a business and judging its accountant.
Here is the short version. Operating margin measures how much profit a company squeezes from its core operations. Net margin measures what actually survives after interest, tax and every side-effect. This guide walks both down one real income statement, shows you what a good margin looks like by industry using current data, and tells you which number to trust when the two disagree. If you want to build this skill properly, our fundamental analysis crash course puts the whole income statement in your hands.
- Operating margin = operating income ÷ revenue. Net margin = net profit ÷ revenue.
- The gap between them is created almost entirely by interest and tax.
- Operating margin is the cleaner way to compare two companies — it ignores how they are financed.
- A "good" margin is industry-relative: 5% is strong for a grocer, weak for a software firm.
- When net margin sits above operating margin, something below the line is flattering the result — investigate it.
What is the difference between operating margin and net margin?
Operating margin is operating income divided by revenue: the profit left after the cost of goods and every day-to-day running cost, but before interest and tax. Net margin is net income divided by revenue: what remains after interest, tax and any non-operating item. Operating margin judges the engine; net margin judges the whole car, fuel bills included.
Both use the same top line — revenue — so they are directly comparable percentages. The distance between them is not noise. It is a precise measurement of how much of the operating profit gets consumed by financing costs and the taxman before it reaches an owner.
That is why the two can tell opposite stories. Raise a mountain of debt and your operating margin does not move at all, while your net margin sinks under the interest bill. Read only net margin and you would blame the operations. Read both and you see the truth: good business, heavy financing.
Gross vs operating vs net margin: walking one income statement
The fastest way to internalise this is to walk a single statement top to bottom. Take Apple’s fiscal year that ended in September 2025 — a clean, public example with big round numbers.
Apple booked $416.2 billion in revenue. After the cost of making its products, gross profit was $195.2 billion — a gross margin of 46.9%. After running costs (R&D, salaries, marketing), operating income was $133.1 billion — an operating margin of 32.0%. After tax and other items, net income was $112.0 billion — a net margin of 26.9%.
(after cost of products)
(after running costs)
(after tax & other items)
Source: Apple Inc. Form 10-K, fiscal year ended September 27, 2025.
Read the drop-off. Nearly half of every dollar survives production. A third survives the whole operation. Roughly 27 cents reaches the bottom line. The 5-point fall from operating to net margin is almost pure tax — Apple carries very little net interest cost, so tax does the damage.
That is the mental model: gross margin shows pricing power, operating margin shows management, net margin shows what the owner keeps. If you want the full tour of where each line sits, our guide on how to read an earnings report in 15 minutes maps the statement end to end.
How to calculate net profit margin, step by step
The arithmetic never changes. Find net income near the bottom of the income statement. Divide it by total revenue at the top. Multiply by 100. Apple: 112.0 ÷ 416.2 = 0.269, or 26.9%. Do operating margin the same way with operating income: 133.1 ÷ 416.2 = 32.0%. Two divisions, and you have both numbers.
What is a good operating margin?
There is no universal “good” number — only good for the industry. A 5% operating margin is respectable for a grocer and a warning sign for a software company. The only honest benchmark is the sector median, so here is what the numbers actually look like right now.
Operating margin by sector (US public-company medians)
Source: NYU Stern / Aswath Damodaran, “Operating and Net Margins” dataset, data as of January 2026. Software = System & Application.
The spread is enormous: software runs at roughly 16 times the operating margin of a grocery chain. Both can be excellent businesses. Grocery simply plays a volume game where two cents of operating profit per dollar, repeated across billions in sales, still builds an empire.
What this means for you: never judge a margin in a vacuum. Before you call any operating margin “low,” compare it to that company’s sector median and to its own history. A grocer at 2.6% is normal; a software firm at 2.6% is broken.
Real companies make this concrete. In its latest fiscal year Walmart turned $681 billion of revenue into $29.3 billion of operating profit — an operating margin of 4.3% — and $20.2 billion of net income, a net margin of 3.0%. Apple, on roughly a quarter of Walmart’s sales, kept a far bigger slice: 32.0% operating and 26.9% net. Same currency, same enormous dollar profits, completely different economics. Both are superb businesses. That is exactly why comparing a retailer’s margin to a software firm’s tells you almost nothing on its own.
Source: Walmart Inc. Form 10-K, fiscal year ended January 31, 2025.
Why operating margin is the cleaner comparison
Here is the catch: if you want to compare two companies’ operations, net margin can mislead you and operating margin rarely does. Two firms with identical stores, identical costs and identical sales will post the same operating margin. Load one with debt and its net margin drops below the other’s — not because it runs worse, but because it borrowed more.
Operating margin strips out that financing decision. It also strips out the one-time noise that inflates net income — a tax credit, a gain on selling a building, a currency swing. You cannot sell a headquarters every quarter to prop up operating margin. That makes it the hardest profitability line to manipulate, and the one professionals lean on when they screen.
There is a durability angle too. Interest and tax can jerk a net margin around from year to year — a refinancing here, a one-off tax ruling there — while operating margin tends to move slowly, tracking the real business underneath. When your question is whether a company is getting better or worse at what it actually does, the slow-moving line is the honest one to watch.
Net margin still matters — it is what an owner ultimately keeps. But treat it as the finish line, not the diagnosis. Operating margin tells you why the finish line landed where it did, and whether that result is repeatable next year or a one-time gift from below the operating line.
Where operating margin misleads you
No single ratio is bulletproof, and operating margin has two blind spots worth knowing before you trust it blindly.
First: financials break the formula. For a bank, interest is not a financing footnote — it is the core cost of the business. So the standard operating-margin calculation misfires. Regional banks show an operating margin near 1.6% yet a net margin of 27.5%. That is not a miracle; it is the formula being applied to a business it was never designed for.
Second: net margin can quietly exceed operating margin. When it does, look below the operating line. A big tax benefit, investment income, or a one-off asset sale can push net above operating for a period. The table below shows both patterns side by side.
| Sector (US medians) | Operating margin | Net margin | What the gap says |
|---|---|---|---|
| Software (System & App) | 40.8% | 25.5% | Tax takes a big slice; still elite |
| Total market (ex-financials) | 14.7% | 8.6% | The typical baseline |
| Retail (general) | 8.2% | 5.6% | Thin; costs eat most of sales |
| Grocery & food retail | 2.6% | 1.3% | Volume game; almost no cushion |
| Software (Internet) | 18.6% | -0.9% | Operating-profitable, net-negative |
| Banks (regional) | 1.6% | 27.5% | Formula misfires: interest is the core cost |
Source: NYU Stern / Aswath Damodaran, “Operating and Net Margins” dataset, data as of January 2026.
What this means for you: the two red cells are your homework triggers. When net margin turns negative under a healthy operating margin, hunt for interest or write-offs. When net margin towers over operating margin, ask whether it is a bank — or a one-off you should ignore.
This is the same discipline behind other single-ratio tools. It is exactly why EBITDA can flatter a weak business: strip out enough real costs and any company looks profitable.
How should you use both margins together?
Use them as a sequence, not a single glance. Here is the routine that turns two ratios into an actual read on a company.
That last step matters because a fat margin on tiny sales can still be a poor investment. Margins answer “how profitable is each dollar of sales,” while a measure like return on equity judges profit against the capital invested. Read them together and the gaps in one are covered by the other.
Do this for a handful of companies in the same industry and the outliers jump out fast: the firm with a below-median operating margin that keeps sliding, or the one whose net margin only looks healthy because of a tax quirk. That pattern-spotting is the entire job of fundamental analysis.
Frequently asked questions
Trading and investing involve substantial risk of loss and are not suitable for every investor. This article is educational content, not investment advice.