[Skip to content](/content/docs/how-forecasting-works.html#main)

Documentation

# How Forecasting Works

The exact calculation behind every recommendation — no black box.

## Sales velocity (ADU)

Foreshelf calculates average daily usage (ADU) per SKU from your order history. Before averaging, outliers are filtered using the IQR method — a one-off promotion does not distort your normal reorder signal.

## Reorder decision

For each SKU, Foreshelf compares remaining stock, supplier lead time, and velocity to classify the situation into four categories:

- **CRITICAL** \-\- remaining stock does not cover supplier lead time: a stockout is likely without action.
- **REORDER** \-\- it is time to order, without immediate urgency.
- **WAIT** \-\- ordering now could create overstock or expiry before sell-through.
- **OPTIMAL** \-\- stock is healthy; no action is needed.

## Products without sales history

A newly received product with no sales is never classified as “dead stock” — there is simply not enough data to judge. Foreshelf waits for a minimum history (30 orders, 60 days) before proposing an automated action (see [How Marcus Decides](/content/docs/how-marcus-decides.html)).

## Data improves over time

As your sales history grows, the velocity estimate converges on your true average — a basic statistical property (the law of large numbers), not an empty marketing promise.
