How gross margin is calculated
Take revenue, subtract the cost of goods sold, and what remains is gross margin. It is normally expressed as a share of revenue so that products of different prices can be compared. Everything below that line — rent, salaries, software, marketing — is paid out of it.
What counts as cost of goods sold depends on the business, and getting the list right matters more than the arithmetic. A retailer counts materials or wholesale cost, inbound freight, packaging, payment gateway charges, delivery and the cost of returns. A service business counts the time of the people who actually deliver the work. A software business counts hosting, the parts of support that scale with users, and any licence paid per customer.
Gross margin is not net profit. Net profit arrives after overheads, marketing and tax, so a business can hold a healthy gross margin and still lose money overall. The two are often confused in conversation, usually to the flattering side.
Why gross margin matters
It is the pot advertising is paid from. Every acquisition target you set is really a statement about margin: what you can pay to win a customer is bounded by what is left after delivering their order, and a return on ad spend target is only a rearrangement of the same sum.
It also explains why comparing advertising costs between industries is pointless. A high-margin service and a low-margin retailer can sit in the same auction bidding on the same words, and the high-margin business can pay far more per click while remaining comfortably profitable. If a competitor seems to be outbidding you irrationally, the likeliest explanation is not a bigger budget but a better margin.
Common mistakes with gross margin
The first is quietly leaving costs out. Payment fees, delivery, packaging and returns are real and they land on every order, yet they are frequently excluded because they sit in a different part of the accounts.
The second is using one blended figure across a mixed product range, which hides the fact that the products you advertise hardest may be the thin ones. The third is forgetting to recalculate after discounting — a promotion cuts margin before it cuts anything else, so a campaign built around a discount is spending from a smaller pot than the planning assumed. The fourth is applying a margin from a supplier’s price list rather than from your own accounts.
How to act on it
Get the real figure from your accountant or your accounting software, broken down by product group or service line rather than as one company number. Recalculate it after discounts, delivery and returns, because those are exactly the conditions your campaigns run under.
Then use it to set targets rather than inheriting them from somewhere else. Work out what an order genuinely leaves behind, decide how much of that you are willing to spend on acquisition, and let that decide the bid and the budget. When margins differ across the range, split campaigns accordingly — advertising a thin product and a strong one under one target guarantees you overpay for one of them. The ROAS calculator turns your own margin into a break-even target if you want to check the numbers.
