What is inventory forecasting, and how do small manufacturers do demand forecasting?
Inventory forecasting estimates each item's demand for the coming weeks and turns it into a purchasing or production decision, and a manufacturer with a few hundred to a few thousand items can move from spreadsheets to a forecasting model that runs every week. Demand forecasting for small manufacturers starts with the decision, not the method: will the forecast drive purchase orders, the production plan or safety stock?
The decision sets the horizon. If a supplier delivers in four weeks and you order every Monday, what matters is total demand over the next five weeks. In production planning you usually forecast finished goods and derive material needs from the bill of materials. The typical starting point is an ERP such as Logo, Mikro or Netsis plus many spreadsheets; the typical result is that some items run out while others tie up cash.
What can a forecasting model solve, and what can it not?
A model forecasts recurring demand every week with the same rule and more consistently than manual work, but it cannot know about events that never appeared in the history, such as a large customer's one-off project or a new product's first months.
Some items should not be forecast statistically. Make-to-order products have no regular demand to forecast. If most demand comes from a handful of large customers, the best forecast is to ask them; their plan or a framework agreement becomes an input. Nor does the model place orders by itself: it suggests, and the planner decides.
What data is needed, and what goes wrong with it in a small company?
You need customer orders, stock movements, open purchase orders and actual supplier lead times per item, and the real work is making that data show true demand rather than sales. The usual problems:
- Sales are not demand: In a stock-out week sales show zero but demand was not zero; unflagged, the model learns "no demand" and cuts stock further.
- Order date versus ship date: Demand arises when the order arrives; a forecast built on shipments mistakes past delays for demand.
- Returns: Keep them separate; netting them off sales understates demand.
- One-off project orders: If not set aside, the forecast expects them to repeat.
- Promotions and price changes: Without dates, their effect cannot be explained.
- New, discontinued and renamed items: Without a table mapping old item codes to new ones, a product's history disappears.
A practical rule for history: if you expect seasonality, ask for at least two full seasons, because one year cannot separate the seasonal effect from that year's unusual events.
Why should items be segmented before anything else?
Because no single method suits every item: a standard product sold weekly and a spare part ordered three times a year need different methods and stock rules. The first split is by value. MIT's lecture notes on inventory management under probabilistic demand describe ABC analysis: the few A items need the most management attention, while control of the many C items should be as simple as possible.
The second split is by demand pattern. Syntetos, Boylan and Croston's paper on the categorisation of demand patterns bases it on two measures: the average interval between demands and the squared coefficient of variation of demand sizes. A case study on forecasting sporadic products at a pharmaceutical wholesaler uses cut-offs of 1.32 for the average interval and 0.7 for the coefficient of variation to sort items into smooth, intermittent, erratic and lumpy, and shows that aggregating demand into longer periods reduces sporadicity.
| Segment | Typical item | Starting method | Stock rule |
|---|---|---|---|
| Smooth, A and B class | Standard product sold continuously | Exponential smoothing, seasonal where needed; compared with seasonal naive | Reorder point and safety stock, weekly review |
| Smooth, C class | Low-cost consumable | Moving average | Simple min-max rule |
| Erratic | Frequent orders in very uneven quantities | Exponential smoothing once large orders are separated; machine learning if price and promotions matter | Higher safety stock; large orders confirmed with the customer |
| Intermittent | Spare part, slow mover | Croston-type methods, monthly aggregation | Small stock based on the distribution of lead-time demand |
| Lumpy | Rare, large orders | Information from the customer instead of a statistical forecast | Make to order, or limited stock set by the planner |
| Make to order, a few large customers | Customer-specific product | The customer's plan, framework agreement | Material needs from the bill of materials |
| New or discontinued item | New model, product being phased out | History of a similar item, or the planner's estimate | Frequent review, or no further reorders |
Which forecasting method fits which items?
Set up a simple baseline first, then keep only the methods that beat it. The baseline is a seasonal naive forecast, which repeats the same week of last year, or a moving average of recent weeks. The section on simple forecasting methods in Hyndman and Athanasopoulos's textbook says any new method should be compared with these, and a method that cannot beat them is not worth considering.
Exponential smoothing produces weighted averages of past observations, with weights that decay exponentially as observations age; the Holt and Holt-Winters extensions add trend and seasonality. For intermittent demand, Croston's method splits demand into the size of non-zero demands and the interval between them. The Croston documentation in Nixtla's StatsForecast explains that each part is smoothed separately, that the method gives only the average demand per period, and that variants such as SBA and TSB address its bias.
AI in stock planning usually means machine learning models. If drivers such as price, promotions and the holiday calendar are recorded and known when the forecast is made, a tree-based model can learn many items together; without them it will struggle to beat well-tuned exponential smoothing. How to measure which method wins, per item and segment, is covered in our article on measuring demand forecast error.
How does a forecast become an order quantity?
The reorder point is expected demand over the lead time plus safety stock, and an order is suggested when the inventory position (on hand, plus on order, minus quantities committed to customers) falls to it. The University of Iowa's lecture notes on the reorder point define safety stock as a safety factor times the standard deviation of lead-time demand, compute that deviation from both demand and lead-time variability, and note that a longer lead time with no variability may need less safety stock than a shorter, erratic one.
The service level is a business choice, not a software setting. Cycle service level is the share of replenishment cycles without a stock-out; fill rate is the share of demand met from stock. They can differ a lot, so sales and finance should choose the target together. Use the standard deviation of forecast error from the backtest, not raw demand variation; if you order weekly, protect the lead time plus one week. Minimum order quantities and batch sizes then round the suggestion up.
Hypothetical example: safety stock and reorder point calculation
The following example is hypothetical; the numbers only illustrate the method. A pump parts manufacturer plans a gasket kit bought from a supplier. The inputs:
- Average weekly demand: 40 units (stock-out weeks corrected)
- Standard deviation of weekly forecast error: 12 units (from the backtest)
- Supplier lead time: 4 weeks on average, standard deviation 1 week (from the last 20 purchase orders)
- Review period: 1 week, so the protection period is 4 + 1 = 5 weeks
- Target cycle service level: 95%, safety factor 1.65
- Supplier's minimum order quantity: 120 units
- Expected demand over the protection period: 40 × 5 = 200 units.
- Demand uncertainty term: 5 × 12² = 720.
- Lead-time uncertainty term: 40² × 1² = 1,600.
- Standard deviation: √(720 + 1,600) = √2,320 ≈ 48.2 units.
- Safety stock: 1.65 × 48.2 ≈ 79.5, so 80 units.
- Reorder point: 200 + 80 = 280 units.
Ignoring lead-time variability would give √720 ≈ 26.8 and a safety stock of about 44 units, and late deliveries would empty the shelf. A 98% service level (safety factor about 2.05) lifts safety stock to 2.05 × 48.2 ≈ 99 units, 19 more. This Monday the inventory position is 150 on hand + 100 on order = 250 units, below 280. The shortfall is 30, but the minimum order quantity makes the suggestion 120; the extra 90 units are about two weeks of demand.
For an acceptance measure, suppose a 26-week backtest on 60 items in the family gives the model a total absolute error of 3,100 units against 3,800 for the seasonal naive forecast: 3,100 / 3,800 ≈ 0.82, about 18% less error. If the ratio is 0.75 for smooth items but 1.04 for intermittent ones, the simple method stays for the intermittent items.
How does it connect to the ERP and the spreadsheets?
The most robust set-up computes the forecast nightly from ERP data and presents the result as a suggested order list the planner can edit. Data arrives as a nightly export, a read-only database view or an API, depending on your installation; at first nothing is written back. Each line shows inventory position, reorder point, suggested quantity and the reason. New items, data gaps and unusual spikes go to a separate "review" list.
The planner can change any suggestion, and every change is logged with its reason. The section on judgmental adjustments by Hyndman and Athanasopoulos notes that practitioners adjust far more often than they should, and that requiring adjustments to be documented and justified makes unnecessary ones harder. Once trusted, suggestions can be written to the ERP as draft purchase orders. When spreadsheets stop carrying the work is the subject of our article on moving from Excel to custom software.
How should a pilot run, and how do you judge it?
Start with one product family, backtest on the last seasons, then run the model in shadow mode beside the current method for several weeks: the current method still places the orders, while the model's suggestions are recorded and compared as demand arrives. Report per segment:
- Forecast error relative to the seasonal naive baseline: below 1 means the model earns its place.
- Stock-out days: days on which each item had zero stock.
- Average stock value: the cash tied up.
- Planner override rate: the share of suggestion lines changed, and whether the changes reduced error.
Set targets from today's measured baseline and from what stock-outs and excess stock cost your business, not from a vendor brochure.
What drives the cost, and what should a quote itemise?
Cost depends less on the model than on the number of items and warehouses, the state of the data and the direction of the integration. The job grows with a messy history, several warehouses or plants, writing into the ERP rather than only reading, extra drivers such as a promotion calendar, bill-of-materials calculations and the number of users. A good quote itemises data access and cleaning, segmentation and backtesting, the forecasting and suggestion software, ERP integration, the shadow pilot, training, and monitoring with regular retraining.
Why do these projects fail?
Usually because of data, process and ownership rather than the model:
- Sales are treated as demand, and stock-out weeks are never corrected.
- One method is applied to every item, and intermittent items are forecast as if smooth.
- The forecast improves, but safety stock stays in old spreadsheet formulas.
- Lead time comes from a fixed ERP value instead of actual deliveries.
- Planners are left out of the design, and suggestions are quietly ignored.
- The model goes live without a baseline comparison.
Where should you start?
Pick the product family with the most stock-outs or the most cash tied up, and pull two years of its order, stock and delivery data. Hatson Tech builds forecasting and order suggestion systems of this kind as part of its big data and data engineering service, and the first meeting and discovery assessment are free.