Skip to content
Finance

Operating Margin Calculator

Operating margin shows how much of each dollar of revenue is left as operating profit after running costs. Enter EBIT directly, or build it from revenue, cost of goods sold, operating expenses and depreciation. You also get gross margin, a cost breakdown, and an optional reverse mode that solves for the EBIT a target margin needs.

Your details

Breakdown also gives you gross margin and a cost split. Direct is fastest if you have EBIT. Reverse finds the operating income a target margin requires.
Total net sales over the period.
Direct cost of producing the goods or services sold (materials, direct labor).
Wages, rent, marketing, SG&A and other overhead, excluding interest and taxes.
Non-cash D&A. Leave blank or zero if it is already inside operating expenses.
Currency
Operating marginHealthy margin
12%
Operating income (EBIT)$120,000
Gross profit$400,000
Gross margin40%
Operating profit per $1 of sales$0.120
Cost of goods sold$600,000
Operating expenses$250,000
Depreciation & amortization$30,000

12% of revenue is kept as operating profit.

  • For every $1 of sales, about 0.12 is left after cost of goods sold and operating expenses.
  • Gross margin is 40%, so operating expenses and D&A pull the margin down from there to 12%.
  • Operating margin sits above net margin because it ignores interest and taxes, it isolates how well the core business runs.
  • Good margins vary widely by industry: software often runs 20-40%, while grocery and retail commonly run in the low single digits.

Next stepCompare this margin against the same company over prior years and against direct competitors, not the whole market.

Formula

operating margin=revenueCOGSOpExD&Arevenue×100%\text{operating margin} = \dfrac{\text{revenue} - \text{COGS} - \text{OpEx} - \text{D\&A}}{\text{revenue}}\times 100\%

Worked example

A company has $1,000,000 revenue, $600,000 COGS, $250,000 operating expenses and $30,000 of D&A. Gross profit is 1,000,000 - 600,000 = $400,000 (40% gross margin). Operating income is 400,000 - 250,000 - 30,000 = $120,000, so the operating margin is 120,000 ÷ 1,000,000 = 12%.

What operating margin measures

Operating margin is operating income divided by revenue, expressed as a percentage. Operating income, also called EBIT, or earnings before interest and taxes, is what remains after subtracting the cost of goods sold and operating expenses such as wages, rent, and marketing from total sales. The margin therefore captures how efficiently a company turns revenue into profit from its core operations, before financing and tax effects muddy the picture. A 12% operating margin means twelve cents of every sales dollar survives as operating profit.

Building EBIT from the income statement

In breakdown mode the calculator builds operating income the way an income statement does. First it subtracts the cost of goods sold from revenue to get gross profit and gross margin. Then it subtracts operating expenses and any depreciation and amortization to reach operating income. Depreciation and amortization are non-cash charges, but they belong in operating costs, so include them if they are listed separately from operating expenses, and leave the field at zero if they are already folded into your operating expense figure. Direct mode skips all of this when you already know EBIT, and reverse mode runs the math backward to find the operating income a target margin would require.

How it differs from gross and net margin

Gross margin subtracts only the cost of goods sold, so it sits highest of the three and the calculator reports it alongside operating margin in breakdown mode. Operating margin goes further by also subtracting overhead, depreciation and other operating costs, making it a sharper read on day-to-day management. Net margin subtracts everything else, interest on debt and income taxes, and so lands lowest. Because operating margin strips out financing and tax decisions, it lets you compare the underlying operations of two companies even when their debt loads or tax situations differ markedly.

Reading the number in context

A margin is only meaningful against a benchmark. Compare a company operating margin to its own history to spot a trend, and to close competitors in the same sector to judge relative efficiency. Capital-light businesses like software routinely post margins above 20%, while high-volume, low-markup industries such as grocery retail may run profitably at just 2 to 4%. A rising margin usually signals pricing power or cost discipline; a falling one can flag competitive pressure or bloated expenses. Use the industry reference table below as a rough yardstick, then confirm against current sector data.

Typical operating margins by industry

IndustryTypical operating marginReading
Software & internet20-40%Strong
Pharmaceuticals15-30%Strong
Consumer staples10-18%Healthy
Manufacturing8-15%Healthy
Restaurants5-12%Healthy
Airlines3-10%Thin to healthy
Grocery & retail2-5%Thin

Broad, illustrative ranges only. Actual sector averages shift year to year, check current data such as the Damodaran sector dataset.

Frequently asked questions

What is a good operating margin?

It depends heavily on the industry. As a broad rule, margins above 15% are strong and 5 to 15% are healthy, but software firms often exceed 20% while retailers and grocers may be profitable at just 2 to 4%. Always compare against direct competitors in the same sector.

How do I calculate operating income from revenue, COGS and expenses?

Operating income equals revenue minus cost of goods sold minus operating expenses minus depreciation and amortization. In breakdown mode this calculator does it for you and also shows gross profit and gross margin along the way. If your operating expense figure already includes D&A, leave the depreciation field at zero.

What is the difference between operating margin and net margin?

Operating margin uses operating income (EBIT), which excludes interest and taxes, so it reflects core business efficiency. Net margin divides net income by revenue and includes interest and taxes, so it is always lower and reflects the company full bottom line.

Can operating margin be negative?

Yes. If operating expenses, cost of goods sold and depreciation exceed revenue, operating income is negative and the margin falls below zero. This signals the core business is losing money on operations before any interest or tax effects.

How do I find the EBIT needed for a target margin?

Multiply your target margin (as a decimal) by revenue. For example, a 15% target on $1,000,000 of revenue needs 0.15 times 1,000,000 = $150,000 of operating income. Use the reverse mode in this calculator to solve it instantly for any revenue and target.

Sources

Written by Sarah Klein, CFP Certified Financial Planner · Chicago, USA

Fifteen years translating mortgage tables and amortization schedules into decisions that actually help real borrowers.

Search 3,500+ calculators

Loading search…