Investing guide

Operating Margin Formula: How to Calculate It

investing5 min read

The operating margin formula with a step-by-step income statement example, operating leverage and how it compares with gross and net margin.

5 min read

Practice investing with Finelo

Build practical investing skills with guided lessons, simulator practice, and structured challenges.

Explore Finelo

Want to learn more?

Build practical investing skills with guided lessons, simulator practice, and structured challenges.

Explore Finelo

Quick answer

Operating margin shows what percentage of revenue is left after a company pays its operating costs, before interest and taxes. The formula is:

Explore Finelo's 28-day challenges

Turn learning into a daily habit with guided challenge paths.

View challenges

Operating margin = Operating income ÷ Net revenue × 100

The SEC's beginner's guide to financial statements describes operating income, often called "income from operations," as what remains after operating expenses are subtracted from gross profit, and describes operating margin as a ratio that compares operating income to net revenues.

Example: a hypothetical company with $5 million in revenue and $750,000 in operating income has an operating margin of 15%. For every dollar of sales, it keeps 15 cents from its core operations.

This guide walks through the calculation, shows how operating margin differs from gross and net margin, and explains how to read changes over time.

How to calculate operating margin

1. Start with net revenue

Use revenue after returns, allowances and discounts. It is the top line of the income statement.

2. Find operating income

Many income statements show operating income directly. If not, build it:

  1. Net revenue − Cost of sales = Gross profit. The SEC guide notes that gross profit is "gross" because some expenses have not yet been deducted.
  2. Gross profit − Operating expenses = Operating income. Operating expenses include selling, general and administrative costs, research and development, and depreciation and amortization.

Interest expense and income taxes come below operating income, so they do not affect operating margin.

3. Divide and convert to a percentage

Line item Hypothetical value
Net revenue $5,000,000
Cost of sales $3,000,000
Gross profit $2,000,000
Operating expenses $1,250,000
Operating income $750,000
Operating margin 15%

Operating margin vs. gross and net margin

Margin Formula What it captures
Gross margin Gross profit ÷ Revenue Cost of producing the goods or services
Operating margin Operating income ÷ Revenue Production costs plus running the business
Net margin Net income ÷ Revenue Everything, including interest, taxes and one-off items

Operating margin sits in the middle. Because it excludes financing costs and taxes, it is useful for comparing how efficiently companies run their core business, even when they carry different amounts of debt or operate under different tax rules.

What to know before deciding

Industry shapes the "normal" range. Grocery retailers often work on thin margins and rely on volume; software firms may run much higher margins. Compare a company mainly with its own history and close competitors.

Look for one-time items. Restructuring charges, impairments or gains on asset sales can sit inside operating income in some reports. Read the notes and management's discussion to see whether a margin change reflects the ongoing business.

Watch adjusted figures. Companies sometimes present "adjusted operating income" that excludes certain costs. These are non-GAAP measures; the SEC requires companies to reconcile them to the closest GAAP figure, so compare both before relying on the adjusted number.

Margin and growth interact. A company may accept a lower margin while it invests in expansion. A falling margin alongside fast revenue growth tells a different story from a falling margin alongside flat sales.

Common mistakes

  • Using net income instead of operating income.
  • Comparing a company's adjusted margin with a competitor's GAAP margin.
  • Forgetting that depreciation and amortization are usually included in operating expenses.
  • Judging one quarter in isolation, especially for seasonal businesses.

Practice investing with Finelo

Build practical investing skills with guided lessons, simulator practice, and structured challenges.

Explore Finelo

Decision framework

What you see Possible meaning What to check next
Margin stable over several years Consistent cost control and pricing Whether competitors are improving faster
Margin rising with revenue Operating leverage: fixed costs spread over more sales Is the growth repeatable?
Margin falling while revenue grows Heavy investment or price pressure Spending on R&D or marketing; pricing commentary
Sudden margin jump One-off gain or cost cut Notes on unusual items
Margin well below peers Higher costs or a different business model Are the peers truly comparable?

A beginner scenario

Two hypothetical online retailers each sell $10 million a year. Store A reports operating income of $800,000 (8% margin); Store B reports $300,000 (3%). Digging into the income statements, you see that Store B spends far more on advertising because it is entering new markets. Whether that spending is a smart investment or a sign of weaker economics is the question the margin helps you ask, rather than answer on its own.

Worked example: operating leverage in action

Consider a hypothetical subscription company with $10 million in revenue, $3 million in cost of sales and $5.5 million in operating expenses. Operating income is $1.5 million, a 15% operating margin. Next year, revenue grows 20% to $12 million. Cost of sales rises in line to $3.6 million, but operating expenses, largely salaries and software, rise only to $5.9 million. Operating income becomes $2.5 million and the margin expands to about 20.8%.

Revenue grew 20%, yet operating income grew about 67%. That is operating leverage: when a large share of costs is fixed, extra revenue flows disproportionately to profit. It works in reverse too. If revenue fell 20%, the same cost structure would squeeze margin sharply. When you see a big margin change, check how revenue and each cost line moved to understand which effect you are looking at.

Build the habit with guided practice

Finelo's interactive courses explain profitability concepts step by step, and its AI Mentor can walk you through an income statement line by line. Practice by calculating gross, operating and net margin for one company and explaining the gaps between them.

Margins across the business cycle

Operating margins tend to move with the economy. In downturns, revenue falls while many costs stay fixed, so margins compress; in recoveries, the reverse happens. When comparing margins over time, note where each year sat in the business cycle. A company whose margin held up well during a recession may have more resilient pricing or cost control than one whose margin looks higher only in good years.

Next step

To practice, calculate operating margin for one company for the past three years and write one sentence on what drove each change: revenue, cost of sales or operating expenses.

For related reading, continue with gross margin vs net margin and how to read an income statement.


Work through one practical example on your own, using real figures or a historical chart, and note which assumptions matter most. If the underlying concepts still feel difficult to connect, build the foundations step by step; explore Finelo’s learning path and return to the example with clearer questions about assumptions, costs, and risk.

Finelo provides financial education, not personalized financial, investment, legal, or tax advice. Investing and trading involve risk, including the loss of money. Verify current details with official sources and your broker before acting.

Frequently asked questions

Is operating margin the same as EBIT margin?

They are often close. EBIT (earnings before interest and taxes) can include non-operating income, such as gains on investments, that operating income excludes. Check how each company defines its figure.

What is a good operating margin?

There is no universal target. A useful benchmark is the company's own five-year range and the margins of similar businesses.

Can operating margin be negative?

Yes. If operating expenses exceed gross profit, operating income and margin are negative. That is common for young, fast-growing companies and for businesses in a downturn.

Where do I find operating income?

On the income statement, usually labeled "operating income" or "income from operations." The SEC guide explains how to read each line.
InvestingOperating MarginProfitabilityBeginner

Practice investing with Finelo

Build practical investing skills with guided lessons, simulator practice, and structured challenges.

Explore Finelo

About the author

Finelo Team

The Finelo Team creates practical investing and trading education designed to help beginners learn faster with structured challenges, simulator practice, and bite-sized lessons.

Keep reading — Related articles

Make your next read a first step.

Take what sparked your curiosity and explore it through a guided, 28-day learning challenge.

Find your learning path