Clevizio
← All articles
Blog · Costs & performance

Cost-to-serve: calculating profitability per customer

Cost-to-serve measures what serving each customer really costs, from order to delivery, to reveal their net profitability. Method, worked example and decisions.

Mansour NiangBy Mansour Niang, CEO & co-founder, Clevizio·Published October 23, 2026·7 min read

Key takeaway

Cost-to-serve is the total cost of serving a customer or a channel: order processing, picking, transport, dedicated storage, returns and service. Subtracted from gross margin, it gives a margin after service that often ranks customers very differently from revenue. It is calculated by activities and cost drivers, over twelve months of history.

What is cost-to-serve?

Cost-to-serve, or the cost of service, is the full set of costs incurred to serve a given customer, from taking the order to collecting payment, including picking, transport, specific storage, returns and after-sales service. It differs from the product's cost of goods, which stops at the factory gate, and it explains why two customers buying the same items at the same price do not bring in the same thing. The first orders full pallets once a week, on a standard price, and pays in thirty days. The second places three small orders a week, often amended, requires special labeling, delivery by appointment and the return of packaging, and ties up customer service on every order. General accounting usually spreads these costs in proportion to revenue, which dilutes them and makes the two customers identical on paper. Cost-to-serve restores reality by assigning each cost to the customer who causes it. It also applies to sales channels, distributors, direct sales, e-commerce, export, which each have their own order profile and therefore their own cost of service. It matters as much to the sales director, who negotiates the terms, as to the supply chain director, who bears the cost of the exceptions without always being able to bill it back.

How to calculate cost-to-serve per customer?

You calculate cost-to-serve by breaking the service down into activities, pricing the unit cost of each one, then multiplying it by the number of times each customer triggers it. This is activity-based costing, the ABC method, applied to customer service and downstream logistics. The first step lists the activities: order entry and processing, picking, transport, dedicated storage, returns handling, invoicing and collection, sales visits and technical support. The second identifies the driver of each activity, the unit that makes its cost vary: the number of orders for customer service, the number of lines for picking, the number of deliveries and the distance for transport. The third divides the annual cost of each activity, drawn from cost accounting, by the annual volume of its driver, which gives, for example, a cost per order or per line picked. The fourth pulls from the ERP the number of drivers consumed by each customer and computes their cost of service. A spreadsheet is enough for the first calculations, using twelve months of history, and accuracy to the cent matters little, since the order of magnitude is enough to rank the customers. You only have to be careful not to count the same cost twice, transport already billed back to the customer for instance, and to exclude costs that depend on no customer, such as general management.

A worked example on four customers

Take four fictional customers of a manufacturer, with their gross margin and their cost of service calculated by the method above. The national distributor generates 2 million euros of revenue and 600,000 euros of gross margin, for a cost of service of 180,000 euros, since it orders in full pallets and has delivery split across two warehouses. The SME served directly brings in 400,000 euros of revenue and 140,000 euros of gross margin, a better rate than the distributor, but its frequent, fragmented orders cost 110,000 euros of service. The e-commerce channel, with 300,000 euros of revenue, shows the finest gross margin rate and goes into the red after service, because of parcel picking, returns and courier shipping. The export customer, 800,000 euros of revenue and 220,000 euros of gross margin, orders in full containers and costs little to serve. The ranking by revenue and the ranking by margin after service do not look alike, and that is the whole point of the exercise.

CustomerGross marginCost-to-serveMargin after service
National distributor600k€180k€420k€ (21% of revenue)
Direct SME140k€110k€30k€ (7.5% of revenue)
E-commerce120k€135k€-15k€ (-5% of revenue)
Export220k€90k€130k€ (16% of revenue)

Cost-to-serve by channel

Channel analysis asks the same question on a scale that interests general management: which channels finance the others. The distributor channel often shows a lower gross margin, eaten into by discounts and commercial terms, and a moderate cost of service, because volumes are consolidated and orders predictable. Direct sales to mid-sized accounts are paid for in customer service, fine picking and fragmented deliveries. E-commerce, when a manufacturer takes it on, turns a warehouse built for the pallet into a parcel-picking workshop, with a cost per line unrelated to that of the usual flows. Export depends heavily on Incoterms: sold ex works, it costs little; sold delivered at destination, it carries transport, customs documentation and often longer payment terms. Cost-to-serve by channel avoids two symmetrical mistakes. The first is to grow a channel believing it profitable because its gross margin is. The second is to sacrifice a low-gross-margin channel that turns out, once the costs of service are deducted, to be the one that brings in the most. The same reasoning applies to product families, when a slow-moving range imposes picking and inventory out of proportion with what it brings in.

What decisions to draw from cost-to-serve?

Cost-to-serve is there to help you decide, and its conclusions touch sales as much as logistics. The first set of decisions concerns commercial terms: minimum order, free shipping thresholds, surcharges on urgent or amended orders, a price differentiated by delivery frequency, rules that make those who consume the service pay for it. The second concerns the service offer itself, with distinct levels, standard, premium or bespoke, rather than maximum service granted to all. The third touches logistics organization: grouping a zone's deliveries on fixed days, steering small customers toward a distributor, automating order entry for the customers who saturate customer service. The fourth, more delicate, concerns the portfolio. A customer who stays negative after service is renegotiated, and failing that is let go, unless they carry a strategic value owned by management. The common mistake is to launch all these decisions at once after the first analysis. I recommend starting with the three or four customers furthest from the average, discussing the figures with them, and drawing the method from that before generalizing.

Optimizing cost-to-serve, disruptions included

Optimizing cost-to-serve often stumbles on a category of costs that the annual calculation smooths over: disruptions. An order amended the day before departure, an express delivery to cover a stockout, a pick redone because the customer changed their quantities, an extra shipment after an incomplete delivery, all cost a lot and are concentrated on a few customers. In activity-based costing, they dissolve into the average cost per order or per delivery, when they are precisely what distinguishes an easy customer from a costly one. They must therefore be isolated as separate activities, with their own driver, the number of emergencies or amendments, so they appear in the margin after service of the customer who triggers them. Part of these disruptions comes from the customer, another part from the manufacturer itself, when an internal stockout forces a split or an urgent shipment. No forecasting model will eliminate them. Each decision made to respond to them can, however, be costed at the moment it is made, in customer margin and in cost of service, rather than discovered in the year-end analysis, when nothing can be corrected any more. This running follow-up also makes it possible to reopen the conversation with the customer on dated facts, rather than on a general impression of a difficult customer.

In short

Cost-to-serve: calculating profitability per customer

  • What is cost-to-serve?
  • How to calculate cost-to-serve per customer?
  • A worked example on four customers
  • Cost-to-serve by channel
  • What decisions to draw from cost-to-serve?
  • Optimizing cost-to-serve, disruptions included

Clevizio

Clevizio is the decision layer that plugs into your existing tools: it detects disruptions, simulates your options and keeps a record of every trade-off. See how the decision copilot works.

Mansour Niang

Mansour Niang

CEO & co-founder, Clevizio

A question about your disruptions? Book 30 minutes with me to estimate what they really cost you, with no commitment.

Frequently asked questions

How do you calculate cost-to-serve?

You break the service down into activities priced per unit, then multiply them by the number of times each customer triggers them. This is the ABC method applied to logistics and customer service. Twelve months of ERP history and cost accounting are enough for a first calculation.

What is the difference between cost-to-serve and cost of goods?

Cost of goods stops at the manufacture of the product, cost-to-serve covers everything that follows up to the customer. Order, picking, transport, returns and service are included. Two customers buying the same product at the same price can therefore have very different profitability.

What do you do with a customer who is unprofitable after cost-to-serve?

You first revisit the service terms that cost money: minimum order, frequency, free shipping, surcharges on emergencies. If the margin after service stays negative, you renegotiate the price or steer the customer toward a distributor. Letting the customer go comes last, unless they carry an owned strategic value.

Finally put a number on what disruptions cost you every year.

Let's start by estimating what your disruptions really cost you. It's free, it takes 30 minutes, and you leave with a figure nobody in your company knows today.