Ecommerce logistics costs: how to calculate them and bring them down
What makes up ecommerce logistics costs, how to calculate cost per order with a worked example, and how to compare providers without surprises.
Ecommerce logistics costs aren't just what the courier charges you. They're the sum of everything that happens from the moment stock comes through the door until the order reaches the customer (and sometimes comes back): goods-in, storage, picking, packaging, transport, returns, and the hours your team spends firefighting. There's only one figure that actually helps you decide: total logistics cost per order.
For a shop sending small parcels within Spain, that figure usually sits, as a rough guide, somewhere between €5 and €9 per order including transport. Where you fall within that range depends on your volume, your box sizes, your destinations and, above all, how many costs you're leaving out of the calculation without realising it. Below you'll find the cost items, the formula, a worked example with figures, and how to compare providers without nasty surprises on the first invoice.
What makes up ecommerce logistics costs
Goods-in
Unloading, counting parcels, checking references against the delivery note, labelling anything that arrives without a barcode, and putting it away. It sounds minor, but a poorly checked delivery is behind many of the problems you spot weeks later: a size M logged as an L, an order that goes out incomplete, stock that the system says is there but isn't.
What makes goods-in more expensive: stock arriving loose rather than palletised, boxes mixing several references, products with no EAN, and suppliers who send deliveries with no advance notice.
Storage
Charged per pallet, per location, per cubic metre or per unit. No model is inherently better: per-pallet pricing gives you predictability if your stock arrives palletised and rotates steadily; per-location or per-volume pricing suits catalogues with lots of small references better. What is universal is that stock sitting idle costs money. If you've got two pallets of a collection that hasn't moved in six months, you're paying for them every month even if the rate looks low. If you want to dig into this model, we've explained how pallet storage for ecommerce works.
Picking and packing
Picking the products, checking them, putting them in a box or mailer, adding whatever's needed, sealing and labelling. This is where a large chunk of the variable cost sits. What drives it most: units per order, number of different references, fragility and personalisation. Packing a single t-shirt into a mailer costs nothing like packing six products with a gift box and a handwritten note.
Packaging
Always separate the materials (cardboard, filler, tape, labels) from the handling (the time it takes to put it together). And bear in mind that the box decides part of the transport price: an oversized box can mean you pay for volumetric weight instead of actual weight. On the flip side, cutting back on protection without a clear plan increases breakages and replacements, which end up costing a lot more than a bit of extra filler.
Transport
This is usually the biggest line item per order. It varies with destination, weight, dimensions and service type, and carries surcharges that never show up on the headline rate: fuel, the Balearics, the Canaries, Ceuta and Melilla, re-deliveries, address changes, second attempts and oversized parcels. The cheapest shipment isn't the most profitable one if it generates