Operating Margin Calculator

Measure how much of each dollar of revenue survives after the cost of producing the goods and running the business. Computes operating income, operating margin, gross profit, and gross margin from three income-statement figures.

#business#operating-margin#profitability#accounting#ratio
£
£
£

Operating margin

29.82%

Operating income
£114,301,000,000.00
Gross profit
£169,148,000,000.00
Gross margin
44.13%
Revenue
£383,285,000,000.00
Cost of goods sold (COGS)
£214,137,000,000.00
Operating expenses (SG&A, R&D, D&A)
£54,847,000,000.00

Operating margin = Operating Income / Revenue, where Operating Income = Revenue − COGS − Operating Expenses. The ratio measures how much of every dollar of sales drops to the operating-profit line — before interest, tax, and one-offs. Typical bands are sector-dependent: software firms run 25–35%+, branded consumer goods 15–25%, industrials 8–15%, supermarkets and discount retailers 3–6%. Compare against sector peers and the company’s own trend, never against a universal threshold.

How to use this calculator

Pull three numbers from the income statement: total revenue (or net sales) for the period, cost of goods sold (sometimes called cost of revenue), and total operating expenses — the sum of every line between gross profit and operating income (SG&A, R&D, depreciation, amortisation, and any restructuring or impairment lines the filer keeps above the operating-income line). The calculator subtracts to get gross profit and operating income, then divides each by revenue to give the two margins. Defaults use Apple’s fiscal 2023 figures ($383.3B revenue, $214.1B COGS, $54.8B operating expenses) producing the canonical ~29.8% operating margin.

How the calculation works

Operating margin = Operating Income / Revenue, where Operating Income = Revenue − COGS − Operating Expenses. The ratio sits between gross margin (which speaks only to pricing power and unit economics) and net margin (which is muddied by interest, tax, and one-off items). Because it isolates the core operating business — before financing decisions and tax position — operating margin is the cleanest comparison line between firms with different capital structures or tax domiciles. It is also a direct input to operating leverage: a firm with a high fixed-cost base sees operating margin swing more violently with revenue than a low-fixed-cost peer, even when gross margins are identical.

Worked example

Apple’s fiscal 2023 (ending Sep 2023) 10-K reported total net sales of $383.285B, cost of sales of $214.137B, and total operating expenses of $54.847B (R&D $29.915B + SG&A $24.932B). Gross profit = 383.285 − 214.137 = $169.148B (gross margin 44.13%). Operating income = 169.148 − 54.847 = $114.301B. Operating margin = 114.301 / 383.285 = 29.82%, meaning Apple kept just under 30 cents of operating profit on every dollar of revenue — extremely high for a hardware-dominated business, reflecting the brand premium and the rising mix of high-margin services revenue.

Frequently asked questions

What is a "good" operating margin?

Operating margin is strongly sector-dependent, so there is no universal threshold. Software and platform businesses commonly run 25–35% or higher; branded consumer goods and pharma sit around 15–25%; industrials and chemicals cluster at 8–15%; supermarkets and discount retailers run 3–6%; airlines and broadline distributors are often below 5%. Always compare a company against its sector peers and its own multi-year trend. A 10% operating margin would be excellent for a grocer and disappointing for a software vendor.

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

Gross margin = (Revenue − COGS) / Revenue measures pricing power and the unit economics of producing each sale. Operating margin extends the subtraction to cover SG&A, R&D, depreciation, and amortisation — every cost of actually running the business as a going concern — but stops before financing and tax. Net margin includes interest, tax, and any non-operating gains or losses, so it reflects the entire capital structure and tax position on top of operations. For comparing operating performance between firms with different debt loads or tax jurisdictions, operating margin is usually the cleanest of the three.

Why use operating margin instead of 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 often higher, which is exactly why management teams quote it. For capital-intensive businesses — telecoms, manufacturing, infrastructure — EBITDA margin can flatter 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, and it is 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. Two companies with identical current operating margins can have very different earnings volatility through the cycle, 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 / cost of revenue) 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 they invest 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 yet been matched by a comparable cost reduction. The calculator returns the negative figure rather than truncating to zero, because the magnitude of the loss is itself important information.