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.
Formula
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
| Industry | Typical operating margin | Reading |
|---|---|---|
| Software & internet | 20-40% | Strong |
| Pharmaceuticals | 15-30% | Strong |
| Consumer staples | 10-18% | Healthy |
| Manufacturing | 8-15% | Healthy |
| Restaurants | 5-12% | Healthy |
| Airlines | 3-10% | Thin to healthy |
| Grocery & retail | 2-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.