Operating Margin: Formula, Calculation & Industry Benchmarks
What Is Operating Margin?
Operating margin measures the percentage of revenue remaining after paying all costs of running the core business — COGS, wages, rent, R&D, marketing — but before interest and taxes. It is the purest measure of operational efficiency and pricing power because it strips away financing decisions and tax jurisdictions that management can't always control. A high operating margin means the company has built a product people will pay a premium for, found a way to produce more cheaply, or both.
Operating margin varies enormously across industries: enterprise software routinely exceeds 30%, while grocery retailers operate on 3–5%. This is precisely why evaluating margin without sector context leads to wrong conclusions. NVIDIA's 60% margin and Costco's 3.8% margin are both excellent — for their respective industries. The UQS Quality pillar addresses this with sector-calibrated thresholds.
Operating Margin Formula
Operating Income (EBIT) = Revenue − COGS − SG&A − R&D − Depreciation & Amortization. It excludes interest, taxes, and non-operating items. Revenue is total top-line sales.
The margin can be decomposed: gross margin captures pricing power and production efficiency, while the gap between gross margin and operating margin reveals overhead spending (R&D, sales, admin). A company with 70% gross margin but 20% operating margin spends 50% of revenue on operations — useful context for evaluating whether that spending is driving growth or just burning cash.
How to Calculate Operating Margin
Step 1: Find Operating Income (EBIT) on the income statement. Suppose: $150M.
Step 2: Find Revenue on the income statement. Suppose: $600M.
Step 3: Divide: $150M ÷ $600M × 100 = 25%.
A 25% operating margin means the company retains $0.25 of operating profit for every dollar of sales. In technology, this is average. In consumer retail, it would be exceptional. Context is everything — which is why the UQS scoring engine evaluates margins against industry-specific benchmarks rather than universal thresholds.
Operating Margin Benchmarks by Industry
Typical operating margins by sector:
Enterprise Software: 25–45%. Near-zero marginal cost drives structural profitability.
Semiconductors: 30–50%. High R&D upfront, but massive scale economics on manufacturing.
Financial Services: 25–35%. Fee-based revenue with moderate operational costs.
Consumer Goods: 15–25%. Brand power and distribution efficiency determine the range.
Industrials & Utilities: 10–20%. Capital-intensive with regulated or commoditized pricing.
Retail: 3–8%. Thin margins by design; volume and inventory turns drive profitability.
A "good" operating margin is always relative to industry economics. The best quality stocks ranking rewards companies that outperform their sector peers, not an arbitrary universal threshold.
Gross Margin vs Operating Margin
Gross margin = (Revenue − COGS) / Revenue. Operating margin = (Revenue − all operating costs) / Revenue. The gap between them is the company's operating expense burden — SG&A, R&D, depreciation. A company with 80% gross margin but 15% operating margin spends 65% of revenue on operations. That's typical for early-stage SaaS companies investing heavily in sales and R&D to drive growth.
For mature companies, a large gap can signal inefficiency. If two software companies both have 75% gross margin but one has 35% operating margin and the other 20%, the second is spending 15% more of revenue on operations — that's either strategic investment or waste, and the multi-year trend tells you which. UQS captures both dimensions through the Quality pillar's six complementary metrics.
Operating Margin vs Profit Margin
"Profit margin" typically refers to net profit margin — the bottom line after interest and taxes. Operating margin excludes those, isolating core business efficiency. The gap reveals financing costs and tax impact.
NVIDIA: 60% operating margin → 56% net margin (gap: 4pp — minimal debt, favorable tax). A company with 30% operating margin but 15% net margin is paying significant interest and taxes — 50% of operating profit consumed before it reaches shareholders. For quality assessment, operating margin is often more informative because it isolates operational efficiency from capital structure decisions.
Operating Margin vs EBITDA Margin
EBITDA margin adds back depreciation and amortization to operating income, producing a higher figure. EBITDA Margin = (EBITDA / Revenue) × 100. The difference matters for capital-intensive companies: a manufacturer with heavy depreciation might show a 12% operating margin but 22% EBITDA margin. The 10pp gap represents the cost of maintaining its asset base.
For asset-light businesses (software, services), the two margins are nearly identical since depreciation is minimal. Operating margin is the stricter metric because it includes the real cost of asset wear. The UQS Quality pillar uses operating margin, not EBITDA margin, because it better reflects the true ongoing cost of business operations. EV/EBITDA appears separately in the Valuation pillar for comparing enterprise value across capital structures.
How Operating Margin Is Used in the UQS Score
Operating margin is one of six metrics in the Quality pillar, combined via avgNonNull. Sector-calibrated thresholds ensure a 15% margin earns a high score in Consumer Staples but modest in Technology. This calibration prevents grocery chains and industrials from automatically scoring poorly simply because of their industry's structural economics.
Operating margin complements ROIC (capital efficiency) and FCF yield (cash conversion) in the Quality pillar. A company can have high margins but poor ROIC if it deploys excessive capital, or high margins but low FCF yield if cash is consumed by working capital. The six metrics together catch blind spots that any single metric would miss. Read the full UQS methodology →
Frequently Asked Questions
What is a good operating margin?
It depends entirely on the industry. Software: 25–45%. Semiconductors: 30–50%. Consumer goods: 15–25%. Retail: 3–8%. The key is comparing against sector peers, not universal thresholds. A 5% margin is excellent in grocery but poor in tech. UQS uses sector-calibrated thresholds to account for this automatically.
What does operating margin mean?
Operating margin tells you what percentage of each revenue dollar the company keeps as operating profit after all business costs (COGS, wages, R&D, rent, marketing) but before interest and taxes. A 25% operating margin means $0.25 of every $1 in sales becomes operating profit. It measures core business efficiency independent of how the company is financed or where it's headquartered.
What is the difference between operating margin and net margin?
Operating margin excludes interest and taxes; net margin includes everything. The gap reveals financing costs and tax burden. A company with 30% operating and 15% net margin loses half its operating profit to interest and taxes. For assessing business quality, operating margin is more informative because it isolates operational efficiency from capital structure and tax jurisdiction decisions.
Related Metrics
See which stocks have the highest margins and quality scores
View the Rankings →Want to see how all 29 metrics work together?
The UQS Score combines Quality, Moat, Growth, Risk, Valuation, and Momentum into a single composite score for 6,400+ stocks.
Read the Full Methodology