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. As Beancount.io explains, it tells you in plain percentage terms how much profit your business keeps from every dollar of revenue after paying for operations — before interest and taxes enter the picture.
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 net profit margin benchmark guide shows how the layers stack.
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. According to Culta.ai's 2026 benchmark report (citing Damodaran, January 2026), the U.S. market averages a 12.8% operating margin and a 9.7% net margin — showing how much interest and taxes typically shave off operating income.
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. Our guide on CRO techniques shows how better conversion can lift operating margin without touching ad spend.
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 substantially. 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 understanding how to increase average order value earns its keep — lifting AOV spreads your fixed marketing spend across more revenue, which flows directly into operating margin improvement without requiring a single extra ad click.
What is a good operating margin?
There is no single "good" number, because operating margins vary enormously by industry. But there are useful ranges.
According to Gainify's 2026 operating margin guide, operating profit margins above 12% are generally considered healthy, while margins above 20% often reflect strong operational efficiency, depending on the industry. Margins below that threshold aren't automatically a failure — but they leave less cushion to absorb cost shocks or fund growth.
Industry context is everything. Beancount.io's 2026 guide notes that software and SaaS businesses often reach 15–35% at maturity thanks to low marginal cost per additional customer, while grocery and retail frequently run under 5% — sometimes closer to 2–3% — because intense competition keeps prices razor-thin. Comparing a grocery chain to a software company on operating margin alone is meaningless.
Operating margin benchmarks by industry
The table below shows rough operating margin ranges by sector, based on Crestmont Capital's 2026 benchmark guide (drawing on IBISWorld, NYU Stern, SBA, and Federal Reserve small business data) and Beancount.io's 2026 sector analysis:
| Sector | Typical operating margin range |
|---|---|
| Software / SaaS | 15–35% (at maturity) |
| Professional services | 15–25% |
| Financial services | High teens to mid-twenties |
| Healthcare | Mid-to-high teens |
| Manufacturing / hardware | 8–15% |
| Consumer goods / ecommerce | Low-to-mid single digits to low teens |
| Grocery / retail | Under 5% (often 2–3%) |
The lesson: judge your operating margin against your own sector's median, not against a universal target. As Calcbee's benchmark guide puts it, asset-light, high-IP businesses like software and finance consistently produce the highest operating margins, while capital-intensive, high-competition sectors like retail and logistics run on much thinner margins.
What drives operating margin differences
Understanding why margins differ across businesses helps you find the right levers in your own. Gainify's analysis highlights three structural drivers:
- Pricing power. Companies that sell differentiated or essential products command higher prices and wider margins. Commoditized businesses compete on price alone and accept thin margins as normal.
- Cost structure. Asset-light businesses (software, services) have low variable costs, so each extra unit of revenue drops more to operating income. Physical goods businesses carry inventory, fulfillment, and production costs that compress margin.
- Scale efficiency. Fixed costs like rent and software spread across more revenue as you grow, lifting operating margin even if variable costs stay flat. This is why operating margin often expands as a business scales.
For print-on-demand sellers specifically, the cost structure is mostly variable (per-item production and fulfillment) plus a meaningful fixed-ish layer of ad spend. That means margin improvement comes primarily from marketing efficiency and pricing — not from squeezing supplier costs. See our average checkout completion rate guide for how checkout conversion factors into the revenue side of your margin equation.
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. Our comparison of Printify vs. Printful pricing shows where production cost differences can open or close your margin.
- 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.
Operating margin and ecommerce profitability
For POD sellers on Shopify, operating margin is rarely visible in a single dashboard. Production costs come from Printify or Printful invoices; ad spend lives in Meta and Google Ads; payment fees appear in Shopify. Stitching these together manually means your "margin" is almost always a lag indicator — you find out last month was thin after the money is already spent.
Real-time operating margin visibility requires connecting all those cost sources and computing true per-order profit as orders land. That's the foundation of making margin a leading metric rather than a lagging one. Our piece on dropshipping from Etsy to Shopify covers how fulfillment routing decisions also ripple into your operating cost structure.
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 into a live data warehouse, then computes the true per-order profit that rolls up into your real operating margin. Victor, its AI employee, analyzes that live data and proposes moves — and with your approval, executes Shopify-side actions like repricing products to a target margin, adjusting discounts, or raising your free-shipping threshold to lift AOV. 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 POD sellers weighing fulfillment partners, see our PodVector strategy guide and our Shopify Google Merchant Center integration guide — both affect the cost and attribution inputs that feed your operating margin calculation.
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.
How do I use operating margin to make decisions?
Operating margin is most useful as a trend metric. A margin that is stable or expanding as revenue grows signals improving efficiency. A margin that is shrinking despite rising revenue usually means costs — especially variable ones like ad spend or per-unit fulfillment — are growing faster than revenue. Tracking it monthly, and tracing changes back to specific cost lines, tells you which lever to pull next.