Get your gross profit, margin and markup, and the price you need for a target margin.
Gross margin = (net revenue minus cost) ÷ net revenue × 100. It does not include overheads such as rent, wages or marketing.
Knowing your margin tells you how much of each sale you actually keep. This profit margin calculator takes your cost and selling price and returns the gross profit, gross margin and markup instantly. It can strip out 20% UK VAT from a VAT inclusive price first, and it shows the price you need to charge to hit any target margin.
Quick answer: A profit margin calculator uses gross margin % = (revenue minus cost) ÷ revenue × 100. Buying for £60 and selling for £100 gives £40 of gross profit and a 40% margin. To hit a target margin, use price = cost ÷ (1 minus target margin), so a 50% margin on £60 needs £120.

In This Guide
What Is Profit Margin?
Gross profit margin is the share of your selling price that is left after paying for the product itself. If you buy something for £60 and sell it for £100, your gross profit is £40 and your margin is 40%. Margin is always based on the selling price, while markup is based on cost, and our markup calculator works that figure out for you. Mixing the two up is one of the most common pricing mistakes.
The formula is: gross margin % = (revenue minus cost) ÷ revenue × 100. To find the price for a target margin, use price = cost ÷ (1 minus target margin). For a 50% margin on a £60 cost, that is £60 ÷ 0.5 = £120.
How Do You Use the Profit Margin Calculator?
Step 1: Enter Your Cost
Type what one unit costs you, excluding any VAT you reclaim, and for a service use the direct cost of delivering it, such as materials and subcontractor fees. Type what one unit costs you, excluding any VAT you reclaim. For a service, use the direct cost of delivering it, such as materials and subcontractor fees.

Step 2: Enter the Selling Price
Enter the price you charge or your total revenue. If the figure includes VAT, tick the box so the calculator divides it by 1.2 first, the same sum the reverse VAT calculator uses. VAT is collected for HMRC, so it should never count towards your margin.

Step 3: Set a Target Margin
Enter the margin you want to reach and the calculator shows the selling price you need. If the VAT box is ticked, it also shows that price with VAT added for your shelf or invoice.

Step 4: Read Your Results
You get your gross margin, gross profit, markup on cost, net revenue and any VAT removed. A red warning appears if you are selling below cost.

How Is Profit Margin Worked Out on Real Prices?
| Cost | Selling price | Gross profit | Margin | Markup |
|---|---|---|---|---|
| £60 | £100 | £40 | 40% | 66.67% |
| £25 | £40 | £15 | 37.5% | 60% |
| £80 | £100 | £20 | 20% | 25% |
| £7.50 | £12 inc VAT (£10 net) | £2.50 | 25% | 33.33% |
Selling at £100 an item that cost £60 gives £40 gross profit, a 40% margin and a 66.67% markup, while £25 cost and £40 price gives a 37.5% margin. The last row shows why VAT matters. Most goods carry the standard 20% rate, but the current UK VAT rates on gov.uk list items that are reduced or zero rated. On a £12 standard rated price you only keep £10, so your margin is 25%, not the 37.5% you would get by ignoring VAT.
Profit Margin Calculator Terms Explained
These business terms explain the figures the profit margin calculator returns, so you can price products confidently and read your gross margin and markup correctly.
- Gross profit
- Revenue minus the direct cost of the goods or services sold, before overheads such as rent, wages or advertising are deducted. It is the cash amount behind the margin percentage and the starting point for judging whether prices cover running costs.
- Cost of goods sold
- The direct expenses of producing or buying the items a business sells, such as stock, raw materials and subcontracted work. It excludes general running costs and is the figure entered as cost when working out a gross margin.
- Net profit margin
- The share of revenue left once every expense, including overheads, interest and tax, has been taken off. It is always lower than gross margin and shows how profitable the whole business is rather than a single product line.
- Value-added tax
- A consumption tax that VAT-registered businesses add to most sales and pay over to HMRC. At the standard 20% rate, dividing a VAT-inclusive price by 1.2 removes it, so the margin reflects only income the business keeps.
- Target margin pricing
- Setting a selling price by dividing the unit cost by one minus the desired margin written as a decimal. It works backwards from the profit share you want, so a 50% target on a £60 cost points to a £120 price.
</>Embed this calculator on your website
Add the free Profit Margin Calculator to your own site or blog. Copy the code below and paste it into an HTML block. It resizes itself and works on phones.
How we checked this tool: the Tools Veria Editorial Team built this tool by hand, checked it against the official rules or published standards where they apply, and tested it against worked examples. Results are estimates for planning, not personal financial or tax advice. Read our editorial policy and disclaimer, or report an error.
Frequently Asked Questions
How do I calculate profit margin?
Subtract the cost from the selling price, divide by the selling price and multiply by 100. Selling a £60 item for £100 gives a 40% margin.
What is the difference between gross and net profit margin?
Gross margin only takes off the direct cost of the product. Net margin also takes off overheads such as rent, wages, marketing and tax.
Should I include VAT when working out margin?
No. If you are VAT registered, remove VAT from the selling price first because it is paid to HMRC, not kept by you.
How do I find the price for a target margin?
Divide your cost by 1 minus the target margin as a decimal. For a 40% margin on a £30 cost, £30 ÷ 0.6 = £50.
Is a 50% margin the same as a 50% markup?
No. A 50% markup on £100 gives a £150 price and a 33.33% margin. A 50% margin needs a 100% markup.
Can profit margin be over 100%?
No. Margin is profit as a share of the price, so it can never reach 100% unless the cost is zero. Markup, however, can go above 100%.