Safety Stock Simulator

Monte Carlo simulation for safety stock and reorder point analysis. Uses Monte Carlo simulation to model demand during lead time (DDLT) distribution. Compares…

Uses Monte Carlo simulation to model demand during lead time (DDLT) distribution. Compares simulation results with analytical methods, supporting both normal and Poisson demand distributions.

What is Monte Carlo Safety Stock Simulation?

Monte Carlo simulation models uncertainty in safety stock calculations by running thousands of random demand and lead time scenarios. Unlike the analytical formula, simulation can handle non-normal distributions (Poisson, gamma), correlated variables, and complex supply chain dynamics.

The simulation generates random demand-during-lead-time (DDLT) samples by drawing daily demand from a specified distribution over a random lead time period. After thousands of iterations, the DDLT distribution reveals the safety stock needed for any target service level by finding the appropriate quantile.

Comparing analytical and simulated results validates assumptions. If simulation yields significantly different safety stock than the analytical method, it suggests the underlying demand or lead time distribution departs from normality — common for slow-moving or intermittent-demand items.

Formula: For each iteration i = 1..N: LT_i ~ Distribution(μ_LT, σ_LT) DDLT_i = Σ(j=1..LT_i) D_j where D_j ~ Distribution(μ_d, σ_d) Safety Stock = Percentile(DDLT, SL%) − mean(DDLT) ROP = Percentile(DDLT, SL%)

Example Calculation

With μ_d = 30 units/day, σ_d = 8, μ_LT = 5 days, σ_LT = 1.5 days, and 10,000 iterations at 95% service level: Analytical SS = 79 units. Simulation yields mean DDLT = 150, P95 = 233, so simulated SS = 233 − 150 = 83 units. The 5% difference indicates slight non-normality in the DDLT distribution.

When to Use This Calculator

Common Mistakes to Avoid

How to Interpret Results

Related Standards & References

Frequently Asked Questions

How many iterations should I run for accurate results?

10,000 iterations provide stable results (±1-2%) for most scenarios. For extreme service levels (99.5%+), use 50,000-100,000 iterations because the tail percentile requires more samples. Doubling iterations reduces statistical error by roughly √2.

When should I use Poisson instead of Normal distribution for demand?

Use Poisson for slow-moving items (average demand < 10 units/day) where demand is discrete and sporadic. Normal distribution works well for fast-moving items (demand > 20/day) where the Central Limit Theorem applies. For intermittent demand (many zero-demand periods), consider compound Poisson or Croston's method.