FinWiz

Operating Margin: Formula, Benchmarks & Industry Comparisons

intermediate8 min readUpdated March 15, 2026

Key Takeaways

  • Operating margin measures the percentage of revenue remaining after covering all operating expenses, calculated as operating income divided by revenue
  • It sits between gross margin (which excludes operating expenses) and net margin (which includes taxes and interest), providing the clearest view of core business profitability
  • Technology companies typically achieve operating margins of 25-35%+, while retailers operate on margins of 3-8%, making cross-sector comparisons misleading
  • Expanding operating margins indicate improving operational efficiency or pricing power; declining margins suggest rising costs or competitive pressure
  • Operating margin is the preferred profitability metric for comparing companies because it excludes tax strategies and capital structure differences that distort net margin

What Is Operating Margin?

Operating margin (also called operating profit margin or operating income margin) is the percentage of revenue that remains after deducting all operating expenses, including cost of goods sold, selling expenses, general and administrative costs, and depreciation. It measures how efficiently a company converts revenue into operating profit from its core business activities.

Operating Margin = (Operating Income / Revenue) x 100

Where: Operating Income = Revenue - Cost of Goods Sold - Operating Expenses Operating Income = Gross Profit - Operating Expenses (SGA, R&D, Depreciation)

If a company generates $10 billion in revenue and $2.5 billion in operating income, its operating margin is 25%. This means the company keeps $0.25 from every dollar of revenue after paying all operating costs but before interest on debt and income taxes.

Operating margin is often considered the most important profitability metric because it captures the economics of the core business without being distorted by financing decisions (debt vs. equity) or tax strategies that affect net income. Two companies with identical operating margins but different capital structures will have different net margins, making operating margin the better comparison point.

Operating Margin vs. Gross Margin vs. Net Margin

Understanding where operating margin sits in the profitability hierarchy is essential.

Gross Margin

Gross margin measures the percentage of revenue remaining after only the direct cost of producing goods or services (cost of goods sold).

Gross Margin = (Revenue - Cost of Goods Sold) / Revenue x 100

Gross margin does not include operating expenses like research and development, marketing, executive salaries, or rent. It tells you how profitable the product itself is before considering the overhead of running the business.

Operating Margin

Operating margin takes gross profit and subtracts all operating expenses. It shows whether the business as a whole is profitable from its operations, not just whether the product is profitable.

Net Margin

Net margin includes everything: operating costs, interest expense, taxes, and other non-operating items.

Net Margin = Net Income / Revenue x 100

Margin LevelWhat It IncludesWhat It Tells You
Gross MarginProduct costs onlyProduct profitability
Operating MarginProduct + operating costsCore business profitability
Net MarginEverything (including interest, taxes)Bottom-line profitability

Example using Apple (approximate):

  • Revenue: $383 billion
  • Gross Margin: ~45% ($172B gross profit)
  • Operating Margin: ~30% ($115B operating income)
  • Net Margin: ~25% ($97B net income)

The 15-point gap between gross margin (45%) and operating margin (30%) represents Apple's operating expenses: R&D, marketing, administration. The 5-point gap between operating margin (30%) and net margin (25%) represents taxes and other non-operating items.

Sector Benchmarks

Operating margins vary enormously by industry. Companies with high barriers to entry, strong pricing power, or asset-light business models tend to have the highest margins.

SectorTypical Operating MarginKey Drivers
Software/SaaS25-40%+High gross margins, scalable delivery
Technology (hardware)15-30%R&D costs offset by IP pricing power
Pharmaceuticals20-35%Patent protection, high pricing
Financial Services25-40%Scalable, low marginal costs
Consumer Staples12-20%Brand premiums, steady demand
Industrials10-18%Capital-intensive, moderate competition
Retail (general)3-8%High competition, thin margins
Grocery2-5%Commodity-like products, intense competition
Airlines5-15%High fixed costs, price sensitivity
Restaurants10-20%Labor-intensive, location-dependent

Pro Tip

When comparing operating margins across companies, always compare within the same industry. A 10% operating margin at a grocery retailer is exceptional, while the same margin at a software company would be concerning. Also compare to the company's own historical margins. Expanding margins over time indicate improving competitive position, while contracting margins suggest growing headwinds.

A single quarter's operating margin is less informative than the trend over time. Look at operating margin over 3-5 years to identify whether the company's core profitability is improving or deteriorating.

Expanding Margins

Operating margins expand when revenue grows faster than operating costs. Common drivers include:

  • Pricing power: The company raises prices without losing customers
  • Operating leverage: Fixed costs are spread over more revenue (software companies scale well)
  • Cost reduction: Efficiency improvements reduce per-unit costs
  • Mix shift: The company sells more high-margin products and fewer low-margin ones

Contracting Margins

Operating margins contract when costs grow faster than revenue. Common causes include:

  • Competitive pressure: Price wars or new entrants force prices lower
  • Input cost inflation: Raw material, labor, or energy costs rise faster than prices
  • Investment spending: Heavy R&D or marketing investment temporarily reduces margins
  • Business maturation: Growth slows but the cost structure does not adjust

The Operating Leverage Effect

Operating leverage describes how sensitive operating income is to changes in revenue. Companies with high fixed costs and low variable costs have high operating leverage.

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

Example: Revenue increases 10%, Operating Income increases 20% Operating Leverage = 20% / 10% = 2.0x

High operating leverage means operating margin expands rapidly when revenue grows but contracts rapidly when revenue declines. Software companies have extreme operating leverage because their primary costs (development) are fixed, while each additional sale has near-zero marginal cost.

Operating Margin and Valuation

Operating margin connects directly to valuation metrics and equity analysis.

Connection to P/E and Earnings

A company's earnings per share and P/E ratio are directly influenced by operating margin. All else equal, a company that improves its operating margin from 15% to 20% will see proportional EPS growth, potentially driving a higher stock price.

EBITDA Relationship

EBITDA (Earnings Before Interest, Taxes, Depreciation, and Amortization) is closely related to operating income. The EBITDA margin adds back depreciation and amortization to operating income, providing a cash-oriented view of operating profitability.

EBITDA = Operating Income + Depreciation + Amortization

EBITDA Margin = EBITDA / Revenue x 100

For capital-intensive businesses with large depreciation charges, the EBITDA margin is significantly higher than the operating margin and may better represent cash profitability.

DuPont Analysis

Operating margin feeds into the DuPont analysis framework for decomposing return on equity. The net profit margin component of DuPont starts with operating margin and adjusts for interest and taxes.

Real-World Analysis: Microsoft vs. Oracle vs. Salesforce

Comparing three enterprise software companies illustrates how operating margins differ even within the same industry.

MetricMicrosoftOracleSalesforce
Revenue~$236B~$53B~$35B
Operating Income~$109B~$16B~$6B
Operating Margin~46%~30%~17%
Gross Margin~69%~72%~75%
Revenue Growth~16%~6%~11%

Despite Salesforce having the highest gross margin, its operating margin is the lowest because of its heavy spending on sales and marketing. Microsoft's operating margin is the highest because it has achieved massive scale, allowing it to spread its operating expenses across a much larger revenue base. This demonstrates operating leverage at work.

Common Mistakes in Operating Margin Analysis

Comparing across industries. A 5% operating margin at a grocery chain does not indicate worse management than a 35% margin at a software company. Industry structure, not management quality, drives most of the difference.

Ignoring one-time items. Restructuring charges, asset impairments, and litigation costs can temporarily depress operating margins. Always calculate adjusted operating margin that excludes one-time items for a clearer picture of ongoing profitability.

Forgetting about investment cycles. Companies investing heavily in growth (hiring, R&D, marketing) may have temporarily depressed operating margins. If these investments generate future revenue growth, the margin compression may be a positive sign of reinvestment rather than a negative signal.

Overlooking the income statement location. Different companies and reporting standards may classify certain expenses differently (above or below the operating income line). Always verify what is included in operating income for each company you analyze.

FAQ

What is a good operating margin?

A "good" operating margin depends entirely on the industry. Technology companies with margins above 25% are performing well. Retailers with margins above 8% are strong. The best benchmark is comparing to direct competitors and to the company's own historical performance.

How does operating margin affect stock price?

Operating margin directly impacts earnings, which is a primary driver of stock valuation. Improving margins, especially when combined with revenue growth, can drive significant stock appreciation. Margin expansion is one of the most bullish fundamental catalysts, as it shows the company is becoming more profitable at its core.

Can operating margin be negative?

Yes. A negative operating margin means the company loses money on its operations. This is common for pre-profit growth companies investing heavily in market capture (many tech startups), cyclical companies during downturns, and turnaround situations. The price-to-sales ratio is more useful for valuing companies with negative operating margins since P/E is unavailable.

What is the difference between operating margin and EBITDA margin?

Operating margin includes depreciation and amortization; EBITDA margin excludes them. For asset-light businesses (software), the two are similar. For capital-intensive businesses (airlines, manufacturing), EBITDA margin is significantly higher and may better represent cash profitability. Neither is universally better; use both for a complete picture.

How can a company improve its operating margin?

Companies improve operating margins through raising prices, reducing costs (automation, supplier negotiation, headcount optimization), growing revenue faster than costs (operating leverage), and shifting product mix toward higher-margin offerings. The most sustainable margin improvements come from competitive advantages that allow pricing power and scale-driven cost efficiencies.

Disclaimer

This is educational content, not financial advice. Trading involves risk, and you should consult a qualified financial advisor before making any investment decisions. Past performance does not guarantee future results.

Frequently Asked Questions

What is the best way to get started with fundamentals?

Start by reading this guide thoroughly, then practice with a paper trading account before risking real capital. Focus on understanding the concepts rather than memorizing rules.

How long does it take to learn operating margin?

Most traders can grasp the basics within a few weeks of study and practice. However, developing consistency and proficiency typically takes several months of active application.

Related Articles