Back to Newsroom

How to win in online grocery last mile

November 25, 2026
3 min read
Share this article

In the online grocery world, the efficiency benefit of warehouse automation that can fetch boxes of products and autonomously pick and pack bags is easy to visualise and understand. Last mile efficiency is a harder concept to imagine, but delivery to the customer is typically the most expensive part of the online grocery operation and the stakes of getting it right are high.

We spoke to Jake Milburn, VP Product - Logistics, about what it takes to win in online grocery.

Jake, what makes grocery last mile delivery so critical?

The biggest delivery companies in the world mostly move parcels. A courier can leave a box on the doorstep at any point in a 12-hour window, and if a shopper orders three items, they can arrive separately without impacting the customer experience. Grocery cannot work like that. The baskets are big, products are temperature controlled, items have to arrive together, and orders have to arrive on time.

This means that grocers can achieve fewer drops per route than typical ecommerce delivery and spend a greater percentage of sales on their last mile costs. Online grocery delivery typically accounts for 12-20% of sales but can often be much higher. 

With fuel prices and labour costs rising, as well as greater customer expectations for seamless delivery, online grocers have to be smart about how they squeeze as much efficiency as they can out of their delivery network.

What pitfall would you warn retailers to watch out for?

The trap that’s easy to fall into is offering the same last mile options to all customers, in all locations, all of the time. Retailers can now build complex networks with tailored propositions across the areas they serve - the delivery channels, lead times and level of availability they offer - with efficiency taken into account.

Let customers choose freely with no constraints and the retailer will face a messy demand profile that is very difficult to deliver efficiently. Alternatively, if the retailer designs the last mile proposition purely for efficiency, then it’s unlikely to offer the customers the convenience and flexibility they want. For example, click and collect looks like every grocery retailer’s dream on delivery cost, because there is no last mile cost incurred for the retailer. In some markets, like the USA and France, many shoppers choose it. But in many markets, customers do not see it as convenient and would shop with a competitor who offers delivery.

The challenge is to find the most effective balance between giving the customer more choice and flexibility, and ensuring your delivery operation is as efficient as possible.

What considerations would you advise a retailer to take into account when thinking about efficiency?

(1) Plan your network around your customer promise

When you have identified the delivery channels and lead times that support your customer experience strategy, plan your network for maximum efficiency.

For on-demand delivery (in under 60 minutes), or for collection, being close to the customer wins, which is why stores have an important role in fulfilment. But for scheduled delivery later that day or the next day, a small zone around a store doesn’t typically generate enough orders to combine efficiently onto vans. Pool orders into one larger zone served from a central fulfilment centre, and there are far more ways to group them on efficient routes. Retailers can build a strong network using both, sending each order to the model that serves it most cheaply.

(2) Steer customers towards efficient delivery time slots

There are many ways to do this, from the softest to the bluntest:

  • A nudge. “We already have a van coming to your road, so it would be greener to pick that one.”
  • Price. Make some slots cheaper than others, so customers can have their order whenever they want but pay a premium for less efficient times.
  • Availability. Some slots are not available to choose because it is too expensive to deliver at that time. Alternatively, retailers can offer one-hour slots in dense areas and longer windows (two to four hours) elsewhere, so they make the hardest on-time promise where it is cheapest to achieve.

How hard to push depends on what orders are already planned, what the order forecasting says is still to come, and what your growth and availability strategy looks like.

(3) Plan last mile and fulfilment together

Think of two production lines. One is the fulfilment centre, with fixed capacity you want to use 18 to 22 hours a day. The other is the vans and drivers, a fixed number leaving at set times. If everything is connected, the system knows which vans have space and whether there is time to pick the order, so the web shop can offer a slot you know you can reach on time, and only products you know are available.

That is far beyond what a person can work out, so at Ocado Group we built a last mile optimiser to create the delivery plans and re-optimise as customers edit baskets and new orders arrive - constantly switching orders between vans and repathing the delivery routes until the very last moment.

Use machine learning to predict orders and drive times

Efficient, connected planning is only possible with smart AI. The optimiser uses machine learning (ML) to predict order volumes in the lead-up to any given delivery day, so a retailer can adjust its operational plans while there is still time to change driver schedules and capacity plans.

It also uses machine learning to predict drive and drop times. Take a new customer, Mrs Smith. Before a driver has ever visited, the optimiser looks at how long her neighbours’ drops took, whether she lives in a fourth-floor flat, and what similar addresses have needed, then predicts whether the drop will take four minutes or six. Afterwards, location data from the driver app feeds back into the ML model, so predictions keep improving.

Keep your operations busy and distributed across the day and week 

Another key benefit of planning delivery and fulfilment together is that it keeps your warehouse operations busy at a steady rate. Orders are picked to meet van departure times. Bunched departures mean bunched picking, which forces you to size the site for the peak times. With integrated last mile and fulfilment, you can spread departures evenly across the day and the week, so the same site picks more orders at a lower cost per order.

The same discipline matters more as lead times shrink, because there is less time to pick an order and fit it onto a van.

Are these optimisation techniques possible for short lead time orders?

Yes, the coupling of optimisation software, slot offering and Ocado Smart Platform (OSP) fulfilment technology makes this possible. For shorter lead times, OSP fulfilment centres can pick orders in around five minutes and then dispatch them shortly afterwards. That lets us inject orders into next-day van routes at the last moment using a suite of software and operational upgrades called Swift Router, so a customer gets a short lead time but the retailer keeps the last mile cost at the same level as next-day orders.

For customers who want groceries in under 60 minutes, the retailer needs to be near them, so delivery from a store using a courier is often the most feasible option. The interesting gap is the middle: two to six hours. That can be very fast for the customer and still efficient if the order is the first drop on a van carrying 20+ other orders thanks to Swift Router.

If you were consulting a retailer, what would you advise them to do next?

(1) Decide what you are optimising for before you set up your last mile network. A retailer can lead on service, efficiency or flexibility, and the answer will differ by market and by customer. Zones, lead times and slots all follow from that choice.

(2) Make it easy to run with automation. The more routine planning is automated, the easier it is to react to a change in demand and capture the opportunity, and the more time planners spend on the high-value decisions that need manual intervention. The Ocado Smart Platform gives a retailer one planning engine that builds slots, routes and van pathing from live order and capacity data and ML-predicted drop and drive times.

(3) Look at how retailers are innovating. In Korea, customers order before bed and wake up to groceries in an insulated box on the doorstep. This removes slots entirely, because the retailer delivers to every address on a street or in a building through the early hours with no traffic. It won’t suit every market, but it shows what becomes possible when an end-to-end customer proposition and operational design are planned and optimised together.

This advice draws on Ocado’s 26 years of experience running online grocery operations. Today we work with retail partners around the world, and in FY25, OSP partners shipped 72 million orders. Every retailer faces a different market challenge, so we work in partnership, sharing what we have learned and adapting it to each one.

Related content

OSP Last Mile

Ocado Swift Router

Smarter vehicle routing for a scalable future