Contribution margin is what remains from a product's revenue after all variable costs: product cost, fees, shipping, returns and ads. Fixed costs are paid from the sum of all contributions, and what is left after them is profit. A product with negative contribution loses money on every sale, however well it sells.
Revenue shows what sells. Contribution margin shows which products keep the business alive. In online stores the gap between the two can be huge, because so many costs come with every single order.
The contribution margin formula
Variable costs grow with sales. Fixed costs are the ones you pay even in a month with no orders.
| Variable costs (inside contribution) | Fixed costs (paid from contribution) |
|---|---|
| Product cost | Salaries |
| Payment or marketplace fees | Rent, warehouse |
| Shipping and packaging | Software subscriptions |
| Returns | Accounting |
| Ads attributed to the product | Branding, content |
How to calculate each variable cost is covered in the guide to profit per product.
Contribution, gross margin and profit: the differences
- Gross margin only subtracts product cost. It is useful for pricing (see markup vs margin) but ignores everything else.
- Contribution subtracts all variable costs. It is the right number for comparing products.
- Profit only exists at business level, once the sum of contributions has covered fixed costs.
Example: three products, one month
| Product | Orders | Contribution per order | Total contribution |
|---|---|---|---|
| A, bestseller with ads | 120 | €5.00 | €600 |
| B, mostly organic sales | 300 | €11.00 | €3,300 |
| C, many returns | 80 | −€4.00 | −€320 |
| Total contribution | €3,580 | ||
| Fixed costs | −€3,000 | ||
| Profit | €580 |
Product C cuts the month's profit by €320. Without it, profit would be €900. Product A, the visible bestseller, brings 5.5 times less contribution than B.
What to decide with contribution margin
- Which products to fix or drop. A product with negative contribution has three options: a higher price, lower costs (supplier, shipping, returns) or removal. First check whether it brings in customers who buy other products too.
- Where your ad budget goes. Products with a high contribution before ads have a lower break-even ROAS, so they can be pushed harder.
- Which discounts you can afford. A discount reduces contribution by its full value excluding VAT. If it is larger than the contribution, the product goes negative.
- How many orders you need. Fixed costs divided by average contribution per order gives the monthly order count where profit starts. In the example: 3,000 ÷ 7.16 ≈ 419 orders.
Why it has to be tracked over time
A product's contribution changes when purchase cost, fees, carrier rates, return rate or cost per click change. A good product in March can lose money in November. A spreadsheet updated monthly catches that late. A calculation that refreshes after every order catches it the same week.
Contribution differs by sales channel
The same product can have very different contributions in your own store and on a marketplace. On a marketplace you pay a commission but often no ads. In your own store there is no commission, but you pay for traffic. Calculate contribution for each channel separately, then decide where the product is worth pushing.
Frequently asked questions
What is the difference between contribution margin and gross margin?
Gross margin only subtracts product cost. Contribution margin subtracts every variable cost: fees, shipping, packaging, returns and ads.
Do ads count as variable costs?
Yes, ads that can be attributed to a product or an order. Brand campaigns that do not target a specific product are better treated as a fixed marketing cost.
Can I make a profit if one product has negative contribution?
Yes, if other products cover the loss and the fixed costs. That product still lowers your profit with every order.
What is a good contribution margin?
One that, multiplied by your sales volume, covers fixed costs and leaves a profit. The threshold depends on your fixed costs and order volume, so no single figure applies to every store.
See which products actually carry your business
DGD Systems calculates the contribution of every product after fees, shipping, returns and ads. Works with Shopify, WooCommerce or a CSV export. Try it free for 14 days, no card needed. Then €49 per month.
Start the 14-day free trialThe figures in the examples are illustrative, chosen so the calculation is easy to follow. For accounting and tax treatment, check with your accountant.