Operating Margin Explained: How the Ratio Works and What It Tells You

Operating margin is the profitability ratio that strips out financing and tax to isolate how much of each dollar of revenue survives the core business. This guide covers the formula, a worked example using Apple fiscal 2023, how operating margin compares to gross, net and EBITDA margins, sector benchmarks from software to airlines, the role of operating leverage, what moves the ratio year to year, and the most common analytical mistakes.

#business#operating-margin#profitability#accounting#ratio#income-statement

What operating margin actually measures

Operating margin is a profitability ratio. It tells you how many cents of operating profit a company keeps from every dollar of revenue after paying for the goods it sold and the cost of running the business as a going concern — but before any of the noise that financing decisions and tax position introduce. A margin of 20 percent means that for every dollar of sales, 20 cents survives once cost of goods sold, sales and administrative expenses, research and development, and depreciation and amortisation have all been taken out. The operating margin calculator on this site computes the figure plus the underlying gross profit, gross margin and operating income from three lines on the income statement: revenue, cost of goods sold, and total operating expenses.

The ratio sits in a specific spot on the income statement for a reason. Gross margin, the line above it, isolates the unit economics of producing a sale — pricing power and direct cost discipline. Net margin, the line below it, folds in interest, tax and any one-off non-operating items, so it reflects the entire capital structure and tax jurisdiction on top of operations. Operating margin is the clean middle: the profitability of the core business engine, stripped of financing and tax effects but inclusive of all the real costs of actually running the business. It is the line analysts and rating agencies usually quote first when they compare two firms that share an industry but differ in debt load or domicile.

Operating margin is not a verdict on its own. A 6 percent margin would be excellent for a discount grocer and catastrophic for a software vendor; the same company can post very different margins year-to-year as the cost base shifts or revenue cycles. The number means something only in comparison — against sector peers, against the firm's own multi-year trend, and against the rest of the profitability stack. The sections below cover how to read it well.

The formula and the income-statement components

The arithmetic is elementary. Two intermediate figures feed the final ratio:

Gross Profit       = Revenue − Cost of Goods Sold
Operating Income   = Gross Profit − Operating Expenses
= Revenue − COGS − Operating Expenses
Operating Margin   = Operating Income / Revenue

where:
Revenue              = net sales after returns, discounts, allowances
COGS                 = direct cost of producing the units sold
Operating Expenses   = SG&A + R&D + Depreciation + Amortisation

Revenue is the top line — net sales after returns, discounts and allowances, but before any other adjustments. Cost of goods sold (sometimes called cost of sales or cost of revenue) captures the direct cost of producing the units sold: raw materials, manufacturing labour, freight in, manufacturing overhead. Operating expenses gathers everything between gross profit and operating income on the income statement — selling, general and administrative expenses (SG&A), research and development (R&D), depreciation, amortisation, and any restructuring or impairment charges the filer keeps above the operating- income line.

The split between COGS and operating expenses is the part that requires the most care. Both US GAAP and IFRS give the filer some latitude in how the line is drawn, and consistent classification matters more than picking the “right” one. A company that pulls stock-based compensation out of operating expenses one year and pushes it into COGS the next is breaking the comparability of its own trend, even though every individual figure is technically defensible. When you feed numbers into the operating margin calculator, use the company's own published split and stay with that split across every period and every peer comparison.

Worked example: Apple fiscal 2023

Apple's fiscal 2023 10-K, for the year ending September 2023, reported total net sales of 383.3 billion dollars, cost of sales of 214.1 billion dollars, and total operating expenses of 54.8 billion dollars — split between research and development of 29.9 billion and selling, general and administrative of 24.9 billion. The arithmetic plugs straight into the formula.

Gross Profit       = 383.3 − 214.1            = $169.2B
Gross Margin       = 169.2 / 383.3            = 44.1%
Operating Income   = 169.2 − 54.8             = $114.3B
Operating Margin   = 114.3 / 383.3            = 29.8%

Apple kept just under 30 cents of operating profit for every dollar of sales — extremely high for a business with so much of its revenue tied to a hardware mix, and the result of two compounding effects: the brand premium that lets Apple price hardware well above commodity replacement cost, and the rising mix of services revenue (App Store, iCloud, AppleCare, advertising), which carries materially higher gross margins than the hardware lines.

Now run the same arithmetic on a very different business. Walmart's fiscal 2024 10-K reported revenue of about 648 billion dollars, cost of sales of about 490 billion, and operating expenses of about 132 billion — for an operating income of about 27 billion and an operating margin near 4.2 percent. Same formula, same line items, two operationally healthy businesses, margins that differ by a factor of seven. The number you want is not Apple's number; the number you want is the right number for the business model you are looking at.

Operating margin versus gross, net and EBITDA margins

The four profitability margins answer different questions about the same income statement. Reading them as a stack is more informative than reading any single one.

Gross Margin       = (Revenue − COGS) / Revenue
Operating Margin   = Operating Income / Revenue
EBITDA Margin      = (Operating Income + D&A) / Revenue
Net Margin         = Net Income / Revenue

Gross margin speaks only to pricing power and the unit economics of production. A widening gross margin usually means the company has either pushed price up, taken cost out of production, or shifted its sales mix toward higher- margin products. It says nothing about whether the overhead and operating cost base of the business is sustainable — Tesla can post a 25 percent gross margin and still lose money at the operating line if the R&D and SG&A base is large enough.

Operating margin extends the subtraction to cover SG&A, R&D, depreciation and amortisation — every cost of running the business, including the cost of using up long-lived productive assets. It stops short of interest and tax, which is what makes it the right comparison line between firms with different debt structures or tax jurisdictions. The two firms in the example above can have identical operating margins and very different net margins because of the interest expense on their respective debt stacks; that difference is a capital-structure choice, not an operating outcome.

EBITDA margin adds depreciation and amortisation back. It is usually higher than operating margin and is the figure management teams quote most often, because it removes the accounting cost of using up capital equipment from the comparison. For light-capital businesses — software, professional services, consumer brands without owned manufacturing — the gap is small and EBITDA is a defensible proxy for cash from operations. For heavy-capital businesses — telecoms, manufacturing, infrastructure — the D&A that EBITDA strips out represents a genuine, recurring need to reinvest, and EBITDA margin flatters the picture in a way that operating margin does not. The EBITDA calculator on the site computes the figure if a side-by-side comparison is useful.

Net margin folds in interest, tax and any non-operating gains or losses. For an investor reading a single company, net margin is the relevant figure because dollars of net income are what flow to shareholders. For comparison between companies or across time, net margin is the noisiest of the four — a tax-rate change, a one-off legal settlement, a gain on the sale of a building, an unrealised currency loss, can all swing it without telling you anything about the underlying operating business.

Sector benchmarks and what they mean

Operating margin varies more across sectors than across well-run versus poorly run companies within a sector. Rough ranges from S&P 500 filings, NYU Stern's Damodaran sector data, and Aswath Damodaran's “Margins by Sector” compilation:

  • Software, platform and SaaS: 25 to 40 percent. Microsoft, Adobe, Oracle, ServiceNow. High gross margins on near-zero marginal cost combined with operating leverage on a largely fixed cost base. The mature platform names sit at the top of this band; early-stage SaaS firms can run deeply negative margins for years.
  • Branded consumer goods and pharma: 15 to 25 percent. P&G, Unilever, Colgate, Nestlé, the major pharmaceutical companies. Branded pricing power on mature distribution networks. Margin is usually stable year to year and the lever for outperformance is mix.
  • Premium hardware and luxury: 15 to 30 percent. Apple, LVMH, Hermès, Ferrari. Brand premium offsetting the cost of physical goods. The hardware names sit lower in the band; pure luxury sits at the top.
  • Industrials, chemicals and capital goods: 8 to 15 percent. Caterpillar, Deere, Dow, 3M. Capital- intensive production with cyclical revenue. Operating margin moves with the cycle and operating leverage is high.
  • Broadline retail: 3 to 6 percent. Walmart, Target, Costco, Tesco. Thin per-unit margin on enormous volume. The economics depend on asset turnover rather than margin; revisit the picture using the asset turnover calculator.
  • Airlines, broadline distributors and grocers: 0 to 5 percent. Delta, United, Sysco, Kroger. Razor-thin margins, high cyclicality, frequent excursions into negative operating margin during demand shocks.
  • Telecoms and utilities: 10 to 20 percent. Verizon, AT&T, Duke Energy, National Grid. The margin looks healthy, but EBITDA-to-operating margin gap is large because depreciation is a genuine and recurring cost. Compare the regulated utilities on operating margin, not on EBITDA.
  • Banks and insurers: excluded. Financial-services firms do not produce comparable operating margins because the cost of funds, loan loss provisions and the operating model itself are entangled with the balance sheet. Use net interest margin, the efficiency ratio and return on tangible equity instead.

Operating leverage and why margin moves with revenue

Operating leverage is the sensitivity of operating income to a change in revenue, and it is driven by the mix of fixed versus variable costs inside the operating expense base. Two firms with identical current operating margins can have very different earnings volatility through the cycle, and operating leverage is what explains the difference.

Degree of Operating Leverage = % Change in Operating Income / % Change in Revenue

A high-fixed-cost business — heavy R&D, large permanent headcount, big depreciation charges — has a high degree of operating leverage. When revenue grows, more of the incremental dollar drops through to operating income because the fixed cost base does not scale with the revenue. Operating margin expands sharply. When revenue falls, the same fixed costs still sit there and operating margin contracts just as sharply. Software firms, semiconductor manufacturers and airlines all share this pattern.

A variable-cost business — most distribution, retail and contract manufacturing — has low operating leverage. Operating margin moves only modestly with revenue because the cost base scales with the volume being shipped or sold. These businesses are more cyclically resilient but they do not generate the operating-margin expansion that drives the most dramatic earnings stories.

Reading margin direction in isolation misses this structural difference. A software firm posting a 200 basis-point margin expansion on 10 percent revenue growth is doing exactly what its operating model is built to do; a grocer posting the same expansion on the same revenue growth is probably doing something genuinely interesting on cost.

What moves operating margin year to year

Operating margin for the same company changes between periods for reasons that range from genuine operating improvement to pure accounting timing. The most common drivers, roughly in the order they show up in practice:

  • Sales mix shift. A higher proportion of revenue coming from a higher-margin product line lifts the average margin without any change to the underlying unit economics of any individual line. Apple's services mix is the headline example — services gross margin sits around 70 percent versus hardware gross margin near 36 percent, so every percentage point of mix shift lifts the blended margin meaningfully.
  • Operating leverage on growth or decline. As discussed in the previous section, a fixed cost base plus revenue growth expands margin mechanically; the same fixed cost base plus revenue decline contracts it mechanically.
  • Input cost cycles. Raw materials, freight, labour and energy all cycle. The COGS impact shows up in gross margin first and rolls through to operating margin unless price increases or productivity gains offset it.
  • One-off restructuring and impairment. Severance, plant closure costs and goodwill write-downs sit inside operating expenses for most filers, so they compress operating margin in the year they are taken. Many analysts strip these out to compute an “adjusted” operating margin — a useful number, but watch for repeat offenders that take a “one-off” restructuring every year.
  • FX translation. A multinational with revenue denominated in a falling currency and costs in a rising currency sees margin compress without any underlying change. Read the constant-currency margin alongside the headline number.
  • Capitalisation choices. A company that starts capitalising more of its software development spend pushes that expense out of the operating line and into depreciation, which lifts current-period operating margin without changing any economic reality. The change is disclosed but easy to miss.

How to improve operating margin

Operating margin improvement programmes generally fall into four buckets. The best results come from working on more than one of them in parallel.

  • Lift gross margin. Raise prices where the brand or product position supports it, shift mix toward higher-margin SKUs, take out direct production cost through automation, scale procurement, or geographical sourcing changes. Gross-margin gains flow straight through to operating margin unless they are absorbed by higher operating expenses. The gross margin calculator isolates this leg of the picture.
  • Take out operating expense. Headcount reduction, real-estate footprint compression, marketing spend efficiency, vendor consolidation, shared-service centralisation. The risk is cutting into capabilities that drive future revenue — particularly R&D, where short-term margin gains can show up years later as declining competitive position.
  • Drive operating leverage on the existing cost base. Grow revenue without proportional growth in operating expense. The classic SaaS story: every incremental customer dollar drops through to operating income because the platform, the engineers and the sales team are already paid for. Works only when the cost base is genuinely fixed and the growth is sustained.
  • Reshape the business mix. Divest low- margin lines, acquire high-margin ones, exit geographies where the unit economics do not work. The most permanent form of margin improvement and the slowest to execute.

Common mistakes that distort the ratio

Most operating-margin mistakes are not arithmetic. They are choices about how to construct the inputs that produce a number disconnected from what the business is actually doing.

  • Comparing across sectors without translation. An 8 percent margin for an industrial firm and a 28 percent margin for a software firm say nothing about which business is better run. Compare within sector or translate the comparison into the full DuPont decomposition.
  • Mixing operating and non-operating items. Gains on the sale of property, investment income, litigation settlements and FX gains all flow through the income statement but are not part of operations. Some filers tuck them above the operating-income line; many analysts move them back out. Be explicit about which line you are using.
  • Using EBITDA margin as if it were operating margin. EBITDA strips out depreciation and amortisation, which represent real, recurring economic cost in capital-intensive industries. Quoting EBITDA margin while calling it “operating” obscures the cost of using up productive assets.
  • Ignoring stock-based compensation. Stock-based compensation is a real cost to existing shareholders even when it is non-cash. Most technology firms publish a non-GAAP operating margin that excludes it, and many of them quote that figure first. Operating margin computed from GAAP operating income is the comparable line.
  • Comparing different fiscal years. Apple ends its fiscal year in September, Walmart in January, most US firms in December. Cross-company comparison is easier on calendar-year basis or on trailing-twelve- month basis. Make the choice explicit.
  • Reading a single year. Operating margin for any one period is sensitive to mix, cycle and one-off items. The three-to-five-year trend is what tells you whether the business is structurally improving, holding steady, or eroding.

When to escalate beyond a calculator

A drifting operating margin is a symptom, not a diagnosis. If the ratio is falling and a careful read of the gross margin, operating expense lines and any disclosed one-off items does not surface an obvious cause, it is worth bringing in a controller or an outside accountant to read the operating expense lines item by item. For listed companies, the equity analyst consensus often catches structural shifts in margin before the headline numbers move, and reading the most recent sell-side initiation report is a useful sanity check on the story you have constructed from the filings.

Where operating margin fits with other metrics

A complete read on operating performance uses operating margin alongside the rest of the profitability stack and the activity ratios that sit beneath it. Gross profit and gross margin from the gross margin calculator cover the unit-economics leg; the EBITDA calculator handles the cash-flow-proxy comparison; the asset turnover calculator provides the efficiency leg of the DuPont decomposition, and the ROI calculator wraps the returns picture. The valuation context that surrounds the margin sits in the P/E ratio calculator and the enterprise value calculator. Running the operating margin calculator first and then layering in the other ratios is the natural order of operations for a profitability review.

Frequently asked questions

Quick answers to the questions that come up most often when analysts and small-business owners work through their first operating-margin calculations.

What is a “good” operating margin?

It depends entirely on sector. Software runs 25 to 40 percent; branded consumer goods and pharma 15 to 25; premium hardware and luxury 15 to 30; industrials 8 to 15; retail 3 to 6; airlines and grocers 0 to 5; telecoms and utilities 10 to 20. A 10 percent margin would be excellent for a supermarket and disappointing for a software vendor. Always benchmark against direct peers and the company's own multi-year trend.

How is operating margin different from net margin?

Operating margin stops at operating income — before interest, tax and non-operating items. Net margin folds all of those in. For comparing operating performance between firms with different debt structures or tax jurisdictions, operating margin is the cleaner line. For thinking about what actually flows to shareholders, net margin is the relevant one.

Why prefer operating margin to EBITDA margin?

Operating margin includes depreciation and amortisation, which represent the real economic cost of using up long- lived assets. EBITDA strips that out and is therefore higher — particularly for capital-intensive businesses where the D&A line is large and recurring. For light- capital businesses the two are close. For heavy-capital businesses, EBITDA margin flatters the picture and operating margin is the more honest figure.

Where exactly is the line between COGS and operating expenses?

Both US GAAP and IFRS let the filer draw the line, subject to consistency. COGS captures direct production cost; SG&A, R&D, depreciation and amortisation sit in operating expenses. Read the company's own classification and keep the same split across every period and every peer comparison — consistency matters more than which side a borderline line ends up on.

What is operating leverage?

The sensitivity of operating income to a change in revenue. High operating leverage means a high proportion of fixed costs in the operating expense base, so operating margin expands sharply when revenue grows and contracts sharply when revenue falls. Low operating leverage means a more variable cost base and a more stable margin through the cycle.

Can operating margin be negative?

Yes. Any time COGS plus operating expenses exceed revenue, operating income is negative and the margin reads as a negative percentage. Early-stage growth firms often run negative operating margins by design while investing ahead of revenue. Mature firms with negative operating margins are usually flagged as turnaround situations or structurally challenged businesses.

Why are stock-based compensation and non-GAAP figures so common in tech?

Stock-based compensation is a large, non-cash, dilutive cost for most large technology firms. Companies publish non-GAAP operating margins that exclude it because the figure is easier to compare period-to-period when the share-price moves drive accounting expense. The trade-off is comparability with non-tech firms and with the firm's own historical GAAP figures, both of which include SBC. As an analyst, look at both.

How can a small business compute operating margin from QuickBooks or Xero?

Run the Profit & Loss report for the period. Take total income as revenue, cost of sales as COGS, and the sum of every expense line between gross profit and net profit before interest and tax as operating expenses. Feed all three into the operating margin calculator. The QuickBooks default chart of accounts categorises these correctly out of the box; check that one-off lines like asset disposals are not living above operating income if you want a clean ratio.

Frequently asked questions

What is a "good" operating margin?

It depends entirely on sector. Software businesses commonly run 25 to 40 percent, branded consumer goods and pharma 15 to 25, premium hardware and luxury 15 to 30, industrials 8 to 15, broadline retail 3 to 6, airlines and grocers 0 to 5, telecoms and utilities 10 to 20. A 10 percent operating margin would be excellent for a supermarket and disappointing for a software vendor. Always benchmark against direct sector peers and the company's own multi-year trend rather than a universal threshold.

How is operating margin different from gross margin and net margin?

Gross margin equals revenue minus COGS divided by revenue — it measures pricing power and the unit economics of production. Operating margin extends the subtraction to cover SG&A, R&D, depreciation and amortisation — every cost of running the business as a going concern — but stops before interest and tax. Net margin folds in interest, tax and any non-operating gains or losses, so it reflects the entire capital structure and tax position on top of operations. Operating margin is usually the cleanest line for comparing firms with different debt loads or tax jurisdictions.

Why prefer operating margin to EBITDA margin?

Operating margin is computed after depreciation and amortisation, so it reflects the real economic cost of using up long-lived assets. EBITDA margin adds D&A back and is consequently higher, which is exactly why management teams quote it. For capital-intensive businesses — telecoms, manufacturing, infrastructure, utilities — EBITDA margin flatters the picture because the depreciation it strips out represents a genuine, recurring need to reinvest. Operating margin keeps that cost in view, which is why analysts and rating agencies typically lead with it for cross-company and cross-sector comparison.

What is operating leverage and how does it relate to operating margin?

Operating leverage is the sensitivity of operating income to a change in revenue, driven by the mix of fixed versus variable costs inside operating expenses. A firm with a high fixed-cost base — heavy R&D, large headcount, big depreciation charges — sees operating margin expand sharply when revenue grows and contract sharply when revenue falls. A firm dominated by variable costs sees operating margin stay relatively flat through the cycle. Two companies with identical current operating margins can have very different earnings volatility, and operating leverage is what explains the difference.

Where exactly do I draw the line between COGS and operating expenses?

Both US GAAP and IFRS distinguish costs that vary directly with production volume (cost of goods sold, or cost of sales) from period costs that support the business overall (SG&A, R&D, depreciation, amortisation). The line is drawn by the filer in its income-statement presentation, and consistency is what matters: read the company's own classification, then keep it the same across periods and peers. If you reclassify a line — for example, pulling stock-based compensation out of operating expenses and into COGS — apply the same reclassification to every period and every comparator, or the margin trend will be meaningless.

Can operating margin be negative?

Yes. Any time operating expenses plus COGS exceed revenue, operating income is negative and the margin reads as a negative percentage. Early-stage growth companies often run negative operating margins by design while investing ahead of revenue. Mature companies running negative operating margins are usually flagged as turnaround situations or businesses under structural pressure — a falling top line that has not been matched by a comparable cost reduction. The magnitude of the loss matters; a small negative margin in a transition year is very different from a deeply negative margin in a structurally challenged business.

Why is stock-based compensation excluded from non-GAAP operating margin?

Most technology firms publish a non-GAAP operating margin that excludes stock-based compensation because the figure is non-cash and is easier to compare period-to-period when share-price moves drive the accounting expense. The trade-off is comparability — both with non-tech firms whose SBC is small or zero, and with the firm's own historical GAAP figures. SBC is a real cost to existing shareholders even when it is non-cash, because it dilutes their ownership. The right approach is to look at both GAAP and non-GAAP margins and understand the gap between them.

Why are banks and insurers excluded from operating-margin analysis?

Financial-services firms do not produce comparable operating margins because the cost of funds, loan-loss provisions and the operating model itself are entangled with the balance sheet. The deposits and loans on a bank's books are not productive assets and operating expenses in the industrial sense; they are the inventory and the customer base at the same time. Bank analysts use net interest margin, the efficiency ratio and return on tangible equity instead, and the same logic applies to insurers, asset managers and most other financial-services firms.

Informational only. Not personalised financial, legal, or tax advice.