Operating Margin Explained: Formula, Examples and How to Improve It

Operating margin is the percentage of revenue left after paying all operating costs, including cost of goods sold and operating expenses, but before interest and taxes. You calculate it by dividing operating income by revenue, then multiplying by 100. It shows how efficiently a business turns sales into core profit.
Operating margin is one of the clearest signals of whether your business is actually healthy or just busy. It tells you how much profit you keep from each pound or dollar of sales after covering the real cost of running your operation, but before interest and tax muddy the picture. If you have ever wondered why your revenue keeps climbing while your bank balance stays flat, your operating margin is usually where the answer hides.
In this guide we will define operating margin plainly, show the formula, walk through a fully worked example, compare it with gross and net margin, explain how to benchmark it, and lay out concrete ways to improve it. By the end you will be able to calculate the number for your own business and know what to do with it.
What Is Operating Margin?
Operating margin measures the percentage of revenue that survives after you pay all the costs of running your core business. That includes the direct cost of delivering your product or service (cost of goods sold) and your operating expenses such as rent, salaries, software, marketing and admin. It deliberately excludes interest payments, taxes, and one-off gains or losses that are not part of normal operations.
Because it strips out financing and tax effects, operating margin isolates how well the business itself performs. Two companies with identical sales can have wildly different net profits simply because one carries a big loan and the other does not. Operating margin lets you compare the underlying engines, not the bolt-ons.
Why operating margin matters
For founders, freelancers and small business owners, operating margin answers a question revenue never can: am I running this efficiently? A high margin means you keep more of every sale and can absorb shocks, invest in growth, or simply pay yourself more. A thin or falling margin warns you that costs are creeping, pricing is too low, or you are growing in the wrong direction.
Lenders, investors and buyers also lean on operating margin. When someone values your business, they look at operating profitability to judge how sustainable your earnings are. A clean, stable operating margin is one of the most attractive things a small business can show.
The Operating Margin Formula
The operating margin formula is refreshingly simple:
Operating Margin = (Operating Income ÷ Revenue) × 100
Operating income, sometimes called operating profit or EBIT (earnings before interest and taxes), is what is left after you subtract both your cost of goods sold and your operating expenses from revenue.
So you can also write it as:
Operating Margin = ((Revenue − COGS − Operating Expenses) ÷ Revenue) × 100
Let us break the inputs down so there is no ambiguity.
Revenue
This is your top-line sales for the period: everything you billed clients for the goods or services you delivered. Use net revenue, meaning after refunds, discounts and credit notes, so the number reflects money you actually earned.
Cost of goods sold (COGS)
COGS is the direct cost of producing what you sell. For a product business it is materials and manufacturing. For a service business it might be subcontractor fees, the labor directly tied to delivery, or software licenses resold to clients. If a cost rises and falls directly with how much you sell, it usually belongs in COGS.
Operating expenses
These are the costs of running the business that are not directly tied to a single sale: office rent, your own salary, marketing, accounting, insurance, subscriptions, and general admin. They are often called SG&A (selling, general and administrative expenses). Depreciation and amortisation also sit here.
What you leave out
Operating margin excludes interest on loans, income tax, and non-operating items like the gain from selling a vehicle. That exclusion is the whole point: it keeps the focus on operations.
A Fully Worked Example
Numbers make this concrete, so let us follow a realistic small business through a full year.
Meet Lina, who runs a five-person digital marketing agency. Here is her annual income statement, simplified.
- Revenue: $400,000
- Cost of goods sold (freelance contractors and ad-platform fees billed to delivery): $140,000
- Operating expenses (salaries, office, software, marketing, insurance): $200,000
- Interest on a business loan: $6,000
- Tax: $11,000
First, calculate operating income:
Operating Income = Revenue − COGS − Operating Expenses
Operating Income = $400,000 − $140,000 − $200,000 = $60,000
Now apply the formula:
Operating Margin = ($60,000 ÷ $400,000) × 100 = 15%
So Lina keeps 15 pence of operating profit from every pound of revenue. Notice that we ignored the $6,000 interest and $11,000 tax. Those reduce her net profit, but they tell us nothing about how well the agency itself runs.
Reading the result
A 15% operating margin is solid for a service agency. It means Lina has room to give a raise, hire, or weather a slow quarter. If a competitor with the same $400,000 revenue showed an operating margin of 6%, you would immediately know their cost base is heavier or their pricing is weaker, even before seeing a single other figure.
A quick second example
Suppose Lina wins a big new client and revenue jumps to $500,000, but to deliver it she spends an extra $90,000 on contractors and $20,000 on staff. New operating income is $500,000 − $230,000 − $220,000 = $50,000. Her margin actually falls to 10%. This is the classic trap: more revenue, less efficiency. Operating margin catches it instantly; revenue alone hides it.
Operating Margin vs Gross Margin vs Net Margin
These three margins are often confused, yet each answers a different question. Walking down the income statement, you peel away more costs at each step.
| Margin | Formula | What it includes | What it tells you |
|---|---|---|---|
| Gross margin | (Revenue − COGS) ÷ Revenue | Only direct delivery costs | How profitable each sale is before overhead |
| Operating margin | Operating income ÷ Revenue | COGS plus all operating expenses | How efficiently the whole operation runs |
| Net margin | Net income ÷ Revenue | Everything, including interest and tax | What you actually keep at the very bottom |
Gross margin sits highest because it only subtracts direct costs. Operating margin is lower because it also absorbs overhead. Net margin is lowest of all because it includes financing and tax.
The gap between them is informative. A healthy gross margin but a poor operating margin signals bloated overhead. A healthy operating margin but a poor net margin usually points to heavy debt or a steep tax bill. If you want a deeper comparison of the top and bottom figures, our guide on gross profit vs net profit breaks it down further, and gross margin explained covers the first line in detail.
Where EBITDA fits
You may also hear about EBITDA margin, which adds depreciation and amortisation back to operating profit. It is popular for comparing capital-heavy businesses, but for most freelancers and small service firms, operating margin is the more honest day-to-day measure.
How to Interpret and Benchmark Your Operating Margin
A number on its own means little. Context turns it into a decision.
What is a good operating margin?
There is no universal "good" figure because margins vary enormously by industry. As a rough orientation rather than a hard rule:
- Software and digital products often run high operating margins because, once built, each extra sale costs little.
- Service businesses and agencies typically land in the low-to-mid teens once staff and overhead are paid.
- Retail, hospitality and construction frequently operate on single-digit margins because their cost bases are heavy.
The most reliable benchmark is you over time. If your operating margin was 12% last year and 16% this year, you are getting more efficient, full stop. The second-best benchmark is direct competitors of similar size in your sector.
Reading the trend
Watch the direction, not just the level. A margin sliding from 18% to 14% to 11% over three years is a warning even if 11% still sounds fine. Something structural, pricing, cost creep, or scope creep, is eroding your efficiency.
The link to cash flow
Operating margin and cash flow are cousins, not twins. A strong margin should eventually produce cash, but if clients pay 60 days late, profit on paper does not reach your bank. This is why margin analysis pairs so naturally with disciplined invoicing. For more on the distinction, see cash flow vs profit and our guide to improving cash flow.
How to Improve Your Operating Margin
There are only two levers: raise revenue without proportionally raising costs, or cut costs without harming revenue. The art is doing it without damaging the business.
Raise prices intelligently
Price is the fastest margin lever because a price increase drops almost entirely to operating income. Even a modest, well-communicated rise can move your margin several points. Many small businesses underprice out of fear; the fear is usually larger than the risk. Our guide on raising prices without losing customers covers how to do it gracefully.
Tighten cost of goods sold
Review what you spend to actually deliver. Can you negotiate contractor rates, consolidate tools, or reduce rework? Shaving COGS lifts gross margin, which flows straight through to operating margin.
Cut waste from overhead
Audit recurring subscriptions, renegotiate rent or insurance, and question every fixed cost. Overhead has a way of accumulating quietly. The goal is not austerity; it is removing spend that does not earn its keep.
Improve operational efficiency
Automate the repetitive admin that eats billable hours, invoicing, follow-ups, reporting. Every hour your team spends chasing payments or rebuilding documents is overhead that depresses margin. Tools that reduce administrative work directly improve operating margin by lowering the labor cost of running the business.
Focus on higher-margin work
Not all revenue is equal. Track which services, clients or projects carry the best margins and lean into them. Dropping a glamorous-but-unprofitable client can lift your overall margin more than winning two new ones.
Reduce late payments and write-offs
Bad debt and the cost of chasing money both erode operating profit. Faster, cleaner billing keeps revenue real. See how to reduce late payments for practical tactics.
Tools and Dashboards That Help
You cannot improve what you do not measure, and measuring operating margin by hand every month is exactly the kind of admin that drags margins down.
Accounting software
Your bookkeeping platform produces the income statement that contains every input you need: revenue, COGS and operating expenses. Keeping the books clean and categorized correctly is the foundation. If your expenses are miscategorised, your margin calculation is fiction.
Financial dashboards
A good financial dashboard plots operating margin over time alongside revenue and expenses, so a downward drift is visible at a glance rather than buried in a spreadsheet. Pairing margin with the metrics in a KPI dashboard gives you the full operating picture.
Invoicing and billing data
This is where invoicing quietly drives margin. Your invoices are the source of truth for revenue, and how fast they get paid affects whether that revenue ever becomes cash. Platforms like Aviy generate professional invoices, quotes and receipts in seconds and surface invoice analytics, so the revenue line feeding your operating margin is accurate, timely and effortless to track. When billing is automated and reliable, you spend less on admin overhead and capture revenue you might otherwise lose, both of which lift operating margin.
Spreadsheets
For very small operations, a simple spreadsheet with the formula above, updated monthly, is perfectly adequate. The key is consistency, not sophistication. Build three columns, revenue, COGS and operating expenses, add a fourth that calculates the margin automatically, and add one row each month. Within a year you will have a trend line that tells you more than any single report.
Connecting the data sources
The real win comes from linking these tools rather than treating them as silos. Your invoicing platform feeds revenue into your accounting software, which feeds the income statement into your dashboard. When that chain is automated, your operating margin updates almost in real time and you stop relying on month-end heroics. Manual re-keying between systems is both a source of error and an overhead cost, which is doubly bad for margin.
How Operating Margin Drives Business Decisions
Knowing the number is only half the value; using it to make decisions is where it pays off.
Pricing decisions
If your operating margin is thin, your pricing model is usually the first place to look. Calculate the margin on each service line and you will often find one or two offerings that drag the whole average down. That insight lets you reprice, restructure or retire them rather than spreading the pain across everything.
Hiring and capacity decisions
Before adding headcount, model the effect on operating margin. A new hire adds a fixed cost immediately but revenue only arrives once they are productive. Knowing your margin tells you how much runway you have to absorb that gap and how much extra revenue the hire must generate to be margin-neutral.
Investment and growth decisions
When you are deciding whether to spend on marketing, software or new equipment, frame it in margin terms. Will the spend grow revenue faster than it grows cost? If yes, margin holds or improves and the investment is sound. If the spend simply chases revenue at any cost, margin erodes and the growth is hollow.
Pros and Cons of Focusing on Operating Margin
Operating margin is powerful, but it is one lens among several. Know its strengths and limits.
Pros
- Isolates true operating efficiency by stripping out interest and tax.
- Comparable across businesses with different debt structures.
- Easy to calculate from a standard income statement.
- Sensitive enough to catch cost creep early.
- Highly valued by investors, lenders and buyers.
Cons
- Ignores financing reality, so a profitable operation can still fail under debt.
- Says nothing about cash timing; you can be margin-rich and cash-poor.
- Varies so much by industry that cross-sector comparison misleads.
- Can be gamed by deferring necessary spend, which hurts later.
- A single period can mislead without the trend behind it.
Common Mistakes
Even experienced owners trip over these.
Confusing operating margin with gross margin
The most frequent error is forgetting to subtract overhead. Gross margin looks flattering because it only counts direct costs. If you quote yourself a "40% margin" but have not paid rent, salaries and software out of it, you are looking at gross, not operating.
Miscategorising expenses
If you dump direct delivery costs into operating expenses, or hide overhead inside COGS, both your gross and operating margins become meaningless. Consistent, correct categorization is everything. A clean chart of accounts prevents this.
Including non-operating items
Throwing a one-off asset sale or insurance payout into the calculation inflates your margin and hides the real performance of the business. Keep operations and one-offs separate.
Chasing revenue at the expense of margin
As Lina's second example showed, growth can lower margin if costs rise faster than sales. Celebrating top-line growth without checking the margin is how busy businesses go broke.
Measuring only once a year
An annual figure is a post-mortem. By the time you see a problem at year-end, you have lived with it for twelve months. Frequent measurement turns margin into a steering wheel rather than a rear-view mirror.
Best Practices
Follow these to make operating margin a working tool, not a number you compute once and forget.
- Calculate it every month or quarter. Build a routine so the figure is always current and trends are visible early.
- Keep your books clean and categories consistent. Decide once what belongs in COGS versus operating expenses, and never drift.
- Benchmark against yourself first. Your own trend is the most honest comparison; sector data is a useful second.
- Pair margin with cash flow. A strong margin only helps if the cash arrives, so track both together and bill promptly.
- Attack the biggest cost line first. Improving your largest expense by a few percent beats trimming five tiny ones.
- Protect price. Resist reflexive discounting; defend value instead, because price flows almost entirely to operating profit.
- Automate the admin. Reduce the labor cost of running the business with automated invoicing, reminders and reporting.
- Review margin by client and service. Find your most profitable work and do more of it; prune what consistently loses money.
Summary
Operating margin is the share of revenue you keep after paying all the costs of running your core business, before interest and tax. You calculate it by dividing operating income by revenue and multiplying by 100. It is one of the truest measures of business efficiency because it ignores how you are financed and taxed and focuses purely on operations.
Use it as a trend, not a snapshot; benchmark against your own history first; and remember it is a partner to cash flow, not a substitute. Improve it by pricing with confidence, trimming waste, focusing on profitable work, and automating the admin that quietly drains overhead. Get those habits right, and a healthy operating margin becomes the natural result of a well-run business rather than a number you chase.
Frequently asked questions
What is operating margin in simple terms?
Operating margin is the percentage of your sales that remains as profit after you pay every cost of running the business, including delivery costs and overhead, but before interest and tax. If you keep 15 pence of operating profit from every pound of revenue, your operating margin is 15%. It shows how efficiently your business turns sales into core profit.
How do you calculate operating margin?
Divide operating income by revenue and multiply by 100. Operating income is revenue minus cost of goods sold minus operating expenses. For example, if revenue is $400,000 and operating income is $60,000, your operating margin is (60,000 ÷ 400,000) × 100, which equals 15%. You deliberately exclude interest and tax from the calculation.
What is considered a good operating margin?
It depends heavily on your industry. Software often runs high margins, service agencies typically land in the low-to-mid teens, and retail or construction frequently operate on single digits. The most reliable benchmark is your own margin over time. A rising trend is good news regardless of the absolute level you start from.
What is the difference between operating margin and gross margin?
Gross margin only subtracts the direct cost of delivering your product or service. Operating margin goes further and also subtracts overhead such as rent, salaries and marketing. So operating margin is always lower than gross margin, and the gap between them tells you how heavy your overhead is relative to sales.
Is operating margin the same as net profit margin?
No. Net profit margin subtracts everything, including interest payments and tax, to show what you finally keep. Operating margin stops before interest and tax, so it reflects only how well operations run. A business can have a healthy operating margin but a poor net margin if it carries heavy debt or a large tax bill.
Why is operating margin important for small businesses?
It reveals whether your business is genuinely efficient or just generating activity. Revenue can grow while profitability falls, and operating margin catches that immediately. It also reassures lenders, investors and potential buyers, because a stable operating margin signals sustainable earnings rather than a business propped up by one-off events.
How can I improve my operating margin?
Raise prices where you can, since price flows almost entirely to profit. Trim cost of goods sold by negotiating with suppliers, cut wasteful overhead, automate admin to reduce labor cost, focus on your highest-margin work, and reduce late payments and write-offs. Tackle your largest cost line first for the biggest impact.
Can operating margin be negative?
Yes. If your operating expenses plus cost of goods sold exceed your revenue, operating income is negative and so is your margin. This is common for early-stage startups investing ahead of revenue, but a persistently negative operating margin in an established business signals serious problems with pricing or cost control.
How often should I check my operating margin?
Monthly or at least quarterly. An annual figure is a post-mortem that only confirms problems after you have lived with them all year. Frequent measurement lets you catch a few-point drop early, while it is still recoverable, and turns the metric into a steering tool rather than a backward look.
Does invoicing affect operating margin?
Indirectly but meaningfully. Your invoices are the source of your revenue figure, so accurate, timely billing keeps the calculation honest. The admin cost of creating and chasing invoices is overhead that lowers margin, and unpaid invoices become write-offs that erode operating profit. Automated, reliable invoicing reduces both problems.
Conclusion
Operating margin is one of the most revealing numbers in your business because it cuts through revenue noise and shows how efficiently you actually operate. Once you can calculate it, divide operating income by revenue and multiply by 100, you have a dependable gauge of whether your pricing, costs and processes are working together or quietly pulling against each other.
Treat operating margin as a living metric. Track it monthly, benchmark it against your own history, and pair it with cash flow so that profit on paper turns into money in the bank. Defend your pricing, prune unprofitable work, and automate the admin that drains overhead. Do that consistently, and a strong, stable operating margin stops being a goal you chase and becomes the natural outcome of a disciplined, well-run business.
Related guides
- Gross Margin Explained: Formula, Examples and How to Improve It
- Gross Profit vs Net Profit: Understanding the Difference
- Cash Flow vs Profit Explained: The Difference That Sinks Businesses
- Financial Dashboards Every Business Needs (2026 Guide)
- How to Reduce Administrative Work in Your Business
- Pricing Strategies That Improve Profitability


