Skip to content

How to Calculate Profit Margin (Gross, Operating & Net — With Examples)

Last updated: March 2026  ·  15 min read  ·  Finance & Accounting

The short answer: Profit margin = (Profit ÷ Revenue) × 100. But which profit you use — gross, operating, or net — changes what the number actually tells you. This guide explains all three, walks through real examples, and shows you what a healthy margin actually looks like in your industry.

In this article

  1. What is profit margin?
  2. Gross profit margin
  3. Operating profit margin
  4. Net profit margin
  5. Full worked example (all three)
  6. Margin vs. markup — the difference matters
  7. What’s a good profit margin?
  8. How to improve your profit margin
  9. Common calculation mistakes to avoid

What Is Profit Margin?

Profit margin is the percentage of revenue your business keeps as profit after paying costs. It answers one fundamental question: for every pound or dollar you bring in, how much do you actually keep?

A business turning over £500,000 and keeping £50,000 has a 10% profit margin. That sounds simple — and it is — but the meaningful part is which costs you subtract before doing the calculation. Subtract different costs and you get different types of margin, each telling a different story about your business.

That’s why accountants and analysts talk about three types: gross, operating, and net. They’re not interchangeable. A company can have an impressive gross margin and a terrible net margin at the same time (this is more common than you’d think, especially in fast-growing companies spending heavily on sales and marketing).

Understanding all three gives you a full picture. Knowing only one can be dangerously misleading.

1. Gross Profit Margin

Gross profit margin measures profitability after subtracting only the cost of goods sold (COGS) — the direct costs of producing whatever you sell. For a manufacturer, that’s raw materials and production labour. For a retailer, it’s the wholesale cost of the items on the shelf. For a software company, it’s hosting and support costs.

It deliberately ignores everything else — rent, salaries, marketing, taxes. That’s not a flaw; it’s the point. Gross margin isolates how efficiently you produce or deliver your product before the rest of the business machinery gets in the way.

Gross Profit = Revenue − Cost of Goods Sold (COGS)Gross Profit Margin (%) = (Gross Profit ÷ Revenue) × 100

Example

A small clothing brand sells £200,000 worth of products in a quarter. The fabric, manufacturing, and shipping costs to produce those products total £80,000.

Gross Profit = £200,000 − £80,000 = £120,000

Gross Profit Margin = (£120,000 ÷ £200,000) × 100 = 60%

For every £1 of sales, 60p remains after covering direct production costs.

If your gross margin is shrinking over time, it usually means one of two things: your input costs are rising, or your prices aren’t keeping pace. Neither is fatal, but both need attention before the problem compounds.

2. Operating Profit Margin

Operating profit margin takes gross profit and subtracts operating expenses — the costs of running the business day to day. This includes salaries, rent, utilities, marketing, insurance, and depreciation. What it still excludes is interest on debt and taxes, which is why this metric is sometimes called EBIT margin (Earnings Before Interest and Tax).

Operating margin is arguably the most useful internal measure of business efficiency. It tells you how well the core business model works, independently of how it’s financed or what tax rate it pays.

Operating Profit = Gross Profit − Operating ExpensesOperating Profit Margin (%) = (Operating Profit ÷ Revenue) × 100

Example (continuing from above)

The clothing brand from our previous example has operating expenses of £70,000 — wages, warehouse rent, marketing, and admin.

Operating Profit = £120,000 − £70,000 = £50,000

Operating Profit Margin = (£50,000 ÷ £200,000) × 100 = 25%

After all running costs but before tax and interest, 25p of every £1 earned is profit.

A big gap between gross margin (60%) and operating margin (25%) isn’t necessarily alarming — it just shows how much overhead the business carries. The question is whether that overhead is generating a return. Heavy marketing spend might be depressing operating margin now but driving the revenue growth that will reward the business later.

3. Net Profit Margin

Net profit margin is the bottom line. It’s what’s left after you subtract everything — COGS, operating expenses, interest on loans, taxes, one-off charges, and any other cost. It’s the most complete picture of profitability and the figure most outsiders (investors, lenders, potential acquirers) focus on.

Net Profit = Revenue − Total Expenses (all of them)Net Profit Margin (%) = (Net Profit ÷ Revenue) × 100

Example (final step)

Our clothing brand has £8,000 in annual interest on a business loan, and pays £10,500 in corporation tax on its earnings.

Net Profit = £50,000 − £8,000 − £10,500 = £31,500

Net Profit Margin = (£31,500 ÷ £200,000) × 100 = 15.75%

After everything is paid, the business keeps about 16p from every £1 of sales — a genuinely healthy result.

Net margin is the hardest to improve because there are so many levers it depends on. A business can have a strong operating margin but thin net margins simply because it’s carrying significant debt. That’s worth knowing. It doesn’t mean the business is poorly run — it might just be in a growth phase — but you can’t see it without calculating net margin separately.

Full Worked Example — All Three Together

Let’s walk through a complete income statement for a fictional B2B software company, Vantage Analytics, and calculate all three margins in sequence.

Line ItemAmount (£)
Revenue1,200,000
Cost of Goods Sold (hosting, support staff)180,000
Gross Profit1,020,000
Operating Expenses (salaries, office, marketing)620,000
Operating Profit400,000
Interest on debt25,000
Corporation tax85,000
Net Profit290,000
Margin TypeCalculationResult
Gross Profit Margin1,020,000 ÷ 1,200,000 × 10085%
Operating Profit Margin400,000 ÷ 1,200,000 × 10033.3%
Net Profit Margin290,000 ÷ 1,200,000 × 10024.2%

The high gross margin (85%) is typical for SaaS businesses — the incremental cost of serving another customer is very low. The operating margin drops to 33.3% because software companies typically invest heavily in talent. Net comes in at 24.2% after tax and interest — a strong result by any standard.

Margin vs. Markup — They’re Not the Same

This is one of the most common points of confusion in small business finance, and mixing them up leads to real pricing mistakes.

  • Profit margin is expressed as a percentage of revenue.
  • Markup is expressed as a percentage of cost.

Here’s why it matters in practice. Suppose you buy a product for £60 and sell it for £100.

Markup = (£100 − £60) ÷ £60 × 100 = 66.7%Profit Margin = (£100 − £60) ÷ £100 × 100 = 40%

Both describe the same transaction, but they produce very different numbers. If someone tells you their “margin” is 66%, ask whether they mean margin or markup — because the difference is nearly 27 percentage points. A business owner who confuses the two might think they’re far more profitable than they actually are.

⚠️ Common mistake: Using markup percentage as if it were margin when pricing new products. If your target gross margin is 50% and you apply a 50% markup instead, you’ll actually be running at a 33% gross margin. Always calculate margin from revenue, not from cost.

What’s a Good Profit Margin?

There’s no universal answer — it genuinely depends on the industry. A 3% net margin is exceptional for a supermarket and catastrophic for a consulting firm. Context is everything.

That said, there are some rough rules of thumb:

  • Net margin of 5% is generally considered low but may be acceptable in high-volume, competitive industries.
  • Net margin of 10% is a reasonable baseline for most healthy businesses.
  • Net margin of 20%+ is strong performance in most sectors.

Here’s how typical margins vary across industries:

IndustryAvg. Gross MarginAvg. Net Margin
Software (SaaS)70–85%15–25%
Professional services50–70%15–25%
Retail (apparel)45–55%5–10%
Restaurants & food service30–40%3–9%
Manufacturing25–35%5–10%
Construction20–30%2–7%
Grocery retail20–30%1–3%
Automotive manufacturing10–15%2–6%

💡 A useful habit: Always compare your margins against the same type of margin for your industry peers. Gross vs. gross, net vs. net. A business boasting a 30% margin that turns out to be gross, while industry benchmarks are quoted as net, isn’t actually outperforming anyone — they’re just measuring differently.

Beyond industry benchmarks, your own trend matters just as much. A 12% net margin that’s been declining for three consecutive quarters tells a very different story from a 12% margin that’s been steadily improving. Always look at direction, not just the current snapshot.

How to Improve Your Profit Margin

There are really only four levers you can pull: raise prices, reduce direct costs, cut operating costs, or change your product mix. Everything else is a variant of one of those four.

1. Raise prices (more carefully than you think you can)

Most business owners underprice their products and services out of fear of losing customers. But a 5% price increase on a product with 30% gross margins improves that margin to 35% — without touching a single cost. Test price increases on new customers or new products before rolling them out broadly. The conversion rate impact is often far smaller than expected.

2. Reduce your cost of goods sold

Renegotiate supplier terms, consolidate purchasing to get volume discounts, switch to alternative materials where quality permits, or redesign products to use fewer or cheaper inputs. Every 1% reduction in COGS flows directly to gross profit.

3. Cut operating costs strategically

Not all costs are equal. Before cutting, analyse which operating expenses are generating revenue (sales salaries, marketing) and which are pure overhead (unused software subscriptions, excessive admin). Cutting revenue-generating costs to improve short-term margins is a false economy.

4. Focus on higher-margin products and customers

Most businesses have a product mix where some lines carry 50% gross margins and others carry 15%. Similarly, some customer segments require heavy hand-holding and others don’t. Actively shifting your sales mix toward higher-margin products and lower-maintenance customers can improve overall margins without changing a single price or cost.

5. Increase volume to absorb fixed costs

Many operating costs (rent, management salaries, insurance) are fixed regardless of how much you sell. As revenue grows, these costs represent a smaller percentage of revenue, automatically improving operating and net margins. This is why gross margin often stays constant while net margin improves as a company scales.

Common Calculation Mistakes to Avoid

Even people who know the formulas sometimes calculate margins incorrectly in practice. Here are the errors that come up most often:

Using outdated cost figures

If your supplier raised prices six months ago and you haven’t updated your cost inputs, every margin calculation since then has been wrong. Build a habit of reviewing your COGS at least quarterly.

Mixing up margin types when benchmarking

As mentioned above — always check whether industry benchmarks are reporting gross or net margins before comparing your own numbers. The distinction is rarely labelled clearly in summary tables.

Confusing margin with markup (again)

It’s so common it deserves a second mention. Build your pricing model using margin (percentage of revenue), not markup (percentage of cost), to avoid systematically underpricing.

Including non-operating income in revenue

If you received a government grant, sold an asset, or had a one-off insurance payout, those shouldn’t be included in the revenue figure you use for margin calculations — they’ll artificially inflate your margins and mask underlying performance. Use revenue from operations only.

Calculating margin on individual transactions instead of periods

A single high-margin sale can distort your figures if you’re calculating margin monthly on small samples. Margins are most meaningful over a full quarter or year, where the volume of transactions smooths out individual anomalies.

Quick Reference Summary

Margin TypeWhat it measuresFormulaBest used for
GrossProfitability after direct production costs(Revenue − COGS) ÷ Revenue × 100Pricing, sourcing efficiency
OperatingProfitability from core business operations(Operating Profit) ÷ Revenue × 100Operational efficiency, internal benchmarking
NetTotal bottom-line profitability(Net Profit) ÷ Revenue × 100Investor reporting, loan applications, overall health

Final Thought

Profit margin isn’t just a number you report to your accountant. It’s a diagnostic tool. When something changes in your business — a new product line, a price increase, a new supplier — recalculating your margins before and after tells you exactly what impact it had. Done consistently, it’s one of the fastest ways to spot problems early and validate that the decisions you’re making are actually improving the economics of the business.

Start with net margin for the headline number. Then drill into gross and operating margin when you need to understand why it’s where it is.

Article reviewed by a chartered accountant. Formulas and definitions are consistent with IFRS and UK GAAP standards. Industry benchmark data sourced from NYU Stern School of Business (updated Q1 2026).