Profit Margin Calculator
Work out your gross profit margin, markup and profit in pounds from a cost price and selling price – or set a target margin or markup and get the selling price you need to charge.
How to Use the Profit Margin Calculator
- You know your cost and price: choose Cost price and selling price to see your margin, markup and profit per item.
- You want a particular margin: choose Cost price and target margin, enter the margin you want (for example 40%), and the calculator gives the selling price.
- You use markup pricing: choose Cost price and target markup to add a percentage on top of cost.
Enter prices without VAT if you're VAT-registered – VAT isn't part of your profit, because you pass it on to HMRC.
Margin and Markup Formulas
| What you want | Formula |
|---|---|
| Profit | Selling price − cost price |
| Gross margin % | (Profit ÷ selling price) × 100 |
| Markup % | (Profit ÷ cost price) × 100 |
| Selling price for a target margin | Cost ÷ (1 − margin ÷ 100) |
| Selling price for a target markup | Cost × (1 + markup ÷ 100) |
| Convert markup to margin | Markup ÷ (100 + markup) × 100 |
| Convert margin to markup | Margin ÷ (100 − margin) × 100 |
Worked Examples
Finding margin and markup
You buy a product for £30 and sell it for £50.
- Profit = £50 − £30 = £20
- Margin = £20 ÷ £50 = 40%
- Markup = £20 ÷ £30 = 66.67%
Pricing for a target margin
An item costs £18 and you want a 35% margin.
- Selling price = £18 ÷ (1 − 0.35) = £18 ÷ 0.65 = £27.69
- Check: profit £9.69 ÷ £27.69 = 35%
A common mistake is to add 35% to the cost (£18 × 1.35 = £24.30). That gives a 35% markup but only a 25.9% margin – a big difference across thousands of sales.
Adding VAT for consumer prices
If you're VAT-registered and selling to the public, add VAT after you've set your net price. For the £27.69 item above: £27.69 × 1.2 = £33.23 on the shelf. Use our VAT Calculator to add or remove VAT.
Margin vs Markup at a Glance
| Markup | Equals margin of | Markup | Equals margin of |
|---|---|---|---|
| 10% | 9.1% | 60% | 37.5% |
| 20% | 16.7% | 75% | 42.9% |
| 25% | 20.0% | 100% | 50.0% |
| 33.3% | 25.0% | 150% | 60.0% |
| 50% | 33.3% | 200% | 66.7% |
Markup is always bigger than margin for the same item, because markup divides the profit by the smaller number (the cost). Margin can never reach 100%, but markup can be any size.
Gross Margin vs Net Margin
The figure above is gross margin: it only covers the direct cost of the product. Net margin also takes off overheads such as rent, wages, marketing, card fees, delivery and business rates. A shop can have a healthy 50% gross margin and still make a loss if its overheads are too high, so use gross margin for pricing individual products and net margin to judge the whole business.
Typical Gross Margins in UK Retail
Margins vary widely by sector. Supermarkets often work on thin margins and high volume, while clothing, cosmetics and handmade goods tend to need much higher gross margins to cover returns, stock that doesn't sell and overheads. If you sell online, remember to include marketplace fees, payment processing and postage in your cost price – otherwise your real margin will be lower than it looks.
Frequently Asked Questions
What is the difference between profit margin and markup? Profit margin divides profit by the selling price, while markup divides profit by the cost price. A 50% markup on a £10 item gives a £15 selling price, which is a 33.3% gross profit margin.
How do I calculate a 30% margin? Divide the cost by 0.7. For example, an item costing £14 needs to sell for £14 ÷ 0.7 = £20 to make a 30% margin.
What is a good profit margin? It depends on the industry. Low-cost, high-volume businesses can run on small margins, while specialist or handmade products usually need gross margins of 50% or more to cover overheads.
Should I include VAT when calculating margin? No, if you're VAT-registered. Use prices excluding VAT, because the VAT you collect belongs to HMRC. If you're not VAT-registered, include the VAT you pay on stock in your cost price.
Can profit margin be more than 100%? No. Margin is profit as a share of the selling price, so it is always below 100%. Markup, however, can be more than 100%.
How do I convert markup to margin? Divide the markup by (100 + markup) and multiply by 100. A 50% markup is 50 ÷ 150 × 100 = 33.3% margin.