Solved.tools: Free Online Calculators & Tools

We use cookies for analytics and advertising. Learn more about our cookie policy

Profit Margin Calculator

Last updated: 27 June 2026

Reviewed by Gavin Meiring, Lead research and primary author · Doctoral Candidate (Corporate Governance) · Research and drafting assisted by AI

Was this helpful?


Profit Margin Calculator

A profit margin calculator converts your revenue and profit figures into a percentage, showing how much of each pound of sales the business retains as profit after costs. It is used by business owners, analysts, and investors to measure operational efficiency and compare profitability across companies and sectors.

How to Use the Profit Margin Calculator

  1. Enter the total revenue for the period.
  2. Enter the relevant profit figure: gross profit for gross margin, operating profit for operating margin, or net profit for net margin.
  3. The calculator divides profit by revenue and multiplies by 100 to produce the margin percentage.
  4. Review the result against your industry benchmarks and historical performance.
  5. Use different profit levels to diagnose where costs are being absorbed in the business.

The Formula

Gross Profit Margin (%) = (Gross Profit / Revenue) x 100

Operating Profit Margin (%) = (Operating Profit / Revenue) x 100

Net Profit Margin (%) = (Net Profit / Revenue) x 100

Gross Profit = Revenue minus the cost of goods sold. Operating Profit = Gross Profit minus operating expenses such as salaries and overheads. Net Profit = Operating Profit minus interest, tax, and any other non-operating items.

Real-World Example

A retailer reports annual revenue of £2,000,000. The cost of goods sold is £1,200,000. Operating expenses including rent, wages, and utilities total £400,000. Interest and tax together amount to £100,000.

Gross Profit = £2,000,000 - £1,200,000 = £800,000. Gross Margin = (£800,000 / £2,000,000) x 100 = 40%.

Operating Profit = £800,000 - £400,000 = £400,000. Operating Margin = (£400,000 / £2,000,000) x 100 = 20%.

Net Profit = £400,000 - £100,000 = £300,000. Net Margin = (£300,000 / £2,000,000) x 100 = 15%.

A 15% net margin is healthy for a retailer and indicates that for every £1 of sales, the business keeps 15p after all costs, interest, and tax.

Reading Margins Across Industries

Profit margins vary enormously by sector. Supermarkets and large retailers typically operate on net margins of 2-5%, compensating for thin margins with very high turnover. Software companies can achieve net margins of 20-40% due to low marginal costs of serving additional customers. Professional services firms may see margins of 15-25%. Manufacturers typically fall in the 5-15% range. Comparing a company's margin to its direct sector peers is far more meaningful than comparing it to a cross-industry benchmark.

Frequently Asked Questions

What is the difference between gross and net margin? Gross margin shows profitability after deducting only the direct cost of producing goods or services. Net margin shows profitability after all costs including overheads, interest, and tax. The gap between them reveals how efficiently the business manages its operating and financing costs.

Can profit margin be negative? Yes. A negative net profit margin means the company is operating at a loss. Startups and high-growth businesses often run at negative net margins deliberately while investing in customer acquisition and infrastructure. This is only sustainable if the business has access to external funding or a clear path to profitability.

How can I improve my profit margin? The two main levers are increasing revenue without proportionally increasing costs, and reducing costs without sacrificing revenue. Pricing strategy, product mix optimisation, supply chain efficiency, and overhead management are all routes to better margins. Analysing where margin is being lost (gross, operating, or net level) indicates which lever to pull first.

Is a higher margin always better? Higher margins are generally preferable as they indicate greater efficiency and pricing power. However, some businesses deliberately operate on thin margins to gain market share or compete on price. The appropriate margin target depends on strategy, competitive position, and capital intensity.

A second profit and loss bridge, line by line

The retailer example higher up this page shows one shape of margin. A services business shows another, because most of its cost sits in staff time rather than in goods bought for resale.

Take a consultancy with revenue of £4,500,000 for the year. Cost of sales, which for a services firm is mostly the billable staff who deliver the work, comes to £1,350,000. Operating expenses, covering the sales team, the office, software and management, come to £2,610,000. Interest on a bank facility is £90,000. Corporation tax on the remaining profit is £112,500.

LineAmountShare of revenue
Revenue£4,500,000100.0%
Cost of sales£1,350,00030.0%
Gross profit£3,150,00070.0%
Operating expenses£2,610,00058.0%
Operating profit£540,00012.0%
Interest£90,0002.0%
Profit before tax£450,00010.0%
Tax£112,5002.5%
Net profit£337,5007.5%

Read down the share column and the whole structure is visible. Gross margin is 70 percent, the operating margin is 12 percent, and the net margin is 7.5 percent. Each figure answers a different question. Gross margin asks whether the work itself is priced well. Operating margin asks whether the whole business is run efficiently. Net margin asks what the owners actually keep.

Margin and markup are two different numbers

Markup and margin both describe the gap between cost and selling price, and they are not interchangeable. Markup divides the gap by cost. Margin divides the same gap by the selling price. Because the denominator differs, a markup is always the larger of the two.

The conversion runs in both directions. Margin equals markup divided by one plus markup. Markup equals margin divided by one minus margin.

CostSelling priceMarginMarkup on cost
£100£1109.09%10.00%
£100£12520.00%25.00%
£100£15033.33%50.00%
£100£20050.00%100.00%

A business that wants a 40 percent margin cannot reach it by adding 40 percent to cost. Adding 40 percent to a cost of £100 gives a price of £140 and a margin of 28.57 percent. The markup needed for a 40 percent margin is 66.67 percent, giving a price of £166.67.

What one percentage point of margin is worth

Margin movements sound small when they are quoted in points and look large once they are converted into cash.

RevenueValue of 1 percentage point
£2,000,000£20,000
£4,500,000£45,000
£12,000,000£120,000

On the consultancy's revenue of £4,500,000, moving the net margin from 7.5 to 8.5 percent adds £45,000 to the bottom line, taking net profit from £337,500 to £382,500. No extra revenue is needed to get there. An equivalent revenue increase at the existing 7.5 percent margin would take far more than £45,000 of new sales, because the extra sales bring extra cost with them.

This is why a margin calculator is more useful than a profit calculator when you are comparing periods. Revenue can rise while margin falls, and the two movements push profit in opposite directions.

Which costs belong at which profit line

The three margins differ only in which costs have already been deducted. Getting a cost into the wrong bucket changes all three figures.

Gross profit deducts only the direct cost of the goods sold or the services delivered. For a retailer that is the purchase cost of stock. For a manufacturer it is materials and direct labour. For a consultancy it is the cost of the people who bill their time.

Operating profit deducts the running costs of the business that are not tied to a single sale. Salaries for support staff, rent, software, marketing and depreciation all sit here.

Net profit deducts everything else, which in practice means interest on borrowings and tax on the resulting profit. Dividends are not a cost and do not appear above the net profit line.

A cost that has been put in the wrong bucket produces a margin that looks reasonable and compares badly. If the warehouse team is counted as an operating expense when their work is directly tied to shipping goods, gross margin will be overstated and operating margin understated. The net figure will still be right, which is why a wrong gross margin can survive for years without being noticed.

Reading the definitions carefully

Accounts prepared under IFRS may use slightly different labels for the same lines. Revenue may appear as turnover. Cost of sales may appear as cost of revenue. Operating profit has no definition in the standard, and practice varies: some companies strike it after the share of results from joint ventures and associates, which changes the figure in a way that no margin calculator can see from two numbers alone.

Two habits keep comparisons honest. Compare a company with its own history and with direct peers rather than with a cross-industry average. And check whether the profit figure you are dividing came from the same period as the revenue figure, because mixing a full year of revenue with a half year of profit produces a margin that means nothing.

Working backwards from a target margin

The arithmetic runs in the other direction just as easily, and this is where a margin target turns into an operational decision.

Suppose the consultancy wants a 12 percent net margin instead of 7.5 percent, at the same revenue of £4,500,000. That target is £540,000 of net profit. The current figure is £337,500, so the gap is £202,500.

The question is where that £202,500 comes from. There are only two routes. One is cost reduction, and the whole £202,500 has to come out of the cost base, because revenue is being held constant.

The other route is revenue growth, and it is more expensive than it looks. Suppose the goal is to lift the gross margin to 75 percent with cost of sales unchanged at £1,350,000. Cost of sales then has to be 25 percent of revenue, so revenue must reach £1,350,000 divided by 0.25, which is £5,400,000. That is £900,000 of new revenue, a 20 percent increase, and it adds £900,000 to gross profit. The business only keeps part of that, because new sales carry new operating costs. If those extra costs come to 77.5 percent of the new revenue, the gain in operating profit is £202,500, the same amount a cost programme would deliver by taking £202,500 out of the cost base. That cut is a little over 5 percent of the consultancy's £3,960,000 of total costs.

A 20 percent revenue increase against a 5 percent cost reduction is the comparison worth remembering. New revenue arrives with new costs attached, so the revenue route has to move much further to produce the same result. The exception is a business with spare capacity, where the marginal cost of the next sale is close to zero and the same £900,000 of revenue drops through at a much higher rate.

Run the same arithmetic at a gross margin target of 70 percent and the numbers shift again. At £4,500,000 of revenue, a 70 percent gross margin allows cost of sales of £1,350,000, which is exactly what the consultancy already spends. The gross margin is already at target, and every point of improvement has to come from operating expenses or from price.

Also try these free tools: