
Before you decide to raise your ad budget, there’s one number that should always be in front of you, and most store owners don’t calculate it correctly: contribution margin. It tells you how much you actually keep from each order after all variable costs, and it decides whether scaling will grow your profit or your loss.
What is contribution margin, simply?
Contribution margin is what’s left from an order’s selling price after subtracting every cost that varies with each order: the product cost itself, shipping, payment-gateway fees, packaging, and ad cost if you choose to include it. This part “contributes” to covering your fixed costs (rent, salaries, tools) and then to profit. If contribution margin is negative, you lose on every order, and scaling grows the loss.
Contribution margin vs gross margin
Gross margin counts selling price minus product cost only, which makes it always more optimistic than reality. Contribution margin factors in every variable cost that eats each order — and the gap between them can be huge in e-commerce, because shipping, returns, and payment fees aren’t small items. Many stores celebrate a 40% gross margin while actually keeping only 10% after everything.
What eats contribution margin?
- Product cost (COGS): usually the biggest item, and it must be calculated precisely including any import or manufacturing costs.
- Shipping: especially if you offer free shipping — the cost comes out of your pocket.
- Returns: every returned order costs round-trip shipping and sometimes a damaged product.
- Payment and collection fees: a small percentage that adds up on every order.
- Packaging and commissions: easily forgotten items that still eat margin.
Why it’s your ad break-even line
When you know contribution margin per order, you can know the maximum customer acquisition cost (CAC) you can afford while still profiting. If pre-ad contribution margin is 120 per order, any acquisition cost above 120 means a loss on the first transaction. This number turns ad decisions from guessing into math: you know exactly when a campaign profits and when it bleeds, and you can set a “break-even MER” on solid ground.
A worked example
Imagine a product you sell for 500. Product cost 250, shipping 40, packaging 10, payment fees 15. Variable costs (excluding ads) = 315, and contribution margin = 185 (37%). If average customer acquisition cost is 120, your net contribution after ads = 65 per order. Good. But if the return rate is 20% and each return costs 60 in shipping, you must spread that cost across successful orders, so your effective margin drops further. This math is exactly the difference between a store that thinks it profits and one that knows it profits.
How to improve contribution margin
There’s more than one lever: negotiate lower product cost with suppliers, raise average order value to spread shipping over a larger value, reduce returns by improving confirmation and targeting, and review pricing if the market allows. Every small margin gain compounds on every order and widens the room you can safely scale into.
Questions you might have
Should I include ad cost in margin or not? Both are useful: “contribution margin before ads” tells you the maximum CAC you can afford, and “after ads” tells you your actual profit per order. Calculate both.
What contribution margin is healthy? There’s no single number — it varies by category and price, but the higher it is, the more acquisition cost you can absorb and the more safely you can scale. The key is to know your own number and track its trend.
Per product or for the whole store? Start at the product level to see what profits and what loses, then build a store-wide picture for big decisions.
The Madar view
At Madar, we refuse to talk about “scaling” before confirming contribution margin is healthy. Because ads amplify what exists — if the order profits, scaling grows profit; if it loses, scaling grows the loss faster. That’s why the first thing we look at in any consultation is unit economics, before any talk of budgets.
Common mistakes that make your margin math wrong
Most stores that think they profit while losing make one small calculation error that repeats every month. Here are the mistakes we see most when calculating contribution margin:
- Forgetting returns: many calculate margin on the successful order and forget that a share of orders return and cost shipping with no revenue. You must spread return costs across successful orders.
- Ignoring payment and collection fees: a small percentage per transaction, but across thousands of orders it becomes a meaningful, easily forgotten item.
- Incomplete product cost: counting the product price only, without import, customs, or storage costs, makes COGS lower than reality.
- Mixing fixed with variable: contribution margin counts variable costs only; adding rent and salaries distorts the picture.
- Calculating on a misleading average: if your products have very different margins, the average hides that a winner covers for a loser — calculate at the product level first.
The takeaway is that calculation accuracy isn’t an accounting luxury — it decides whether your scaling decision is based on real profit or an optimistic number. Spend time once a month honestly reviewing every variable cost item, and you’ll be surprised how much the picture changes.
Bottom line
Gross margin reassures you; contribution margin tells the truth about each order. Calculate it correctly, know your break-even line, and don’t scale before confirming every order contributes to your profit, not your loss. And if you want someone to build your store’s unit-economics model, that’s a core part of Madar’s free consultation.
Tags
Related articles
ROAS vs MER: Which Metric Should You Actually Trust?
ROAS measures the platform; MER measures the business. Learn the difference that decides whether your store is actually profitable.
nCAC: The True Cost of Acquiring a New Customer
Blended CAC lies because it mixes new and returning customers. Learn why nCAC is the number that reveals your real growth efficiency.
Cash on Delivery: The Real Profit Math After Returns
In COD stores, a confirmed order isn’t cash in the bank. Learn how to calculate real profit after collection and returns.
Ready to grow profitably?
Tell us about your store. If there's strong fit, we'll reach out to arrange a strategy call.