Contribution margin by channel: a worked example
Contribution margin by channel tells you how much money each marketing channel leaves behind after the costs it causes. You take the revenue a channel brings in, then subtract refunds, product cost, shipping, payment fees and the money spent on that channel. What remains is what the channel contributes towards fixed costs and profit.
The calculation is simple. The hard part is joining the data, because revenue sits in the shop platform, refunds in the payment provider, product cost in a spreadsheet and ad spend in each ad platform.
What is contribution margin by channel?
Contribution margin is revenue minus variable costs, meaning the costs that rise and fall with each order. Measured by channel, it also subtracts the marketing spend of that channel. The result shows which channels pay for the business and which ones only grow the revenue line.
Gross margin stops at product cost. Contribution margin goes further and counts everything an extra order costs you. Some teams split it into levels, with a first level before marketing and a later level after it. In this article, contribution margin by channel always means the figure after the channel's own marketing spend.
Fixed costs stay out of the sum. Rent, salaries and software you would pay for anyway do not change when one channel sells more, so they do not belong to any single channel.
How do you calculate it, step by step?
Start from the revenue each channel brings, then remove costs in a fixed order. The order matters less than consistency: use the same definitions for every channel and every month, or the comparison breaks.
- Take gross revenue per channel, using one attribution rule for all channels.
- Subtract refunds linked to those orders to get net revenue.
- Subtract product cost for the items sold.
- Subtract shipping and payment fees.
- Subtract the channel's marketing spend.
What you get after step 5 is the contribution margin of that channel. Divide it by net revenue to get it as a percentage.
A worked example with three channels
Take an illustrative shop that sells through paid social, paid search and email in one month. All figures are invented for the example. To keep the arithmetic easy, assume product cost is 40% of net revenue and shipping plus payment fees are 10% of net revenue for every channel.
| Line (euros) | Paid social | Paid search | Total | |
|---|---|---|---|---|
| Gross revenue | 40,000 | 30,000 | 10,000 | 80,000 |
| Refunds | 4,000 | 1,500 | 500 | 6,000 |
| Net revenue | 36,000 | 28,500 | 9,500 | 74,000 |
| Product cost (40%) | 14,400 | 11,400 | 3,800 | 29,600 |
| Shipping and fees (10%) | 3,600 | 2,850 | 950 | 7,400 |
| Marketing spend | 15,000 | 6,000 | 500 | 21,500 |
| Contribution margin | 3,000 | 8,250 | 4,250 | 15,500 |
| Margin as % of net revenue | 8.3% | 28.9% | 44.7% | 20.9% |
Check paid social line by line: 36,000 minus 14,400 minus 3,600 minus 15,000 equals 3,000. Paid search gives 28,500 minus 11,400 minus 2,850 minus 6,000, which is 8,250. Email gives 9,500 minus 3,800 minus 950 minus 500, which is 4,250.
Paid social brings half of the gross revenue (40,000 of 80,000). It leaves under a fifth of the contribution margin (3,000 of 15,500). Its refund rate is also the highest, at 10% of gross revenue against 5% for the other two channels.
The ad platform would show a different picture. Its return on ad spend (ROAS), which is attributed revenue divided by ad spend, would read 2.67 for paid social (40,000 divided by 15,000). That looks acceptable on a dashboard. The table shows that most of that revenue goes back out as refunds, product cost and ad spend.
Why the numbers differ from the ad platform
Ad platforms see clicks, conversions and the revenue they attribute to themselves. They do not see refunds, product cost, shipping or payment fees. So any figure they report sits above contribution margin and can rank channels in a different order.
Attribution adds a second gap. Each platform tends to credit itself for a sale, so the sum of platform-reported revenue can be higher than what the shop actually took. Using the shop's own orders as the base, with one attribution rule, keeps the total honest.
What to do with the result
The table is a starting point for one decision, such as moving budget, raising a price or changing a refund policy for one channel. A low margin percentage on paid social could come from the audience, the products it sells or its refund rate, and each cause needs a different fix.
Averages can mislead here. The last 1,000 euros spent on a channel may earn much less than the first 1,000, so test changes in steps and recalculate each month. This is the kind of work the Margin Loop sets up: one join of revenue, costs, refunds and channels, and one number to track over time.
Two checks keep the figure useful. Recalculate it on the same definitions every month, and match the month of each refund to the month of the original order when you can, so a busy month does not look worse a month later.
Questions
- What is the difference between gross margin and contribution margin?
- Gross margin subtracts only the cost of the goods sold from revenue. Contribution margin also subtracts the other costs that rise with each order, such as shipping, payment fees and, when measured by channel, the marketing spend of that channel.
- Which costs should go into contribution margin by channel?
- Include every cost that grows with orders from that channel. That usually means refunds, product cost, shipping, payment fees and the channel's ad or tool spend. Fixed costs such as rent and salaries stay out.
- Can a channel with a high ROAS have a low contribution margin?
- Yes. ROAS divides revenue by ad spend and ignores refunds, product cost and shipping. A channel that sells low-margin products or has many returns can show a good ROAS and still leave little money once those costs are taken off.