Operating Margin Calculator (EBIT Margin): Operating Profitability

Calculate the operating margin (EBIT margin) and gross margin from revenue, COGS and operating expenses. Measure the profitability of the core business. Free and multilingual.

Calculation parameters
Was this calculator useful?

Two companies both have a million in revenue, but one keeps 250,000 of operating income and the other only 50,000: which one runs its business better? The operating margin (EBIT margin) answers. It measures how much of the revenue remains as profit from the core business, after covering the cost of goods sold and the operating expenses, but before interest and taxes. It is the key indicator of a company's operating efficiency. This calculator determines the gross margin, the operating margin, the gross profit and the operating income (EBIT).

What the operating margin is

The operating margin, or EBIT margin, is the percentage of revenue that turns into operating income (EBIT, earnings before interest and taxes). It is obtained by subtracting the cost of goods sold and the operating expenses from the revenue, then dividing by the revenue. With revenue of 1,000,000, an operating margin of 25% means that for every 100 of sales the company generates 25 of profit from its core business, before paying interest on debt and taxes. It measures how efficiently the company runs its core business.

The operating margin formula

The formula is: operating margin = (revenue − COGS − operating expenses) / revenue × 100. The numerator is the operating income (EBIT). With revenue of 1,000,000, cost of goods sold of 400,000 and operating expenses of 350,000: EBIT = 1,000,000 − 400,000 − 350,000 = 250,000, so operating margin = 250,000 / 1,000,000 = 25%. The formula isolates the profitability of the core business, excluding the effects of the financial structure (interest) and tax (taxes), which depend on how the company is financed and not on the quality of the business.

The gross margin

The gross margin is the first level of profitability: (revenue − COGS) / revenue × 100. With 1,000,000 of revenue and 400,000 of cost of goods sold, the gross profit is 600,000 and the gross margin is 60%. It measures what remains after only the costs directly tied to the production or purchase of the product sold (raw materials, direct labor, purchase costs). A high gross margin indicates good pricing power or contained production costs; it is the starting point from which the other costs are subtracted to reach the operating income.

The operating margin (EBIT margin)

The operating margin is the second level: it starts from the gross profit and subtracts the operating expenses (selling, general and administrative, or SG&A). With a gross profit of 600,000 and operating expenses of 350,000, the operating income is 250,000 and the operating margin is 25%. It is a more complete indicator than the gross margin because it includes all the costs of the ordinary management: it shows how much the company really earns from its activity, not just from selling the product but net of the whole operating machine needed to run it.

Gross and operating margin compared

The difference between the two margins is the operating expenses (SG&A). The gross margin (60% in the example) considers only the cost of goods sold; the operating margin (25%) also subtracts the administrative salaries, the marketing, the rents and the other structural expenses. The distance between the two reveals how much the operating structure "weighs": a company with a high gross margin but a low operating margin has high structural costs (maybe too much marketing or too much bureaucracy). Looking at both margins together gives a clear picture of where the profit is generated and where it is consumed.

The operating income (EBIT)

The operating income, or EBIT, is the profit in absolute value from the core business: revenue minus COGS minus operating expenses. With 250,000 in the example, it is the base from which many financial analyses start: it is the numerator of ratios like the operating margin, the ROIC (return on invested capital) and the interest coverage, and it is the starting point to calculate the NOPAT. Before the EBIT you are in the "operating management"; after, you enter interest, taxes and extraordinary items. The EBIT is therefore the boundary between the business performance and the financial and tax effects.

How the calculator works

Enter the revenue, the cost of goods sold and the operating expenses. The calculator returns the gross profit, the gross margin, the operating income (EBIT), the operating margin and an assessment. It is the quickest tool to measure the profitability of a company's core business and compare it with the sector benchmarks. Try different levels of costs to see how the margins change and understand where to act to improve operating profitability.

The values you need

You need three numbers, from the income statement. The revenue (net sales): the sales of the period. The cost of goods sold (COGS): the costs directly attributable to the products sold (raw materials, direct labor, cost of purchasing the goods). The operating expenses (SG&A): the selling, general and administrative expenses not directly tied to the product (administrative salaries, marketing, rents, operating depreciation). Be careful not to include interest and taxes among the operating expenses: the EBIT is before those.

Interpreting the operating margin

The benchmarks vary a lot by sector, but in general:

Operating marginInterpretation
20% or moreexcellent: strong operating profitability
10% - 20%healthy: good profitability
5% - 10%modest: contained margin
0% - 5%thin: minimal profitability
Negativeoperating loss

Sectors like software have very high operating margins; large retail or low-value-added sectors operate with thin margins but high volumes.

The three margins compared

The income statement has three levels of margin, increasingly "deep":

MarginWhat it subtracts from revenue
Gross marginonly the cost of goods sold (COGS)
Operating margin (EBIT)COGS + operating expenses (SG&A)
Net margineverything: also interest, taxes, extraordinaries

The operating margin is the most used to compare efficiency between companies, because it isolates the core business from the effects of financing and taxation.

Example: same revenue, different costs

With revenue of 1,000,000 and cost of goods sold of 400,000 (gross margin 60%), how the operating margin changes as the operating expenses vary:

Operating expensesOperating incomeOperating margin
300,000300,00030% (excellent)
350,000250,00025% (excellent)
500,000100,00010% (healthy)
620,000−20,000−2% (loss)

At equal revenue and gross margin, the operating expenses determine the profitability: controlling them is often the most direct lever to improve the operating margin.

Why the operating margin matters

The operating margin is among the most used indicators to assess the quality and efficiency of a company. Unlike the net margin, it is not influenced by the financial structure (how much debt the company has) or by taxation (different rates per country), so it allows to compare companies more "cleanly". A high and stable operating margin indicates a competitive advantage (pricing power, cost efficiency, scale); a declining one signals competitive pressure or costs out of control. It is the link between the revenue and the capacity to generate real profit from the core business.

What the calculation does not consider

The calculation is a simplified snapshot of a period. It depends on the classification of costs: what ends up in the cost of goods sold and what in the operating expenses can vary between companies and accounting standards, making comparisons delicate. It does not consider the extraordinary or non-recurring items (which should be normalized), or the seasonality (a quarter does not represent the year). It does not include interest and taxes (for those you need the net margin). It is an indicator of operating profitability, to be read over time, together with the gross and net margin and the benchmarks of the specific sector.

Common mistakes

  • Including interest or taxes in the operating expenses (the EBIT is before those).
  • Confusing gross and operating margin (the first does not subtract the SG&A costs).
  • Classifying costs inconsistently between COGS and operating expenses.
  • Comparing margins across different sectors without context (software vs retail).
  • Using a non-representative period (seasonal quarter, extraordinary year).

How to use the calculator

Enter revenue, cost of goods sold and operating expenses. Read the gross and operating margin to understand where the profit is generated and where it is consumed. Compare the distance between the two margins to assess the weight of the operating structure. Compare the operating margin with the benchmarks of your sector and with the history. Simulate variations of the costs to see the impact on profitability and identify the improvement levers. Read the operating margin over time, not a single period, to catch the trends.

Practical example

A company has revenue of 1,000,000, a cost of goods sold of 400,000 and operating expenses of 350,000. The calculation gives a gross profit of 600,000 (gross margin 60%), an operating income of 250,000 and an operating margin of 25%, with the verdict "excellent: very high operating margin, strong profitability". The company keeps 25 cents of operating profit for every unit of revenue: a strong profitability, with a 60% gross margin and structural costs that absorb 35 points of it. Enter your numbers for your real analysis. The operating margin depends on the classification of costs and captures a period; it does not consider extraordinary items, seasonality, interest and taxes. It is an informational estimate, not accounting or financial advice.

Frequently asked questions

What is the operating margin?

It is the percentage of revenue that remains as operating income (EBIT) after subtracting the cost of goods sold and the operating expenses, before interest and taxes. With revenue 1,000,000, COGS 400,000 and operating expenses 350,000, the EBIT is 250,000 and the operating margin is 25%.

How is the operating margin calculated?

Operating margin = (revenue − COGS − operating expenses) / revenue × 100. With 1,000,000 − 400,000 − 350,000 = 250,000 of EBIT, divided by 1,000,000 = 25%. The numerator is the operating income (EBIT).

What is the difference between gross and operating margin?

The gross margin subtracts from revenue only the cost of goods sold (COGS); the operating margin also subtracts the operating expenses (SG&A: administrative, marketing, rents). With a gross margin of 60% and operating expenses absorbing 35 points, the operating margin is 25%.

What is the EBIT?

It is the operating income (Earnings Before Interest and Taxes): revenue minus cost of goods sold minus operating expenses, before interest and taxes. It is the numerator of the operating margin and the base for ratios like ROIC and interest coverage. With 250,000 in the example.

What is a good operating margin?

It depends a lot on the sector, but in general: 20%+ excellent, 10-20% healthy, 5-10% modest, 0-5% thin, negative loss. Software has very high margins; large retail thin margins at high volumes. Always compare in the context of the sector.

Why does the operating margin exclude interest and taxes?

To isolate the profitability of the business from the financial structure (how much debt) and taxation (rates per country). This way companies are compared "cleanly", regardless of how they are financed: two companies with the same business but different debt have comparable operating margins but different net margins.

What are operating expenses (SG&A)?

They are the selling, general and administrative expenses not directly tied to the product: administrative salaries, marketing, rents, operating depreciation. They are distinct from the cost of goods sold (COGS), which comprises the direct costs of production or purchase of the product sold.

What is the difference between operating and net margin?

The operating margin (EBIT) stops before interest and taxes; the net margin subtracts everything, including interest, taxes and extraordinary items. The operating margin measures the efficiency of the business; the net margin what remains for shareholders after every cost.

How do you improve the operating margin?

On three fronts: raise prices or the mix (more revenue at equal costs), reduce the cost of goods sold (production efficiency or better purchasing), cut the operating expenses (leaner structure). At equal revenue and gross margin, controlling the operating expenses is often the most direct lever.

Does the operating margin mean the same for all sectors?

No, it varies enormously. Software and pharma have very high operating margins (little COGS); retail, distribution and commodity sectors operate with thin margins but high volumes. Comparing operating margins makes sense only between companies in the same sector or activity.

Does the classification of costs influence the result?

Yes. What ends up in the cost of goods sold and what in the operating expenses can vary between companies and accounting standards, changing the gross and operating margin (but not the total EBIT). For correct comparisons, use consistent classification criteria between the companies compared.

Should I use quarterly or annual data?

Better the year, or in any case a representative period. A single quarter can be distorted by seasonality or extraordinary events. For a reliable analysis, normalize the non-recurring items and look at the operating margin over time, not a single period.

Is it financial advice?

No, it is an informational tool. It depends on the classification of costs, captures a period and does not consider extraordinary items, seasonality, interest and taxes. For financial statement analysis or decisions you need complete data, normalization and accounting or financial expertise.

Updated July 2026

Formula

Operating\,Margin = \dfrac{R - COGS - OpEx}{R}\times100

Comments (0)

No comments yet. Be the first!