Profit Margin Calculator

See how much of every sale you actually keep. Enter what something costs you and what you sell it for to get your gross profit, margin and markup — or set a target margin and get the price you need to charge.

Updated 24 November 2026 · Use prices before VAT for accurate results

Calculate profit margin

I know my…
£
£

The profit margin formula

Profit margin tells you what percentage of your selling price is profit. It is always calculated on the price, not on the cost.

Gross profit = price − cost
Margin % = gross profit ÷ price × 100

Example: you buy a product for £60 and sell it for £100. Your gross profit is £40, and your margin is 40 ÷ 100 = 40%. For every pound a customer pays you, you keep 40p before overheads.

How to price for a target margin

If you know the margin you want, you can work backwards from your cost. Divide the cost by one minus the margin (as a decimal).

Price = cost ÷ (1 − target margin)

To make a 40% margin on a £60 cost: 60 ÷ 0.6 = £100. A common mistake is to add 40% to the cost instead (£84), which only gives a 28.6% margin. That gap is the difference between margin and markup, and it catches out a lot of new businesses.

Margin to markup conversion table

MarginEquivalent markupPrice on a £100 cost
10%11.1%£111.11
20%25%£125.00
25%33.3%£133.33
30%42.9%£142.86
40%66.7%£166.67
50%100%£200.00
60%150%£250.00

If you set prices by adding a percentage to your cost, the markup calculator is the quicker tool.

Gross margin vs net margin

This calculator works out gross margin: price minus the direct cost of the item or job. It does not include overheads such as rent, insurance, software, phone bills or your van. Net margin is what is left after those as well.

A healthy gross margin has to be big enough to pay for all your overheads and still leave a profit. To see how many sales that takes, put your monthly overheads into the break-even calculator.

What is a good profit margin?

It depends heavily on what you sell. Service businesses, where most of the cost is your own time, often run gross margins well above 50%. Retailers selling other people's products commonly work on much thinner margins and rely on volume. Rather than chase an industry average, work out the margin your business needs to cover its overheads and pay you. Our guide on how to price your services walks through that step by step.

Profit margin FAQs

How do I calculate profit margin?

Subtract your cost from your selling price to get gross profit, then divide the gross profit by the selling price and multiply by 100. A £100 sale with a £60 cost has a 40% margin.

Should I include VAT when working out margin?

No. Use prices and costs excluding VAT. VAT you charge belongs to HMRC, so including it makes your margin look better than it is.

Can profit margin be more than 100%?

No. Margin is a share of the selling price, so it can never reach 100% unless the cost is zero. Markup, which is measured against cost, can be any size.

What price do I need for a 30% margin?

Divide your cost by 0.7. For a £70 cost that is £100. Adding 30% to the cost (£91) would only give a 23.1% margin.