To see which products actually make money, rank them by contribution margin instead of revenue. Contribution margin is what a product leaves after every cost that comes with each sale: the goods themselves, getting them to the customer, the payment fee and the returns. A product near the top of your revenue report can sit near the bottom once those costs are counted.
This guide defines each cost, walks through a three-product example, and gives you a formula to use in a spreadsheet.
What is contribution margin?
Contribution margin is revenue minus variable costs, the costs that rise and fall with each order. What remains is the product's contribution toward fixed costs such as salaries, software and rent, and then toward profit.
It is the right measure for product decisions because those fixed costs do not change when you sell one more unit. Variable costs do.
Which costs should I subtract?
Subtract every cost that arrives with an order. For most online stores that means six lines.
| Cost | What it covers |
|---|---|
| Cost of goods (COGS) | What you paid the supplier for the unit |
| Landed cost | Freight, duty and handling to get the unit into your warehouse |
| Shipping | Delivery to the customer, including what you absorb on free-shipping offers |
| Packaging | Boxes, mailers, inserts and fill |
| Payment fee | The processor's percentage and fixed fee per order |
| Returns | Refunds, return shipping and stock that cannot be resold |
Marketing is variable too, but it is clearer to subtract it as a separate step, as shown below.
Why does a revenue ranking mislead?
Because revenue ignores how costly each sale is. A heavy, bulky product with a modest price can bring in plenty of revenue while shipping and returns consume most of it. A small, light product with a high price can bring in less revenue and far more contribution.
Revenue tells you what customers buy. Contribution tells you what that buying is worth to you.
A worked example: three products, one month
The figures below are illustrative. The payment fee uses 2.9% + $0.30 per order as an example rate, and each order contains one unit.
| Per unit | Product A | Product B | Product C |
|---|---|---|---|
| Price | $60.00 | $35.00 | $120.00 |
| COGS | −$18.00 | −$8.00 | −$42.00 |
| Landed cost | −$3.00 | −$1.00 | −$9.00 |
| Shipping | −$9.00 | −$4.00 | −$22.00 |
| Packaging | −$1.50 | −$0.80 | −$4.00 |
| Payment fee | −$2.04 | −$1.32 | −$3.78 |
| Returns | −$6.00 | −$1.40 | −$24.00 |
| Contribution per unit | $20.46 | $18.48 | $15.22 |
| Contribution margin | 34.1% | 52.8% | 12.7% |
Returns are the cost of all returns spread across units sold. Product C, a large item with a 20% return rate in this example, carries $24.00 of returns per unit sold.
Now add volume for the month:
| Monthly | Product A | Product B | Product C |
|---|---|---|---|
| Units sold | 500 | 600 | 400 |
| Revenue | $30,000 | $21,000 | $48,000 |
| Contribution | $10,230 | $11,088 | $6,088 |
By revenue, Product C is the best seller at $48,000. By contribution, it is the weakest at $6,088, and Product B, the smallest by revenue, contributes the most.
What happens when I add marketing?
Subtract the marketing spent on each product to see contribution after marketing. Suppose the month's ad spend was $3,000 for Product A, $2,400 for Product B and $7,200 for Product C.
| Monthly | Product A | Product B | Product C |
|---|---|---|---|
| Contribution before marketing | $10,230 | $11,088 | $6,088 |
| Marketing | −$3,000 | −$2,400 | −$7,200 |
| Contribution after marketing | $7,230 | $8,688 | −$1,112 |
Product C, the top seller by revenue, loses $1,112 a month once its advertising is counted. Each additional sale bought with more ad spend makes the loss larger, not smaller.
That does not automatically mean dropping it. It means asking a specific question: is the problem the price, the shipping cost, the return rate or the ad spend? The table shows which line to look at first.
What formula should I use in a spreadsheet?
Contribution per unit = price − COGS − landed cost − shipping − packaging − payment fee − returns per unit.
Contribution margin = contribution per unit ÷ price.
Contribution after marketing = contribution per unit × units sold − marketing spend.
Keep one row per product per month and one column per cost. Take shipping and payment fees from your carrier and processor statements, not from rate cards, because surcharges and refunds change the real figure.
What do I do about missing costs?
List them and keep those products out of the ranking until the costs are filled in. A product with no recorded cost of goods shows a contribution margin close to 100%, which puts it at the top of every report for the wrong reason.
A simple check column helps: flag any product where any cost is blank. Review the flagged list before trusting the ranking.
Which decisions does contribution margin help with?
It answers practical questions that revenue cannot:
- Which products to promote: spend goes further on products with high contribution per unit.
- Where to set free-shipping thresholds: shipping is often the largest variable cost after goods.
- Which bundles make sense: pairing a low-contribution product with a high one can lift the order.
- Which suppliers to renegotiate: a small change to COGS on a high-volume product moves the total most.
How Klar helps
Klar builds per-product profitability from your connected store, payment and advertising data, with product costs from a sheet your team already keeps. Each figure shows its formula, filters and the number of records behind it, and products with missing costs are listed rather than counted as zero. You can try it free for 14 days, no credit card needed.