Operating margin is one of the cleanest ways to see whether your business actually makes money running day to day. It strips out financing choices and tax quirks and asks a simpler question: after you pay to make and sell your product, how much is left?
This guide gives you the exact formula, a worked example with real numbers, and honest benchmarks for what a good operating margin looks like — including why "good" depends heavily on your industry.
What operating margin measures
Operating margin (also called operating profit margin, EBIT margin, or return on sales) is the ratio of operating income to revenue. Chase's business guide defines it as operating income divided by net sales, measuring profitability after operating expenses but before interest and taxes.
Operating income is what remains after you subtract two buckets from revenue: the cost of goods sold (COGS), and operating expenses like payroll, rent, software, marketing, and depreciation. It deliberately excludes interest on debt, income taxes, and one-off investment gains.
That exclusion is the whole point. Two companies can have identical operations but very different debt loads and tax situations. Operating margin lets you compare how well each one runs its actual business, ignoring how it's financed.
The operating margin formula
The formula is short:
Operating margin % = (Operating income ÷ Revenue) × 100
Where operating income = Revenue − COGS − Operating expenses.
You can also build it up in two steps, which makes it easier to see where profit leaks out. First you find gross profit (revenue minus COGS), then you subtract operating expenses to reach operating income. If you want to understand that first layer on its own, our gross margin calculator walks through it.
Operating margin vs. gross margin vs. net margin
These three margins sit on a ladder, each subtracting more cost:
- Gross margin subtracts only COGS. It tells you whether the product itself is worth making.
- Operating margin subtracts COGS plus all operating expenses. It tells you whether the whole operation is profitable.
- Net margin subtracts everything, including interest and taxes. It's the final scoreboard.
Gross margin is always the highest of the three, and net margin the lowest. The gap between gross and operating margin is your overhead; the gap between operating and net is mostly financing and tax.
A worked example
Say you run a small print-on-demand apparel store. Here's a month laid out. (These are illustrative figures, not market data.)
- Revenue: $40,000
- COGS (blank garments, printing, base fulfillment): $16,000
- Gross profit: $40,000 − $16,000 = $24,000 (a 60% gross margin)
Now subtract operating expenses for the month:
- Payroll and pick/pack labor: $6,000
- Software, apps, and tools: $1,500
- Rent and utilities: $2,000
- Marketing and ad spend: $10,000
- Depreciation on equipment: $500
- Total operating expenses: $20,000
Operating income = $24,000 gross profit − $20,000 operating expenses = $4,000.
Operating margin = $4,000 ÷ $40,000 × 100 = 10%.
So this store keeps ten cents of operating profit on every sales dollar. Notice how much of the gross profit ads consumed: $10,000 of the $24,000 gross profit went to marketing alone. That's typical for stores buying most of their traffic, and it's exactly why watching your true per-order economics matters more than the top-line revenue number. Tools like a break-even point calculator show how many orders you need before that operating profit turns positive.
Why the ad line is the one to watch
In the example, halving ad spend to $5,000 (if sales held) would roughly double operating income to $9,000 and lift operating margin to about 22.5%. In reality sales rarely hold when you cut ads, but the point stands: for most ecommerce brands, the difference between a thin operating margin and a healthy one is marketing efficiency, not COGS.
This is where the contribution margin income statement format earns its keep — it separates variable costs (which scale with every order) from fixed overhead, so you can see whether each additional sale is helping or hurting.
What is a good operating margin?
Here's the honest answer: there is no single "good" number, because operating margins vary enormously by industry. But there are useful ranges.
As a general rule of thumb, TrueProfit's benchmark analysis puts roughly ten to fifteen percent in the average-to-good band, fifteen to twenty percent as strong, and above twenty percent as excellent — while margins below five percent are often considered weak, especially if they're declining.
But those thresholds shift by sector. Software and asset-light businesses run high because they have no inventory or fulfillment costs; retail and food service run thin because they don't. Comparing a grocery chain to a software company on operating margin alone is meaningless.
Operating margin benchmarks by industry
The table below shows average operating margins across S&P 500 sectors, compiled by Wisesheets from trailing-twelve-month financials of publicly listed companies as of early 2026:
| Sector | Mean operating margin | Median |
|---|---|---|
| Real Estate | 29.20% | 30.07% |
| Financials | 24.88% | 22.20% |
| Utilities | 22.79% | 23.60% |
| Information Technology | 22.28% | 21.37% |
| Energy | 22.07% | 19.72% |
| Health Care | 17.10% | 17.49% |
| Industrials | 16.91% | 17.67% |
| Consumer Discretionary | 15.10% | 14.14% |
| Consumer Staples | 11.82% | 12.10% |
The lesson: judge your operating margin against your own sector's median, not against a universal target. A twelve percent margin is unremarkable for real estate but respectable for a consumer-staples brand.
How to improve your operating margin
There are only three levers, and they all show up in the formula:
- Raise revenue without proportionally raising costs — higher prices, higher average order value, or better conversion. If your operating expenses are largely fixed, each extra sale drops more to operating income.
- Cut COGS — negotiate supplier or print costs, reduce returns, or shift product mix toward higher-margin items. Understanding the difference between markup and margin helps you price so the margin actually lands where you think it does.
- Trim operating expenses — the big one for most online stores is marketing efficiency. Wasted ad spend is the fastest way to turn a healthy gross margin into a thin operating one.
The trap is that most store owners can see revenue and ad spend, but not the true profit on each order once product cost, shipping, fees, and ad allocation are all netted out. That blind spot is where operating margin quietly erodes.
Track true profit instead of guessing at it
Operating margin is only as accurate as the cost data behind it. If your COGS, shipping, payment fees, and ad spend live in five different tabs, your margin is a guess.
PodVector connects Shopify, Meta Ads, Google Ads, Printify, and Printful, then computes the true per-order profit that rolls up into your real operating margin. Victor, its AI operator, analyzes that live data and proposes moves — and with your approval, executes Shopify-side actions to act on them. Victor reads your ad data to spot waste but does not touch your ad account. If you'd rather know your real margin than estimate it, start with PodVector.
For the full picture of how operating margin fits alongside the other numbers that decide whether a store makes money, see our ecommerce metrics guide.
FAQs
Is operating margin the same as profit margin?
Not exactly. "Profit margin" usually refers to net margin, which subtracts interest and taxes on top of operating costs. Operating margin stops before financing and tax, so it isolates how well the core business runs. Operating margin is one specific type of profit margin, not a synonym for all of them.
What's the difference between operating margin and EBIT margin?
They're essentially the same. EBIT stands for earnings before interest and taxes, which is what operating income measures. Some accountants distinguish the two when a company has non-operating income, but for most small businesses operating margin and EBIT margin are interchangeable.
Can operating margin be negative?
Yes. A negative operating margin means your operating expenses and COGS together exceed your revenue — the core business is losing money before you even account for debt or taxes. This is common for early-stage or fast-scaling companies spending heavily on growth, but it isn't sustainable long term.
Why is my operating margin lower than my gross margin?
Because operating margin subtracts more. Gross margin only removes the cost of goods sold, while operating margin also removes payroll, rent, software, marketing, and depreciation. The gap between the two is your operating overhead. A wide gap usually points to heavy fixed costs or heavy ad spend.
What is a good operating margin for an ecommerce store?
It varies, but many healthy online stores land in the low-to-mid teens as a percentage, with marketing efficiency being the main swing factor. Because ad spend often eats a large share of gross profit, an ecommerce brand's operating margin depends far more on customer acquisition cost than on product cost. Compare yourself to similar direct-to-consumer brands rather than to software or service companies.