Safety Stock Calculator
Safety stock is extra stock kept for demand above average or deliveries that come late. Choose a method, enter how much demand (and lead time) varies, or paste past demand, and pick the cycle service level you want.
Use one unit throughout: daily demand with lead time in days, weekly with weeks.
Your chosen chance of not running out while waiting for a delivery, 50 to 99.99.
Paste a column from a spreadsheet or type numbers separated by spaces. Uses the sample standard deviation (n − 1).
How much demand moves around its average.
What the buffer is for
Averages hide bad weeks. Safety stock covers the gap between the average and a bad week, so a late truck or a busy Saturday does not empty the shelf. Its size depends on how much things vary and how much risk of running out you accept.
Three methods on one page
Demand varies. Safety stock = z × σd × √L. σd is the standard deviation of demand per period and L is the lead time counted in the same periods. If demand is measured per day, the lead time must be in days; mixing weeks and days gives a wrong answer, so the page asks for one time unit.
Demand and lead time vary. Safety stock = z × √(L × σd² + d² × σL²), where d is average demand and σL the standard deviation of the lead time. This assumes the two vary independently. It suits suppliers whose deliveries drift.
Max minus average. Maximum usage × longest lead time − average usage × average lead time. No statistics needed, but planning for both worst cases at once usually means more stock.
What z means here
z comes from the standard normal distribution for the cycle service level you type: the probability of getting through one lead time without a stock-out. For 95% it is about 1.645; for 99% about 2.326. This is not the same as fill rate, the share of units supplied from stock, which is normally higher for the same buffer. The page does not suggest a level; that is a business choice per item.
Worked example
Daily demand has a standard deviation of 20 units and the lead time is 9 days. With z = 1.65 the buffer is 1.65 × 20 × 3 = 99 units.
Pasting history
Paste past demand per period and the page shows the average and sample standard deviation, which one click copies into the inputs. The statistical methods assume demand roughly follows a bell curve; for slow, lumpy items treat the result with caution.
How to use Safety Stock Calculator
- Choose a method: demand varies, demand and lead time vary, or the max-average rule of thumb.
- Pick the time unit, then enter the service level (or z) and the averages and standard deviations, or paste past demand and use its figures.
- Read the safety stock, the z used and, where possible, the reorder point.
Privacy: how it works
Calculations run in your browser. The figures you enter are not sent anywhere.
Frequently asked questions
What is the safety stock formula?
With demand varying and a fixed lead time: safety stock = z × σd × √L, where σd is the standard deviation of demand per period and L the lead time in the same periods. When lead time varies too: z × √(L × σd² + d² × σL²).
What does the service level mean here?
It is the cycle service level: the chance of not running out during one replenishment lead time. z comes from the normal distribution, for example 1.645 for 95%. It is not the same as fill rate. Which level to use is your decision.
Which method should I use?
Use the statistical methods when you have a sales history; use the combined one if deliveries are often late. The max-average rule needs no statistics but usually gives more stock.