Forecast accuracy checker
Paste or upload your forecasts next to what actually sold. See WAPE, MAPE and bias overall and per item, and which few items cause most of the error.
Runs in your browser. Nothing you type, paste or upload is sent anywhere unless you choose to submit a contact form.
Your data
One row per item and period, with columns item, period, actual and forecast. Add unit_price to rank items by money instead of units.
Download template CSVSample data: 25 items over 26 weeks for Example Outdoor Co., a fictional brand.
Find out what forecast error costs you
A retrospective analysis replays your own history and shows what better forecasts and reorder decisions would have been worth in dollars.
Request an inventory analysisHow it works
Each row compares what you forecast for an item in a period with what actually sold. The checker adds up the misses in a few standard ways. Everything runs in this page.
Formulas
WAPE = Σ |actual − forecast| / Σ actual
MAPE = average of |actual − forecast| / actual
(only periods with actual > 0)
Bias = Σ (forecast − actual) / Σ actual
Accuracy = max(0, 1 − WAPE)
Error value = Σ |actual − forecast| × unit_priceWAPE or MAPE
WAPE adds up every unit you missed and divides by every unit you sold. A week where a best seller is off by 300 units counts far more than a week where a slow item is off by 3. That matches how forecast error costs money, so it is the main number here.
MAPE takes the percentage miss of each period and averages them. Every period counts the same, so a slow item that sold 2 and was forecast at 6 (a 200% miss) moves MAPE as much as a big miss on a best seller. MAPE cannot divide by zero, so periods with no sales are left out and counted.
Bias shows direction. Positive bias means forecasts run high, which ties up cash in stock. Negative bias means forecasts run low, which leads to stockouts. A forecast can have a modest WAPE and still be biased.
How the flags work
- Most damage: items are sorted by the error they cause, and the checker flags the smallest group that adds up to at least half of the total error. When every item has a unit price the ranking uses error value, otherwise units.
- Over-forecast and under-forecast: bias of +20% or more, or −20% or less, for that item.
- Forecast, no sales: the item had a forecast but sold nothing in any period.
How the data is read
- Headers are matched without regard to case. item also accepts sku or product; period also accepts date, week or month; actual also accepts sales or demand; unit_price also accepts price or value.
- Commas, semicolons and tabs work as separators. A number with both a thousands separator and decimals sets the format for the whole file: 1.234,56 means dots group thousands and commas are decimals, so 2,5 reads as 2.5; 1,234.56 means the opposite. Numbers that break that format, such as 1,234.56 in a 1.234,56 file, stop the check at their rows. If the file has as many of one kind as the other, no comma is read. Without such a number, decimal commas are used only when the file is not comma separated, no number contains a decimal point, and at least one comma cannot be a thousands separator. If every comma looks like 1,234 or 1,200, it could mean either, so the check stops at those rows instead of guessing.
- Rows with the same item and period are added together and treated as one period, for example two sales channels in the same week.
- Rows with an empty actual or forecast are skipped and counted. Negative numbers, numbers above one trillion, text in number columns, and rows with more columns than the header stop the check, with the row number, so you can fix them.
Limits
- This measures the forecast, not the decisions made from it. A miss on an item with plenty of stock may cost little; the same miss on an item about to run out can cost a lot.
- Error value uses unit price as a rough weight. It is not lost margin, holding cost or lost sales.
- Results depend on the level of the data. Error measured per item per week is larger than error per month or per category.