How to calculate gross margin, and why per-item matters most
- Aug 18
- 3 min read
Updated: 2 days ago
Introduction
Gross margin is the share of each sale left after the direct costs of delivering it. It is the number that determines what you can afford to spend acquiring customers, and it is the input most marketing decisions quietly depend on.
It is also confused with markup often enough to cause real pricing errors.
1. How to calculate gross margin
Gross margin = (revenue − cost of goods sold) ÷ revenueSell something for $50 that cost you $30 to deliver, and your gross margin is $20 ÷ $50 = 40%.
Cost of goods sold means the costs directly attributable to that sale: materials, the ingredients in the portion actually served, payment processing, delivery, and the labour directly involved in producing it.
It does not include rent, salaries for people not producing the thing, software, or marketing. Those are overheads and belong below the gross line.
2. Margin and markup are different numbers
This confusion is common and expensive.
Markup is calculated on cost. Margin is calculated on price.
An item costing $30 sold at $50 carries a 67% markup and a 40% margin. Both describe the same transaction. If you set prices believing a 50% markup gives you a 50% margin, you will be persistently under-priced — a 50% markup is a 33% margin.
When someone quotes a percentage, establish which one they mean.
3. Calculate it per item, not just business-wide
The business-wide figure is useful for accounts and nearly useless for decisions.
Almost every business discovers on doing this that a small number of items produce most of the profit, and that at least one popular item earns close to nothing. Neither fact is visible in an overall average.
Per-item margin is what lets you decide which things to promote, which to reprice, which to bundle and which to drop. It is tedious to produce once and cheap to maintain afterwards.
4. Use real costs, not intended ones
The most common source of error is costing the recipe rather than the portion, or the intended process rather than the actual one.
Weigh what is actually served. Include the waste. Include the extra step someone added months ago. Include payment processing fees, which are small per transaction and material across a year.
A margin analysis built on optimistic costs produces confident and wrong conclusions, and it is worse than no analysis because it gets acted upon.
5. Why marketing depends on this number
Gross margin sets your acquisition ceiling. A customer producing $200 of revenue at 20% margin gives you $40 to work with; at 50% margin, $100.
Every meaningful marketing calculation — customer lifetime value, break-even return on ad spend, maximum cost per customer — runs on margin rather than revenue. Businesses that plan on revenue routinely overspend and cannot work out why growth is not producing profit.
6. Recalculate when costs move
Margins erode quietly. Supplier prices rise, portions creep, processing fees change, and nothing announces it.
Set a quarterly review: recost your main items, recalculate the margins, and check nothing has drifted below where it should be. An afternoon's work, and it catches erosion long before it appears in annual accounts.
7. Watch contribution as well as percentage
A high margin percentage on something that rarely sells contributes little. A moderate percentage on something that sells constantly may contribute most of your profit.
Multiply margin per unit by units sold to get contribution. Rank items by that, and you will usually find the ranking differs from the margin percentage ranking — which is the list that should guide what you promote.
Conclusion
Calculate gross margin as profit divided by price, keep it distinct from markup, and produce it per item using real costs rather than intended ones.
Use it to set your acquisition ceiling, recalculate quarterly as costs move, and rank items by total contribution rather than by percentage alone. Most marketing decisions depend on this number, which is why getting it wrong is expensive in ways that are hard to trace.
Related reading
Marketing payback period: how long until a customer pays you back
Margin per hour: the number that reprices a service business
SaaS customer acquisition cost: payback period beats the raw number
The difference between a funnel and a pipeline, and why it matters
The difference between marketing products and services and why it matters to you
.png)



Comments