Verified Tool

Operating Margin Calculator

Calculate operating margin from revenue, COGS, SG&A, R&D, and D&A. Compare to 12 industry benchmarks, run period-over-period analysis, and see exactly where every dollar of revenue goes.

By Marko Šinko
Updated 2026-04-18
2 min read

Operating Margin Calculator

Enter your details below to calculate

$

Total sales for the period, net of returns and discounts.

$

Direct costs — materials, direct labor, manufacturing overhead.

$

Selling, general & admin.

$

Research & development.

$

Depreciation & amortization.

$
$
$
$
$

Current Period Operating Margin

22.40%

StrongPremium brands, specialty manufacturers, and well-run software firms.

Operating Income (EBIT)

$1,120,000

$335,000 vs prior

Gross Profit

$2,900,000

Gross margin 58.00%

Operating Expenses

$1,780,000

35.60% of revenue

COGS as % of Revenue

42.00%

Lower is better

YoY Revenue Growth

13.64%

vs prior period

Margin change vs Prior Period:+4.56 pts(17.84% 22.40%)

Revenue to Operating Income

How $5,000,000 of revenue shrinks down to $1,120,000 of operating income.

Where every $1 of revenue goes

Cost structure of the current period as a share of revenue.

Industry Benchmark Comparison

Approximate median operating margins by sector (long-run averages from public-company composites). Use these as a sanity check — a 12% operating margin is elite for a grocer but mediocre for a software firm.

IndustryTypical Op. MarginYou vs MedianContext
Software & SaaS23%-0.6 ptsHigh gross margins, heavy R&D
Pharmaceuticals22%+0.4 ptsHigh R&D, strong pricing
Banks & Financials30%-7.6 ptsNet interest + fee income
Consumer Staples15%+7.4 ptsPackaged goods, beverages
Retail (General)5%+17.4 ptsRazor-thin, volume-driven
Grocery Retail3%+19.4 ptsScale and turnover game
Airlines8%+14.4 ptsCyclical, fuel-exposed
Automotive (OEMs)7%+15.4 ptsCapital-intensive, unionized
Restaurants11%+11.4 ptsLabor and food cost pressure
Apparel & Footwear12%+10.4 ptsBrand strength dictates
Construction6%+16.4 ptsProject-based, materials risk
Utilities15%+7.4 ptsRegulated, stable

How to Use This Calculator

Follow these simple steps

1

Enter revenue and COGS

Pull net revenue and cost of goods sold directly from your income statement. On a $5M business with $2.1M COGS, gross margin will show up as 58%.

2

Add the three OpEx lines

Enter SG&A (selling, general and admin), R&D, and D&A (depreciation and amortization) separately so the waterfall and the stacked breakdown can show where margin actually leaks.

3

Turn on period comparison

Use the Prior Period panel to paste in the same figures from a year ago or the prior quarter. The calculator shows the basis-point change and the dollar delta in operating income.

4

Check the industry benchmark table

Scroll to the benchmark table to see how your margin compares to 12 sectors — a 12% operating margin is elite in grocery, average in manufacturing, and poor in enterprise SaaS.

5

Model a margin-improvement scenario

Try reducing SG&A by $100,000 on a $5M business — watch operating margin jump 2 percentage points. That's $100K of extra operating income per year.

6

Export CSV for board decks or lender packets

Hit the CSV button to pull current and prior period side by side. Most lenders want three years of operating margin trend when evaluating a DSCR or term loan.

Key Features

Breaks down COGS, SG&A, R&D, and D&A line-by-line
Compares current period vs prior period with margin delta in basis points
Benchmarks your operating margin against 12 industries (SaaS, retail, manufacturing, utilities)
Waterfall chart: see how revenue shrinks into operating income
Stacked breakdown: where every $1 of revenue goes
Export CSV of both periods for finance memos and lender packets
Operating margin waterfall showing revenue shrinking to operating income after COGS, SG&A, R&D, and depreciation
Written by Marko ŠinkoApril 18, 2026

The 10% Operating Margin Myth (and What Great Businesses Actually Earn)

The operating margin calculator above treats revenue the way it should be treated — as the starting line, not the finish. A business with $5M in sales and 8% operating margin earns $400,000 of operating income; the same $5M at 18% earns $900,000. That $500,000 difference is why analysts, lenders, and acquirers obsess over operating margin: it's the cleanest single number that tells you whether a business is run well or just sold well.

Most founders are told "aim for 10%" and leave it at that. It's a useless target. Costco runs on 3% operating margins and is one of the best retailers in history. Adobe runs on 35% operating margins and nobody thinks they're gouging customers. The right benchmark depends entirely on your industry — and that's what the calculator and the table above are built to show you.

The formula is boring

Operating Income ÷ Revenue × 100. The interesting part is what sits inside operating income: COGS, SG&A, R&D, and D&A.

Benchmarks beat targets

A 5% margin is elite in groceries, mediocre in manufacturing, and alarming in software. Context is the whole game.

Trend > snapshot

A single quarter tells you almost nothing. Two years of margin direction tells you whether the business is scaling, stalling, or sliding.

The exact formula, worked out on a $5M business

Operating margin is the percentage of revenue left over after every cost required to run the business — but before interest and taxes. It starts with revenue, subtracts the cost of the product or service itself (COGS), then subtracts every overhead it takes to sell and support that product: sales reps, marketing, rent, finance staff, engineers building the next version, and depreciation on the equipment you already own. What's left is operating income, also called EBIT.

Operating Margin

(Revenue − COGS − SG&A − R&D − D&A) ÷ Revenue × 100

Numerator = Operating Income (EBIT). Interest and taxes are NOT deducted at this stage.

Take a $5,000,000 mid-market SaaS business. Their income statement looks like this:

Line itemAmount% of revenue
Revenue$5,000,000100.0%
− COGS (hosting, support, onboarding)$2,100,00042.0%
= Gross Profit$2,900,00058.0%
− SG&A (sales, marketing, admin)$1,250,00025.0%
− R&D (product engineering)$350,0007.0%
− D&A (depreciation & amortization)$180,0003.6%
= Operating Income (EBIT)$1,120,00022.4%

Operating margin = $1,120,000 ÷ $5,000,000 = 22.4%. That's about average for a mid-market SaaS company with decent gross margins but heavy sales spend. Drop sales and marketing by $250,000 and operating margin jumps to 27.4% — but so would churn, most likely. That's the trade-off operators live in.

Operating margin vs gross margin vs net margin: stop mixing these up

The three margins answer three different questions, and using the wrong one is the single most common mistake on pitch decks and board slides.

MarginFormulaAnswersSaaS example
Gross(Revenue − COGS) ÷ RevenueHow profitable is the product itself?58.0%
Operating(Gross − SG&A − R&D − D&A) ÷ RevenueHow profitable are the operations?22.4%
Net(EBIT − Interest − Tax) ÷ RevenueWhat flows through to shareholders?~15%

Operating margin is the honest middle number — untainted by how a company chose to finance itself, and untainted by tax strategy. That's exactly why lenders and acquirers prefer it. Two companies with identical operating margins but wildly different net margins usually tell you one has more debt, not a worse business. If you want to pressure-test each layer separately, try our gross margin calculator and net profit calculator — the three numbers read very differently, and they should.

Why a 3% grocer beats a 25% software company (sometimes)

Here's where most comparisons fall apart. Operating margin looks different across industries because the cost structure is different. A grocer turns inventory 15–20 times a year; a software company turns its "inventory" of seats once. That's why you can't directly compare margins without adjusting for capital intensity and asset turnover.

Business typeTypical op. marginAsset turnoverApprox. ROA
Grocery retail (Costco-like)3%3.5x~10%
General retail5%2.0x~10%
Manufacturing10%1.2x~12%
Enterprise SaaS25%0.6x~15%
Utilities15%0.4x~6%

A 3% grocer and a 25% software firm can deliver the same return on assets because the grocer rotates capital so much faster. This is the DuPont identity in action, and it's the reason "higher operating margin = better business" is a dangerous simplification. Margin without turnover is just a number. If your planning depends on understanding all three profit layers, the profit margin calculator shows them side by side on the same inputs.

Four mistakes that quietly destroy your operating margin

Classifying SG&A as COGS

Booking your CSM team's salaries into COGS inflates gross margin and understates operating leverage. On a $5M business, misclassifying $400K moves gross margin from 58% to 50% but leaves operating margin unchanged — which is why operating margin is what analysts trust.

Ignoring stock-based compensation

"Adjusted" operating margins that strip out SBC can add 8–15 percentage points for venture-backed software. Real operating margin includes it. A company showing 25% "adjusted" and 10% GAAP operating margin is a 10% business.

Using a single quarter

A $150K one-time license renewal can swing a small firm's quarterly operating margin by 300 basis points. Trailing-twelve-month is the minimum acceptable window for any real decision.

Chasing margin, shrinking revenue

Cutting $500K of growth marketing on a $5M business can pop operating margin from 22% to 32% this year — and then flatten revenue for three. Dollars of operating income compound; percentage points don't.

What actually moves operating margin (ranked by leverage)

Founders often ask "how do I get to 20%?" The honest answer is that not every lever is equal. On a typical $5M services or software business, here's what a single 1% change does:

LeverChangeImpact on op. marginDifficulty
Raise prices+1% on prices+1.0 ptsLowest — hardest is the courage
Reduce COGS−1% of revenue+1.0 ptsMedium — supplier terms, automation
Reduce SG&A−1% of revenue+1.0 ptsMedium — often hits growth
Grow revenue, hold opex flat+10% revenue+2.9 ptsHighest — operating leverage
Cut R&D−1% of revenue+1.0 pts now, −? laterEasy short-term, expensive long-term

Operating leverage — growing revenue faster than overhead — is the biggest long-term margin lever by a wide margin. A company growing 30% a year while holding opex growth at 10% will see operating margin climb 400–600 basis points annually without any heroic cost cutting.

Reading a public company's operating margin in 30 seconds

Open any 10-K or 10-Q. Find the income statement. The numerator of operating margin sits on a line literally labeled "Operating income" or "Income from operations." Divide by the total revenue line at the top. You're done.

Three quick sanity checks on the result:

  1. Compare to the same quarter a year ago. Margin is a trend, not a photograph. If Q1 2026 is 18% and Q1 2025 was 21%, something changed — usually pricing pressure, cost inflation, or a growth investment.
  2. Compare to 2–3 peers in the same industry. The industry benchmark table above is a starting point, but pull the actual competitors — operating margin only makes sense relative to the specific niche, not an industry average.
  3. Look for one-time items.A $40M restructuring charge or impairment can tank a quarter's operating income without affecting the underlying business. Read the MD&A section for the adjustments.

When the operating margin calculator will mislead you

There are three situations where this number is the wrong lens entirely:

  • Early-stage companies deliberately spending down. A Series B SaaS firm at −40% operating margin might be doing exactly what it should be: spending $1.60 of opex per $1 of revenue to grab market share. The right metric is CAC payback and the contribution margin per customer, not operating margin.
  • Asset-heavy businesses. Utilities, pipelines, and telecom carriers have 15–20% operating margins but tie up enormous capital. Return on invested capital (ROIC) is more informative than margin alone.
  • Holding companies and conglomerates. A blended operating margin across unrelated segments is nearly meaningless. Pull segment-level operating margins from the footnotes instead.

Practical playbook: improving operating margin by 300 bps in 12 months

On a $5M business, a 300 basis point improvement is $150,000 of extra operating income — enough to fund two senior hires or one acquisition. Here's how operators typically get there:

  • Months 1–3: Price audit. Most businesses have 3–5 customer segments paying materially different effective prices. Tightening the bottom quartile to within 15% of the median typically adds 80–120 bps of margin without any churn above 2%.
  • Months 4–6: COGS renegotiation. Anything over $25K/year in supplier spend is worth a re-bid. Expect 5–10% savings, which translates to 50–100 bps of operating margin on a 40%-COGS business.
  • Months 7–9: SG&A discipline. Kill two tools, consolidate overlapping agency spend, and move one office role to contract. 50–80 bps.
  • Months 10–12: Revenue acceleration. Redirect any savings into the highest-ROI acquisition channel. Compounding growth with flat opex is where the real margin expansion happens — and it shows up on the business finance side of the P&L twelve months later.

The calculator above will show you, in real time, exactly how many basis points each lever adds. Try toggling the prior-period comparison on, dropping SG&A by $100,000, and watching the margin delta. That 200 basis point jump is $100,000 of operating income on a $5M business — the same dollars a 20% revenue increase would produce, with none of the execution risk.

About the Author

Marko Šinko

Financial analysis and quantitative modeling specialist with 15+ years in finance

Connect with Marko

Frequently Asked Questions

What is a good operating margin for a small business?
Industry matters more than absolute number. A grocery store hitting 3-5% operating margin is elite; a professional services firm should aim for 15-25%; enterprise SaaS should target 20-30% once past growth stage. For a general small business across sectors, 10-15% operating margin is healthy and above 20% is strong. Compare against your specific industry median, not a generic target.
How do I calculate operating margin from an income statement?
Take Operating Income (sometimes labeled "Income from Operations") and divide by Revenue, then multiply by 100. For example: $1,120,000 operating income on $5,000,000 revenue is a 22.4% operating margin. Operating income is already calculated on the income statement as Revenue minus COGS minus SG&A minus R&D minus D&A — you don't have to subtract each line yourself.
What's the difference between operating margin and EBIT margin?
They are the same metric. Operating income and EBIT (Earnings Before Interest and Taxes) both exclude interest expense and income taxes, so the margins are identical — both are calculated as (Revenue − Operating Expenses) ÷ Revenue. The only nuance is that some analysts adjust EBIT for one-time items, while "operating income" usually refers to the GAAP figure directly from the income statement.
What's the difference between gross margin and operating margin?
Gross margin only subtracts COGS from revenue, so it measures product profitability — a software company easily hits 70-80%. Operating margin subtracts COGS plus all operating expenses (SG&A, R&D, D&A), so it measures how profitable the entire operation is. The same software company might show 80% gross margin but only 22% operating margin because sales and R&D eat 58 percentage points of revenue.
Can operating margin be negative?
Yes — any time operating expenses exceed gross profit, operating margin goes negative. Many venture-backed startups deliberately run at −20% to −40% operating margins for years while scaling revenue faster than operating costs. Amazon famously operated between 1% and 4% operating margin (sometimes negative on segments) throughout the 2000s while growing revenue 30%+ annually. Negative margin alone isn't a red flag; negative margin with flat revenue is.
How much does a 1% increase in operating margin matter?
On a $5,000,000 revenue business, 1 percentage point of operating margin equals $50,000 of additional operating income per year. On a $50 million business, it's $500,000. Over a 5-year hold period with a 10x EBIT multiple, that 1 point is worth about $500K-$5M in enterprise value. This is why private equity sponsors obsess over 100-basis-point improvements — they compound directly into sale price.
Is a 25% operating margin good for a SaaS company?
Yes, 25% operating margin is above average for a mature SaaS business — the public SaaS median sits around 10-20% once growth slows. Adobe, Oracle, and Microsoft run 35-45% operating margins. Growth-stage SaaS (under $100M ARR, growing 40%+) typically runs −20% to 5% operating margin and that's appropriate — they're trading margin for market share. Look at the "Rule of 40" (growth rate plus operating margin) for a more complete picture.

Share this Operating Margin Calculator