Ask anyone in logistics where the investment goes and most will say the same thing: automation, warehouse robots, AI tools predicting what people will order next month. That’s the first mile, the stretch between factory and warehouse and it gets most of the funding and the attention.

The part that actually eats into a delivery company’s profit sits at the other end of the journey. It’s the last few miles, where a driver has to find your street, your gate code and your actual door. Capgemini’s research puts that final stretch at 41 to 53 percent of total shipping cost, depending on the market. The shortest leg of the trip ends up deciding whether the whole delivery made money or lost it.

Why the Last Few Miles Cost So Much

The basic problem is simple. Driving one truck to one warehouse is cheap. Driving a van to a hundred separate houses, each with its own parking headache and its own customer checking the window, is not. Roughly half of last mile spending goes straight to paying drivers and fuel takes another big bite, according to a recent cost breakdown from GoBolt. Traffic makes everything worse.

Couriers on motorbikes in Jakarta routinely cover 60 to 80 kilometers a day, weaving through some of the densest traffic in the world just to finish their routes. Then there’s a cost nobody plans for properly: missed deliveries. Across Latin America, 15 to 25 percent of deliveries fail on the first attempt and each failed try costs another $3 to $10 to fix. None of these numbers look huge by themselves. Multiply them across a few million packages a year and the easy part of a delivery stops looking easy.

Delivery Consolidation Is Where the Savings Show Up

Density usually makes things harder but it can also be the fix if a company handles it well. In India, gridlock in Delhi, Mumbai and Bengaluru adds as much as 22 percent to the cost of a single delivery stop. The obvious fix, one more companies are finally acting on, is consolidation. Instead of sending five half empty vans down the same street, send one full one.

Parcel lockers do this in the simplest way possible. Europe has already built more than 155,000 of them and last mile delivery still eats up 60 to 70 percent of total delivery cost in many of these markets. That gap says a lot about how much room consolidation still has to grow. Micro fulfillment centers work on the same idea from the retailer’s side, small local warehouses tucked inside neighborhoods so one short hop can cover dozens of nearby orders instead of one long haul from the edge of town. That market is expected to cross $10 billion by 2026, which given the numbers above isn’t hard to explain.

Dynamic Dispatching Replaces the Morning Guess

Anyone who has built a route plan the night before knows how fast it falls apart. By nine in the morning, a road is closed, three new orders have come in and a driver has called in sick. Locking in one plan for the whole day doesn’t hold up anymore, so companies are shifting to software that keeps adjusting routes as the day unfolds.

In Latin America, Descartes recently bought a Chile based dispatch platform called Drivin to bring this kind of live re routing to more cities across the region. DHL has been running something similar for a while now. Its tool, called Greenplan, constantly reshuffles routes in real time and has shaved roughly 20 percent off delivery costs. Gartner expects the shift to go mainstream soon, forecasting that more than 80 percent of large companies will run AI dispatching by 2026, with early adopters already hitting on time rates near 98 percent.

Urban Logistics Solutions Are Reshaping City Streets

Look at any major city right now and the delivery landscape looks nothing like it did five years ago. Europe’s urban logistics market has grown into a $520 billion industry, built around smaller hubs placed closer to shoppers instead of one giant warehouse at the edge of town.

Globally, the entire last mile delivery sector is now valued at roughly $201 billion and technologies that felt experimental a couple of years ago, like delivery drones and small sidewalk robots, are moving out of pilot programs and into actual neighborhoods. No single piece of this fixes the problem on its own. Smaller vehicles without smarter routing just create more traffic. Local hubs without consolidation just move the inefficiency closer to the customer. The cities getting this right are stacking all three together instead of betting on one fix.

So Where Does That Leave Us

First mile automation photographs well. A robot arm sorting boxes makes a great slide in an investor deck. Last mile fixes are harder to sell because they’re unglamorous: better routes, shared trips, a locker on the corner instead of a missed delivery notice taped to your door. But unglamorous is exactly where the money is. Whether it’s a courier in Jakarta, a dispatcher in Santiago or a warehouse manager in Mumbai, the same pattern keeps showing up. Get the routing and consolidation right and costs drop fast. One recent estimate puts the savings from smarter route planning alone at close to 20 percent. The last mile was never going to be cheap. It just doesn’t have to be the place where all the profit quietly leaks out.