Forecasting demand well means fewer stock-outs, less money tied up in inventory and better staffing plans. It is also an area where complex machine learning is often tried before the basics are in place, with disappointing results.
Get the data right first
You need clean sales history at the right level, such as product by location by week, ideally covering two years or more to capture seasonality. Record promotions, price changes, stock-outs and holidays, because they explain many spikes and dips. Stock-outs matter most: sales are not the same as demand when the shelf was empty.
Begin with baselines
- A naive forecast: the same period last year, or the recent average
- Simple statistical methods such as moving averages and exponential smoothing
- Seasonal models that capture weekly and yearly patterns
Measure each method’s error on past data. Any advanced model has to beat these baselines to be worth its complexity.
Then add sophistication
Machine learning can add value when many factors drive demand, such as weather, promotions, festivals and regional events, and when there are many products to forecast. Even then, planners should be able to see and adjust forecasts, and their adjustments should be measured too.
Our engineers and consultants write about what they see in real projects. Have a question about your own systems?






