Profit Margin Calculator: Margin vs Markup Made Simple
Use our profit margin calculator to work out gross margin, markup and profit from cost and selling price, with formulas, a worked example and tips for UK small businesses.
By the AllCalculator editorial teamUpdated 15 October 20264 min read
Every business, from a market stall to a web shop, depends on selling things for more than they cost. But "how much profit am I making?" can be answered in two different ways, and mixing them up is one of the most common pricing mistakes small businesses make. Margin and markup use the same numbers, yet give very different percentages.
Our Profit Margin Calculator works out both from your cost and selling price. This guide explains the difference, gives you the formulas and shows how to use them to set prices with confidence.
Margin and markup: the difference
- Profit margin is profit as a percentage of the selling price. It tells you how much of each pound of sales you keep.
- Markup is profit as a percentage of the cost. It tells you how much you've added on top of what you paid.
Because the selling price is always bigger than the cost (if you're making a profit), the margin is always lower than the markup for the same product.
The formulas
- Profit = selling price − cost
- Margin = profit ÷ selling price × 100
- Markup = profit ÷ cost × 100
To set a price that gives you a target margin:
- Selling price = cost ÷ (1 − target margin)
So for a 40% margin on a £30 cost, the price is £30 ÷ 0.6 = £50.
How to use the calculator (Profit Margin Calculator)
- Enter the cost of the item or service.
- Enter the selling price.
The calculator shows the profit margin, the markup and the gross profit per sale. Make sure both figures either include or exclude VAT. If you're VAT-registered, use prices excluding VAT, because the VAT you collect belongs to HMRC.
A worked example
With the calculator's default figures, an item that costs £60 and sells for £100:
- Profit: £100 − £60 = £40
- Margin: £40 ÷ £100 = 40%
- Markup: £40 ÷ £60 = 66.67%
Change the cost to £75 and keep the price at £100. Profit falls to £25, the margin to 25% and the markup to 33.33%.
Converting between margin and markup
| Markup | Margin |
|---|---|
| 25% | 20% |
| 33.3% | 25% |
| 50% | 33.3% |
| 66.7% | 40% |
| 100% | 50% |
A common mistake is to add a 40% markup and believe you've made a 40% margin. In fact, a 40% markup gives a margin of about 28.6%. If your overheads assume a 40% margin, you'd fall short.
Gross margin vs net margin
The calculator works out gross margin: the difference between the selling price and the direct cost of the item. Your business also has overheads, like rent, insurance, wages, software, marketing and delivery. Net margin is what's left after those costs as well.
To estimate net margin, add up your overheads for the year and divide by the number of items you expect to sell. Add that to the cost per item, then run the calculator again. If the margin is still healthy, your prices are working.
Using margin to price your products
A few tips for small businesses:
- Know your full cost. Include delivery charges, packaging, card fees and marketplace commission, not just the price from your supplier.
- Work back from a target margin. Decide the margin you need to cover overheads and pay yourself, then set prices from there.
- Check competitors, but don't race to the bottom. A slightly higher price with better service can earn more than undercutting.
- Review regularly. Supplier prices and energy costs change. A margin that worked last year might not work now.
Margins, VAT and tax
Profit margin is about the profit on each sale. The tax you pay depends on your total profit over the year. Sole traders pay income tax and National Insurance on their profits, which you can estimate with our Self-Employed Tax Calculator. If you're VAT-registered, our VAT Calculator quickly strips VAT out of a price so you can work out the margin correctly.
Frequently asked questions
What is a good profit margin?
It depends on the industry. Supermarkets often work on thin margins and high volume, while software, consultancy and handmade goods can carry much higher margins. Compare yourself with similar businesses rather than a single benchmark.
Can a margin be more than 100%?
No. Margin is profit as a share of the selling price, so it can never reach 100% unless the cost is zero. Markup, on the other hand, can be any size. A product that costs £10 and sells for £50 has a 400% markup but an 80% margin.
Should I include VAT when working out margin?
If you're VAT-registered, use figures excluding VAT. If you're not registered, the VAT you pay on stock is part of your cost, so include it in the cost, and use your full selling price.
What's the difference between margin and profit?
Profit is an amount in pounds. Margin is that profit expressed as a percentage of the selling price. Both are useful: profit shows how much you earn per sale, and margin lets you compare products of different prices.
Clear numbers lead to better pricing decisions. Try your own products in the Profit Margin Calculator, and check your margins whenever your costs change.
Sources and further reading
- GOV.UK: How VAT worksgov.uk
- GOV.UK: Expenses if you're self-employedgov.uk
- GOV.UK: Set up as a sole tradergov.uk
- GOV.UK: Running a limited companygov.uk
Links open official and independent websites in a new tab.
This guide is general information to help you understand your options. It isn't financial, tax, legal or building advice and doesn't take your personal circumstances into account. Figures were checked when the guide was last updated and can change, so confirm anything important with GOV.UK, HMRC, a regulated adviser or a qualified tradesperson.