Operating Margin Calculator

Enter revenue, cost of goods sold and operating expenses to see the operating margin and operating income.

Updated

Enter to calculate Esc to clear

Operating Margin Calculator

Our Operating Margin Calculator shows how much of each sale a business keeps as operating profit, after paying for the goods it sells and the costs of running the business, but before interest and taxes. Enter revenue, cost of goods sold (COGS) and operating expenses for the same period. The operating margin appears as you type, with operating income, the gross margin and the share of revenue spent on costs. It suits business owners, analysts, investors, accountants and finance students who want to judge how well the core business is run.

Quick answer

Operating margin is operating income ÷ revenue × 100, where operating income is revenue − COGS − operating expenses: 150,000 ÷ 1,000,000 × 100 = 15%.

  • Revenue: net sales for the period, before any costs.
  • COGS: direct costs of the goods or services sold.
  • Operating expenses: running costs such as salaries, rent, utilities and marketing.
  • Can be negative: when costs are larger than revenue (an operating loss).

What Is Operating Margin?

Operating margin (also called operating profit margin or EBIT margin) is the share of revenue left after paying for the goods sold and the day-to-day running costs. It is measured before interest and taxes, so it shows how well the core business works, whatever its debt or tax position.

An operating margin of 15% means the business keeps 15 of every 100 in sales as operating profit. A higher margin points to good cost control or pricing power; a falling one often means costs are rising faster than sales.

How to Calculate Operating Margin

Operating income
= 1,000,000 − 600,000
− 250,000 = 150,000

Operating margin
= 150,000 ÷ 1,000,000 × 100
= 15%
  1. Find revenue. Take net sales from the income statement, such as 1,000,000.
  2. Subtract COGS. 1,000,000 − 600,000 = 400,000 gross profit.
  3. Subtract operating expenses. 400,000 − 250,000 = 150,000 operating income.
  4. Divide by revenue and multiply by 100. 150,000 ÷ 1,000,000 × 100 = 15% operating margin.
600,000 COGS 60% 250,000 OpEx 25% 150,000 Op. income 15%
The full bar is revenue of 1,000,000. OpEx is operating expenses. The shaded end is operating income, 15% of the bar.

What Counts as Operating Expenses?

Operating expenses are the costs of running the business that are not part of making the goods themselves. Sort each cost before you enter it:

IncludedLeft out
Salaries and benefitsInterest on loans
Rent and utilitiesIncome taxes
MarketingOne-off gains or losses
Admin and insuranceInvestment income
DepreciationCOGS (its own field)

Depreciation and amortization count as operating costs here. Adding them back gives EBITDA and the EBITDA margin instead.

Operating Margin Examples

Revenue − COGS − OpExMargin
120,000 − 30,000 − 45,000
= 45,000
37.5%
500,000 − 320,000 − 130,000
= 50,000
10%
250,000 − 60,000 − 25,000
= 165,000
66%
800,000 − 560,000 − 280,000
= −40,000
−5%

The first is a digital marketing agency for one quarter: 37.5% is strong for a business built on skilled staff. The second is a retail store for a year, where thin margins are normal. The third is a manufacturer with very low costs for one month; a margin this high is rare, so check the figures if you see one. The fourth spent more than it sold and made an operating loss.

Operating Margin vs Gross and Net Margin

The same business, read at three points on its income statement. With interest of 20,000 and tax of 26,000:

MarginValue
Gross margin (400,000)40%
Operating margin (150,000)15%
Net margin (104,000)10.4%

Gross margin takes off only the cost of goods sold. Operating margin also takes off running costs, so it sits between the two. Net margin takes off interest and tax as well, so it is the lowest. The gap between gross and operating margin (25 points here) is the share of revenue spent on running the business.

What Operating Margin Is Used For

  • Judging management. It shows how well costs are controlled, before financing and tax choices.
  • Comparing companies. As a percentage, it ranks firms of different sizes in the same industry.
  • Tracking trends. A margin that falls year after year is an early warning sign.
  • Forecasting. Margin × expected revenue gives operating income: 15% of 1,200,000 is 180,000.
  • Testing what-ifs. Change one field to see how a price rise or cost cut moves the margin.

Limitations and Common Mistakes

  • Counting COGS twice. Do not include COGS again inside operating expenses.
  • Adding interest or tax. They belong below operating income and lower only the net margin.
  • Including one-off items. Restructuring costs or legal settlements distort the margin for one period.
  • Mixing periods. Take all three figures from the same month, quarter or year.
  • Comparing across industries. Software firms run much higher margins than retailers or grocers.

Key Terms

Operating income
Revenue minus COGS and operating expenses. Often the same as EBIT.
COGS
Cost of goods sold: the direct cost of what was sold.
OpEx
Operating expenses: the costs of running the business.
Gross margin
Revenue minus COGS, as a percentage of revenue.
Net margin
Net profit after interest and tax, as a percentage of revenue.

How to Use the Operating Margin Calculator

  1. Enter revenue. Type net sales for the period, such as 1,000,000. Commas and a currency sign are fine.
  2. Enter COGS and operating expenses. Type the cost of goods sold, such as 600,000, and operating expenses for the same period, such as 250,000.
  3. Read and copy the result. The operating margin appears as you type, with the working, operating income, gross margin, the cost share of revenue and a bar showing profit against costs. Press Copy to copy it, or Clear or Esc to start again.

Example: revenue of 120,000, COGS of 30,000 and operating expenses of 45,000. Operating income is 45,000 and the operating margin is 37.5%, from 45,000 ÷ 120,000 × 100.

Who Can Use This Calculator?

Business OwnersSee how much of each sale is operating profit
Investors and AnalystsCompare how well companies are run
ManagersTrack cost control over time
AccountantsCheck an income statement quickly
Finance StudentsPractise profitability ratios

Frequently Asked Questions (FAQs)

How do you calculate operating margin?

Subtract COGS and operating expenses from revenue to get operating income, then divide by revenue and multiply by 100. Operating margin = (revenue − COGS − operating expenses) ÷ revenue × 100.

What is the operating margin for revenue of 1,000,000, COGS of 600,000 and operating expenses of 250,000?

It is 15%. Operating income is 1,000,000 − 600,000 − 250,000 = 150,000, and 150,000 ÷ 1,000,000 × 100 = 15%.

Why is operating margin more useful than gross margin?

Gross margin only takes off the cost of goods sold. Operating margin also takes off running costs such as salaries, rent and marketing, so it shows how well the whole business is run, not just how profitable the products are.

What is a good operating margin?

It depends on the industry. Software firms often run high margins while retailers run thin ones, so compare a business with close competitors and its own past results.

Can operating margin be negative?

Yes. When COGS and operating expenses add up to more than revenue, the business makes an operating loss. For example, 800,000 − 560,000 − 280,000 = −40,000, a margin of −5%.

Should operating margin include one-off expenses?

Usually not. Restructuring costs or legal settlements can distort it, so analysts often look at the margin with and without them.

Is operating margin the same as EBIT margin?

Very nearly. Operating income and EBIT are the same for most companies; they differ only when a company has non-operating income, such as gains on investments, that is included in EBIT.

What does a falling operating margin mean?

Costs are growing faster than revenue, or prices are under pressure. Finding the cause early lets a business act before profits fall further.

Is the Operating Margin Calculator free?

Yes. It is completely free, needs no sign-up, and can be used as many times as you like.

Sources

Try our Operating Margin Calculator to see how much of each sale is operating profit in seconds.