Book a free call

Demand Forecasting for Logistics: How It Works

Demand forecasting for logistics predicts how much of each product will be needed, where, and when. Here is how it works and how to build a forecast you can plan on.

Hertiv engineering teamReviewed by a senior engineer
8 min read
Demand Forecasting for Logistics: How It Works
On this page

Short answer

Demand forecasting for logistics is the process of predicting future demand for each product, route and warehouse, so a team can order, store and move stock before it is needed. It turns past sales, seasons and live signals into a plan for stock levels, transport and staffing.

What is demand forecasting for logistics?

Demand forecasting for logistics is the practice of predicting how much of each product customers will want, in each place, over a coming period. The forecast drives purchase orders, warehouse space, truck capacity and staffing, so getting it wrong means either stockouts or stock sitting unsold.

It differs from a sales forecast because it is broken down by product, location and time. A national sales number does not tell a warehouse in one city how many pallets to expect next Tuesday, or which routes will be busy. A logistics forecast answers those questions at the level where the work happens.

The forecast is never a single number. Good teams work with a base forecast, a range around it, and a plan for what happens at each end of the range. That range matters because a forecast that is right on average can still be wrong on the one week that matters most.

The input is data the business already has: past orders, delivery records, promotions, seasons and supplier lead times. The output is a plan for stock and transport that the operations team can act on. A guide to AI demand forecasting software explains how tools turn those inputs into a forecast.

Why does forecasting matter in logistics?

Forecasting matters in logistics because stock and transport are bought before demand arrives. A warehouse that orders too little loses sales and pays for rush deliveries, while one that orders too much pays for storage and ties up cash in unsold goods.

Three costs follow from a bad forecast. Stockouts lose sales and damage trust with customers who needed the product on time. Overstock costs money in storage, handling and write-offs when goods expire or go out of fashion. Rush transport costs more per unit than planned transport, and it arrives late more often.

Lead times make the problem harder. If a supplier takes five weeks to deliver, the forecast must be right five weeks ahead, not five days ahead. That is why logistics forecasts are usually built for several horizons at once: a short forecast for this week's routes, and a longer one for orders and capacity.

Forecasting also shapes staffing. A warehouse that knows next month will be busy can hire and train in advance, while one that finds out late pays for overtime or misses its delivery promises. The forecast is the link between what customers will want and what the operation can deliver.

Which forecasting methods do logistics teams use?

Logistics teams use a mix of simple and advanced methods, and the right mix depends on how much data exists and how stable demand is. The table below compares the main methods on what they need and where each one works best.

MethodWhat it needsBest forMain limit
Moving averagePast salesStable, slow-moving linesSlow to react to change
Exponential smoothingPast sales, one weightLines with a steady trendMisses sudden shifts
Seasonal modelsTwo or more years of historySeasonal productsNeeds long history
Causal modelsPrice, promotions, eventsLines driven by known factorsNeeds clean cause data
Machine learningLarge, clean data setsMany lines, rich signalsHard to explain and maintain
Judgement and overridesTeam knowledgeNew products, one-off eventsBiased and hard to repeat

Most teams combine methods. A seasonal model gives the baseline, a causal model adjusts for promotions, and a planner overrides the result when a one-off event is coming. The combination is usually more accurate than any single method on its own.

New products are the hardest case, because there is no history to learn from. Teams usually forecast them from a similar product, then correct the forecast quickly once the first weeks of real sales arrive. That fast correction matters more than the first guess.

What data goes into a logistics forecast?

A logistics forecast is only as good as its data. The core inputs are past orders, stock levels, delivery times and returns, broken down by product, customer and location. Without that breakdown, the forecast cannot say where stock will be needed.

Past orders need cleaning before they are used. A week with a stockout shows low sales, but demand was higher than the sales record shows. A promotion week shows high sales that will not repeat. Planners adjust for both, or the forecast will repeat the same errors.

External signals add accuracy. Seasons, holidays, weather, price changes, competitor moves and marketing plans all shift demand, and a forecast that ignores them will miss the peaks and troughs. The most useful signals are the ones the team can actually collect and keep up to date.

Supplier data matters too. Lead times, minimum order quantities and supplier reliability shape how much safety stock the forecast must plan for. A forecast that assumes a five-day lead time will fail if the supplier usually takes nine. For a broader view of how data flows through the supply chain, see technology in supply chain management.

How do you build a forecast in five steps?

You build a logistics forecast by cleaning the data, choosing a method per product group, generating the forecast, checking it against reality, and updating it on a fixed schedule. The steps are simple; the discipline of repeating them is the hard part.

  1. Clean the history. Remove stockout weeks, one-off bulk orders and data errors, and note promotions and holidays so the model can learn from them.
  2. Group the products. Fast movers, slow movers, seasonal lines and new products need different methods, so forecast each group its own way.
  3. Generate the forecast. Run the chosen method for each group, for each horizon: this week, this month and the next quarter.
  4. Check accuracy. Compare the forecast with what actually happened, and track the error by product group so you know where it is worst.
  5. Update on a schedule. Refresh the forecast weekly or monthly, and let planners override it with reasons they write down, so the overrides can be checked later.

Accuracy should be measured in a way the operations team understands, such as the share of orders fulfilled on time or the number of stockouts per month. A forecast that looks accurate on paper but still causes stockouts is not doing its job.

Example: a regional distributor plans its stock

Example (hypothetical): a regional distributor supplies 400 shops from one warehouse. It sells one fast-moving line at an average of 200 units a day, with a supplier lead time of 5 days and a safety stock of 150 units to cover late deliveries.

The planner works out the reorder point. Average daily demand of 200 units times a lead time of 5 days gives 1,000 units that will sell while the next order is in transit. Adding the safety stock of 150 units gives a reorder point of 1,150 units: when stock falls to 1,150, the team orders more.

The forecast for next month expects demand to rise by 10% for a seasonal peak, to 220 units a day. The new reorder point becomes 220 times 5, which is 1,100, plus 150 safety stock, which is 1,250 units. The team also adds one extra truck run per week, because the same 10% rise applies to the other fast-moving lines.

After the month, the planner checks the result. Actual demand averaged 214 units a day, so the forecast was 6 units a day high, and the warehouse had 3 stockouts on slow lines it had not adjusted. The lesson is clear: the method worked for the fast line, and the slow lines need the same treatment next month.

What are the common mistakes?

The most common mistakes are forecasting from dirty data, using one method for every product, and never checking accuracy. Each one quietly makes the forecast worse over time.

  • Forecasting from raw sales. Stockout weeks look like low demand, so the forecast repeats the stockout.
  • One method for all products. A seasonal model fails on a new product, and a judgement call fails on a stable line with years of history.
  • No accuracy check. A forecast nobody measures will drift, and nobody will know until a peak week fails.
  • Ignoring lead times. A forecast that is right for next week is useless if the supplier needs five weeks.
  • Overriding without a record. Planner overrides help, but only if the reason is written down and checked later.

How to start improving your forecast

You start improving a logistics forecast by measuring what you already have, then fixing the biggest source of error first. Most teams do not need a new tool; they need cleaner data and a regular review.

  1. Measure accuracy now. Compare the last three months of forecasts with actual demand, by product group.
  2. Clean the worst data. Fix stockout weeks and one-off orders for the product groups with the largest errors.
  3. Split the methods. Give fast movers, seasonal lines and new products their own method instead of one method for all.
  4. Set a review rhythm. Review the forecast weekly, and let planners override it only with a written reason.
  5. Add one signal at a time. Add promotions or weather only after the baseline is accurate, so you can see what each signal adds.

If your team wants help turning its order history and supplier data into a forecast that the warehouse can plan on, a partner for AI for logistics and supply chain can build the first version and hand over the review routine with it.

Key takeaways

  • Demand forecasting predicts how much of each product is needed, where, and when
  • Forecast from clean demand data, not raw sales, or stockouts will repeat
  • Different product groups need different methods; one method for all fails
  • Reorder point equals daily demand times lead time, plus safety stock
  • Measure forecast accuracy every month and fix the worst product group first

Frequently asked questions

How far ahead should a logistics forecast look?

It should cover the longest supplier lead time plus a buffer. If your slowest supplier takes five weeks, the forecast must look at least five weeks ahead, with a shorter weekly forecast for routes and staffing.

What is safety stock?

Safety stock is extra stock held to cover late deliveries and demand spikes. It is set from the variation in demand and lead time, not from a guess, and it is reviewed whenever either of those changes.

Can a small warehouse use demand forecasting?

Yes. A small warehouse can start with a moving average on its top twenty lines and a simple reorder point. The method scales down well, and the benefit shows up quickly on the lines that stock out most.

How do promotions affect the forecast?

Promotions raise demand for a short period, so they should be recorded and removed from the baseline history, then added back as a separate adjustment. If they are left in the baseline, the forecast will expect the promotion to repeat.

What is the difference between demand forecasting and demand planning?

Forecasting predicts what customers will want. Planning decides what to do about it: how much to order, where to store it and how to move it. The forecast is the input; the plan is the decision.

How often should the forecast be updated?

Most teams update it weekly for short horizons and monthly for longer ones. The right rhythm is the one that keeps the forecast ahead of the longest lead time, so the team is never ordering on stale numbers.

Found this useful? Share it.
Hertiv engineering team

Written from projects we build for clients: software products in production. Every post is reviewed by a senior engineer before publishing and updated when practice changes.

About HertivHow we work

Planning stock and transport around a forecast that keeps changing?

A senior engineer replies within one business day. Or see our Predictive Analytics service.

Book a free call

Keep reading

All posts

Tell us what you want to build

A senior engineer reads every request and replies within one business day with questions, a rough range, or a call link.

  • NDA on request before any details
  • You own all code, models and IP
  • US, UK and EU time-zone overlap

Your email app should open with your message ready to send. If it does not, write to [email protected].

Prefer email? Write to [email protected]
Estimate costBook a call