Most founders I work with know their gross margin to the decimal. Almost none know their contribution margin, and that is the one that decides whether an ad is worth running or a product is worth keeping. Shopify does not show it. Neither does the ad platform. It sits between the tools, which is why nobody owns it.
The two numbers
Gross margin is what Shopify reports: the selling price minus the cost of goods you typed into the product. For a pair of trainers sold at £129 with a cost of £48, Shopify says 63%. It feels healthy.
Contribution margin is what is left after everything that happens because that order existed: freight from the factory, duty, the payment fee, the shipping label, the packaging, the returns you will get on that product, and the ad money it took to get the order. It is the number you can actually spend on growing the business or paying yourself.
Here is the same pair of trainers, worked through with numbers I see often. They are an example, not a client.
| Line | Per pair |
|---|---|
| Selling price | £129.00 |
| Cost of goods | £48.00 |
| Sea freight and duty, landed | £6.20 |
| Payment fee (about 2.9% plus 30p) | £4.04 |
| Shipping label and box | £5.80 |
| Returns, 9% of this product, cost of each return | £3.90 |
| Ad spend to get one order (ad cost ÷ orders) | £31.00 |
| Contribution margin | £30.06, or 23% |
Sixty-three percent became twenty-three. Nothing went wrong. That is just what it costs to sell a pair of trainers online. The gap between the two numbers is where most of the surprises in a growing store come from.
Where each line comes from
- Freight and duty. Take the last container's invoice, add the duty, and divide by the units in it. Do this per product, not per container, because a backpack and a sneaker take different space. Put the result in a column next to the cost of goods.
- Payment fees. Your payment provider's statement, divided by orders. Shopify Payments, Stripe and PayPal are all slightly different; take the blended number.
- Shipping. The carrier invoice, divided by shipments. If you offer free shipping over a threshold, the cost is still real; it just moved from the customer to you.
- Returns. Returns are the line most stores skip, and the one that most often turns a product from a winner into a loser. Count returns per product over 90 days. Multiply the rate by what a return costs you (return label, inspection, the units you cannot resell).
- Ad spend. Total ad spend for the month divided by the orders those ads brought in. The platforms will each claim more orders than you had; use what the bank received.
Why this matters for ads
The ad platforms optimise to a target you give them, usually a return on ad spend. If you set that target from gross margin, the platform will happily scale an ad that is losing you money on every order. In the example above, any ad costing more than £61 per order is destroying value, but a target built on gross margin would let it run up to about £81.
The practical rule: work out the break-even ad cost per order from contribution margin, not gross margin, and give the platform that number. Then check it again when freight or cotton prices move, because they did this year, and they moved the real cost of hundreds of products without anyone updating the ad targets.
A spreadsheet is fine to start
You do not need software for this. One sheet, one row per product, the seven lines above as columns, updated when a container lands and when the carrier invoice arrives. The stores that do this by hand are ahead of the ones with three dashboards that all show gross margin.
Where it breaks down is time. Freight changes, returns drift, a supplier quietly raises a price, and the sheet is three months old by the time it matters. That is the gap PixL was built to close: it keeps this calculation current from the invoices and orders as they arrive, and it tells you when a product's real margin has moved. But the sheet first. You will learn things about your store in an afternoon.
