A retailer that sells through its own web store, through a marketplace and through an app usually knows its gross margin by channel, and the three numbers usually look alike, because the product and the price list are the same. What differs is everything that happens after the click: the commission, the payment fee, the pick, the parcel, the contact centre and the return. That is the cost to serve of an order, and it is the part of the P&L that the channel report does not show. This article walks through how I build it per order and per channel, what a return and the last mile do to it, and why the whale curve for this kind of business is more useful drawn by channel than by customer. The figures in the worked example are invented to show the arithmetic; nothing here is a benchmark.

At a glance

How do you calculate cost to serve per order by sales channel in e-commerce?

Take every order and attach to it the costs that the order caused and the product did not: platform commission and payment fees (which scale with the basket), order handling, picking and packing (which scale with the lines), outbound delivery (which depends on the promise and the parcel), customer contacts (a rate per order times a cost per contact) and returns (the channel’s return rate times the full cost of a return, inbound leg included). Subtract from the order’s gross margin. Then rank orders within each channel by contribution and draw the curve: the channels with similar gross margins usually have very different break-even baskets, and the loss-making tail sits in different places in each one.

Why the channel report is right and still misleading

The gross margin by channel is a legitimate number, and for a business with one fulfilment model and one return rate it is close to the whole story. I would not throw it away. It becomes misleading when the channels stop sharing the same downstream: a marketplace takes a commission on the basket, the own store pays for its own traffic, the app produces smaller and more frequent orders, and the return rates differ by channel because the customers and the categories differ. At that point two channels with a 40 percent gross margin can be a channel that contributes 18 points and a channel that contributes 7, and a report that shows 40 and 40 is steering the marketing budget with the wrong compass.

The fix is not a new report. It is to cost the order, not the sale, and to let the order carry the channel it came from.

The blocks of an order’s cost

I split the cost to serve of an order into blocks that behave differently, because the behaviour is what makes the channels diverge.

Fees that scale with the basket. Marketplace commission, typically a percentage of the sale, and payment processing, usually a small percentage plus a fixed amount per transaction. On the marketplace the payment fee is normally inside the commission; on the own store and the app it is paid separately. These are the easiest to attach because the platform statement already lists them per order.

Handling that scales with the lines. Order entry, allocation and invoicing cost roughly the same per order whatever the basket. Picking and packing cost a base per parcel plus an increment per line, and the increment matters: an app basket of 1.2 lines and a store basket of 2.5 lines do not take the same time in the warehouse. This is a time equation, and the time equation reference covers how to write one.

Outbound delivery, which depends on the promise. The last mile is usually the largest block, and it is set by the parcel profile and by what was promised at checkout. Next-day costs more than three-day; a locker costs less than a doorstep. If the app promises faster delivery than the store, the app’s orders carry a higher delivery cost even for the same product.

Customer contacts. A contact rate per order times a cost per contact. Marketplace orders tend, in the models I have built, to generate more “where is my order” contacts than orders from the own store, partly because the marketplace customer has no prior relationship with the retailer. I hold this as an observation, not a law; measure your own rate from the ticketing system.

Returns. The block that most channel reports leave out entirely. A returned order has already paid every block above, and then pays the inbound parcel, the inspection, the restock or the write-down, and the refund’s payment fee. Multiply the full cost of a return by the channel’s return rate and you have an expected return cost per order for that channel. The building of that number is in what a return really costs, per SKU.

Acquisition, which I keep on a separate line. The own store pays for traffic; the marketplace’s commission is partly the price of its traffic; the app’s push notification costs almost nothing per order. Leaving marketing out flatters the own store, and folding it in without saying so hides the decision. I show it as its own line so the reader can take it out again.

A worked example, with invented numbers

Three channels, one product range, a 40 percent gross margin everywhere. Every figure below is made up to illustrate the shape; the per-line and per-contact rates are the kind of thing a first model estimates and a second model measures.

Per order (EUR, illustrative) Own store Marketplace App
Average basket, net of VAT 62.00 48.00 35.00
Gross margin at 40% 24.80 19.20 14.00
Platform commission (12% of basket) 0.00 5.76 0.00
Payment processing (1.5% + 0.25) 1.18 0.00 0.78
Order handling 0.60 0.60 0.60
Pick and pack (base + per line) 2.70 2.30 2.20
Outbound delivery (promise-dependent) 4.90 4.90 5.60
Customer contacts (rate x 6.00 per contact) 0.48 0.90 0.60
Expected return cost (rate x 7.80 per return) 0.62 1.09 0.86
Acquisition per order 3.00 0.00 0.50
Cost to serve 13.48 15.55 11.14
Contribution after cost to serve 11.32 3.65 2.86
Contribution as % of basket 18.3% 7.6% 8.2%

The contact rates behind the table are 8, 15 and 10 contacts per hundred orders; the return rates are 8, 14 and 11 percent; the cost of a return is 4.50 of inbound parcel, 3.00 of inspection and restock and 0.30 of refund fees. Change any of them and the table moves, which is the point: the table is a model, and a model is something you can argue with line by line. The gross margin report gave you nothing to argue with.

Two things in the table are worth a pause. The marketplace channel, which looks like the cheapest to run because it brings its own traffic, is the most expensive to serve per order once the commission and the higher return rate are on the same page. And the app, which everyone likes because the customers come back often, is close to the floor because its baskets are small and every order pays the fixed blocks in full.

The break-even basket, per channel

Once the blocks are separated into fixed-per-order and proportional-to-basket, each channel has a basket size below which an order loses money. With the numbers above, and treating returns as fixed for simplicity, the fixed cost per order is about 12.55 on the store, 9.79 on the marketplace and 10.61 on the app; the proportional part is 1.5 percent of the basket on the store and the app, and 12 percent on the marketplace. At a 40 percent gross margin the break-even basket comes out at roughly 33 on the store, 35 on the marketplace and 28 on the app.

Put that next to the average baskets and the picture is uncomfortable in a useful way. The store’s average of 62 is comfortably above its floor. The marketplace’s 48 is above 35, but with a return rate that varies by category, a fair share of its orders will not be. And the app’s average of 35 is only seven euros above its floor of 28, which means that something like a third to a half of app orders, the ones below the average, are being served at a loss. I say “something like” because that depends on the shape of the basket distribution, which the model will show and the average will not.

The whale curve, by channel rather than by customer

The whale curve is usually drawn by customer: rank customers from most to least profitable, plot the cumulative contribution, and watch it climb above 100 percent and fall back. In an e-commerce business the customer is often anonymous or too small to act on, and the decisions are taken per channel: the free-shipping threshold, the minimum order value, the categories listed on the marketplace, the return policy. So I draw the curve per channel, ranking that channel’s orders by contribution, and I draw the three curves on the same axes.

What comes out, in the businesses where I have done this, is that the three whales have different shapes. The store’s curve rises steadily and dips a little at the end, because its tail is the small orders that paid full acquisition cost. The marketplace’s curve rises fast and then falls hard, because its tail is the returned orders, and a returned marketplace order is the most expensive object in the whole dataset. The app’s curve is the flattest, with a long tail of small baskets that each lose a euro or two. Same products, same gross margin, three different problems, and the aggregate curve by customer would have blended them into one hump that no single manager owns.

What you decide with it

The channel curves turn into channel rules. The free-shipping threshold on the store and the app sits somewhere above the break-even basket, not below it; with the invented numbers above, a threshold at 30 on the app would be subsidising a loss on most of the orders it triggers. The minimum order value on the app, if there is one, follows the same logic. On the marketplace, the return cost per order by category tells you which categories to keep listing and which to pull or reprice, and it puts a number on the commission negotiation. And the contact rate per channel points at the one operational fix, usually shipment tracking pushed proactively, that reduces the cost of a whole channel at once.

None of these decisions needs the model to be precise to the cent. They need the order of magnitude per block and the ranking of the channels, which a first model built from the platform statements, the carrier invoices and one afternoon with the warehouse supervisor will give you. The cost-to-serve calculator is a fair place to test the shape before building the real thing.

Where the simple version is good enough, and where it stops being

If the channels share the same fulfilment, the same delivery promise and roughly the same return rate, a gross margin by channel with the commission subtracted is good enough for most decisions, and I would not build more. The model above earns its keep when at least one of those three is different across channels, when there is a marketplace with a return rate you have never measured, or when the app’s average basket is drifting down and nobody can say at what point that becomes a problem. In those cases the extra work is small and the decision it changes, usually the shipping threshold or the marketplace category list, is worth many times the cost of finding it.

The channel report tells you what you sold. The order tells you what it cost to sell it, and the whale curve by channel tells you where each channel is quietly giving the margin back.

Related reading: cost to serve, the method page, cost to serve in retail, why direct, distributor and e-commerce margins diverge, what an order, a line, an invoice and a complaint cost and the return you did not price.