End-to-End Profit Analysis
SKU-level contribution margin on Shopify: CM1, CM2 and CM3 with worked examples
Seamline Editorial · Finance content team · Updated
TL;DR
One margin number cannot answer three different questions. CM1 tells you whether the product itself works, CM2 tells you whether the order works, and CM3 tells you whether the customer acquisition behind it works. Compute all three per SKU on Shopify, then rank the catalog at each tier: a SKU that wins at CM1 can be near the bottom at CM3. Two fully worked, clearly labeled sample SKUs show where the ranking flips. Educational content only; not accounting or tax advice.
Why one margin number is not enough
Contribution margin is revenue minus the variable costs of generating that revenue. That definition is standard. What is not standard is which variable costs a store includes, and that choice changes the answer completely.
Ask three people for “the margin” on a SKU and you may get three defensible numbers. The merchandiser subtracts product cost. The operations lead also subtracts shipping and payment fees. The growth lead subtracts ad spend as well. Nobody is necessarily wrong; they are answering different questions with one label.
A ladder solves this. Instead of arguing over which definition wins, keep all three tiers and state which decision each one supports. CM1 is a product question. CM2 is an order question. CM3 is an acquisition question. Once the tiers are fixed, the same SKU can be judged at the level where the cost actually sits.
The tiers below are the working framework used on seamlinecfo.com, not a GAAP designation and not a universal industry standard. Other teams may number them differently. What matters is that the definitions are written down, applied in the same order to every SKU, and never silently swapped mid-analysis. If you only need the short definitions, see the CM1/CM2/CM3 glossary.
Compare only within one tier
Never compare a CM1 from one report with a CM3 from another. A ranking is only meaningful when every SKU was calculated on the same tier.
The three tiers, and the decision each one answers
Each tier removes one layer of variable cost. The order is fixed: you cannot jump to CM3 by skipping CM2, because a cost that belongs to the order would be mixed with a cost that belongs to the campaign.
| Tier | Formula | Costs removed | Question it answers | Owner |
|---|---|---|---|---|
| CM1 | Net revenue − product cost | COGS, plus discounts and refunds already reflected in net revenue | Does the product itself carry a margin? | Merchandising |
| CM2 | CM1 − order costs | Payment fees, outbound freight and fulfillment, packaging, returns allowance | Does a single order leave margin after it is delivered? | Operations |
| CM3 | CM2 − attributable acquisition | Ad spend and other marketing cost matched to the order | Did the customer acquisition pay for itself? | Growth |
A boundary that matters
Overhead is not in any of the three tiers. Rent, salaries and software are period costs; they belong below CM3, not inside a SKU. Putting them into CM3 makes the number depend on how many orders you happened to have that month.
Two SKUs, fully worked, with the ranking flip
Both SKUs below are Sample data. The amounts are invented to make the arithmetic checkable by hand; they are not benchmarks, not real orders and not a quote for any fee. What matters here is where the ranking changes.
Follow the ranking from one tier to the next. At CM1, SKU B wins by $16 per unit: it carries a higher product margin. At CM2 the gap nearly disappears, because B costs far more to ship and return. At CM3 the ranking flips: SKU A leaves $17.10 per unit while B leaves $12.40. The product that looked better on a merchandising report is the weaker one once acquisition is counted.
This is why a single conversion-margin number misleads. If the team optimized on CM1 it would push B; if it optimized on CM3 it would push A. Both choices are rational under their own definition, and only one of them improves the money left after all variable costs.
The percentage column tells a related story. B falls from 48.3% to 10.3% across the ladder; A falls from 60.0% to 24.4%. The absolute dollars and the ratio should both be reported. A SKU can have a healthy ratio on a tiny base and still fail to cover the fixed costs that keep the business running.
| Line | SKU A | SKU B | Source of the line |
|---|---|---|---|
| List price | $80.00 | $120.00 | Sample data |
| Discount | −$10.00 | $0.00 | Sample data |
| Net revenue | $70.00 | $120.00 | Sample data |
| Product cost | −$28.00 | −$62.00 | Sample data |
| CM1 | $42.00 (60.0%) | $58.00 (48.3%) | Sample data |
| Payment fee | −$2.10 | −$3.60 | Sample data |
| Outbound freight | −$8.00 | −$18.00 | Sample data |
| Returns allowance | −$2.80 | −$6.00 | Sample data |
| CM2 | $29.10 (41.6%) | $30.40 (25.3%) | Sample data |
| Attributed ad spend | −$12.00 | −$18.00 | Sample data |
| CM3 | $17.10 (24.4%) | $12.40 (10.3%) | Sample data |
What the flip means in practice
A SKU that wins at CM1 but loses at CM3 is not a bad product. It is a product whose acquisition or fulfillment is too expensive. The fix is in a different department — which is precisely why the tiers exist.
Building the per-SKU report from real Shopify data
Start from paid orders, not from the product catalog. A SKU with no orders has no margin to measure, and a SKU that sells only on discount needs the discount reflected before anything else. Net revenue per SKU is the starting line for every tier.
Attach product cost from the SKU cost profile. If a selling SKU has no active cost record, it will be counted at zero and rise to the top of the ranking on a number that cannot survive one question. Treat a missing cost as a data exception, not as a cheap product.
Add the order costs at CM2 using the documents that hold them: payment fees from the gateway balance transaction, freight from the carrier invoice rather than the amount charged to the customer, and a returns allowance based on observed return behavior by SKU. Do not substitute an average percentage for a cost you can attach to the order.
Add acquisition at CM3 only where the spend can actually be matched to the order. Ad platforms attribute on their own window; spend that cannot be tied to an order should be shown as a separate unallocated line, not spread evenly across SKUs. Spreading it is how every product ends up looking equally, and falsely, profitable.
Finally, show original currency, USD and CNY side by side for a cross-border store. A SKU that looks healthy in the settlement currency can look different in the reporting currency once the day’s rate is applied. The three views are one margin expressed in three currencies.
For the cost side of the report, the hidden Shopify fees checklist names the document that holds each charge. On the detection side, the profit-leaks pillar turns these tiers into standing rules.
- Start from paid order lines, not from the catalog.
- A missing cost profile is a data exception, never a zero-cost SKU.
- Freight comes from the carrier invoice; ad spend comes from a matched campaign, not an even split.
How to use the ladder without over-reacting
Use CM1 to decide assortment and pricing. If the product does not carry a margin before order costs, no amount of operational excellence will rescue it. Use CM2 to negotiate fulfillment and payment costs, and to find SKUs whose shipping profile does not match their price. Use CM3 to set campaign floors: a SKU with low CM3 cannot support a high target ROAS, whatever the channel dashboard says.
Do not use CM3 to judge a brand-new SKU before it has enough attributed orders. Early ad spend is lumpy; a few unmatched campaigns can push CM3 negative on a product that later settles at a healthy number. Show the sample size alongside the margin, and wait for a stable window before making a structural decision.
And do not treat the tiers as a ladder you climb once. Re-run all three whenever product cost, freight rates, fee structure or attribution changes. A ranking that was correct in January can be wrong in March without any single number looking dramatic.
Frequently asked questions
What is the difference between CM1, CM2 and CM3?
They are three tiers of contribution margin. CM1 subtracts product cost from net revenue. CM2 also subtracts order costs such as payment fees, freight and a returns allowance. CM3 additionally subtracts ad spend that can be attributed to the order. Each tier answers a different question: product, order and acquisition.
Is contribution margin the same as gross margin?
No. Gross margin usually stops at cost of goods sold. Contribution margin continues through the variable costs that move with an order — payment fees, shipping, fulfillment, returns and, at CM3, attributable marketing. Ecommerce decisions need the wider figure because those costs are real and controllable.
Which tier should I use to rank SKUs?
Use all three, in order. CM1 tells you whether the product works, CM2 tells you whether the order works, and CM3 tells you whether acquisition paid for itself. A SKU that ranks first at CM1 can rank last at CM3; looking at only one tier hides that flip.
Should overhead be included in CM3?
No. Rent, salaries and software are period costs, not per-order variable costs. Including them in CM3 makes the margin depend on order volume and turns a product metric into a distorted P&L line. Keep overhead below CM3.
How do I match ad spend to a SKU for CM3?
Pull spend by campaign, attach the orders that campaign actually drove, and split multi-SKU orders by a stated rule such as revenue share. Spend you cannot tie to an order belongs in a separate unallocated line. An even split across SKUs would hide the gap behind margins that look reasonable and are not.
Do the three currency views change the margin?
They change the number you see, not the underlying economics. A cross-border SKU may be priced in one currency, pay fees in another and be reported in a third. Show original currency, USD and CNY side by side so the operational figure and the reporting figure are both visible, and state which rate was used.
See all three tiers on the same SKU
The demo shows how Seamline attaches product cost, order fees, freight and attributable ad spend to each SKU so the ranking can be checked at every tier.
Sources and basis
- Investopedia, Contribution Margin: revenue minus variable costs; contribution margin ratio = (revenue − variable costs) ÷ revenue (general definition; checked 2026-11-22)
- Seamline, Profit leaks: published CM1/CM2/CM3 ladder, original-currency / USD / CNY views and fourteen detection rules (tier framework; not a GAAP designation)
- Stripe, Balance transactions: amount (gross), fee, net = amount − fee and status define the fee line attached to a payment (checked 2026-11-21)
- Shopify Help Center, Reports and analytics: store-side metric cards and report availability; Shopify net sales is a store figure, not a posted margin (checked 2026-11-21)