Business Finance · Formula v1.0

Operating Margin Calculator

Calculate operating margin, operating income and gross margin from revenue, costs and expenses.

LAST REVIEWEDSeptember 24, 2026Inputs stay in your browser
Live calculation

Enter your numbers

Calculated result
Operating margin16.7%
Operating income$200,000
Gross margin41.7%
Sensitivity check

What if revenue changes?

-10% input7.4%
0% input16.7%
+10% input24.2%

Answer first

What this calculator tells you

Calculate operating margin, operating income and gross margin from revenue, costs and expenses. Separate the profit from the core business from the effect of financing and taxes. Formula: Gross profit = revenue − COGS; operating income = gross profit − operating expenses; operating margin = operating income ÷ revenue. At the worked-example inputs, the operating margin is 16.7%. Holding every other input steady, moving revenue from $960,000 to $1,440,000 moves the result from -4.2% to 30.6%.

FreeNo sign-upInputs stay in-browserCSV exportReviewed September 24, 2026

Transparent method

The formula

Gross profit = revenue − COGS; operating income = gross profit − operating expenses; operating margin = operating income ÷ revenueEnter revenue in dollars, cost of goods sold in dollars and operating expenses in dollars.

Separate the profit from the core business from the effect of financing and taxes.

Worked example

Operating margin16.7%
Operating income$200,000
Gross margin41.7%

Example inputs

Revenue$1,200,000
Cost of goods sold$700,000
Operating expenses$300,000

How to interpret the result

Operating margin shows what is left from each dollar of sales after paying for the product and for running the business, before interest and tax. From $1.2 million of revenue, $700,000 of cost of goods and $300,000 of expenses, the business keeps $200,000, or 16.7 percent. The gross margin beside it, 41.7 percent, shows how much of the gap between the two is eaten by overhead.

At the worked-example inputs the operating margin is 16.7%. It rises with revenue and falls as cost of goods sold and operating expenses increase.

Interpretation boundary

These are planning metrics, not audited accounting or a valuation opinion.

Before you rely on it

What to check

Keep interest and taxes out of the expenses. They belong below the operating line, and including them turns this into a different, smaller margin.

The common error

Where people go wrong with operating margin calculator

Reading a high gross margin as a healthy business. Overhead can swallow most of it, and only the operating margin shows what remains.

Sensitivity evidence

How revenue changes the operating margin

Holding every other input at the worked-example value, moving revenue from $960,000 to $1,440,000 moves the operating margin from -4.2% to 30.6%: a spread of 34.7%, or 208% of the worked-example result.

Operating Margin Calculator: operating margin and operating income and gross margin across a range of revenue, every other input held at the worked-example value.
RevenueOperating marginOperating incomeGross margin
$960,000-4.2%-$40,00027.1%
$1,080,0007.4%$80,00035.2%
$1,200,000worked example16.7%$200,00041.7%
$1,320,00024.2%$320,00047.0%
$1,440,00030.6%$440,00051.4%

Every input, tested

Which input moves the operating margin most

Of the 3 inputs, revenue moves the operating margin most (16.8% across the range tested) and operating expenses moves it least (5.0%).

Operating Margin Calculator: operating margin with each input moved on its own, every other input held at the worked-example value.
InputTested fromToOperating margin at each endSwing
Revenue$1,080,000$1,320,0007.4% to 24.2%16.8% (101%)
Cost of goods sold$630,000$770,00022.5% to 10.8%11.7% (70%)
Operating expenses$270,000$330,00019.2% to 14.2%5.0% (30%)

Two variables at once

Operating margin by revenue and cost of goods sold

Across the grid the operating margin runs from -18.8% to 40.3%. Moving revenue from $960,000 to $1,440,000 shifts it by 34.7% at the middle column, and moving cost of goods sold from $560,000 to $840,000 shifts it by 23.3% at the middle row, so revenue is the bigger lever here.

Operating Margin Calculator: operating margin at each combination of revenue (rows) and cost of goods sold (columns).
Revenue \ Cost of goods sold$560,000$700,000$840,000
$960,00010.4%-4.2%-18.8%
$1,080,00020.4%7.4%-5.6%
$1,200,00028.3%16.7%5.0%
$1,320,00034.8%24.2%13.6%
$1,440,00040.3%30.6%20.8%

The highlighted cell is the worked example: 16.7%.

Step by step

The worked example, input by input

Worked-example inputs and the results they produce for the operating margin calculator.
InputValue usedWhat it means
Revenue$1,200,000Enter the revenue used in this calculation.
Cost of goods sold$700,000Enter the cost of goods sold used in this calculation.
Operating expenses$300,000Rent, wages, marketing and other running costs. Leave out interest and taxes.
Operating margin16.7%
Operating income$200,000
Gross margin41.7%

Inputs, definitions and assumptions

Revenue

Enter the revenue used in this calculation. The prefilled worked-example value is $1,200,000.

Cost of goods sold

Enter the cost of goods sold used in this calculation. The prefilled worked-example value is $700,000.

Operating expenses

Rent, wages, marketing and other running costs. Leave out interest and taxes. The prefilled worked-example value is $300,000.

How to use this calculator

  1. 1Verify the inputs. Gather revenue, cost of goods sold and operating expenses from your own documents; the prefilled values are examples.
  2. 2Save a baseline. The worked example puts the operating margin at 16.7%. Store your own version of it as Scenario A.
  3. 3Test one change. Start with revenue, the input with the biggest effect here: moving revenue from $1,080,000 to $1,320,000 takes the operating margin from 7.4% to 24.2%, a swing of 101% of the worked-example figure.
  4. 4Check the boundary. Read the interpretation boundary above before acting on the result.

People also ask

Frequently asked questions

How do you calculate operating margin?

Gross profit = revenue − COGS; operating income = gross profit − operating expenses; operating margin = operating income ÷ revenue. Enter revenue in dollars, cost of goods sold in dollars and operating expenses in dollars. At the worked-example inputs the operating margin is 16.7%.

What does the operating margin result mean?

Separate the profit from the core business from the effect of financing and taxes. At the worked-example inputs the operating margin is 16.7%. It rises with revenue and falls as cost of goods sold and operating expenses increase.

How much does revenue change the operating margin?

Holding every other input at the worked-example value, moving revenue from $960,000 to $1,440,000 moves the operating margin from -4.2% to 30.6%, a spread of 34.7%.

What are the limits of this operating margin calculator?

These are planning metrics, not audited accounting or a valuation opinion. The tables on this page test revenue only from $960,000 to $1,440,000; a value outside that range is not tabulated here.

Which input moves the operating margin most in the operating margin calculator?

Ranked by how far each moves the operating margin across the range tested: revenue (16.8%, 101%), cost of goods sold (11.7%, 70%) and operating expenses (5.0%, 30%).

How much does cost of goods sold matter in the operating margin calculator?

The worked example uses $700,000. With the other inputs left at the worked example, moving cost of goods sold from $630,000 to $770,000 takes the operating margin from 22.5% to 10.8%, a swing of 70% of the worked-example figure.

How much does operating expenses matter in the operating margin calculator?

The worked example uses $300,000. With the other inputs left at the worked example, moving operating expenses from $270,000 to $330,000 takes the operating margin from 19.2% to 14.2%, a swing of 30% of the worked-example figure.

Which inputs change the operating income in the operating margin calculator?

At the worked-example inputs it is $200,000. Revenue takes it from $80,000 to $320,000, cost of goods sold takes it from $270,000 to $130,000 and operating expenses takes it from $230,000 to $170,000.

Which inputs change the gross margin in the operating margin calculator?

At the worked-example inputs it is 41.7%. Revenue takes it from 35.2% to 47.0% and cost of goods sold takes it from 47.5% to 35.8%.

What is contribution margin?

Price minus the variable cost of one unit. It is what each sale contributes toward fixed costs and profit, and dividing fixed costs by it gives the break-even volume.

All business finance questions answered

Sources and evidence

Free Calculators Online is independent and is not affiliated with or endorsed by the source organizations. Educational estimates only.

Background reading

Guides that use this calculator

Definitions

Terms used on this page

Contribution margin : glossary term
Revenue remaining after variable costs, available to cover fixed costs and profit.
Gross margin : glossary term
Revenue minus cost of goods sold, divided by revenue.
Break-even point : glossary term
The volume at which total revenue equals total costs. It moves whenever the cost structure changes. Treat it as a range, not a point: fixed costs are only fixed within a capacity band.
Enterprise value : glossary term
A business value measure representing operating assets before allocating value between debt and equity.