Use this operating margin calculator to find how much of your revenue remains after covering the cost of goods sold and operating expenses. It calculates both operating income in dollars and operating profit margin as a percentage, before interest and income taxes.

How to use the operating margin calculator
Enter these three amounts from your income statement, using the same reporting period for every field:
- Revenue: Enter recognized sales revenue. If starting with gross sales, deduct returns, discounts, and allowances to arrive at net revenue. Do not include sales taxes collected on behalf of tax authorities.
- Cost of Goods Sold: Enter the direct costs of the goods or services sold during that period, such as materials and production labor. Use your income statement’s COGS or cost-of-revenue figure.
- Operating Expenses: Enter operating costs not already included in COGS, such as selling, administrative, marketing, and office expenses. Exclude interest and income taxes.
The calculator returns Operating Income and Operating Margin. The margin is rounded to one decimal place.
Include depreciation and amortization where they appear in your operating costs, whether within COGS or operating expenses, but do not count them twice. Likewise, do not enter the full purchase price of equipment as a current-period operating expense when it is capitalized.
Revenue must be greater than zero for a meaningful margin calculation. At zero revenue, operating margin is undefined because the formula divides by revenue.
Operating margin formula
The calculator first subtracts both cost categories from revenue:
Operating income = Revenue − Cost of goods sold − Operating expenses
It then expresses that income as a share of revenue:
Operating margin (%) = (Operating income ÷ Revenue) × 100
Equivalently:
Operating margin (%) = [(Revenue − COGS − Operating expenses) ÷ Revenue] × 100
Subtracting only COGS gives gross profit, not operating income. Operating margin also accounts for the expenses required to run the business.
Worked example
Suppose a business reports the following annual figures, matching the calculator’s default inputs:
| Item | Amount |
|---|---|
| Revenue | $5,000,000 |
| Cost of goods sold | $3,000,000 |
| Operating expenses | $1,000,000 |
| Operating income | $1,000,000 |
| Operating margin | 20.0% |
Operating income is $5,000,000 − $3,000,000 − $1,000,000 = $1,000,000. Dividing that by $5,000,000 and multiplying by 100 gives 20.0%.
This means the business earns $0.20 of operating profit for every $1 of revenue. It does not mean $0.20 is available as cash or as final profit after all expenses.
How to interpret your operating margin
- Positive margin: Revenue exceeds COGS and operating expenses. Operating profit may help cover interest and income taxes, but a positive operating margin does not guarantee positive net income.
- Zero margin: Revenue exactly covers the operating costs included in the calculation. There is no operating profit left to cover additional expenses.
- Negative margin: COGS and operating expenses exceed revenue, producing an operating loss. Investigate pricing, sales volume, cost levels, and unusual expenses before drawing conclusions about the cause.
What is a good operating margin?
There is no universal percentage that makes an operating margin good or bad. Appropriate comparisons depend on the industry, business model, company maturity, and accounting policies.
Start by comparing your result with previous periods and your budget. If you compare businesses, choose peers with similar operations and check that they classify costs consistently. Seasonal changes and one-time operating charges can also affect the comparison.
A higher margin generally means more operating profit per dollar of revenue, but consider total operating income too. A business can increase its margin while earning fewer total dollars if revenue falls enough.
Use the result to evaluate business decisions
Change the inputs to test a specific scenario, then compare both operating income and margin with your starting figures.
- Supplier savings: Estimate how lower material costs would change COGS without assuming sales will increase.
- Pricing changes: Update revenue and consider whether a higher price could reduce sales volume. Adjust the associated costs as well.
- Hiring or expansion: Add the expected operating expenses alongside realistic additional revenue and direct costs.
- Expense reductions: Check whether savings would improve profitability without undermining product quality, service, or future sales.
For example, reducing operating expenses in the worked example by $100,000, with revenue and COGS unchanged, increases operating income to $1,100,000 and margin to 22.0%. That is an improvement of 2 percentage points, not 2%.
These scenarios are estimates, not forecasts. Higher sales often bring additional production, staffing, or fulfillment costs, so avoid increasing revenue while holding every cost fixed unless that assumption is justified.
Operating margin versus other profitability measures
Operating margin is not cash flow. It includes noncash expenses such as depreciation, while cash flow also reflects factors such as payment timing, inventory purchases, and capital spending. It also excludes interest and income taxes, unlike net profit margin.
Operating margin is sometimes called EBIT margin. The terms can align when EBIT equals operating income, but reported EBIT may include non-operating items. This calculator specifically uses revenue minus COGS minus operating expenses; it does not make separate adjustments for non-operating gains or losses.
For related questions, consider:
- Contribution Margin Calculator: Examine revenue remaining after variable costs to understand how sales contribute toward fixed costs and profit.
- EBITDA Margin Calculator: Assess profitability before depreciation and amortization as well as interest and taxes.
- Break-Even Point Calculator: Estimate the sales needed to cover fixed and variable costs under your assumptions.
Build a profitability calculator for your website
If your business helps clients reduce costs, use Calcopolis to build a customized savings and ROI calculator that estimates how those savings could affect operating profit. It can give prospects a useful estimate before they request a consultation.