"Inventory forecasting" means two different things in agriculture, and confusing them is why many projects fail. For a farm, it is planning seed, fertiliser and agrochemical purchases against a planting calendar and a budget. For an agri-dealer or cooperative, it is stocking those inputs across branches so farmers find them when the rains arrive.

The data and the decisions are different. This page focuses on the dealer and cooperative case, with notes for farms planning their own input purchases.

Why the forecast is genuinely hard

  • Rain onset is uncertain. Demand does not grow smoothly; it spikes when planting starts and collapses if the season breaks late.
  • SKU proliferation. Several maize varieties, fertiliser blends and pack sizes, each with different lead times and shelf lives.
  • Long lead times and minimum order quantities from importers and blenders.
  • Expiry and counterfeit risk, which make overstocking expensive in a way that a standard retail model ignores.
  • Sell-in is not demand. A distributor may push stock on credit or ahead of a promotion, so warehouse outflows can rise while farmer purchases fall.
  • Programmes and tenders. A subsidy scheme or government tender can distort a region's demand for a season.

The data you need, in order of value

  1. Your own sales by SKU, branch and week, net of returns.
  2. The planting calendar and agro-ecological zones you serve.
  3. Seasonal rainfall forecasts, used as a season-level signal rather than a daily one.
  4. Stock on hand and in transit, by location.
  5. Supplier lead times, minimum order quantities and import clearance times.
  6. Price changes, promotions and credit terms.
  7. Crop acreage or planting intentions where you can get them.
  8. Sell-out data from dealers, if your channel captures it.

Two clean seasons with trustworthy branch data beat five years of mixed units and missing returns. Audit the units first: bags, tonnes, litres and sachets get mixed in the same report more often than anyone expects.

Start with a baseline, not a model

A seasonal naive forecast - last season, same week - is a real benchmark. So is a moving average. Only move to gradient boosting or hierarchical time-series models when you can show they beat the baseline on your own data.

A model that improves on naive by two percent is not worth the maintenance, the retraining and the explanation to the procurement team. Complexity has to pay rent.

Forecast at the level where decisions are made

If orders are placed monthly per branch, forecast monthly per branch per SKU. Building a daily national forecast and dividing it by branch count produces numbers that are precise and useless.

Handle slow-moving SKUs separately. Percentage error measures break down on items that sell zero in most weeks; use a method suited to intermittent demand and review those items by exception rather than trying to model each one.

From forecast to an actual order

A defensible starting point:

  • Safety stock = service-level factor × standard deviation of forecast error × square root of lead time.
  • Reorder point = expected demand over the lead time + safety stock.
  • Order quantity = reorder point − stock on hand − stock in transit, rounded to pack size and minimum order quantity.
  • Then check cash, warehouse capacity and expiry before releasing the order.

The important detail is that safety stock should be driven by forecast error, not by the variability of demand itself. Most spreadsheets use the wrong one and end up either overstocked or repeatedly out of stock.

Accuracy expectations

Report forecast bias and a weighted error measure by branch and by SKU class, not one blended percentage. Expect meaningful improvement on stable, high-volume SKUs and very little on new products, promoted lines and anything affected by a subsidy announcement. New SKUs need an analogy-based starting point, not a model trained on their non-existent history.

What the tool looks like to staff

A weekly suggested order per branch, delivered on WhatsApp or email, with an approval screen and a short exception list: forecast spike, expiry risk, stock-out risk, and orders that exceed the cash available. Procurement approves; the system does not place orders by itself.

Also show the reasoning in one line - "last season plus a 15% uplift for the early rainfall forecast" - so a planner can disagree with the assumption rather than the number.

Pilot design

Pick one region, 20-30 SKUs that cover most of the volume, and one season. Baseline stock-outs, expiry write-offs, inventory turns and forecast bias for a full season before the pilot. Run in parallel: the system suggests, the team decides, and you record where they differed and who was right.

Where these projects fail

  • No sell-out data, so the forecast models warehouse flow rather than farmer demand.
  • Promotions and subsidy spikes left in the history as if they were normal demand.
  • Unit mismatches between procurement, sales and stock reports.
  • Nobody owns the weekly review, so suggestions pile up unread.
  • Optimising accuracy when the real objective is availability versus write-off cost.

Questions we get asked

We only have two seasons of data. Is that enough?

It can be, for high-volume SKUs with a stable seasonal pattern. Combine it with the planting calendar and supplier lead times, and keep a simple baseline in the loop. Be sceptical of anyone who needs five years before starting.

Can it use weather forecasts?

Yes, at season level. Rainfall onset shifts demand timing, but a daily weather feed does not reliably predict how many bags a branch will sell on a Tuesday.

Do we need new software for the sales team?

No. The output can be a weekly message and an approval screen. The forecast is only useful if it reaches the person placing the order.

What about our own farm's input purchasing?

The same logic applies with a narrower scope: planned hectares, yield targets, application rates, existing stock and supplier lead time. The forecast is simpler because there is one buyer and a known plan.

Start with clean units, two seasons of branch sales and the planting calendar. That combination supports a useful forecast long before a sophisticated model is justified.