Operating margin is the percentage of revenue a company keeps after paying for both the direct cost of making its products and the indirect cost of running the business. It answers a simple but important question: for every dollar of sales, how many cents of operating profit are left before interest and taxes? This operating margin calculator takes the three lines you already have on your income statement — revenue, cost of goods sold, and operating expenses — and turns them into gross profit, operating income (EBIT), operating margin, and EBITDA in one step.
Unlike net profit margin, which can be distorted by interest costs, tax rates, and one-off items, operating margin isolates the core profitability of the business itself. That is why investors, lenders, and buyers compare operating margins across companies in the same industry: it is the cleanest measure of how well management runs the day-to-day operations.
Enter your annual revenue, what it cost you to deliver the product, and your overhead below. Every figure updates instantly, and the result card shows the full income-statement build from the top line down to EBITDA.
How to Use
- Enter your Revenue — total net sales for the period you are measuring, after returns and allowances. Use the same period for every line; annual figures are the most common.
- Enter Cost of Goods Sold (COGS) — the direct costs of the products or services you sold: materials, direct labor, manufacturing overhead, and wholesale purchase cost for resellers.
- Enter Operating Expenses (OPEX) — SG&A, marketing, salaries of non-production staff, rent, software subscriptions, and R&D. Do not include interest payments or income tax here; those sit below operating income.
- Optionally add Depreciation & Amortization (D&A) if your financials report it separately. It is a non-cash expense, and the calculator adds it back to EBIT to produce EBITDA. If you do not track it, leave it at zero.
- Read the result card: Gross Profit and Gross Margin first, then Operating Income (EBIT) and the highlighted Operating Margin %, and finally EBITDA.
A positive operating margin means the core business funds itself. A negative one means operations are losing money before any financing decisions or taxes are even considered.
The Operating Margin Formula
Operating margin is built in two steps, straight off a standard income statement:
Gross Profit = Revenue − Cost of Goods Sold
Operating Income (EBIT) = Gross Profit − Operating Expenses
Operating Margin = Operating Income ÷ Revenue × 100
Worked example on a company with $1,000,000 in revenue, $600,000 in COGS, and $200,000 in operating expenses:
- Gross profit = $1,000,000 − $600,000 = $400,000 (a 40% gross margin).
- Operating income = $400,000 − $200,000 = $200,000.
- Operating margin = $200,000 ÷ $1,000,000 × 100 = 20%.
That 20% means the company keeps $0.20 of every sales dollar as operating profit. If depreciation and amortization of, say, $50,000 is already embedded inside the operating expenses, EBITDA rises to $250,000. The calculator's optional D&A input handles exactly this add-back.
If revenue is zero the formula would divide by zero, so the engine flags an error instead of printing a nonsense percentage — enter a positive revenue figure to proceed.
Gross Margin vs Operating Margin vs Net Margin
These three ratios are often confused, but they measure different layers of the business:
- Gross margin = (Revenue − COGS) ÷ Revenue. It shows how efficiently you produce or source what you sell.
- Operating margin = (Gross Profit − OPEX) ÷ Revenue. It shows how well you control overhead on top of production.
- Net margin = Net Income ÷ Revenue. It is the bottom line after interest, taxes, and one-off items.
A company can have a healthy 45% gross margin and still post a thin 5% operating margin if sales, admin, and rent eat up the difference. Tracking all three together tells you where money is leaking: a falling gross margin points to product or sourcing cost pressure, while a falling operating margin points to overhead bloat.
What Counts as a "Good" Operating Margin?
There is no universal number — the right benchmark is the average for your industry. Software and SaaS businesses often run 20–30%+ operating margins because incremental costs are low. Restaurants and groceries may live on 3–8% because COGS and labor are heavy. Airlines historically hover near 5–10%, while luxury brands can exceed 15–20%. Compare yourself to direct competitors, not to some generic "10% is healthy" rule.
Two companies with the same 12% operating margin can still be very different: one may carry huge depreciation from a capital-heavy factory (so EBITDA looks strong), while the other runs asset-light but burns cash on sales commissions. That is why this calculator also surfaces EBITDA alongside the margin percentage.
Examples
Example 1 — The default business. Revenue $1,000,000, COGS $600,000, operating expenses $200,000, D&A $0. Gross profit is $400,000, operating income is $200,000, and the operating margin lands at 20%, with EBITDA of $200,000. A 20% operating margin is solid for most retail and service businesses and leaves plenty of room for interest, taxes, and reinvestment.
Example 2 — A startup with heavy overhead. Revenue $250,000, COGS $120,000, operating expenses $80,000, D&A $0. Gross profit is $130,000 (a 52% gross margin), and operating income is $50,000 — an operating margin of 20%. Even though the dollar profit looks small, the margin matches the first example, which shows that margin is a ratio you can compare at any scale.
Example 3 — Adding back D&A. Revenue $500,000, COGS $300,000, operating expenses $100,000, D&A $50,000. Operating income is $100,000 (a 20% margin), but because $50,000 of that operating expense was non-cash depreciation, EBITDA is $150,000. For a capital-intensive company, the EBITDA figure is often the number lenders and buyers focus on.
FAQ
What is a good operating margin?
It depends entirely on the industry. Asset-light software companies commonly run 20–30%+, while restaurants, grocery stores, and airlines may operate on 3–10%. The meaningful benchmark is the average operating margin of your direct competitors, not a one-size-fits-all percentage.
How is operating margin different from profit margin?
"Profit margin" usually means net profit margin, which is net income divided by revenue after interest, taxes, and one-time charges. Operating margin stops earlier: it is operating income (EBIT) divided by revenue, before interest and taxes. Operating margin isolates core business performance; net margin also reflects financing and tax decisions.
Does operating margin include interest and taxes?
No. Operating margin is built on operating income, also called EBIT (earnings before interest and taxes). Interest expense and income tax sit below the operating income line and are deliberately excluded so the ratio reflects only how well the business itself is run.
How do I calculate EBITDA from operating margin figures?
EBITDA = Operating Income + Depreciation & Amortization. Operating income is revenue × (operating margin ÷ 100). If a company with a 20% margin on $1,000,000 revenue reports $50,000 of D&A, EBITDA is $200,000 + $50,000 = $250,000. This calculator adds the D&A input exactly for this add-back.
Why is my gross margin high but operating margin low?
That gap is your operating expenses. A 50% gross margin means COGS consumes half of revenue, but if sales, marketing, rent, and payroll consume another 40 points, only a 10% operating margin remains. Falling gross margins usually point to product or sourcing costs; falling operating margins point to overhead growth outpacing sales.
Is a negative operating margin bad?
A negative operating margin means the core business loses money before interest and taxes. It is common for early-stage growth companies that are spending ahead of revenue, but it is unsustainable long term — eventually operations must be cash-flow positive or the business depends on continuous outside funding.
Disclaimer
This operating margin calculator is provided for informational purposes only and does not constitute financial, accounting, tax, or investment advice. Results are based on the exact income-statement figures you enter and the standard formula Operating Income ÷ Revenue × 100. Actual reported margins depend on accounting conventions, non-recurring items, and how your statements classify costs. Always consult a qualified accountant or financial advisor before making business or investment decisions.