EN

Safety stock calculator

Safety stock is the buffer that absorbs demand swings and late deliveries at the service level you choose. It is not a guess in days — it follows from the variability in your own numbers. All math runs in your browser.

Demand

Units per day over the lead-time window.

How much a day swings around the average. A spreadsheet STDEV over the last 60–90 days gives it.

Lead time

How much deliveries drift. A supplier that is usually 14 ± 3 days has a standard deviation of about 3.

Service level

Chance of not stocking out during one lead time. 95% is a common target.

Result

Safety stock—
Reorder point—
Buffer in days of demand—
Service factor (z)—

The URL updates as you type, so you can bookmark or share a scenario.

How the formula works

Both sources of variability add in variance: lead time × demand variance plus demand² × lead-time variance. Here that is 14 × 5² + 20² × 3² = 3950, so the buffer is 1.64 × √3950 = 103 units — 5.2 days of demand on top of the 280 units you expect to sell during the lead time.

Service level is a choice, not a target to maximise

Moving from 95% to 99% does not add 4% more stock: the service factor rises from 1.64 to 2.33, about 41% more buffer. Each step buys fewer stockouts for more cash, so set the level by margin. High-margin, low-holding-cost items justify 98–99%; bulky, low-margin ones rarely do.

Buffer by service level

The same item at four service levels. The last column is the reorder point: lead-time demand plus the buffer.

Service levelzSafety stockReorder point
90%1.2881361
95%1.64103383
98%2.05129409
99%2.33146426

FAQ

What is safety stock?

The inventory held to cover variability during a lead time. Statistically it is z × √(lead time × demand variance + demand² × lead-time variance), where z comes from the service level you target.

What service level should I choose?

The level at which the cost of the buffer equals the margin you lose on a stockout. In practice 95% is a common default; raise it for high-margin, small, cheap-to-store items and lower it for bulky, low-margin ones.

Where do the standard deviations come from?

From your own history: the standard deviation of daily unit sales, and of supplier delivery times. Thirty to ninety observations is enough; the square root keeps the result tolerant of noisy estimates.

How is this different from the reorder point calculator?

That page takes safety stock in days of sales as an input. This one derives the days from your variability and service level — then hands you the reorder point to use.