What it means
Every business sells something that costs something to provide. For a retailer, that cost is the wholesale price of the goods plus freight.
For a manufacturer, it is materials, production labour and factory overhead. For a consultancy, it is the salaries of the people who deliver the work.
Gross profit margin measures the gap between selling price and that direct cost across the whole business. A 40% margin means that for every $100 of sales, $60 went on cost of goods sold and $40 was left to cover everything else and, with luck, produce a profit.
The margin varies enormously by industry, so it only makes sense in context. Supermarkets operate on 20% to 30% and make money through volume.
Software companies often exceed 80% because delivering one more copy costs almost nothing. Restaurants sit around 60% to 70% on food alone but have heavy labour and rent below the gross profit line.
Comparing a business with its own history and with direct competitors is far more useful than comparing it with a universal benchmark. Changes in the margin are what to watch.
A falling gross margin means prices are being cut, input costs are rising faster than prices, the sales mix is shifting towards lower-margin products, or waste and shrinkage are growing. A rising margin means the reverse.
Because the margin excludes overheads, it isolates these commercial factors from decisions about headcount and premises, which is why analysts treat it as a purer measure of the business model than net margin. Gross margin also sets the ceiling on everything else.
Overheads, interest and tax all have to fit inside it. A business with a 25% gross margin and overheads equal to 30% of sales cannot become profitable by growing; it must fix the margin or the overheads first.
In practice
Real-world examples.
Example
A coffee shop sells a latte for $4.50 that costs $1.10 in beans, milk and cup, a gross margin of 76% on that item; its overall margin is lower because food items carry thinner margins.
Example
A software company with $10 million of subscription revenue and $1.5 million of hosting and support costs has an 85% gross margin, leaving most of its revenue to fund sales, engineering and profit.
Example
A construction firm bidding fixed-price contracts tracks the gross margin on each job weekly, because a 3-point slip on a $5 million contract is $150,000 of lost profit.
Think of it
“Gross margin is like the markup on products before paying rent, salaries, and other overhead expenses.
Formula
Calculation
Gross Profit = Revenue minus Cost of Goods Sold (COGS)
Gross Profit Margin = (Gross Profit / Revenue) x 100%
Worked example. An online clothing retailer reports for the year:
- Revenue: $2,400,000
- Opening inventory: $300,000
- Purchases during the year: $1,350,000
- Freight inwards: $90,000
- Closing inventory: $340,000
COGS = $300,000 + $1,350,000 + $90,000 minus $340,000 = $1,400,000
Gross profit = $2,400,000 minus $1,400,000 = $1,000,000
Gross profit margin = $1,000,000 / $2,400,000 = 41.7%
Sensitivity: if the retailer had to discount prices by 5% to hold volume, revenue would fall to $2,280,000 with COGS unchanged, and the margin would fall to $880,000 / $2,280,000 = 38.6%. A 5% price cut cost 3.1 percentage points of margin and 12% of gross profit, which shows how much operating leverage sits in the price.Case study
Seen in the real world.
A regional bakery chain with 22 shops watched its gross margin drift from 68% to 61% over two years while sales grew 15%. Management assumed the growth was healthy and blamed flour and butter prices for the margin. A product-level analysis told a different story.
Ingredient inflation explained only two of the seven points. The rest came from a shift in sales mix towards a new range of filled sandwiches with a 45% margin, heavy end-of-day discounting that had become routine, and waste that had risen to 9% of production as shops over-baked to avoid empty shelves.
The chain repriced the sandwiches, limited discounting to the last hour of trading, and introduced production planning based on each shop's sales history. Within nine months gross margin recovered to 66% on flat sales, adding more profit than the previous two years of growth had delivered.
Watch out
Common mistakes.
- Confusing gross margin with markup. A product bought for $60 and sold for $100 has a 66.7% markup but a 40% gross margin.
- Leaving direct costs such as freight, packaging, payment processing or production labour out of COGS, which flatters the margin and hides problems.
- Managing to an overall margin while ignoring the mix. Growth in low-margin lines can drag the total down even when every product's margin is stable.
Questions
People also ask.
What is a good gross profit margin?
It depends entirely on the industry. Judge a business against its own trend and its closest competitors rather than a universal figure.
How is gross margin different from net margin?
Gross margin deducts only the direct cost of sales. Net margin also deducts overheads, interest and tax, and is what remains for the owners.
Can gross margin be negative?
Yes, if a business sells below its direct cost. That can be deliberate (a loss leader) or a sign of a failing model.
From the founder's library

Take it further with the book.
Build your financial confidence beyond this definition. Shihan's full-length guide, Accounting Fundamentals, takes the same plain-English approach and turns it into a complete, practical playbook for non-finance managers, business owners and students - with chapter-end quiz answers and presentation slides included.
25% off with code MMHQ25, applied at checkout. Priced in USD - checkout may show the equivalent in your local currency.
View the book and save 25%