Finance explained

Gross profit margin: formula, example and why it matters

Gross profit margin shows how much of every pound of sales is left after the direct cost of what you sell. It's the number that tells you whether your prices work, and it's the one HMRC, your accountant and any lender look at first when they read your accounts.

The Capzy teamBusiness finance brokers
Updated 7 min readChecked against official sources
Capzbara dividing a stack of plain coins into two piles on a tidy desk, one pile larger than the other
The short answer

Gross profit margin = (sales − cost of sales) ÷ sales × 100. If a business sells £200,000 of goods that cost £120,000 to buy or make, gross profit is £80,000 and the gross profit margin is 40%. Use sales excluding VAT. The margin shows how much of each pound of sales is left to pay overheads.

At a glance

Gross profit
Turnover minus cost of sales (also called COGS)
Gross profit margin
Gross profit divided by sales, times 100
Margin (British Business Bank)
The amount a company makes, expressed as a percentage
What it leaves out
Overheads, interest and tax
Where it appears
Near the top of the profit and loss account

What is gross profit margin?

Gross profit margin is the percentage of your sales left after you deduct the direct cost of producing what you sold. Gross profit is the amount in pounds, and the margin is that amount expressed as a share of sales.

The British Business Bank’s glossary defines margin as the amount of money a company makes, expressed as a percentage. Gross profit margin applies that idea to the earliest stage of the profit and loss account, before the running costs of the business are counted.

You'll see the direct costs called different things. UK company accounts use the heading cost of sales: the standard profit and loss format in the accounts regulations runs turnover, cost of sales, then gross profit or loss. American sources and many software packages say cost of goods sold, or COGS. They mean the same thing for this calculation.

What is the gross profit margin formula?

Gross profit margin = (sales − cost of sales) ÷ sales × 100. First work out gross profit by taking cost of sales off your sales, then divide that by your sales and multiply by 100. Use sales excluding VAT.

Illustration with round figures: gross profit margin
StepWorkingResult
SalesMoney invoiced for the period£200,000
Direct costsMaterials, stock bought for resale, subcontractors£120,000
Gross profit£200,000 − £120,000£80,000
Gross profit margin£80,000 ÷ £200,000 × 10040%

Working out a price from a target margin

Turn the formula round to price a job: price = cost ÷ (1 − target margin). An item that costs £60, sold at a 40% target margin, needs a price of £60 ÷ 0.6 = £100. Adding 40% to the cost instead gives £84, which is only a 28.6% margin. That's the trap the markup section below explains.

What counts as a direct cost?

A direct cost is one that exists only because you made or delivered the thing you sold, such as materials, stock bought for resale or a subcontractor paid for a specific job. Costs of running the business whether or not you make a sale are overheads and sit further down.

  • Usually direct: raw materials, goods bought to resell, packaging, subcontractors on a job, and in some businesses the wages of staff who make the product or deliver the service.
  • Usually overheads: rent, office costs, software, marketing, insurance and accountancy fees.

Where a cost falls can change the margin, so decide the rule once and apply it every period. If you are unsure where wages belong, ask your accountant, because the answer depends on the type of business.

Common mistakes

  • Including VAT in sales but not in costs, or the other way round.
  • Leaving out opening and closing stock. Cost of sales is opening stock plus purchases minus closing stock, not just what you bought this month.
  • Moving a cost between cost of sales and overheads from one period to the next, which makes the margin jump for no real reason.
  • Confusing margin with markup when setting prices.

What is the difference between margin and markup?

Margin is profit as a share of the selling price, while markup is profit as a share of the cost. The same sale gives two different percentages, which is a common source of mistakes when pricing.

Illustration: one sale, two percentages
MeasureWorkingResult
Cost of the item£60
Selling price£100
Gross profit£100 − £60£40
Margin£40 ÷ £100 × 10040%
Markup£40 ÷ £60 × 10066.7%

A 40% margin is therefore not the same as adding 40% to your costs. If you price by adding a percentage to cost, work out the margin that results before you rely on it.

How is gross margin different from net profit margin?

Gross profit margin stops after direct costs, while net profit margin is measured after every cost, interest and tax. Net margin is therefore lower, and it is the better guide to what the whole business keeps.

From gross margin to net margin
MarginWhat has been taken off salesWhat it tells you
Gross profit marginCost of salesWhether each sale is worth making
Operating profit marginCost of sales and overheads such as rent, salaries and marketingWhether the trading business pays its way, before finance costs
Net profit marginEverything, including interest and taxWhat the business keeps

Operating profit is close to what lenders call EBIT. Add back depreciation and amortisation and you get EBITDA, the figure many lenders use to judge how much debt a business can carry.

Gross margin answers whether each sale is worth making. Net margin answers whether the business as a whole is. A business can have a strong gross margin and still lose money if its overheads are too heavy. Our guide to net profit shows the steps between the two, and our guide to the profit and loss account shows where both appear.

Why does gross profit margin matter?

Gross profit margin matters because it is the pool from which every other cost is paid, including wages, rent, loan repayments and tax. If it is too thin, no amount of cost-cutting elsewhere may be enough.

  • Pricing: it shows whether your prices cover what the work really costs.
  • Trends: a margin that slips from one period to the next can be the first sign of supplier price rises or discounting.
  • Mix: it shows which products or jobs earn more, so you can steer towards them.
  • Funding: the money available to repay finance comes out of what is left after direct costs and overheads, so a stronger margin gives more room.
  • Break-even: your margin decides how much you must sell to cover fixed costs. Our guide to the break-even point shows the sum.

HMRC looks at it too

Gross profit rate is one of HMRC's main checks on whether a business has recorded all its takings. Its Enquiry Manual says the model it uses most often to establish likely omissions and recalculate takings is based on gross profit rate. In its worked example, an officer finds an 11% rate too low against similar local businesses, builds an expected rate of 18% from the trader's product mix and mark-ups, then tests explanations such as price cuts, wastage and theft. A margin that drops without a reason you can show is worth explaining in your records before anyone asks.

What is a good gross profit margin?

There is no single good figure, because sensible margins differ widely between sectors and business models. A business selling goods it buys in tends to look different from one selling its own skilled time.

A more useful test than a headline benchmark is whether your margin is steady or improving against your own earlier periods, and whether it leaves enough to cover your overheads and any repayments. Published sector averages vary by source and year, so we haven't repeated them. Your accountant or trade body is a better place to look for like-for-like comparisons.

How can you improve gross profit margin?

You improve gross profit margin by raising what you earn per sale, cutting direct costs or changing what you sell. Each lever has a trade-off, so change one at a time and watch the result.

Common ways to improve gross profit margin
LeverWhat it involvesWatch out for
PriceRaise prices or cut discountsCustomers may buy less or move away
Supplier costsRenegotiate terms or compare suppliersQuality, reliability and delivery times
WasteReduce scrap, returns and overrunsTime spent measuring before you see a gain
MixSell more of what earns the mostDropping lines that bring in other sales

If a thin margin is leaving the business short of cash, the answer is usually a pricing or cost fix rather than borrowing. Finance can cover a timing gap, but it doesn't repair a margin that doesn't pay for the work. Our guide to working capital explains the difference between a timing gap and a structural one, and a cash flow forecast shows what a change in margin does to your bank balance month by month.

Why do lenders look at your gross margin?

A lender reading your accounts wants to know two things: whether each sale earns enough, and whether that has been stable. A margin that's falling year on year raises questions even if sales are growing. Capzy is a credit broker, not a lender, and lenders pay us when a deal completes. We introduce businesses to lenders, and they assess your accounts themselves, margins included.

If you want to see what might be available, you can check your funding options with a soft search that doesn't affect your credit score. A full application may involve a hard search, and any offer is subject to status and lender criteria. You can also browse our directory of business lenders. We don't give accounting advice, so ask your accountant to check the figures.

Sources

  1. The Large and Medium-sized Companies and Groups (Accounts and Reports) Regulations 2008, Schedule 1 (profit and loss account formats), legislation.gov.uk
  2. Enquiry Manual EM3508: Gross Profit Rate Model, example, HMRC
  3. Business finance glossary, British Business Bank
  4. Preparing and filing your Companies House accounts, Companies House

Capzy is a credit broker, not a lender. We get paid by the lender. This page is general information, not financial, tax or legal advice. Finance is subject to status, lender criteria and affordability; rates and terms depend on your circumstances.

Common questions

Gross profit margin is sales minus cost of sales, divided by sales, multiplied by 100. The result is a percentage.
Gross profit is an amount in pounds: sales minus direct costs. Gross profit margin is that amount as a percentage of sales.
In everyday use the two terms usually mean the same thing. Check the definition in any document where the difference matters.
No. Margin is profit as a share of the selling price, and markup is profit as a share of the cost. The same sale gives a lower margin than markup.
Yes. If direct costs are higher than sales, gross profit is negative, and so is the margin. It means each sale loses money before overheads are counted.
VAT charged to customers is collected for HMRC rather than earned by the business, so it is normally left out of sales. How VAT appears in your accounts depends on your VAT status, so ask your accountant.
Monthly or quarterly is useful for most businesses, because supplier price changes show up quickly. The annual accounts show it once a year at the least.
Sometimes. Wages of staff who make the product or deliver the service, such as production workers or site labour, are often included. Office, sales and management salaries are overheads. Pick a rule with your accountant and keep to it.
Gross profit is sales minus cost of sales. Net profit is what is left after every other cost too, including overheads, interest and tax. Net profit is always the smaller figure unless the business has other income.

See what you could borrow

Free Funding Score in about 90 seconds, with no impact on your credit score.

Check my options
  • Free
  • No credit impact
  • About 90 seconds