terican

Last verified · v1.0

Calculator · business

Operating Margin Calculator

Compute operating margin (%) from revenue, COGS, and operating expenses. Instantly see core business profitability before interest and taxes.

FreeInstantNo signupOpen source

Inputs

Operating Margin

Explain my result

0/3 free

Get a plain-English breakdown of your result with practical next steps.

Operating Margin

The formula

How the
result is
computed.

What Is Operating Margin?

Operating margin measures the percentage of revenue a business retains after covering all operating costs — including the cost of goods sold (COGS) and operating expenses such as selling, general and administrative (SG&A) costs, research and development (R&D), and depreciation — but before accounting for interest expense and income taxes. It ranks among the most reliable profitability ratios in corporate finance, revealing how efficiently a company converts net sales into operating profit.

The Operating Margin Formula

The standard operating margin formula is:

Operating Margin (%) = [(Revenue − COGS − Operating Expenses) ÷ Revenue] × 100

This is equivalent to:

Operating Margin (%) = (Operating Income ÷ Revenue) × 100

Operating income — also called earnings before interest and taxes (EBIT) — equals revenue minus COGS and minus all operating expenses. As documented in Investopedia's operating margin definition and calculation guide, stripping out interest and tax items isolates core operational performance from financing and jurisdictional tax decisions.

Variable Definitions

  • Total Revenue (Net Sales): Gross sales minus returns, allowances, and discounts. Revenue is the denominator in the margin formula and the baseline against which every cost is measured.
  • Cost of Goods Sold (COGS): Direct production costs — raw materials, direct labor, and manufacturing overhead. COGS excludes indirect costs such as administrative salaries or office rent.
  • Operating Expenses (SG&A, R&D, Depreciation): Selling, general and administrative expenditures, research and development outlay, and non-cash depreciation and amortization charges. Interest payments and income taxes are excluded because they reflect financing strategy and tax domicile rather than day-to-day operational efficiency.

Step-by-Step Calculation Example

Consider a mid-size software company with the following annual income statement figures:

  • Total Revenue: $5,000,000
  • COGS: $1,200,000
  • Operating Expenses (SG&A + R&D + Depreciation): $1,800,000

Step 1 — Calculate Operating Income: $5,000,000 − $1,200,000 − $1,800,000 = $2,000,000

Step 2 — Divide by Revenue: $2,000,000 ÷ $5,000,000 = 0.40

Step 3 — Convert to Percentage: 0.40 × 100 = 40%

A 40% operating margin means the company retains $0.40 in operating profit for every $1.00 of net sales — a strong result by most industry standards.

Industry Benchmarks

Operating margin targets vary significantly by sector. According to Harvard Business School Online's guide on profitability and margin ratios, analysts always compare operating margins within the same industry rather than across sectors. Broadly accepted benchmarks include:

  • Software / SaaS: 20%–40% is typical; leading platforms frequently exceed 40%.
  • Retail: 2%–8% is common due to high COGS and thin spreads on physical goods.
  • Manufacturing: 8%–15% for diversified producers with moderate capital intensity.
  • Healthcare services: 5%–12% depending on payer mix and regulatory cost burden.
  • Agriculture: The USDA Economic Research Service farm sector financial ratio documentation notes that farm operating margins frequently fall below 10% due to commodity price volatility and input cost swings.

Why Operating Margin Matters

Operating margin serves three critical functions in financial decision-making:

  • Efficiency benchmark over time: A rising operating margin signals that revenue is growing faster than costs, or that cost controls are taking hold — both positive indicators of business health.
  • Cross-company comparability: Because it excludes interest and taxes — which reflect debt structure and tax jurisdiction — operating margin is more comparable across companies than net profit margin.
  • Pricing and cost strategy: Management teams use operating margin targets to guide pricing decisions, headcount planning, and capital expenditure approvals. A target margin creates a concrete financial guardrail for strategic planning.

Formula Derivation and Relationship to EBIT Margin

The operating margin formula derives directly from the multi-step income statement. Starting from gross profit (Revenue − COGS), subtracting all operating expenses yields operating income, also labeled EBIT. Dividing EBIT by revenue and multiplying by 100 produces the operating margin percentage. This relationship means an operating margin calculator and an EBIT margin calculator produce identical results — the two terms are interchangeable in standard accounting practice. Analysts should note that some companies report adjusted operating margin, which further excludes non-recurring charges such as restructuring costs or impairment write-offs to better reflect normalized operations.

Reference

Frequently asked questions

What is a good operating margin percentage?
A good operating margin depends heavily on the industry. Software and SaaS companies commonly achieve 20%–40%, while grocery retailers operate at 1%–3% and specialty retailers at 5%–10%. As a general rule, an operating margin above 15% is considered strong across most sectors. The most meaningful benchmark is always peer comparison within the same industry, combined with the company's own historical trend.
What is the difference between operating margin and net profit margin?
Operating margin excludes interest expense and income taxes, measuring only core operational profitability from the business itself. Net profit margin deducts every cost — including interest payments, income taxes, and non-recurring items — from revenue. A company might report a 22% operating margin yet only a 14% net profit margin after servicing debt and paying taxes, making operating margin the cleaner measure of day-to-day business efficiency.
How does operating margin differ from gross margin?
Gross margin subtracts only the cost of goods sold (COGS) from revenue, ignoring selling, administrative, R&D, and depreciation costs. Operating margin goes a step further by deducting all those operating expenses from the gross profit figure. A business could report a healthy 65% gross margin yet a modest 12% operating margin if overhead and R&D spending are substantial — a pattern common in early-stage technology and pharmaceutical companies.
Why do investors use operating margin when evaluating stocks?
Investors favor operating margin because it isolates management's ability to run the core business efficiently, independent of how the company is financed or where it is domiciled for tax purposes. A consistently expanding operating margin signals pricing power, economies of scale, or effective cost discipline — all hallmarks of a durable competitive advantage. It also enables direct apple-to-apple comparisons across competitors within the same sector, even when capital structures differ significantly.
Which costs are excluded from the operating margin calculation?
Interest expense, interest income, and income tax expense are excluded from operating margin. These items appear below the operating income line on a standard multi-step income statement. In adjusted operating margin presentations, non-recurring items such as asset sale gains, restructuring charges, goodwill impairment write-offs, and litigation settlements may also be excluded, providing analysts with a cleaner view of the company's normalized, ongoing operational profitability.
How can a business improve its operating margin?
Businesses can improve operating margin through four primary levers: raising selling prices without proportionally increasing costs (pricing power); reducing COGS through supplier renegotiation, process automation, or lean manufacturing; cutting discretionary SG&A expenses such as travel, marketing overhead, or redundant headcount; and scaling revenue faster than fixed operating costs grow. Even a 3–5 percentage point improvement in operating margin can dramatically increase absolute operating income at high revenue volumes.