Skip to main content
Home›Freelance & business›Gross Profit Margin

Gross Profit Margin Calculator

See your margin and markup on any sale, your profit for the year after overheads, and what a discount would really cost you.

Checked by the SumAtlas teamUpdated 7 October 2026SourcesHow we check our figuresIndependent: not a government website

Your price and cost

One item or service
More optionsOptional. The defaults suit most people; change these if your situation is different.

Free to use. Your details are not saved to an account.

Your summary

Your gross margin60.0%
Cost£40.00
Gross profit£60.00
VAT to HMRC£20.00

You make £60.00 gross profit on every £100.00 sale. That is a 60.0% margin, or a 150.0% markup on cost.

150.0% markup£60.00 profit each

THE COMPLETE PICTURE

Your results in detail

Gross profit each£60.00
Gross margin60.0%Profit ÷ price
Markup150.0%Profit ÷ cost
Cost as a share of price40.0%
What we assumed
Price
Before VAT
Cost
Direct cost of each sale only
Overheads
Not included
Units a year
Not entered

Not right for you? Change it under More options.

Where each sale goes

The selling price, split into cost and profit.

Cost£40.00
Gross profit£60.00
VAT to HMRC£20.00

Out of every £1 of sales before VAT, 60p is gross profit.

What a discount really costs

The extra sales you need to earn the same gross profit after a price cut.

DiscountProfit each
Full price£60.0060.0% margin
5% off£55.00+9.1% sales
10% off£50.00+20.0% sales
15% off£45.00+33.3% sales
20% off£40.00+50.0% sales
25% off£35.00+71.4% sales

10% off needs 20.0% more sales

Your margin falls from 60.0% to 55.6%. To make the same gross profit you need to sell 120 for every 100 you sell now.

Worth knowing

The checks that catch most pricing mistakes.

Margin and markup are not the same

A 60.0% margin is a 150.0% markup. If a supplier or buyer quotes one, check which they mean before you agree a price.

Leave VAT out of the sum

If you are VAT-registered, work out margin on the price before VAT. The VAT is HMRC's money, so including it overstates your margin.

Gross margin is not take-home

Overheads, then Income Tax or Corporation Tax, come out of gross profit. Add your overheads under More options to see net profit.

Figures before tax. A pricing guide, not financial advice.

THE PROFIT MARGIN GUIDE

Gross profit margin, explained

Gross margin tells you how much of each sale is left once you have paid for the thing you sold. It is the number behind every pricing decision, discount and supplier negotiation. This guide shows how to work it out, how it differs from markup, how VAT and overheads fit in, and what a discount or a cost rise does to your profit.

1In brief

The short answer

Gross profit is the selling price minus the direct cost of what you sold. Gross margin is that profit as a percentage of the selling price. If you sell something for £100 that cost you £40, your gross profit is £60 and your gross margin is 60%.

Three rules cover most of what goes wrong:

  • Margin is a share of the price; markup is a share of the cost. The same £60 profit is a 60% margin but a 150% markup.
  • Leave VAT out. If you are VAT-registered, work out margin on the price before VAT, because the VAT belongs to HMRC.
  • Gross margin is not take-home. Rent, wages, software and tax all come out of gross profit before you see any of it.
60%
Margin on a £100 sale that cost £40
150%
The same sale as a markup
33%
Extra sales a 10% discount needs at a 40% margin
100%
Highest possible margin (a sale that cost nothing)
2The maths

How to work out gross margin

You need two figures for one sale, or for a whole period: the selling price and the direct cost.

  • Gross profit = selling price − direct cost
  • Gross margin = gross profit ÷ selling price × 100
  • Markup = gross profit ÷ direct cost × 100
A £100 sale that cost £40
  1. Selling priceBefore VAT£100.00
  2. Direct costStock, materials, packaging−£40.00
  3. Gross profit£60.00
  4. Gross margin£60 ÷ £10060%
Markup on cost150%

Direct cost means the costs that rise and fall with each sale. For a shop that is the wholesale price of the stock plus anything spent getting it ready to sell. For a café it is the ingredients and the cup. For a service business it might be subcontractor fees or materials used on the job. Accountants call this cost of sales or cost of goods sold.

Overheads are left out on purpose. Your rent is the same whether you sell ten things this week or a hundred, so it does not belong in the cost of any one sale. Keeping them separate is what lets gross margin tell you whether each sale is worth making.

3Two different numbers

Margin and markup

Margin and markup describe the same profit from two angles. Margin compares it with the price; markup compares it with the cost. Because the price is always bigger than the cost when you make a profit, the margin is always the smaller of the two numbers.

Markup and the margin it gives
Markup on costGross marginPrice of a £60 item
25%20.0%£75.00
33.3%25.0%£80.00
50%33.3%£90.00
66.7%40.0%£100.00
100%50.0%£120.00
150%60.0%£150.00
200%66.7%£180.00
300%75.0%£240.00

To convert between them:

  • Margin from markup: markup ÷ (1 + markup). A 100% markup is 1 ÷ 2 = 50% margin.
  • Markup from margin: margin ÷ (1 − margin). A 40% margin is 0.4 ÷ 0.6 = 66.7% markup.

The costly mix-up

If you want a 40% margin but add 40% to the cost, you charge £84 for a £60 item instead of £100. Your real margin is 28.6%, and you give away £16 on every sale. When someone quotes a percentage, always ask whether they mean margin or markup.

Retailers and wholesalers often talk in markup because it is easy to apply to a cost price. Accountants, lenders and investors almost always talk in margin, because it can be compared across businesses of any size. Our retail markup calculator works the other way round, from a target to a price.

4VAT

Margin and VAT

If you are VAT-registered, the VAT you add to a price is not yours. You collect it for HMRC and pay it over with your VAT return. Work out margin on the price before VAT, and use costs before VAT too, because you reclaim the VAT on them.

A £30 shelf price including 20% VAT, cost £10
  1. Shelf price£30.00
  2. VAT inside it£30 ÷ 6£5.00
  3. Price before VAT£30 ÷ 1.2£25.00
  4. Gross profit£25 − £10£15.00
Gross margin60%

Using the shelf price would give a margin of 66.7%, which overstates it by more than six percentage points. That kind of error is easy to make when you price from a till receipt or a marketplace listing.

If you are not VAT-registered, there is no VAT to strip out of your price, but the VAT you pay suppliers is a real cost you cannot reclaim. Include it in your cost figure. The VAT calculator takes VAT on or off any amount.

On the Flat Rate Scheme the picture is different again: you charge 20% VAT but pay HMRC a lower flat percentage, so part of the VAT stays with you as extra income. That gain is taxable, and it is usually small. The flat rate VAT calculator shows how much.

5Beyond gross

Gross, operating and net margin

Gross margin is the first of several margins in a set of accounts. Each takes off another layer of cost:

  • Gross margin: after direct costs only.
  • Operating margin: after overheads too, such as rent, wages, software, insurance and marketing.
  • Net margin: after interest and tax as well.
1,200 sales a year at £100, cost £40, overheads £45,000
  1. Sales before VAT£120,000
  2. Direct costs1,200 × £40−£48,000
  3. Gross profit60% gross margin£72,000
  4. Overheads−£45,000
Profit before tax (22.5% margin)£27,000

A healthy gross margin can still leave a thin profit if overheads are high. In this example the business needs 750 sales a year just to cover its overheads (£45,000 ÷ £60). Everything above that is profit before tax. The break-even calculator works this out from your own numbers.

6Targets

What margin do you need?

There is no single good margin. A business with low overheads and high volume, like a wholesaler, can do well on a thin gross margin. A business with expensive premises, skilled staff or few sales, like a boutique or a design studio, needs a much higher one. The useful question is not “what is normal?” but “what do my numbers need?”

Work it backwards from your overheads and the profit you want:

  • Add your yearly overheads to the profit you want before tax.
  • Divide by the sales you realistically expect, before VAT.
  • The answer is the gross margin you need.
The margin you need
  1. Overheads a year£45,000
  2. Profit wanted before tax£30,000
  3. Expected sales before VAT£150,000
Gross margin needed50%

If your current margin is below that, you have three levers: raise prices, cut direct costs, or sell more. The next sections show how sensitive profit is to each.

7Discounts

What a discount really costs

A discount comes straight off your gross profit, not off your sales. A 10% discount on a product with a 40% margin does not cost you 10% of the profit; it costs a quarter of it. To make the same gross profit you then need a third more sales.

Extra sales needed to keep the same gross profit, at a 40% margin
5% off14.3%
10% off33.3%
15% off60.0%
20% off100.0%
25% off166.7%
A £100 item that costs £60. Each discount is off the price before VAT.
The same discounts at three starting margins
Discount25% margin40% margin60% margin
5% off+25% sales+14% sales+9% sales
10% off+67% sales+33% sales+20% sales
15% off+150% sales+60% sales+33% sales
20% off+400% sales+100% sales+50% sales
25% offNo profit left+167% sales+71% sales

The lower your margin, the more dangerous discounting becomes. At a 25% margin, a 25% discount means you sell at cost: every extra sale adds work and nothing else. Before running a sale, check the extra volume it needs against what you think it will bring in.

Better than a straight discount

Bundles, free delivery over a threshold, or “buy two, get the third half price” often protect margin better than a flat percentage off, because they raise the amount each customer spends.

8Pricing up

Raising prices

The same maths works in your favour when you raise prices. Every pound of a price rise is extra gross profit, so you can lose some sales and still come out ahead.

Sales you could lose after a price rise and still make the same gross profit
Price riseAt a 40% marginAt a 60% margin
5%11.1%7.7%
10%20.0%14.3%

A business on a 40% margin that puts prices up 10% can lose one sale in five and still make the same gross profit, with less stock to buy and less work to do. In practice many customers do not leave over a modest rise, especially if the price was set some time ago and costs have gone up since.

9Supplier prices

When your costs go up

When a supplier puts its price up, your margin falls unless you pass the rise on. There are two ways to respond, and they lead to different prices.

Keep the same profit in pounds
Cost
£40 → £44
New price
£104
Profit each
£60
Margin
57.7%
Keep the same margin
Cost
£40 → £44
New price
£110
Profit each
£66
Margin
60%

If you absorb the rise and keep your £100 price, your margin falls from 60% to 56%. Keeping the margin at 60% needs a price of £110, a 10% rise to match the 10% cost increase. Keeping the same profit per sale needs only £104. Which is right depends on your overheads: if they are rising too, keeping the percentage margin is usually safer.

10Practical steps

Ways to improve your margin

  • Review prices at least once a year. Costs creep up; prices often do not.
  • Know your margin by product or service. An average can hide items that lose money. Drop them or reprice them.
  • Negotiate with suppliers. Ask for volume discounts, longer payment terms or cheaper delivery. Even a small cost saving drops straight to gross profit.
  • Cut waste. Spoiled stock, returns and rework are direct costs. In food businesses, portion control alone can move the margin several points.
  • Sell more of your best-margin lines. Put them where customers see them first.
  • Watch platform and card fees. Marketplace commission and payment fees are a cost of each sale. Treat them as direct costs when you work out margin.
  • Charge for extras. Delivery, rush jobs and changes to a brief all take time or money. Pricing them separately stops them eating into the main sale.
11Accounts

Margin in your accounts and tax return

On a sole trader’s Self Assessment return, your sales go in as turnover, and the cost of the goods you bought to resell goes in as an allowable expense. Gross margin is not a box on the form, but the figures behind it are.

Most sole traders now use the cash basis, which counts money when it comes in or goes out. Under the cash basis, stock you buy this year but sell next year still counts as a cost this year, so your gross margin can look low in a year when you build up stock and high when you sell it down. Traditional accounting matches each cost to the sale it relates to, which gives a steadier margin.

Limited companies show gross profit near the top of their profit and loss account. Corporation Tax is charged on the profit after overheads, not on gross profit. See the Corporation Tax calculator and the sole trader tax calculator for the tax on your final profit.

For other percentage sums, such as a percentage change between two prices, use the percentage calculator.

12Summary

Key numbers

Profit ÷ price
Gross margin
Profit ÷ cost
Markup
50% = 100%
A 50% margin is a 100% markup
÷ 1.2
Takes 20% VAT out of a price
+33%
Extra sales a 10% discount needs at a 40% margin
20%
Sales you can lose after a 10% rise at a 40% margin
Questions

Frequently asked

How do I calculate gross profit margin?

Take the direct cost away from the selling price to get gross profit, then divide by the selling price. £60 profit on a £100 sale is a 60% margin.

What is the difference between margin and markup?

Margin is profit as a share of the selling price. Markup is profit as a share of the cost. A 50% margin is the same as a 100% markup.

Should margin include VAT?

No. If you are VAT-registered, use the price and costs before VAT, because the VAT is collected for HMRC.

What is a good gross margin?

It depends on your overheads and sales volume. Add your overheads to the profit you want and divide by your expected sales to find the margin you need.

How much extra do I need to sell after a discount?

At a 40% margin, a 10% discount needs a third more sales to make the same gross profit, and a 20% discount needs twice as many.

Can a margin be more than 100%?

No. A margin of 100% means the sale cost you nothing. Markup has no upper limit: an item bought for £1 and sold for £10 has a 900% markup but a 90% margin.

Is gross margin the same as gross profit?

No. Gross profit is an amount in pounds. Gross margin is that amount as a percentage of sales.

Should I include my own time in the cost?

A sole trader's own time is not a cost in the accounts, so it is not part of gross margin. But your margin has to be big enough to pay you as well as your overheads. If you employ people to do the work, their wages for that work can be treated as a direct cost.

Do delivery costs count?

Delivery you pay to get goods to a customer is a direct cost of that sale. Delivery to get stock into your premises is usually counted as part of the cost of the stock.

What about card fees and marketplace commission?

They vary with each sale, so treat them as direct costs. A 10% marketplace fee on a sale at a 40% margin takes a quarter of your gross profit.

Why is my margin different in my accounts?

Accounts include stock losses, discounts, returns and stock changes that a per-item calculation leaves out. If your accounts show a much lower margin than your prices suggest, those are the places to look.

Good to know

Figures before tax. A pricing guide, not financial advice.