[profit_margin_calculator]
This profit margin calculator works out the margin on anything you sell — gross, operating and net — in pounds, with UK VAT and marketplace fees handled properly. Buy something for £40 and sell it for £100, and your profit is £60, your gross margin is 60% and your markup is 150%. Those last two numbers are not the same thing, and mixing them up is the most expensive mistake in small-business pricing. Enter your own cost and price below — the tool also works out the price for a target margin, the most you can pay for a target margin, and your break-even price.
Most margin tools online are American: dollars, US marketplace fees, no VAT. This profit margin calculator is built for a UK seller — pounds, the 20% standard VAT rate, eBay UK and Amazon UK fee presets, and Corporation Tax rates for the period view. The maths is the same everywhere; the numbers that go into it are not.

How to Use the Profit Margin Calculator
The profit margin calculator has four modes — pick the question you actually need answered.
1. Margin and markup from cost and selling price. Enter the cost per unit and the selling price. The tool shows the gross profit per unit, the gross margin, the markup, the fee taken, and the break-even price — the lowest price at which the sale stops losing money.
2. Price for a target margin. Enter the cost per unit and the margin you want. This profit margin calculator works out the price that delivers exactly that margin, after any fee and other costs. A £12 cost at a 40% target margin needs a £20.00 price.
3. Most you can pay for a target margin. Enter the selling price and the margin you want. This profit margin calculator works out the highest cost per unit that still leaves that margin. At a £100 selling price and a 40% target margin, the most you can pay is £60.00.
4. Gross, operating and net margin for a period. Enter the revenue, cost of goods sold, operating expenses and any other expenses for a month, a quarter or a year, and pick a tax rate. The profit margin calculator shows all three margins and the profit at each level. The worked example below uses the same figures as the profit and loss calculator on this site, so the two tools agree with each other.
Two settings apply to the first three modes. The VAT setting says whether the selling price includes VAT — if it does, the tool strips the 20% out first, because VAT collected is not your revenue. The fee setting is a percentage of the selling price for a marketplace or payment fee, with presets for eBay UK business (12.9%) and Amazon UK (15% in most categories), or any custom rate. “Other costs per unit” covers postage, packaging and anything else the sale itself costs.
What Is Profit Margin?
Profit margin is the share of the selling price you keep as profit. The profit margin formula is simple: margin = (selling price − cost) ÷ selling price × 100. A £100 sale with a £40 cost leaves £60 of profit, and £60 ÷ £100 = 60%. That is the formula this profit margin calculator applies in every mode.
There are three margins, and they answer three different questions.
Gross profit margin is revenue minus the direct cost of what you sold — the cost of goods sold — divided by revenue. It answers: does the product itself make money? A shop’s gross margin is revenue minus what it paid its suppliers; a service business with no goods to buy has a gross margin near 100%, which says nothing about whether the business as a whole makes money.
Operating profit margin takes the gross profit and subtracts the operating expenses — rent, wages, marketing, software — then divides by revenue. It answers: does the business make money from running itself, before interest and tax?
Net profit margin takes the profit after everything, including interest and tax, and divides it by revenue. It answers: of every pound that came in, how many pence did the business actually keep? That is the number that matters in the end, and it is always the smallest of the three.
Margin vs Markup: the Difference That Costs Money
Markup and margin describe the same sale from opposite ends. Markup is the profit as a share of the cost; margin is the profit as a share of the selling price. Because the selling price is always bigger than the cost, the markup on any sale is always bigger than the margin — and quoting one when you mean the other overstates how well you are doing.
| Cost | Selling price | Profit | Markup | Margin |
|---|---|---|---|---|
| £100 | £125 | £25 | 25% | 20.00% |
| £100 | £150 | £50 | 50% | 33.33% |
| £100 | £200 | £100 | 100% | 50.00% |
| £100 | £250 | £150 | 150% | 60.00% |
| £100 | £300 | £200 | 200% | 66.67% |
| £100 | £400 | £300 | 300% | 75.00% |
Two things follow from that table. First, a margin can never pass 100% — you cannot keep more than the whole price — while a markup can be anything at all. Anyone claiming a “150% profit margin” means a 150% markup, which is a 60% margin. Second, converting between them is one division: margin = markup ÷ (1 + markup), and markup = margin ÷ (1 − margin). The profit margin calculator shows both numbers side by side for every sale you enter. The markup calculator on this site works from the markup side of the same maths.
Worked Examples
Try these in the profit margin calculator above — every figure was worked out by hand and checked.
Example 1 — margin and markup from cost and price. Cost £40, selling price £100, no fee, no other costs. Profit: £100 − £40 = £60. Gross margin: £60 ÷ £100 = 60.00%. Markup: £60 ÷ £40 = 150.00%. Break-even price: £40 — sell at £40 and the profit is exactly £0.
Example 2 — price for a target margin. Cost £12, target margin 40%. Price: £12 ÷ (1 − 0.40) = £12 ÷ 0.60 = £20.00. Profit: £20.00 − £12 = £8.00. Check: £8.00 ÷ £20.00 = 40.00%. Markup at that price: £8.00 ÷ £12 = 66.67%.
Example 3 — the price includes VAT. Selling price £50 including VAT, cost £25. The ex-VAT price is £50 ÷ 1.20 = £41.67, and the VAT in it is £8.33. Profit: £41.67 − £25 = £16.67. Gross margin: £16.67 ÷ £41.67 = 40.00%. Markup: £16.67 ÷ £25 = 66.68%. Worked out on the £50 as if it were all revenue, the margin would look like 50% — ten points higher than the real 40% — because £8.33 of that £50 belongs to HMRC.
Example 4 — selling on eBay. Selling price £30, cost £12, eBay fee 12.9%, other costs £1.50 for postage and packaging. The fee is 12.9% × £30 = £3.87. Profit: £30 − £12 − £3.87 − £1.50 = £12.63. Gross margin: £12.63 ÷ £30 = 42.10%. Markup: £12.63 ÷ £12 = 105.25%. Break-even price: (£12 + £1.50) ÷ (1 − 0.129) = £13.50 ÷ 0.871 = £15.50. Without the fee the same sale would show a 55.00% margin (£16.50 ÷ £30) — the fee alone costs nearly thirteen points of margin, which is why a price that looks profitable before fees can lose money after them. Run the same sale through the profit margin calculator with and without the fee to see the gap.
Example 5 — margins for a period. A business takes £120,000 of revenue, spends £72,000 on cost of goods sold and £27,000 on operating expenses, and pays Corporation Tax at 19%. Gross profit: £120,000 − £72,000 = £48,000, a gross margin of 40.00%. Operating profit: £48,000 − £27,000 = £21,000, an operating margin of 17.50%. Tax at 19% is £3,990, so the net profit is £21,000 − £3,990 = £17,010, a net margin of 14.18%. The product makes 40 pence in every pound; the business keeps 14 pence. The gap between those two numbers is the rent, the wages and the tax — which is why a gross margin on its own tells you almost nothing about whether a business is healthy.
Example 6 — most you can pay. Selling price £100, target margin 40%, no fee. Most you can pay: £100 × (1 − 0.40) = £60.00. Profit at that cost: £100 − £60 = £40.00, and £40.00 ÷ £100 = 40.00%. Pay £61 and the margin is 39.00% — one pound over the limit costs a full point. With a 12.9% eBay fee and £1.50 of other costs on a £30 price, the most you can pay for the same 40% margin is £30 × (1 − 0.40 − 0.129) − £1.50 = £12.63.
VAT and Your Margin
The UK standard VAT rate is 20%, and it has been since 4 January 2011. GOV.UK’s VAT rates page lists the three rates — standard 20% on most goods and services, reduced 5% on things like children’s car seats and home energy, and zero-rated on most food and children’s clothes — and some supplies are exempt altogether.
That matters because VAT is not yours. Sell something for £120 including VAT and £100 is your revenue, £20 is VAT you pass to HMRC — your margin is worked out on the £100. If you are not VAT-registered, the price you charge is all revenue and there is nothing to strip out, but you also cannot reclaim the VAT on what you buy, so your costs are higher by the VAT in them.
The trap is working the margin on the VAT-inclusive price. In Example 3 a £50 price and a £25 cost looks like a 50% margin until the £8.33 of VAT comes out, leaving 40.00% — ten points of margin that never existed. Set the VAT toggle to “price includes VAT” and this profit margin calculator strips it out before it touches the margin.
Marketplace Fees Eat Your Margin
Selling through a marketplace costs a share of the price, and the share comes straight off the margin. eBay UK charges business sellers a final value fee of 12.9% on most categories (“Everything Else”), plus a per-order fee of £0.40 on orders above £10 and a 0.35% regulatory operating fee, with VAT charged on the fees themselves. Amazon UK charges a referral fee of 15% in most categories. Both platforms publish their own fee tables and change them — the presets in this tool are the headline rates, and the per-order fee is not in the percentage box, so add it to “other costs per unit” if you want it in the maths.
Example 4 shows what a single fee does: 12.9% on a £30 sale takes £3.87 and drops the margin from 55.00% to 42.10%. That is the point of the fee setting: a price that clears your target margin before fees can miss it by a wide margin after them. If you sell on more than one platform, run the same cost and price through each fee in turn — the cheapest headline rate is not always the cheapest once the per-order fee and the VAT on fees are counted.
What Is a Good Profit Margin?
There is no single good number, and any tool that quotes one without asking what you sell is guessing. A supermarket and a software company can both be healthy on wildly different margins, because one turns its stock over many times a year and the other barely has a cost of goods sold. What “good” means for your business is decided by three things.
First, the gross margin has to cover the operating expenses. If operating expenses run at 25% of revenue, a gross margin of 20% loses money before tax is even mentioned — the business needs a gross margin above 25% just to break even. Example 5’s business keeps 40.00% gross and spends 22.50% of revenue on operating expenses (£27,000 ÷ £120,000), which leaves 17.50% before tax.
Second, the net margin has to leave the return you need. After tax, the business in Example 5 keeps 14.18% of revenue. Whether that is good depends on what the money is for — drawings, reinvestment, debt repayment — and on how much capital is tied up earning it.
Third, compare with your own history, not with a stranger’s benchmark. Run last year’s figures through the period mode of this profit margin calculator, then this year’s, and see whether each margin is rising or falling. A gross margin drifting down a point a year is a supplier-price or discounting problem, and it shows up here before it shows up in the bank balance. For the full picture behind the margins — the profit and the tax on it — the profit and loss calculator on this site works it out from the same figures.
Common Profit Margin Mistakes
Quoting markup as margin. A 150% markup is a 60% margin, not a 150% margin. A margin over 100% is impossible — you cannot keep more than the whole selling price — so any margin above 100% is a markup wearing the wrong label.
Working the margin on the VAT-inclusive price. The £8.33 of VAT in a £50 price is HMRC’s, not yours. Working on £50 instead of £41.67 overstates the margin by ten points in Example 3.
Forgetting the fees. A marketplace fee is a percentage of the price, so it scales with the price and it never shows up in the cost. Example 4 loses nearly thirteen points of margin to a 12.9% fee that the seller never entered in the cost box.
Treating gross margin as profit. Gross margin is what is left after the direct cost of the goods. Rent, wages, marketing, interest and tax still have to come out of it. The business in Example 5 has a 40.00% gross margin and a 14.18% net margin — the difference is everything the business spends to exist.
Pricing from cost alone. Cost-plus pricing sets the price from the margin you want, but the market may not pay it. If the price the tool gives you is above what customers will pay, the answer is not a lower margin — it is a lower cost, which is what the “most you can pay” mode is for.
Chasing an impossible margin. A target margin plus the fee rate cannot reach 100% — there has to be something left for the cost. A 95% target margin with a 12.9% fee leaves nothing at all, and the tool says so rather than inventing a price.
Conclusion
The profit margin calculator answers three questions every seller asks: what margin am I actually making, what price delivers the margin I want, and what is the most I can pay and still hit it? The answers come from the same three numbers — cost, price and the fee in between — with VAT stripped out first so the margin is worked out on real revenue. A £40 cost sold for £100 is a 60% margin and a 150% markup; a £12 cost needs a £20.00 price for a 40% margin; a £30 eBay sale at 12.9% keeps 42.10%, not 55.00%; and a business taking £120,000 keeps 14.18% after its costs and 19% Corporation Tax. Run your own figures through it, then check the tax they attract in the capital allowances calculator and the cost of living calculator on this site — and the christmas budget calculator if the margin is funding a December. This calculator is part of the free tools on chronologicalagecalculator.pro.
How do you calculate profit margin?
Profit margin = (selling price − cost) ÷ selling price × 100. Buy something for £40 and sell it for £100: the profit is £60, and £60 ÷ £100 = 60%. Margin is always a share of the selling price — never a share of the cost, which is markup. Work margins out on the ex-VAT price, after stripping out any VAT in the selling price.
What is the difference between profit margin and markup?
Margin is profit as a share of the selling price; markup is profit as a share of the cost. On a £40 cost sold for £100, the profit is £60, the margin is 60% (£60 ÷ £100) and the markup is 150% (£60 ÷ £40). The markup is always the bigger number. A margin can never pass 100%, while a markup can be anything — so a “150% profit margin” is really a 150% markup, which is a 60% margin.
What is a good profit margin for a small business in the UK?
There is no single good figure — it depends on what you sell and what it costs to run the business. The gross margin must cover operating expenses (rent, wages, marketing) and still leave a net margin after tax. Compare your margins with your own past periods rather than a stranger’s benchmark: run last year’s figures through the period mode of this calculator and see whether each margin is rising or falling.
How does VAT affect profit margin?
VAT collected is not revenue, so margins are worked out on the ex-VAT price. The UK standard VAT rate is 20%: a £50 price including VAT is £41.67 of revenue and £8.33 of VAT. On a £25 cost that gives a 40.00% margin — worked out on the £50 as if it were all revenue, it would look like 50%. If you are not VAT-registered there is nothing to strip out, but you also cannot reclaim the VAT on what you buy.
How do I work out the price for a 40% profit margin?
Price = cost ÷ (1 − target margin). A £12 cost at a 40% target margin needs a price of £12 ÷ 0.60 = £20.00, giving £8.00 of profit. If a marketplace takes a fee, the fee joins the margin in the denominator: with a 12.9% fee and £1.50 of other costs, the same £12 cost at 40% needs a £28.66 price. Use the “price for a target margin” mode of this calculator and it does the division for you.
What is the difference between gross, operating and net profit margin?
Gross margin is (revenue − cost of goods sold) ÷ revenue; operating margin subtracts operating expenses as well; net margin is the profit after interest and tax ÷ revenue. On £120,000 of revenue with £72,000 of cost of goods sold, £27,000 of operating expenses and 19% Corporation Tax, the gross margin is 40.00%, the operating margin 17.50% and the net margin 14.18%. Gross margin shows whether the product makes money; net margin shows what the business actually keeps.