Sphere Partners

First

Mile & Last-Mile Cost Analytics

Overview

A mid-sized e-commerce retailer with operations in several urban and suburban regions was facing unpredictable delivery costs. While order volumes were growing steadily, the company lacked visibility into where inefficiencies were concentrated in its first-mile (warehouse to hub) and last-mile (hub to customer) operations.

Deliveries relied on a mixed fleet of third-party couriers, company-owned vans, and small EVs/e-bikes in urban centers. But the absence of clear cost breakdowns meant leadership couldn’t decide how to balance investments across these modes. Partnering with Sphere, the retailer deployed a cost analytics platform that mapped real cost drivers, compared delivery mode performance, and simulated scenarios for future network design.

Challenges

Despite steady growth in order volumes, the retailer struggled to pinpoint where delivery costs were escalating. The mix of couriers, vans, EVs, and e-bikes created complexity without transparency, leaving leadership unable to decide where to invest or cut back. Operational bottlenecks in the first mile, fluctuating courier fees, and uncertainty around EV and e-bike economics compounded the issue.

The company had no reliable breakdown of how much costs came from couriers, vans, or EVs. Decisions on fleet expansion were based on estimates, not facts.

Manual loading and inconsistent dispatch schedules created idle time for vans and couriers, inflating first-mile costs.

Per-order courier fees varied significantly by zone, making costs unpredictable — especially in suburban areas with low drop density.

Although EVs and e-bikes reduced emissions and worked well in cities, leadership lacked a financial model to justify scaling them versus sticking with vans.

Our Solution

Sphere built a First-Mile & Last-Mile Cost Analytics Engine that gave the retailer transparency into true delivery costs and a roadmap for optimizing its fleet mix.

End-to-End Data Integration The first step was unifying all relevant operational data into a single platform. This included courier invoices by zone, van mileage and fuel logs, EV charging costs, e-bike usage, and warehouse handling times. By consolidating everything into one source of truth, the company gained full visibility into cost per order across first- and last-mile operations.

Cost Driver Mapping Analytics then revealed how costs behaved for each delivery mode. Couriers were highly variable, especially in suburbs with lower order density. Vans carried higher fixed costs but performed best on bulk suburban routes. EVs proved stable on a per-mile basis and worked well in mid-range city deliveries. E-bikes had the lowest cost per package in dense urban areas but were inefficient beyond short-range delivery. This mapping provided leadership with its first evidence-based comparison.

Scenario-Based Simulations The platform ran simulations to test different fleet strategies under real-world conditions. Scenarios included a courier-heavy model, a van-heavy suburban network, an EV/e-bike urban model, and a mixed allocation balancing all modes. Each was stress-tested against demand spikes, fuel price volatility, labor shortages, and seasonal delivery patterns, showing the cost trade-offs of each approach.

First-Mile Optimization Insights The analysis also uncovered inefficiencies in the first-mile. Roughly 15–20% of excess costs stemmed from vans and couriers waiting idle due to delayed loading. Recommendations included staggered dispatch windows, dynamic warehouse-to-hub handoffs, and tracking loading times as a KPI. These changes alone promised immediate savings without altering the delivery network.

Per-Order Cost Forecasting With advanced forecasting models, the system achieved 95% accuracy in predicting per-order delivery costs. Finance teams could now model budgets and customer pricing strategies with confidence, avoiding surprises from fluctuating courier fees or fuel costs.

ROI Forecasting & Roadmap Finally, Sphere’s engine projected the return on investment for different delivery strategies. It showed clear breakeven points for scaling EV fleets, pinpointed where e-bikes outperformed couriers in city centers, and confirmed that vans remained the most cost-efficient option for suburban clusters. Leadership now had a phased roadmap for future fleet investments based on hard data.

Key Achievements

Identified efficiency gains by reallocating urban deliveries to EVs/e-bikes and reserving vans for suburban routes.

Provided per-order cost predictions that stabilized financial planning.

Pinpointed idle time in dispatch and loading, cutting unnecessary costs.

Created clear ROI projections for EV expansion versus courier contracts, enabling data-driven budgeting.

Result

Sphere’s cost analytics engine gave the retailer end-to-end visibility into its logistics costs. By breaking down the economics of couriers, vans, EVs, and e-bikes, the company gained the clarity it needed to reduce waste, stabilize delivery expenses, and make smart investment decisions. With predictive models and scenario testing, leadership could confidently design a cost-efficient network aligned with both financial goals and sustainability targets.

Organizations around the world trust us

ideel
JFrog
Clearcover
91 Seconds
PHC
NextCapital
DigitalOcean
Enova
bp
Groupon
CreditNinja
Navy Pier
DoorDash
Gett
Experify
ideel
JFrog
Clearcover
91 Seconds
PHC
NextCapital
DigitalOcean
Enova
bp
Groupon
CreditNinja
Navy Pier
DoorDash
Gett
Experify

Hear from

our clients
Lee Ebreo

Lee Ebreo

VP of Engineering at Credit Ninja

These things would not have been achievable if we did not build our own in-house system and if we did not partner with Sphere to help us achieve our goals.

Selah Ben-Haim

Selah Ben-Haim

VP of Engineering at Prominence Advisors

Our experience with Sphere and their team has been and continues to be fantastic. We keep throwing new projects at them, and they keep knocking them out of the park (including the rescue of a project that was previously bungled by another vendor).

Ben Crawford

Ben Crawford

Senior Product Manager at Enova Financial

I would expect to be delighted. It's been a really positive experience, working with Sphere, and I would expect you to have the same.

Mark Friedgan

Mark Friedgan

CEO at CreditNinja

Sphere consistently prioritizes the needs of their clients, demonstrating both agility and teamwork. As an offshore team, they have been an integral part of our organization and we plan to continue growing with them.

René Pfitzner

René Pfitzner

Co-Founder at Experify

Sphere provided excellent full-stack development manpower to augment our team and help push our product forward. They are easy to work with, tech-savvy and proactive.

Bruce Burdick

Bruce Burdick

Chief Information Officer at Integra Credit

We've been working with Sphere and its excellent consultants since our founding. I've found that they are true partners in the success of our business.

Jemal Swoboda

Jemal Swoboda

CEO at Dabble

The resources and developers that Sphere Software provides are skilled and have the required technical expertise, but more importantly, they have helped us build a culture of excellence within our team.

Arthur Tretyak

Arthur Tretyak

Founder and CEO at IntegraCredit

With Sphere, we were able to migrate in half the time it would take to train an additional FTE… and for a fraction of the cost. Our experience with Sphere has been exceptional.

Lee Ebreo

Lee Ebreo

VP of Engineering at Credit Ninja

These things would not have been achievable if we did not build our own in-house system and if we did not partner with Sphere to help us achieve our goals.

Selah Ben-Haim

Selah Ben-Haim

VP of Engineering at Prominence Advisors

Our experience with Sphere and their team has been and continues to be fantastic. We keep throwing new projects at them, and they keep knocking them out of the park (including the rescue of a project that was previously bungled by another vendor).

We'd love to hear from you!

Please provide your contact details, and our team will get back to you promptly.