Stock & service level
About this app
A live simulation of the reorder point system: safety stock, reorder point and stockouts respond to service level, demand and lead time variability. The curve shows why the last percentage points of service level tie up disproportionate stock and capital.
With explain mode: an AI tutor walks you through the app, points out what matters in the scene and answers your questions.
The core idea
A warehouse reorders as soon as stock reaches the reorder point. Replenishment then takes the lead time L, during which demand keeps fluctuating. Safety stock absorbs that uncertainty: SS = z · σ, where σ is the standard deviation of demand over the lead time, σ = √(L · σ_d² + d² · σ_L²). The factor z comes from the normal distribution and depends only on the service level: 90 % → 1.28, 95 % → 1.64, 99 % → 2.33, 99.9 % → 3.09. The reorder point is d · L + SS.
What the app shows
A live simulation draws stock day by day together with the reorder point, the safety stock and any stockouts. Average demand is 50 units per day and each order is 600 units. A second chart plots safety stock against service level and states what the next percentage point costs. The calculation panel works through the formulas with the current numbers, while the metrics collect achieved service level, tied-up capital and stockouts per year over many simulated years.
Things to try
Drag the point on the curve from 90 to 99 %: safety stock nearly doubles, and stockouts still happen, just less often. Each additional point costs more than the last, and 100 % cannot be reached with finite stock. Then raise lead-time variability and see how strongly it drives stock: it enters the formula multiplied by the square of daily demand. The service level slider runs from 80 to 99.9 %.
Frequently asked questions
- How do you calculate safety stock?
- A common formula is SS = z · √(L · σ_d² + d² · σ_L²), where d is average daily demand, σ_d its standard deviation, L the average lead time and σ_L its standard deviation. The factor z follows from the target service level via the normal distribution, for example 1.64 for 95 %.
- Why does safety stock grow so fast at high service levels?
- The z-value of the normal distribution rises ever faster towards the tail: from 1.28 to 1.64 between 90 and 95 %, from 2.33 to 3.09 between 99 and 99.9 %. Since safety stock is proportional to z, each extra point of service costs more inventory and capital. A 100 % service level would require unlimited stock.
- What is the difference between cycle service level and fill rate?
- The cycle service level (alpha) is the share of replenishment cycles without a stockout, an event probability. The fill rate (beta) is the share of demand quantity served directly from stock. For the same inventory, the fill rate is usually much higher than the cycle service level.
- Which service level does the app use?
- The app defines service level as the share of order cycles without a stockout, the cycle service level. The calculation panel also reports the simulated fill rate in units. A guided mode with an AI tutor walks you through the app.
Subject: Logistics & Supply Chain
More from Logistics & Supply Chain
- AAS & digital product passport
- Autonomous traffic in logistics systems (3D)
- Blockchain traceability
- Bullwhip effect
- Circular Economy — R-strategies
- Digital Twin level model
- Bottleneck & throughput (3D)
- Forecasting playground
A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps