Calculate operating margin
Operating margin shows how much operating profit remains from each dollar of revenue before interest and income tax. Use this calculator when reviewing a budget variance, forecast model, investment memo, or board pack and deciding whether pricing or costs require attention.
A high result may indicate stronger cost control, while a low result may indicate weak pricing, rising costs, or both. The risk is treating either result as conclusive without comparing the same company’s prior periods and similar businesses using consistent accounting definitions.
Operating margin calculator
- Enter revenue for the reporting period.
- Enter operating profit for the same period.
- Divide operating profit by revenue.
- Multiply the result by 100 to display the percentage.
Calculator inputs
- Revenue: total sales reported for the period.
- Operating profit: revenue minus COGS and operating expenses.
- Currency: use any currency, but keep both inputs in the same unit.
- Period: use matching monthly, quarterly, or annual figures.
The calculator output is the operating profit margin. Interpret that result only after confirming what the reported figures include.
What does the result mean?
The result states the percentage of revenue retained as operating profit after ordinary operating costs. A 12% margin means the business generated $12 of operating profit for every $100 of revenue during the selected period.
For comparison, classify performance as lower, middle, or higher only relative to the company’s industry, period, and accounting basis. A lower margin may indicate pricing pressure or heavier costs; a middle margin may indicate stable operations; a higher margin may indicate stronger price realization, sales mix, or cost control.
These are comparison bands, not universal quality labels.
Operating margin is not gross margin or net profit margin. Gross profit subtracts COGS but usually excludes broader operating expenses.
Net profit also reflects non-operating items, interest, and income tax. EBITDA may exclude depreciation and amortization, so it can differ from operating profit.
The result describes accounting profit, not cash flow, because revenue and costs may be recognized before or after cash moves. That distinction is essential when applying the operating margin formula.
What is the operating margin formula?
The business question is how much operating profit remains from revenue after COGS and operating expenses for the same reporting period.
\text{Operating Margin (\%)} = \frac{\text{Operating Profit}}{\text{Revenue}} \times 100
- Operating Margin (%) = operating profit expressed in percentage form as a share of revenue.
- Operating Profit = revenue minus COGS and operating expenses, measured in the selected currency.
- Revenue = net sales for the same reporting period, measured in the same currency.
- 100 = the conversion factor from decimal form to percentage form.
Use matching units, periods, sign conventions, timing assumptions, and accounting policies. Treat revenue and profit as positive when reported as income and earnings, and treat an operating loss as negative.
If operating profit is negative, the margin is negative. If revenue is zero, the formula is undefined.
The formula uses income-statement amounts recognized during the period; it does not assume that the related cash was received or paid during that period.
Markup is different from margin. Markup divides profit by cost, while margin divides profit by selling price or revenue.
For example, a product with a $60 cost and $100 price has a $40 gross profit, a 66.67% markup, and a 40% gross margin. Using the correct markup basis prevents confusion when comparing profit margins.
This distinction prepares the worked example.
Worked example
Example: This illustrative case calculates operating margin from an annual income statement. Assume a business reports $1,000,000 in revenue, $600,000 in COGS, and $280,000 in operating expenses.
All figures are positive amounts in US dollars, cover the same year, follow the same accounting classifications, and are recognized on the income statement rather than measured as cash flows.
First calculate gross profit:
\$1{,}000{,}000-\$600{,}000=\$400{,}000
Here, $1,000,000 is annual revenue, $600,000 is annual COGS, and $400,000 is annual gross profit.
Then calculate operating profit:
\$400{,}000-\$280{,}000=\$120{,}000
Here, $400,000 is annual gross profit, $280,000 is annual operating expenses, and $120,000 is annual operating profit.
Finally calculate operating margin:
\frac{\$120{,}000}{\$1{,}000{,}000}\times100=12\%
Here, $120,000 is annual operating profit, $1,000,000 is annual revenue, and 100 converts the decimal result of 0.12 into the percentage result of 12%.
Result: The operating margin is 0.12 in decimal form or 12% in percentage form.
Interpretation: The business retains 12 cents of operating profit from each revenue dollar before interest and income tax.
Decision rule: Compare the 12% result with the company’s budget, prior annual margins, and peers calculated on the same accounting basis before deciding whether pricing or operating costs require investigation.
For a contrasting case, hold annual revenue at $1,000,000 and annual COGS at $600,000 but increase annual operating expenses to $330,000. Gross profit remains $400,000, operating profit falls to $70,000, and the margin becomes 0.07 in decimal form or 7% in percentage form.
Change this cost assumption and the result moves because the additional $50,000 of operating expenses reduces operating profit dollar for dollar when revenue remains unchanged. The five-percentage-point decline indicates that the cost increase requires review, but it does not establish whether the spending is justified.
Methodology, assumptions, and limitations
The methodology uses figures from the same income statement and reporting period to calculate operating profit consistently. Revenue should be net of returns and discounts when the financial statements present net revenue.
Operating costs should follow the company’s stated accounting classification.
Data comes from the company’s income statement, annual report, management accounts, or forecast model. This calculator uses no tax rate, market price, APR, or external benchmark.
The methodology was updated on August 11, 2026, and rounds the displayed percentage to two decimal places.
Limitations include differences in expense classification, one-time operating charges, acquisitions, seasonality, and accounting policies. Comparisons can become misleading when one company includes a cost in operations and another treats it as non-operating.
Operating margins also do not measure working capital, capital expenditure, debt service, or cash generation.
Reconcile the calculator inputs with reported subtotals and test lower, middle, and higher revenue or cost cases. These checks frame the accuracy and next-action questions below.
Operating margin formula FAQs
The answers below clarify accuracy, assumptions, privacy, and the next comparison to run.
Is the operating margin calculator accurate?
The calculation is mathematically accurate when revenue and operating profit use matching periods, units, timing assumptions, and accounting definitions. Its interpretation may still differ if reported expenses contain unusual items or classifications change.
Can I calculate operating profit from gross profit?
Yes. Subtract operating expenses from gross profit, provided gross profit already subtracts COGS and the cost categories do not overlap.
Then divide operating profit by revenue.
What is a good operating profit margin?
There is no universal good profit margin. Compare lower, middle, and higher results within the same industry, business model, period, and accounting basis.
Price strategy, sales mix, cost structure, and company maturity can produce different margins.
Is calculator data stored?
This page does not claim storage, account, or privacy capabilities beyond the calculator described here. Do not enter confidential figures unless the implemented tool’s privacy notice confirms how inputs are processed.
What should I do after calculating the margin?
Compare the result against prior periods, budget, and relevant peers, then isolate changes in price, sales volume, COGS, and operating costs. Also cross-check net profit margin and cash flow before making a decision.
Takeaway: Operating margin measures operating profit per dollar of revenue, but the useful decision comes from comparing consistent periods and testing the costs that move it.
Run one sensitivity case for lower revenue, one for expected revenue, and one for higher revenue before relying on the result.
The Investor.gov financial tools collection is a neutral companion reference. The operating-margin inputs themselves should come from the same company, reporting period and accounting basis.