Margin vs Markup: Formulas, Conversion Table and Examples
Margin is profit as a share of the selling price; markup is profit as a share of cost. Formulas, a conversion table and UK worked examples.
Margin vs markup comes down to what you divide the profit by. Margin is profit as a percentage of the selling price. Markup is profit as a percentage of the cost. The same sale gives two different percentages, and markup is always the bigger one.
Margin vs markup definition
Both figures describe the same profit. The difference between markup and margin is the base each one uses.
- Markup is the profit divided by the cost. It answers the question “how much did we add to what we paid?”
- Margin is the profit divided by the selling price. It answers the question “how much of each pound of sales do we keep?”
- Profit here means selling price minus cost, both excluding VAT.
Margin can never reach 100%, because the profit is always smaller than the price. Markup has no upper limit. A 100% markup doubles the cost and gives a 50% margin.
The markup formula and the margin formula
| Measure | Formula | Example: cost £40, price £52 |
|---|---|---|
| Profit | Selling price − cost | £52 − £40 = £12 |
| Markup % | (Selling price − cost) ÷ cost × 100 | £12 ÷ £40 × 100 = 30% |
| Margin % | (Selling price − cost) ÷ selling price × 100 | £12 ÷ £52 × 100 = 23.1% |
| Price from a markup | Cost × (1 + markup) | £40 × 1.30 = £52.00 |
| Price from a target margin | Cost ÷ (1 − margin) | £40 ÷ 0.70 = £57.14 |
In the last two rows the percentage is written as a decimal, so 30% is 0.30.
How to calculate markup
- Take the selling price excluding VAT: £52.00.
- Subtract the cost excluding VAT: £52.00 − £40.00 = £12.00 profit.
- Divide the profit by the cost: £12.00 ÷ £40.00 = 0.30.
- Multiply by 100: a 30% markup.
To calculate markup the other way round, start from the cost and the markup you want. A 45% markup on £40.00 is £40.00 × 1.45 = £58.00.
Markup vs margin: how to convert one to the other
You do not need the prices to convert. Write each percentage as a decimal and use these two formulas.
- Markup to margin: margin = markup ÷ (1 + markup). A 30% markup is 0.30 ÷ 1.30 = 0.2308, a 23.1% margin.
- Margin to markup: markup = margin ÷ (1 − margin). A 30% margin is 0.30 ÷ 0.70 = 0.4286, a 42.9% markup.
The gap between markup and margin widens as the numbers rise. At 10% they are close: a 10% markup is a 9.1% margin. At 100% markup the margin is only 50%.
Markup calculator: conversion table
Use these tables as a quick markup calculator. Percentages are rounded to one decimal place.
From markup to margin
| Markup | Multiply cost by | Selling price on a £100 cost | Margin |
|---|---|---|---|
| 10% | 1.10 | £110.00 | 9.1% |
| 15% | 1.15 | £115.00 | 13.0% |
| 20% | 1.20 | £120.00 | 16.7% |
| 25% | 1.25 | £125.00 | 20.0% |
| 30% | 1.30 | £130.00 | 23.1% |
| 33.3% (one third) | 1.333 | £133.33 | 25.0% |
| 40% | 1.40 | £140.00 | 28.6% |
| 50% | 1.50 | £150.00 | 33.3% |
| 60% | 1.60 | £160.00 | 37.5% |
| 75% | 1.75 | £175.00 | 42.9% |
| 100% | 2.00 | £200.00 | 50.0% |
| 150% | 2.50 | £250.00 | 60.0% |
| 200% | 3.00 | £300.00 | 66.7% |
| 300% | 4.00 | £400.00 | 75.0% |
From target margin to markup
| Target margin | Divide cost by | Selling price on a £100 cost | Markup needed |
|---|---|---|---|
| 10% | 0.90 | £111.11 | 11.1% |
| 15% | 0.85 | £117.65 | 17.6% |
| 20% | 0.80 | £125.00 | 25.0% |
| 25% | 0.75 | £133.33 | 33.3% |
| 30% | 0.70 | £142.86 | 42.9% |
| 35% | 0.65 | £153.85 | 53.8% |
| 40% | 0.60 | £166.67 | 66.7% |
| 45% | 0.55 | £181.82 | 81.8% |
| 50% | 0.50 | £200.00 | 100.0% |
| 60% | 0.40 | £250.00 | 150.0% |
| 75% | 0.25 | £400.00 | 300.0% |
A worked example (hypothetical)
Hypothetical: an electrical wholesaler in Manchester buys LED panels at £40.00 each and sells them at £52.00 each, both excluding VAT.
- Profit on each panel: £52.00 − £40.00 = £12.00.
- Markup: £12.00 ÷ £40.00 = 30%.
- Margin: £12.00 ÷ £52.00 = 23.1%.
The owner’s budget assumes a 30% margin. To earn that, the price has to be £40.00 ÷ 0.70 = £57.14. The profit is then £17.14 a panel, which is a 42.9% markup.
The classic mistake: a 30% markup is not a 30% margin
The mistake is to want a 30% margin and price by adding 30% to the cost. Here it is on one hypothetical order of 350 panels, with a cost of 350 × £40.00 = £14,000.
| Order of 350 panels | Priced with a 30% markup | Priced for a 30% margin |
|---|---|---|
| Calculation | £14,000 × 1.30 | £14,000 ÷ 0.70 |
| Order value | £18,200 | £20,000 |
| Profit | £4,200 | £6,000 |
| Margin achieved | 23.1% | 30.0% |
The order is short by £20,000 − £18,200 = £1,800 of profit. Nothing looks wrong on the invoice, which is why the error survives for years.
Scale it up and it matters. If the same hypothetical wholesaler buys £700,000 of stock in a year, a 30% markup brings in £910,000 of sales and £210,000 of gross profit. A true 30% margin needs £1,000,000 of sales and gives £300,000. The gap is £90,000 a year.
Where VAT fits
For a VAT-registered business, work out markup and margin on figures excluding VAT. The VAT you charge is not your income. The government’s guide to how VAT works says a registered business reports the VAT it charged customers and the VAT it paid to other businesses, and usually pays HMRC the difference. It also says you can reclaim VAT on items you buy for use in your business if you are VAT registered.
Take the £52.00 panel. The standard rate of VAT is 20%, so the customer pays £52.00 × 1.2 = £62.40. Compare that £62.40 with the £40.00 cost and the margin appears to be 35.9%. It is not. The £10.40 of VAT goes to HMRC, and the real margin is still 23.1%.
Two cases differ:
- Not VAT registered. You cannot reclaim the VAT your supplier charges, so it is part of your cost. The £40.00 panel costs you £48.00.
- Flat Rate Scheme. The same government guidance says you cannot reclaim VAT on purchases under the scheme, except for certain capital assets over £2,000. Ask your accountant how to treat VAT in your costings.
Gross margin vs net margin
The margin in this guide is gross margin: sales minus the cost of the goods sold, divided by sales. Our guide on how to calculate cost of goods sold sets out what belongs in that figure. Net margin takes off the overheads as well, such as wages, rent, vehicles and software.
Hypothetical: a wholesaler has sales of £1,000,000 and cost of goods sold of £700,000. Gross profit is £300,000 and gross margin is 30.0%. Overheads are £220,000, so net profit before tax is £80,000 and net margin is 8.0%. Prices are set on gross margin. The business survives on net margin, so the gross margin has to cover the overheads with room to spare.
How landed cost changes the true margin
The cost in the formula should be what the goods cost by the time they reach your shelf, not the supplier’s invoice price alone. For imported goods that includes freight, duty and handling. Our guide to landed cost calculation shows how to work it out for each unit.
Hypothetical: the £40.00 panel also carries £2.20 of freight, £1.20 of duty and £0.60 of handling. The landed cost is £44.00.
| Per panel | On supplier price | On landed cost |
|---|---|---|
| Cost | £40.00 | £44.00 |
| Selling price | £57.14 | £57.14 |
| Profit | £17.14 | £13.14 |
| Margin | 30.0% | 23.0% |
The wholesaler believes it is making 30% and is making 23%. To get back to a 30% margin on the landed cost, the price has to be £44.00 ÷ 0.70 = £62.86.
Common mistakes
- Mixing the two words. A sales team told to “add 30%” and a finance team expecting a “30% margin” are working to different prices.
- Multiplying when you should divide. For a target margin, divide the cost by 1 minus the margin.
- Using VAT-inclusive prices. It inflates both figures for a VAT-registered business.
- Using an old or incomplete cost. A cost that leaves out freight or has not been updated since the last supplier increase overstates the margin.
- Forgetting discounts. A 10% discount on the £52.00 panel drops the price to £46.80 and the margin from 23.1% to 14.5%.
- Averaging percentages. Average margin across products is total profit divided by total sales, not the mean of each product’s percentage.
Job shops make the same error on quotes. Hypothetical: a job costs £1,000 in materials and labour. A 25% markup gives a £1,250 quote and a 20.0% margin. A 25% margin needs £1,333.33. See what is job costing and our guide to quoting and estimating software. Our breakdown of the cost of not knowing your job margin puts numbers on it.
How to set prices from a target margin
- Agree one word for the business. Accounts report profit against sales, so set targets as margin.
- Work out the full cost of each product or job, excluding VAT and including landed costs.
- Set a target gross margin that covers your overheads and the net profit you need.
- Divide the cost by 1 minus the target margin to get the price.
- Check the result against the market, then decide. If the market will not pay it, the cost or the product mix has to change.
- Recheck when costs change. A supplier increase with no price change comes straight out of the margin.
- Review the margin you achieved after discounts, not only the list price.
Margin is half of the picture for a stockholding business. A high-margin line that sits for a year can earn less than a low-margin line that sells every week, so read it with your inventory turnover ratio. For the bookkeeping side, see our guide to wholesale accounting software.
FAQs
What is the difference between markup and margin?
Markup is profit as a percentage of cost. Margin is profit as a percentage of the selling price. On a £40 cost and a £52 price, the markup is 30% and the margin is 23.1%.
Is the difference between margin and markup always the same?
No. The gap grows as the percentages rise. A 10% markup is a 9.1% margin, a 50% markup is a 33.3% margin, and a 100% markup is a 50% margin.
How do I calculate markup?
Subtract the cost from the selling price, divide the result by the cost and multiply by 100. For a price from a markup, multiply the cost by 1 plus the markup as a decimal.
What markup gives a 50% margin?
A 100% markup. Doubling the cost means half of the selling price is profit. For a 40% margin you need a 66.7% markup, and for a 30% margin a 42.9% markup.
Should I include VAT when working out markup and margin?
Not if you are VAT registered. Use prices and costs excluding VAT, because the VAT you charge is passed to HMRC and the VAT you pay can usually be reclaimed. If you are not registered, the VAT you pay is part of your cost.
Is it better to price with markup or margin?
Either works if everyone uses the same one. Margin matches how accounts report profit, so it is the safer target. Markup is easier for quick pricing from a cost. Convert between them with the table above.
How OpsMavix can help
Knowing the formula is the easy part. The hard part is having the right cost next to the right price at the moment someone quotes or takes an order.
OpsMavix builds custom order and job systems that hold cost and selling price on the same record, so the margin can be shown on each order line or each job before it is confirmed. What goes into the cost is agreed for each project. First systems start from £4,950 at a fixed price in writing and go live in about 30 days. You pay half to start and half when it works, there are no per-seat fees, and you own the code, data and hosting. Working examples: a wholesale ordering system built for a client and shown with anonymised data, and a fabrication workshop system for a paying client since September 2026.
OpsMavix ERP is the off-the-shelf option. It covers stock, orders, purchasing and the books for £99.99 a month for the whole company. It is new, has no customer stories, and does not yet handle multiple currencies or more than one stock location, so an importer buying in dollars or euros should not rely on it.
A spreadsheet with the formulas above is a perfectly good start. If you want margin visible on every order, see wholesale order management, read is OpsMavix right for you, or contact us.
Getting value from OpsMavix? Add us as a preferred source on Google — you'll see more of our operations content in your AI Overviews, AI Mode and Search.