Skip to content
Opt Dir

Retail ยท Demand Forecasting and Inventory Policy

How Much of Each Product Should I Order So I Neither Run Out Nor Pile Up?

Retail & E-commerce 4 min read
#demand forecasting #inventory policy #reorder point #safety stock #arima #holt-winters #stock management

A retailer or manufacturing SMB sets replenishment from past sales. Classic OR problem: time-series forecasting plus inventory policy.

In plain words

Written for retail, e-commerce, or manufacturing SMBs managing 500-5,000 SKUs. If your purchasing team still places orders every month from a spreadsheet using last-three-months average plus ten percent, and yet you see empty shelves and clogged warehouses at the same time, you are in this problem. When the same company carries both stockouts (5-15% lost sales) and dead inventory (10-25% capital tied up), intuition has hit its limit: seasonality, lead-time uncertainty, and slow-moving SKUs cannot be corrected by hand item-by-item. Systematic forecasting paired with an inventory policy typically frees 1.8-5.4M TRY/year of working capital on 50M TRY revenue and lifts the service level from roughly 85% to 95%.

Sound familiar?

  • We carry 500-5,000 SKUs; at the start of each month the purchasing manager orders in a spreadsheet using the last three months' average.
  • Some products sit on shelves for six months (dead stock) while popular items run out by Wednesday (stockouts) at the same time.
  • We have seasonality (holidays, back-to-school, summer/winter) but planning is manual; there is no systematic method.
  • Our inventory turnover is below the sector benchmark; working capital is locked in stock.
  • Supplier lead times run four to eight weeks; we do not know how much buffer to keep when placing an order.
  • When we add a new product to the catalogue we cannot forecast it; we either over-order or skip it.
  • Our ERP or commerce platform has a 'forecast' module but it misses seasonality and we do not trust it.

Why it matters

The cost of unstructured inventory decisions: (1) stockouts cause 5-15% lost sales and customer loyalty erosion โ€” a popular SKU running out mid-week sends the order to a competitor, (2) dead stock ties up 10-25% of working capital plus warehouse cost and end-of-season scrap or deep-discount losses, (3) poor seasonal planning hands campaign weeks (year-end, holidays, back-to-school) to competitors while off-season shelves clog, (4) ignoring lead-time variability triggers last-minute rush-order price premiums, freight surcharges, and warehouse overtime. Replacing the intuitive ’last three months average plus ten percent’ rule with systematic demand forecasting combined with a formal inventory policy cuts inventory carrying cost by 15-30% and lifts the order-fulfilment rate from about 85% to 95%. A retailer with annual revenue of 50M TRY carrying 12-18M TRY of stock typically frees 1.8-5.4M TRY per year of working capital โ€” money that can clear supplier debt, fund a new branch, or expand the product range.

How it's solved

Technical depth

One-liner: Forecast fast-movers (sell every day) with seasonality, slow-movers (a few per week) with a moving average, and intermittent items (mostly zero days) with a separate method โ€” applying one formula to all flattens the seasonals (you stock out on campaign days) and overshoots on the intermittent ones.

This problem sits at the intersection of operations research (a discipline that uses math and computing to solve business-decision problems) and statistical learning. Two coupled sub-problems: Demand Forecasting (point plus interval forecast of future demand) and Inventory Policy (forecast-driven order quantity, reorder point, safety stock). The solution has three stages:

1. Modelling. Data preparation: at least eighteen to twenty-four months of SKU-level daily or weekly sales. Gap filling, outlier handling, stockout-period reconstruction (zero sales during a stockout is not real demand and must be corrected). Seasonal index and trend decomposition. SKU classification: fast movers (A), medium (B), slow (C), intermittent (mostly zero days). Each class needs a different method.

2. Solver-driven decision. Method choice follows SKU class: A class โ€” SARIMA or Holt-Winters (time-series methods that capture seasonality plus trend); B class โ€” ETS (state-space exponential smoothing); C class โ€” simple moving average or naive; intermittent โ€” Croston method (a special model for items with mostly-zero days) or TSB. Modern automatic model selection picks the method per SKU. Inventory policy on top: (s, S) reorder point and max stock level, or (R, Q) periodic review with fixed order quantity. Safety stock is computed from the target service level (commonly ninety-five to ninety-eight percent) together with lead-time variability.

3. Field integration. Output is a weekly SKU-level order recommendation feeding the purchasing workflow. ERP or WMS handles the order-creation step. Weekly or daily rolling retrain. Tracking of MAPE, WAPE and bias with exception alerts for high-error SKUs. Manual override for promotions, launches, supply shocks. Monthly KPI dashboard on service level and inventory turnover.

Alternatives

Spreadsheet plus purchasing manager experience

Free

Zero licence

Who it fits: Very small portfolio (<200 SKUs), low seasonality

  • + Zero software cost
  • + Flexible and fast
  • + Manager knows the catalogue
  • โˆ’ Weak at seasonality and trend
  • โˆ’ Control collapses past 500 SKUs
  • โˆ’ Stockout history is not corrected
  • โˆ’ No consistent record

Local ERP forecast module

Enterprise

60,000โ€“200,000 TRY licence plus 12,000โ€“35,000 TRY/year maintenance (TR market observation)

Who it fits: Mid-size SMB (200-2,000 SKUs)

  • + Local language support, tax-compliant
  • + Integrated with existing ERP
  • + Basic moving average plus seasonality
  • โˆ’ Usually no ARIMA or Holt-Winters
  • โˆ’ No intermittent demand method
  • โˆ’ Inventory policy is a fixed rule
  • โˆ’ No automatic model selection

International supply-chain planning suite

Enterprise

80,000โ€“400,000 EUR licence plus 15,000โ€“60,000 EUR/year

Who it fits: Large retailer or multi-site manufacturer (2,000+ SKUs)

  • + ARIMA, ETS, Croston, hierarchical reconciliation
  • + Automatic model selection
  • + Inventory policy optimisation included
  • โˆ’ Expensive
  • โˆ’ Six to twelve month rollout
  • โˆ’ Local tax and returns workflow needs custom work

Open-source time-series libraries plus custom build

Open Source

Free licence; in-house build 10-18 weeks or 250K-750K TRY consultancy

Who it fits: SMB or e-commerce with an in-house tech team

  • + No licence cost
  • + Open-source time-series libraries are mature
  • + Inventory policy is fully customisable
  • โˆ’ Requires in-house statistician or OR engineer
  • โˆ’ ERP integration is a separate project
  • โˆ’ Continuous maintenance

Recommendation

Small
<200 SKUs: spreadsheet plus seasonal index plus moving average plus a fixed reorder point. Three basic rules (ABC classification, seasonal factor, safety stock = lead time ร— average sales ร— 1.5) are enough. Software investment does not pay back.
Medium
200-2,000 SKUs: ERP forecast module or mid-market planning suite. Ten-to-fourteen-week pilot. Expected impact ten to twenty percent inventory cost reduction and four-to-eight-point fill rate gain. Payback nine to eighteen months.
Large
2,000+ SKUs or multi-site footprint: full supply-chain planning suite or open-source custom build. Annual investment 1-3 million TRY. Payback twelve to twenty-four months. Twenty to thirty percent inventory cost cut and ninety-five percent plus fill rate typical.

Ask in the meeting

  • Which forecasting methods do you offer (ARIMA, ETS, Holt-Winters, Croston, hierarchical)?
  • Do you select the method automatically per SKU, or is one method applied to the whole portfolio?
  • Do you support an intermittent-demand method (Croston or similar) for SKUs with mostly zero sales days?
  • How does your module correct historical stockout periods to recover real demand?
  • Are inventory policy parameters (s, S) or (R, Q) computed automatically or entered by hand?
  • How are promotions, campaigns and new-product launches incorporated into the forecast?
  • Can we measure bias and WAPE on twelve-to-sixteen weeks of real sales during the pilot? How is success defined?
  • If we leave you, how do we extract SKU-level forecast history, model parameters and order recommendations?

Technical details

Editor’s note

This problem is commonly called “how much should I order”, “stock control” or “merchandise planning”. In the academic literature it is studied as Demand Forecasting, Time Series Forecasting and Inventory Policy Optimization. Without these concepts you cannot tell a ‘sales report’ (history view) apart from a ‘demand forecast’ (a point estimate with a confidence interval) when buying an ERP or planning tool. The first only shows the past; the second produces a decision.

The most-skipped point in the field: forecast accuracy is not the goal โ€” minimising inventory cost is. Many SMBs chase low MAPE, but bias (systematic over- or under-forecast) hurts inventory far more than variance. A model with fifteen percent bias costs much more than a twenty-five-percent-MAPE model that is unbiased. Worse: weeks with stockouts in history mask true demand โ€” a model trained on uncorrected data systematically under-forecasts. Censored-demand correction is the hidden critical step.

Step-by-step path โ€” for the SMB

Stage 1 โ€” Measure before you plan. At least eighteen to twenty-four months of SKU-level sales: daily or weekly granularity, channel split (store, e-commerce, wholesale), price history, promotion calendar, stockout days. ABC analysis: the top twenty percent of SKUs usually account for eighty percent of sales โ€” invest model effort here. The long tail can stay on simple methods.

Stage 2 โ€” Extract the knowledge capital. Supplier lead times (mean plus standard deviation), order multiples (pallet, case), warehouse capacity constraints, target service level (decide with the leadership: ninety-five or ninety-eight percent), seasonal calendar, promotion plan, new-product launch process. This knowledge capital shapes the inventory policy more than the forecast itself.

Stage 3 โ€” Pilot. Twelve to sixteen weeks. Start with fifty to one hundred fifty fast-moving SKUs in a single warehouse or store group. Success criteria fixed up front: WAPE down thirty percent, absolute bias under five percent, fill rate up four points, inventory turnover up fifteen percent. Model output appears as a suggestion to the purchasing manager โ€” the human still signs off.

Stage 4 โ€” Scale-up. Four to eight months across all SKUs and locations. Weekly automatic retrain. ERP or WMS handles order creation. Monthly KPI dashboard: WAPE, bias, fill rate, turnover, dead-stock ratio. High-error SKU list reviewed every week.

Risks โ€” what can go wrong

  1. Stockout masking. SKUs with extended stockout history train into systematic under-forecasts and persistent stockouts. Censored-demand correction is mandatory.
  2. Over-parameterisation on thin data. New products or intermittent SKUs do not support deep models. SKU classification plus method matching is required.
  3. Promotions and launches. A model trained on the past treats promotion periods as normal demand. Promotion calendars must be separated and manual override must exist.
  4. Service-level fantasy. Targeting ninety-nine percent fill rate roughly doubles safety stock versus ninety-five percent. The target must be set jointly with finance and operations.

Technical view of the solution method

ApproachTypical scaleSolve timeGuaranteed optimum?
Naive methods (moving average, last period)Very small portfolioinstantNo, baseline
Holt-Winters (triple exponential smoothing)Seasonal A and B class SKUssecondsNo, good baseline
ARIMA / SARIMA (Box-Jenkins)Mid-to-large A class SKUsminutesLocal optimum
ETS (state-space exponential smoothing)Automatic selection across portfoliominutesLocal optimum
Croston / TSB (intermittent demand)SKUs with mostly zero dayssecondsClassical standard
Machine learning (gradient boosting on lag features)Very large portfolio plus external datahours of trainingNo, experimental

Objective function choice:

  • Objective 1 โ€” Minimise forecast error: MAPE, WAPE, RMSE, MASE. Used at model-selection stage.
  • Objective 2 โ€” Minimise stockout count: Service-level oriented; pushes safety stock up.
  • Objective 3 โ€” Minimise total inventory cost: Carrying cost plus stockout penalty plus order cost together.
  • Objective 4 โ€” Maximise fill rate / service level: Customer-focused under a budget constraint.

Multi-objective: weighted sum or goal programming. In most practical deployments Objective 3 (total inventory cost) is the operational objective while Objective 4 (fill rate) becomes a constraint.

Academic sources

Listed in the sources field of the frontmatter.

Sources

  • Box, G. E. P. and Jenkins, G. M. (1970). Time Series Analysis: Forecasting and Control. Holden-Day. Foundational reference for the ARIMA methodology.
  • Hyndman, R. J. and Khandakar, Y. (2008). Automatic time series forecasting: The forecast package for R. Journal of Statistical Software, 27(3), 1โ€“22. Modern reference for automatic model selection.
  • Croston, J. D. (1972). Forecasting and stock control for intermittent demands. Journal of the Operational Research Society, 23(3), 289โ€“303. Original intermittent-demand paper.
  • Silver, E. A., Pyke, D. F. and Peterson, R. (1998). Inventory Management and Production Planning and Scheduling. Wiley. Standard reference on inventory policy.
  • Yร–K Thesis Centre โ€” keyword: ‘demand forecasting’ or ‘inventory management’ โ€” 100+ theses from Turkish academia. tez.yok.gov.tr

Glossary

Demand Forecasting
Quantitatively predicting future demand using history, seasonality, events, and external signals.
Time Series Forecasting
Statistical modelling field for predicting future values from observations ordered in time; covers ARIMA, ETS and state-space models.
Was this helpful?
Suggest correction

Related problems

Dozens of SKUs from the Same Supplier โ€” At What Frequency Do I Order Each So Trucks and Stock Cost Are Minimum Together?

This page is for an SMB wholesaler, importer or manufacturer pulling 50-500 SKUs from the same supplier โ€” typically across 3-15 main suppliers. The weekly question is the same: from this supplier, which products should ship today and which can wait until next week? If every product triggers its own order, the same supplier ends up sending three trucks and three customs filings a week; one truck, one customs filing and one setup cost can cover all of it if the groups are right. Manual planning falls apart past 50 SKUs: some weeks a half-empty truck, others three back-to-back orders โ€” fixed costs come back as 5-15% of unit product cost.

Retail & E-commerce 5 min

Stock Is Not Clearing as the Season Ends โ€” When and How Deep Should I Mark Down So That Margin Holds and Dead Stock Stays Low?

This page is for you if you run a seasonal-collection fast-fashion retailer, a 30-100 store apparel/shoes/accessories chain, or a fresh-food chain (greengrocer, bakery, butcher). The classic pain: a 200-1,000 SKU collection sells for 4-12 weeks and then the unsold stock becomes a problem โ€” discount too early and you erode the gross margin, discount too late and you sit on a pile of dead stock at the end of the season. The decision: which item, when, and by what percentage to mark down? In a mid-size fashion chain run on gut-feel rules, 20-35% of end-of-season stock ends up as salvage; a proper markdown schedule lifts the gross margin by 5-15%, cuts dead stock by 20-30%, and adds 15-60 million TRY of operating margin a year on a typical revenue base.

Retail & E-commerce 7 min
Esc Close