Fundamentals · Ratios
Operating margin: what is left after running the business
How to calculate operating margin, why Walmart’s 4.18% is not a weak business, what a negative margin means at Intel, and how one-off charges distort a single year.
On this page
Operating margin is operating income divided by revenue: the share of each sales dollar left after paying for the goods sold and for running the company, but before interest and income tax.
It is the margin that describes the business itself. Gross margin stops at the product and ignores stores, staff and head office. Net margin goes on to include how the company is financed and taxed, which are decisions about the balance sheet and not about selling things. Operating margin sits between them and answers one question: does the operation, as run, make money, and how much per dollar of sales?
The Profit margins: gross, operating and net margin explained overview covers the three margins together. This page takes operating margin alone. It follows $100 of revenue through Walmart's latest annual report, explains why a margin near 4% can belong to a strong business, and compares seven companies down to Intel's operating loss.
The idea
A company's costs fall into two broad groups before financing and tax. The first is the cost of what it sold: the goods on the shelf, the parts in the machine. The second is the cost of being in business: wages of store and office staff, rent, advertising, research, software, and the wear on buildings and equipment. Subtract both from revenue and you have operating income, also called operating profit.
Operating margin states that as a percentage of revenue. It tells you how many cents of each sales dollar the operation keeps. Because it leaves out interest, it lets you compare a company funded with debt against one funded with equity. Because it leaves out tax, it lets you compare companies in different countries and tax positions.
The formula
Walmart's gross margin was 24.9%. The step from 24.9% to 4.18% is the 20.74% spent on running the company. That step is where retailers compete: two chains that buy the same goods at similar prices differ mainly in how cheaply they move and sell them.
Why 4% is not a weak business
A 4.18% margin looks poor beside a software company's. Three things put it in context.
Volume. The margin applies to $713,163 million of revenue. The result, $29,825 million of operating income, is more than twice Coca-Cola's $13,762 million, earned on a 28.71% margin, and more than two and a half times Caterpillar's $11,151 million. Shareholders are paid in dollars, not in percentage points.
Turnover. A retailer sells its stock many times a year, so each dollar tied up in inventory and stores produces several dollars of sales. Return on the money invested is margin multiplied by turnover.
This is why margins cannot be ranked across industries. The Return on assets (ROA): how to calculate and compare it lesson works through the turnover side with real companies, and DuPont analysis is the name for splitting a return into margin and turnover.
Stability. People buy groceries in good years and bad. A thin margin on steady sales can be a safer profit than a wide margin on sales that swing.
The thinness still has a cost. One tenth of a point of Walmart's margin is $713 million. In fiscal 2025 the margin was 4.31% (operating income of $29,348 million on revenue of $680,985 million). Revenue then grew 4.7% while operating income grew 1.6%. Had the margin held at 4.31%, operating income would have been about $900 million higher. Small moves in a thin margin are large moves in profit.
Seven companies
Operating margin from each company's latest Form 10-K, with the gross margin above it and the prior year's operating margin beside it.
| Company | Fiscal year ended | Gross margin | Operating margin | Year before |
|---|---|---|---|---|
| Microsoft | June 30, 2026 | 67.9% | 46.78% | 45.62% |
| Coca-Cola | December 31, 2025 | 61.6% | 28.71% | 21.23% |
| Caterpillar | December 31, 2025 | 33.8% | 16.50% | 20.17% |
| Delta | December 31, 2025 | — | 9.19% | 9.73% |
| Walmart | January 31, 2026 | 24.9% | 4.18% | 4.31% |
| Costco | August 30, 2026 | 12.8% | 3.85% | 3.77% |
| Intel | December 27, 2025 | 34.8% | −4.19% | −21.99% |
The gap between the two margin columns is what each company spends on operating expenses:
- Microsoft spends about 21 points of revenue between gross and operating profit and keeps 46.78%. Software has high gross margins, and its main costs are people: the engineers and sales staff who appear in operating expenses.
- Coca-Cola spends about 33 points. A consumer brand is kept up by advertising and selling effort, and both are operating expenses.
- Caterpillar builds heavy machinery. Its gross margin is half Microsoft's, and its operating margin fell from 20.17% to 16.50% while revenue rose from $64,809 million to $67,589 million. Higher sales with a lower margin means costs grew faster than prices.
- Delta reports no gross margin. Airlines list their operating expenses by type, such as fuel and salaries, with no cost of sales line. Operating margin is the first margin available for them.
- Costco spends only about 9 points on running itself, the smallest gap in the table. It has to: its gross margin is 12.8%.
- Intel kept 34.8% of revenue as gross profit and spent about 39% on operating expenses. The result is an operating loss of $2,214 million on revenue of $52,853 million, a margin of −4.19%. The year before, the loss was $11,678 million on almost the same revenue.
A negative operating margin means the business consumed more than it earned before paying any interest or tax. Chip makers carry heavy research and factory costs that do not shrink when sales are weak, so their margins swing widely. That effect of fixed costs is called operating leverage.
Where it misleads
- One-off charges are inside it. Restructuring costs, write-downs of factories or goodwill, legal settlements and gains or losses on selling a business usually pass through operating income. US GAAP has had no separate "extraordinary items" line since fiscal years beginning after December 15, 2015 (FASB ASU 2015-01), so unusual items sit among ordinary ones. Intel's swing from −21.99% to −4.19% on flat revenue, and Coca-Cola's jump from 21.23% to 28.71%, are too large to be routine cost changes. Moves of that size are the cue to read the notes for charges in one of the two years. Coca-Cola's 2024 operating income, for example, carried a $3,109 million charge for remeasuring the contingent payment owed on its fairlife acquisition and a $760 million impairment of its BodyArmor trademark.
- "Operating" is not strictly defined. US GAAP does not prescribe exactly what goes above the operating income line. Some companies show no such subtotal at all, and data providers then build one. Compare like with like.
- Adjusted versions. Companies often publish an "adjusted operating margin" that removes charges they consider unusual, and often stock-based compensation as well. It is nearly always the higher number. The GAAP vs non-GAAP earnings: how adjusted numbers are built lesson shows how to check what was removed.
- It ignores debt. Leaving out interest is the point of the measure, but a company with a good operating margin and heavy borrowing may leave little for shareholders. Follow it down to Net profit margin: from $100 of sales to the bottom line or check interest coverage.
- It ignores capital. A margin says nothing about how much had to be invested to earn it. A 15% margin from a business that needs $3 of assets per $1 of sales is a worse return than a 5% margin from one that needs 30 cents.
- Accounting choices. Depreciation periods, what is capitalized and what is expensed, and where leases are booked all change operating income without changing the business.
Compared with its neighbours
| Measure | Numerator | Leaves out | Walmart FY2026 |
|---|---|---|---|
| Gross margin | Revenue − cost of sales | All operating expenses | 24.9% |
| EBITDA margin | Operating income + D&A | Depreciation, interest, tax | 6.2% |
| Operating margin | Operating income | Interest and tax | 4.18% |
| Net profit margin | Net income | Nothing | 3.07% |
Walmart's net income attributable to the company was $21,893 million, 3.07% of revenue. The 1.11 points between operating and net margin are interest, other items, tax and the share of profit belonging to minority owners of subsidiaries. EBITDA margin adds depreciation back and is covered in EBITDA margin: formula, the depreciation gap and what capex leaves.
Where to find it in Finabase
Open the Valuation tab for Walmart. In the Profitability group, the Operating Margin tile charts ten fiscal years with the latest value and a five-year median, next to Gross Margin and Net Margin. Reading the three tiles side by side shows on which line a change began. In the Growth group, the Operating Income tile shows the year-over-year change in operating income; set it beside the Revenue tile. Operating income growing more slowly than revenue, as at Walmart in fiscal 2026, means the margin fell.
The income statement has Total Revenue, Cost of Revenue, Gross Profit, Selling General and Administrative Expense and Operating Income for each year. Walmart's Total Revenue there is 713.16B for fiscal 2026, the same total revenues line used on this page, which includes membership income. Divide Operating Income by Total Revenue to check any year. The tiles are annual only and come from the data provider, so a figure can differ slightly from a hand calculation.
Frequently asked questions
What is a good operating margin?
There is no single good figure, because it depends on the industry. In this page's table the two big retailers run near 4%, the machinery maker in the teens and the software company above 45%. Compare a company with its own history and its direct competitors.
What is the difference between operating margin and gross margin?
Gross margin subtracts only the cost of what was sold. Operating margin also subtracts the cost of running the company, such as selling, administration and research. Walmart's gross margin was 24.9% and its operating margin 4.18% in fiscal 2026.
Is operating margin the same as EBIT margin?
Usually close, not always equal. EBIT is earnings before interest and taxes and can include non-operating gains and losses that operating income leaves out. When a company has few such items the two match.
Can operating margin be negative?
Yes. It is negative when cost of sales and operating expenses together exceed revenue. Intel's was −4.19% for fiscal 2025. A negative figure for one year may reflect a one-off charge; for several years it means the business model is not covering its costs.
Why did a company's operating margin fall when its sales rose?
Because costs rose faster than revenue. Walmart's revenue grew 4.7% in fiscal 2026 and its operating income 1.6%, so the margin slipped from 4.31% to 4.18%. Wages, prices cut to win customers and one-off charges are common causes.
Summary
Operating margin is operating income as a percentage of revenue, the profit of the business before interest and tax. Of each $100 Walmart took in during fiscal 2026, $75.07 paid for goods, $20.74 for running the company, and $4.18 remained. That thin margin on $713,163 million of revenue produced $29,825 million of operating income, and it is paired with fast turnover, which is why low-margin retailers can earn sound returns. Across companies the figure ran from 46.78% at Microsoft to −4.19% at Intel. Compare it within an industry, read several years, and check large moves for one-off charges, which sit inside operating income.
Check your understanding
5 questions on this lesson. Each answer comes with the reason, and nothing is scored.
A company has revenue of $1,000 million, cost of sales of $600 million and operating expenses of $250 million. What is its operating margin?
- 40%
- 25%
- 15%
Show the answer
C. 15% Operating income is 1,000 − 600 − 250 = 150, and 150 ÷ 1,000 = 15%. The 40% is the gross margin, before operating expenses.
Retailer A has a 4% operating margin on $700 billion of revenue. Brand B has a 28% margin on $48 billion. Which earns more operating income?
- Retailer A, about $28 billion against about $13 billion
- Brand B, because its margin is seven times higher
- They earn the same
Show the answer
A. Retailer A, about $28 billion against about $13 billion 4% of 700 is 28; 28% of 48 is about 13.4. A margin is a rate. The dollars depend on the volume it is applied to.
A grocer earns a 4% operating margin and generates $2.50 of sales per $1 of assets. A software firm earns 30% and generates $0.40 of sales per $1 of assets. What does this show?
- The software firm earns more than seven times the return on its assets
- Their operating returns on assets are close, 10% and 12%, because turnover offsets margin
- The grocer is unprofitable
Show the answer
B. Their operating returns on assets are close, 10% and 12%, because turnover offsets margin Return on assets is margin times turnover: 4% × 2.5 = 10% and 30% × 0.4 = 12%. A low margin with fast turnover can match a high margin with slow turnover.
A company’s gross margin is 35% and its operating margin is −4%. What must be true?
- It sells its products for less than they cost to make
- It pays too much interest
- Its operating expenses are about 39% of revenue, more than its gross profit
Show the answer
C. Its operating expenses are about 39% of revenue, more than its gross profit A positive gross margin means products sell above their direct cost. The loss arises below that line: operating expenses of roughly 39% of revenue exceed the 35% gross profit. Interest is not part of operating margin.
Revenue is flat, yet operating margin moves from −22% to −4% in one year. What is the most sensible next step?
- Conclude that day-to-day costs fell by 18% of revenue
- Look in the notes for one-off charges, such as write-downs or restructuring, in the earlier year
- Ignore operating margin and use gross margin
Show the answer
B. Look in the notes for one-off charges, such as write-downs or restructuring, in the earlier year Unusual charges pass through operating income. A swing that large on flat revenue is rarely routine cost control, so check what each year contains before reading it as a trend.
Sources and further reading
- Walmart Inc. — Form 10-K for the fiscal year ended January 31, 2026, filed March 13, 2026 (SEC EDGAR)
- Microsoft Corporation — Form 10-K for the fiscal year ended June 30, 2026, filed July 29, 2026 (SEC EDGAR)
- The Coca-Cola Company — Form 10-K for the fiscal year ended December 31, 2025, filed February 20, 2026 (SEC EDGAR)
- Caterpillar Inc. — Form 10-K for the fiscal year ended December 31, 2025, filed February 13, 2026 (SEC EDGAR)
- Delta Air Lines, Inc. — Form 10-K for the fiscal year ended December 31, 2025, filed February 11, 2026 (SEC EDGAR)
- Costco Wholesale Corporation — Form 10-K for the fiscal year ended August 30, 2026, filed October 7, 2026 (SEC EDGAR)
- Intel Corporation — Form 10-K for the fiscal year ended December 27, 2025, filed January 23, 2026 (SEC EDGAR)
- SEC EDGAR — XBRL company facts (Revenues, CostOfRevenue, SellingGeneralAndAdministrativeExpense, OperatingIncomeLoss) for Walmart Inc., read November 18, 2026
