Measure forecast error and bias, and test against a baseline
Price: ¥1,500
See what it does and cannot doSafety stock and reorder points per SKU from your data
Price
¥1,500
One-time purchase. Download immediately. Works in the assistant you already have.
Give it demand history, lead times and target service levels. It returns safety stock, reorder point and suggested order quantity per SKU, an ABC and XYZ classification, and a comparison with your current settings.
For this one task you may not need a subscription: this agent file does it in the AI assistant you already use, for a one-time price.
What it covers: The inventory parameter calculation that inventory optimisation tools run, for small and midsize businesses.
What it does not replace:
Need those? Compare the software: AI Demand Forecasting and Inventory Optimization Tools Comparison 2026
We loaded this file into Claude (Sonnet) and gave it an example input written by our editors. Results vary with your input and the assistant you use.
Please calculate safety stock, reorder points and order quantities for three SKUs. We reorder continuously whenever stock hits the reorder point. Demand is weekly units sold (26 weeks): week,SKU-A,SKU-B,SKU-C 1,96,0,47 2,108,0,49 3,97,6,56 4,95,0,52 5,86,0,46 6,97,0,40 7,117,5,45 8,106,0,62 9,116,0,0 10,104,0,0 11,106,0,54 12,103,4,35 13,75,0,50 14,113,0,63 15,108,0,30 16,107,5,47 17,75,0,49 18,74,0,42 19,87,0,55 20,93,6,49 21,105,0,35 22,99,0,58 23,108,4,57 24,90,0,59 25,105,0,64 26,106,0,54 Weeks 9 and 10 of SKU-C were stock-outs (we had nothing to sell). Lead times: SKU-A 2 weeks, standard deviation 0.5 weeks. SKU-B 3 weeks, standard deviation unknown. SKU-C 10 days, standard deviation 2 days. Target cycle service levels: SKU-A 95%, SKU-B 90%, SKU-C 98%. Current settings: SKU-A reorder point 260, on hand 150, on order 0. SKU-B reorder point 12, on hand 20, on order 0. SKU-C reorder point 120, on hand 100, on order 0. Unit cost: A 5.00, B 40.00, C 8.00. Order cost 40 per order, annual holding cost 20% of unit cost, no minimums or multiples. Use your stated defaults for anything I have not specified, list the assumptions you made, and give me the full output now.
# Safety stock, reorder points and order quantities (3 SKUs, continuous review, weekly periods) ## Defaults and assumptions I relied on - **Lead time units:** SKU-C's 10 days (sd 2 days) are calendar days, 7 per week. That gives 1.43 weeks (sd 0.29 weeks). You did not say working days. - **Periods per year:** 52. - **ABC:** by annual consumption value, with cut-offs at 80% and 95% cumulative. An item belongs to the class it starts in. - **XYZ:** X up to CV 0.5, Y up to 1.0, Z above 1.0. - **Sparse-demand test:** average demand interval above 1.32 means the empirical method. - **Setting tolerance:** 10%. - **Standard deviations:** sample standard deviations. - **Order quantity:** EOQ from your costs, rounded up. There are no minimums or multiples. - **Recalculation:** monthly, or whenever demand or lead times change. - **Calculation method:** I worked these figures by hand in this reply and did not run code. The z values are standard normal quantiles (1.6449, 1.2816, 2.0537). Please recheck them in a spreadsheet or script before loading them into a system. ## 1. Scope and data checks - 3 SKUs, 26 weeks each, no gaps and no negative values. - **SKU-C weeks 9 and 10** are your stated stock-outs. I excluded them, so C uses 24 weeks (sum 1,198, mean 49.92). A and B use all 26 weeks. - **SKU-B has no lead-time sd.** The empirical method ignores lead-time spread anyway, so this does not change B's result. It does mean B's protection against late deliveries is not measured. - No obvious trend or strong seasonality in A or C. I did not test this formally, nor the independence of weekly demand. ## 2. Parameters table | SKU | ABC | XYZ | Mean demand (units/wk) | Demand sd | Lead time (wk) | Lead time sd (wk) | Service level | Method | Safety stock | Reorder point | Order qty | |---|---|---|---|---|---|---|---|---|---|---|---| | A | A | X (CV 0.12) | 99.08 | 12.03 | 2.00 | 0.50 | 95% | Normal | 87 | 285 | 642 | | B | C | Z (CV 1.89) | 1.15 | 2.19 | 3.00 | unknown | 90% | Empirical | 3 | 6 | 25 | | C | A | X (CV 0.18) | 49.92 | 9.03 | 1.43 | 0.29 | 98% | Normal | 37 | 109 | 361 | **Formulas and inputs** - **SKU-A** - Safety stock = 1.6449 × √(2 × 12.026² + 99.077² × 0.5²) = 1.6449 × √(289.27 + 2,454.06) = 1.6449 × 52.38 = 86.15, rounded up to 87. - Reorder point = 99.077 × 2 + 86.15 = 284.31, rounded up to 285. - EOQ = √(2 × 5,152 × 40 / (0.20 × 5.00)) = √412,160 = 642.0, rounded up to 642. - **SKU-C** - Safety stock = 2.0537 × √(1.4286 × 9.031² + 49.917² × 0.2857²) = 2.0537 × √(116.51 + 203.40) = 2.0537 × 17.886 = 36.73, rounded up to 37. - Reorder point = 49.917 × 1.4286 + 36.73 = 71.31 + 36.73 = 108.04, rounded up to 109. - EOQ = √(2 × 2,595.7 × 40 / (0.20 × 8.00)) = √129,783 = 360.3, rounded up to 361. - **SKU-B** (empirical method, below) - EOQ = √(2 × 60 × 40 / (0.20 × 40.00)) = √600 = 24.5, rounded up to 25. - That is about 21 weeks of demand per order, so the planner may want to review it against shelf life and cash. - **ABC values** | SKU | Annual value | Share | Cumulative | Class | |---|---|---|---|---| | A | 5,152 × 5.00 = 25,760 | 52.65% | 52.65% | A | | C | 2,595.7 × 8.00 = 20,765 | 42.44% | 95.09% | A (starts at 52.65%, crosses 80%) | | B | 60 × 40.00 = 2,400 | 4.91% | 100% | C (starts at 95.09%, above 95%) | ## 3. Comparison with current settings | SKU | Current ROP | New ROP | Difference (units) | Setting status | Value of difference | Stock position (on hand + on order) | Stock status | |---|---|---|---|---|---|---|---| | A | 260 | 285 | +25 (current is 8.8% below new) | In range | +125.00 | 150 | Not overstocked (limit 285 + 642 = 927) | | B | 12 | 6 | −6 (current is 100% above new) | Over-protected | −240.00 | 20 | Not overstocked (limit 6 + 25 = 31) | | C | 120 | 109 | −11 (current is 10.1% above new) | Over-protected | −88.00 | 100 | Not overstocked (limit 109 + 361 = 470) | **Reconciliation** - **Reorder points:** the current total is 392 and the new total is 400, a difference of +8 units. The per-SKU differences are +25 − 6 − 11 = +8. - **Net value of the reorder-point change:** 125 − 240 − 88 = **−203.00**. - **Setting status:** 0 Under-protected, 2 Over-protected, 1 In range, which adds up to 3 SKUs. - **Stock status:** 0 Overstocked, 3 Not overstocked, which adds up to 3 SKUs. - **Stock above reorder point + order quantity:** none, so nothing to value. ## 4. SKU-B: normal method not used - Demand is non-zero in 6 of 26 weeks, so the average demand interval is 26 / 6 = 4.33, above 1.32. - The protection interval is 3 weeks, which gives 24 rolling 3-week windows. - Window sums: 6 windows each of 0, 4, 5 and 6 units. - The target is 90%, and 0.9 × 24 = 21.6, so the nearest rank is 22. The smallest sum that at least 90% of windows do not exceed is **6**. Only 75% of windows are at or below 5. - Safety stock = 6 − 1.1538 × 3 = 2.54, rounded up to 3. The reorder point is the 6 read directly from the windows. - 24 windows is enough to avoid the "weak evidence" flag (limit 20). Windows overlap, so they are not independent, and lead-time spread is ignored. - With only six non-zero weeks, the 6 is effectively "the largest 3-week total seen". A single bigger week would move it. *(Shortened for this page: the remaining sections of the output are not shown.)*
Model: Claude Sonnet · Run on 2026-11-28
Small and midsize businesses setting or reviewing reorder points.
AIpedia's editors wrote this agent and reviewed it before it was listed.
Scored by AIpedia's editors when they reviewed the file: usefulness, depth of method, clarity of output. It decides the order on this site until there are sales.
Comparing software for this job? See AI Demand Forecasting and Inventory Optimization Tools Comparison 2026
More agents for AI Demand Forecasting and Inventory Optimization Tools →Agents for Operations and supply chain →
Measure forecast error and bias, and test against a baseline
Price: ¥1,500
See what it does and cannot doOne purchase covers one person or one organisation. You may edit your copy for that use; you may not resell it or share it outside your organisation. If the file does not do what this page says, tell us, ideally within 14 days, and we will fix it or refund you.
Read the terms of sale and licence →