Skip to content
Calculator Collection

Operating Margin Calculator

Calculate operating margin — operating income divided by revenue — to see how much of every sales dollar a company keeps after covering all operating costs but before interest and taxes. Use it as the cleanest measure of pure operational efficiency, independent of capital structure or tax jurisdiction.

Last updated: May 2026

Compare with similar

About this calculator

The formula is: operating margin = operating income ÷ revenue × 100. Operating income — also known as EBIT (earnings before interest and taxes) when there are no unusual items — equals revenue minus cost of goods sold minus operating expenses (SG&A, R&D, marketing, depreciation, amortization). The denominator is total revenue. The result is a percentage of revenue that flows through to operating profit and indicates how efficiently the business converts sales into operating dollars. Operating margin sits between gross margin and net margin on the income statement: gross margin subtracts only COGS; operating margin also subtracts operating expenses but stops before interest and taxes; net margin subtracts everything. By deliberately excluding interest expense (which reflects capital-structure decisions) and taxes (which reflect jurisdiction), operating margin isolates pure operational performance and is the best metric for comparing companies with different debt levels or operating in different tax regimes. Edge cases: zero revenue produces division by zero; negative operating income (operating loss) produces a negative margin, indicating the core business is losing money before any financing or tax effects. Industry norms: software/SaaS 20–35% (high gross margins flow through to high operating margins), pharma 25–40%, consumer staples 15–25%, retail 5–10%, restaurants 5–15%, airlines and shipping highly cyclical (5–15% in good years, negative in downturns), banks not directly comparable (operating margin is replaced by net interest margin), commodity producers fluctuate dramatically with prices. A useful rule of thumb: gross margin minus operating margin equals operating expenses as a percentage of revenue — that gap reveals how much the company spends on overhead, R&D, and selling.

How to use

Example 1 — Mature SaaS company. Revenue is $250,000,000 and operating income (EBIT after subtracting COGS, R&D, sales and marketing, and G&A) is $70,000,000. Enter 70000000 for Operating Income and 250000000 for Total Revenue. Result: 28.0%. Verify: 70,000,000 / 250,000,000 × 100 = 28.0%. ✓ A 28% operating margin is strong for SaaS — best-in-class companies (Microsoft, Adobe) run 35–45% operating margins; this company is solidly profitable but has room to improve operating leverage as it scales. Example 2 — Quick-service restaurant chain. Revenue is $4,800,000,000 and operating income is $432,000,000. Enter 432000000 and 4800000000. Result: 9.0%. Verify: 432M / 4.8B × 100 = 9.0%. ✓ A 9% operating margin is healthy for a QSR chain — the segment typically runs 8–15%, with the best operators (chains with strong franchise economics) reaching 20%+ at the corporate level. Below 5% would be concerning unless explained by deliberate menu investment, store openings, or other temporary factors.

Frequently asked questions

What is the difference between operating margin, gross margin, and net margin?

They form a progression. Gross margin subtracts only the cost of goods sold from revenue — it tells you how profitable the product itself is. Operating margin also subtracts all operating expenses (SG&A, R&D, marketing, depreciation) — it tells you how profitable the operating business is, before financing and taxes. Net margin subtracts everything including interest and taxes — it tells you how profitable the entire business is for shareholders. Each layer answers a different question: gross margin for product economics, operating margin for operational quality, net margin for shareholder returns. A useful diagnostic is the spread between them — if gross margin is healthy but operating margin is thin, the business is overspending on overhead; if operating margin is healthy but net margin is thin, the business is overleveraged or in a high-tax jurisdiction.

Why is operating margin better than net margin for comparing companies?

Because operating margin removes two sources of noise that have nothing to do with operational performance. First, interest expense depends on how much debt a company carries, which is a capital-structure choice rather than an operational one — two identical businesses with different debt levels will have different net margins but the same operating margin. Second, tax rates differ across jurisdictions and have been changing over time (the 2017 US corporate tax cut, various international changes); comparing pre-tax operating margins lets you see operational quality without tax-policy confusion. For these reasons, operating margin (or EBITDA margin, which also excludes depreciation) is the metric of choice for cross-company and cross-border comparisons. Net margin still matters for shareholders (they receive the after-tax, after-interest cash), but it should be analyzed alongside operating margin, not in place of it.

What is considered a good operating margin?

Industry-dependent. Software and SaaS routinely run 20–40% operating margins (high gross margins flow through to high operating leverage); pharma 25–40%; consumer staples 15–25%; consumer discretionary 8–15%; industrial manufacturers 8–15%; retail 4–10%; grocery 2–4%; airlines and shipping 5–15% in good years, often negative in bad years. Within an industry, the best operators usually run 5–10 percentage points above the median, reflecting either pricing power, operational efficiency, or both. Track the trend within a single company: operating margin trending up over time signals improving operational leverage or pricing power; trending down often signals competitive pressure or cost inflation outpacing revenue growth. Compare to industry medians using Damodaran's margin tables or 10-K filings from direct competitors.

What are the most common mistakes people make calculating operating margin?

The biggest is confusing operating margin with EBITDA margin — operating income (EBIT) includes depreciation and amortization as a cost; EBITDA adds them back. EBITDA margin is always higher than operating margin and is favored by leveraged-finance investors as a proxy for cash generation, while operating margin includes the cost of replacing aging assets through D&A. The second is including non-operating items (one-time gains on asset sales, settlement income, currency gains) in operating income — these distort the underlying operational picture and should be backed out. The third is using gross revenue instead of net revenue (after returns, discounts, allowances) in the denominator. The fourth is comparing companies with very different cost capitalization policies — companies that capitalize more software-development costs as long-term assets (depreciated over time) show higher current operating margins than those that expense them as R&D. The fifth is failing to adjust for one-time restructuring charges or write-downs that depress operating margin in a single period without reflecting the ongoing business.

When should I not use this calculator?

Skip it for banks and financial institutions — operating margin doesn't apply because their cost of revenue (interest expense on deposits) is functionally similar to interest on debt, so the typical operating-vs-financing split breaks down. Use net interest margin and efficiency ratio instead. For real estate investment trusts (REITs), funds from operations (FFO) is the relevant metric rather than operating margin because depreciation on properties is not a meaningful operating cost in the same way. For very young or pre-revenue companies, operating margin is wildly volatile and not yet meaningful — focus on revenue growth and cash burn. For commodity producers at the bottom of their cycle, operating margins look terrible; at the top, unsustainably good — through-cycle averages are more informative than any single snapshot. And do not use operating margin in isolation; always pair with revenue growth (to understand whether efficiency is being maintained as the business scales) and return on invested capital (to understand whether the margin is being generated by efficient capital deployment).

Sources & references