Free calculator
Profit margin calculator.
Enter what an item costs you and what you sell it for to see gross margin, profit per item and markup. Or set a target margin and get the selling price you need.
In short
Gross profit margin is profit divided by selling price, shown as a percentage. If you buy an item for £6 and sell it for £10, the profit is £4 and the margin is 4 ÷ 10 = 40%. Markup is profit divided by cost, so the same item has a markup of 4 ÷ 6 = 66.7%.
The profit margin formula
Margin tells you how much of every sale you keep after paying for the product itself. It is the number most retailers use to compare products, because it is measured against the price the customer pays.
- Profit = selling price − cost price
- Gross margin % = profit ÷ selling price × 100
- Markup % = profit ÷ cost price × 100
- Price for a target margin = cost price ÷ (1 − target margin)
Tip. Use the cost excluding VAT or sales tax and the selling price excluding tax, so you compare like with like.
A worked example
A corner shop buys a case of 24 drinks for £14.40, which is £0.60 per can, and sells each can for £1.20.
- Profit per can: £1.20 − £0.60 = £0.60.
- Gross margin: £0.60 ÷ £1.20 = 50%.
- Markup: £0.60 ÷ £0.60 = 100%.
- To reach a 55% margin instead, the price would be £0.60 ÷ (1 − 0.55) = £1.33.
The same item can have a 50% margin and a 100% markup. Both are correct; they just measure profit against different numbers.
Margin vs markup
Margin is measured against the selling price, so it can never reach 100%. Markup is measured against cost, so it can be any size. Mixing the two up is a common pricing mistake: adding a 30% markup gives only a 23% margin.
If you think in markup, use the markup calculator. To see margin and markup for a product you already sell, use the calculator above.
- 25% markup = 20% margin
- 50% markup = 33.3% margin
- 100% markup = 50% margin
- 150% markup = 60% margin
What is a good profit margin for a shop?
There is no single right answer. Fast-moving essentials such as milk, bread or tobacco usually run on thin margins and make money through volume. Gifts, accessories and own-made products usually need much higher margins because they sell more slowly.
The more useful question is whether your margin covers your running costs. Gross margin pays for rent, wages, energy and everything else before any profit is left. That is why tracking profit after expenses matters as much as the margin on any one line.
Track margins on every sale, not just one product
A calculator is ideal for pricing a new line. Running the whole shop is different: supplier prices change, discounts are given at the till and some lines are wasted. POS2026 Loss/Profit works out profit from the cost and selling price of what you actually sold, then takes off your recorded expenses, so you see the real figure without a spreadsheet.
Questions
Common questions.
Straight answers for shop owners, based on what POS2026 actually does.
How do I calculate profit margin?
Subtract the cost price from the selling price to get profit, then divide the profit by the selling price and multiply by 100. For example, (£10 − £6) ÷ £10 × 100 = 40%.
What is the difference between margin and markup?
Margin is profit as a percentage of the selling price. Markup is profit as a percentage of the cost price. A £4 profit on a £6 item sold for £10 is a 40% margin and a 66.7% markup.
How do I price a product for a 40% margin?
Divide the cost by 0.6, which is 1 minus 0.4. An item that costs £6 needs a price of £10 to make a 40% margin. Choose "Price for a target margin" in the calculator to do this automatically.
Should I include VAT in the calculation?
Use prices excluding VAT or sales tax on both sides. VAT you collect is passed on to the tax authority, so it is not part of your margin.
Is this calculator free?
Yes. It is free to use with no sign-up. POS2026 is the point-of-sale software that tracks margin and profit automatically from your real sales.
Stop working out margins by hand.
POS2026 records the cost and price of every sale and shows your profit after expenses automatically.