Gross Margin Calculator
Gross margin from revenue and cost of goods sold
Use figures that exclude VAT. Direct costs only in the second box.
Fill in the fields above and the answer appears here.
What does gross margin actually measure?
Gross margin tells you whether the thing you sell makes money before the business around it gets paid for. Revenue minus the direct cost of what went out of the door, as a percentage of revenue. Nothing else comes into it.
That narrow definition is deliberate. Rent, salaries and software cost the same next month whether you sell one unit or a thousand, so leaving them out isolates how the product itself performs. A bakery running 68% on bread knows the loaf works. Whether the shop works is a separate question, and our operating margin calculator answers it.
Two businesses with identical turnover can be twenty points apart on this number, and the gap nearly always comes from buying rather than selling. Gross margin is a buying metric wearing pricing clothes.
What belongs in cost of goods sold?
Anything that would not exist if the sale had not happened. For most UK traders that means the purchase price of the stock, net of settlement discounts you actually take, plus carriage inwards with any duty and clearance fees on imports. Direct labour counts too, where the work is paid per item rather than per hour. So does packaging that goes out with the product, which sounds trivial until you price a £4 item and find the box and the mailer eat 30p of it.
Payment processing is a borderline case. A 1.5% card fee behaves like a direct cost because it scales with every single sale, and folding it in gives you a truer margin even if your accountant reports it below the line. Include it if you want to. Just be consistent, because a margin that jumps whenever the classification changes is telling you nothing at all.
Out: rent, insurance, your own salary, marketing, the accountant's bill. Those live further down. Our gross profit and net profit comparison shows where each cost lands on a real set of accounts.
What gross margin is normal in the UK?
Ranges rather than targets. Where you sit inside a band tells you more than the band does.
| Sector | Usual gross margin | What moves it |
|---|---|---|
| Grocery and convenience | 18% to 26% | Wastage and promotional funding |
| General retail | 30% to 50% | Markdown depth at end of season |
| Hospitality, wet sales | 65% to 75% | Pour accuracy and duty changes |
| Hospitality, food | 60% to 70% | Ingredient inflation and portion control |
| Wholesale and distribution | 12% to 25% | Volume rebates and carriage |
| Manufacturing | 20% to 35% | Material cost and machine utilisation |
| Professional services | 45% to 65% | Chargeable hours against paid hours |
| Software and digital | 70% to 85% | Hosting and third party licences |
More context, including how these interact with net margin, is in what is a good profit margin.
How do you move gross margin without raising prices?
Buy better, first. A 3% improvement on cost lifts a 35% margin to about 37%. Consolidating orders to reach a rebate tier, or moving from annual to quarterly price reviews, usually finds that much without anyone touching a shelf edge.
After that, look at mix. Selling more of what already carries a high margin lifts the blended figure while every individual price stays exactly where it was. It is also why the same range produces two different margins in two branches of the same chain, and why the branch manager who keeps pushing the low-margin bestseller is not helping as much as the sales figures suggest.
Then there is leakage. Wastage, breakage, unclaimed supplier credits, free delivery nobody costed. All of it lands inside cost of sales and almost none of it appears as a line anyone reviews at month end.
Last, check the arithmetic itself. Adding a target percentage to cost, instead of dividing by one minus the target, understates every price on the range. Run a sample through the margin calculator on the homepage and compare it against your live prices. If the two percentages keep getting mixed up in your buying meetings, margin vs markup is the page to send round.
Gross margin questions
What is the gross margin formula?
Is gross margin the same as gross profit?
Should delivery costs go in cost of goods sold?
Why did my gross margin fall while sales grew?
Does gross margin include VAT?
Keep reading
- Margin Calculator UKEleven calculators on one page
- GP calculatorThe same figure in pounds
- Profit margin calculatorCost and price to margin
- Operating margin calculatorAfter running costs
- Gross profit vs net profitWhere each sits on the accounts
- What is a good profit marginUK ranges by sector
- How to calculate profit marginThe method step by step
- Margin to markup chartConversion both ways
- Markup calculatorCost plus a percentage
- Net profit margin calculatorAfter every cost
- VAT and profit marginStrip the tax out first