
Arkieva’s sophisticated analysis tools and safety stock reports enable planners to identify inventory issues and to make informed decisions concerning this delicate inventory balancing act. Our Inventory Planner utilizes demand data to plan safety stock levels by SKU by incorporating demand variability, desired service levels, and lead time information, across an entire network.
The Arkieva Inventory Planner supports sustained inventory reductions by providing a comprehensive view of how stocks are serving customer demand. Many Arkieva users report inventory reductions of up to 15%, and simultaneously experience an enhanced ability to satisfy orders with their reduced stock.
Learn to calculate safety stock and other inventory targets in Arkieva.
{`
`}
Some Basics and When to “normal”
All of us experience the challenge of inventory every day – whether at home ( like how many cans of tuna to keep in the cupboard) or as a critical component of effective management of your demand supply network. Although being a critical component is constant, the amount of attention among the trade press and vendors occurs in a cyclical fashion, and 2015 was certainly a high point in the cycle.
A high level supply chain manager I knew referred to inventory policy as the Good, the Bad, and the Ugly – referring to the ability to meet client demand immediately; costs to hold inventory and potential obsolescence; and uncoordinated hording. In this post we want to reveal some of the mystery behind the safety stock calculation and identify the role of “normal”.
Most of us use equations or formulas without a full understanding of why they work, or more importantly when they work well and when they don’t. Not that we are not interested or do not consider it important, but the information is difficult to find and typically written in a way only certain members of the “math tribe” can understand.
There are members of this tribe that are bilingual, and we will reveal part of the mystery of the safety stock calculations with strange symbols. This knowledge puts you in a better position to evaluate consultants and software vendors.
Ice Cream Store – Rules of Replacing Inventory & Daily Demand\ The best way to take the mystery out of the “math” is to use a simple example. Often the members of the “math tribe” start with some examples on a white board and later create the equations with the strange symbols; erasing the white board to eliminate the incriminating evidence.
Our example business is a small ice cream store that only sells its famous vanilla ice cream in five gallon units. When the store needs to refill its supply of vanilla ice cream (in inventory speak - replenishment), the order can be placed at night after the store closes, and the new supply is delivered well before the store opens the next day without fail. The store can, if it wants to, reorder or replenish every night, every two nights … every 10 nights. In terms of quantity, the store can reorder between 1 and 9,999 units each time it places a replenishment decision.
In inventory terminology:
Table 01: Probability of Each Demand
| Index | Demand | Probability (PDF) | Cumulative Probability (CDF) |
|---|---|---|---|
| 1 | 14 | 0.30 | 0.30 |
| 2 | 15 | 0.15 | 0.45 |
| 3 | 16 | 0.08 | 0.53 |
| 4 | 17 | 0.07 | 0.60 |
| 5 | 18 | 0.30 | 0.90 |
| 6 | 19 | 0.10 | 1.00 |
| **Sum** | **1.00** |
The Index column is the identifier for each of the six possible demands. The Demand column is the possible demand for a specific day, which is 14 to 19. Probability is the probability of exactly that demand on a given day. For example, the probability that daily demand is 16 is 0.08. Cumulative Probability is the probability of demand for a specific day is the value for that row or less. The probability that the demand is 15 or less is 0.45(=0.30 + 0.15) which equals the probability of demand for the day, which is 15 (p=0.15). The Sum row has the value 1; the sum of the probabilities for each possible demand must be 1. Figure 2 is a graph of the Probability Distribution Function (PDF); the probability of each demand.

Two natural questions are
Table 2 shows the calculation for average demand or expected demand; the value is 16.22. That is if the demand for each day was independent of the demand from the previous day and the probability of demand did not change over time, and if we collected demand for many days (say 100,000, added them up and divided by 100,000), the value would be 16.22 (or very close). Here we have snuck in two other inventory terms:
Table 3 has the calculation for the average variation of demand from the “average demand” (16.22 in this case) called the standard deviation. This calculation is a bit tricky, so let’s take a look in detail.
The first three columns are the same columns as Table 1 and Table 2. The fourth column, Demand – Average, is the heart of the calculation of average variation. Simply, for each demand we subtract the average demand (16.22 for this example). We see the value for row 1 is -2.22(=14-16.22), perfectly logical. If we want to know the variation around the average – find each difference.
Why not just multiply each difference by the probability and add them? Not so fast, that value is ZERO. Observe we have negative and positive values, we are interested in the size of the variation and therefore we need to make them all “positive’. We have two options:
Long ago the math tribe decided to square the value. So we square each difference, (Demand – Average)2, and then multiply each of these values with the probability, Probability x (Demand – Average)2. This sum (3.47) is called the variance.
We need one more step to “undo” the squaring; we take the square root of the variation to get the standard deviation (1.86). Now you might ask, 'why not just use the absolute value?' There is logic in this. Later we will find the standard deviation has magical properties when we want to know the distribution of total demand over “n” (2, 4, 10, …) days.
Table 02: Calculation of Average or Expected Demand
| Index | Demand | Probability | Demand x Probability |
|---|---|---|---|
| 1 | 14 | 0.30 | 4.20 = 14 \* 0.30 |
| 2 | 15 | 0.15 | 2.25 = 15 \* 0.15 |
| 3 | 16 | 0.08 | 1.28 = 16 \* 0.08 |
| 4 | 17 | 0.07 | 1.19 = 17 \* 0.07 |
| 5 | 18 | 0.30 | 5.40 = 18 \* 0.30 |
| 6 | 19 | 0.10 | 1.90 = 19 \* 0.10 |
| **Sum** | **1.00** | 16.22 |
Table 03: Calculations of Average Variation - Standard Deviation

How Much Inventory to Have at the Start of the Day if We Reorder Every Night?\ In the previous sections we established the basic information about daily demand for vanilla ice cream and the rules governing replenishment of inventory. Now we want to examine how much inventory to have on hand at the start of a replenishment period – which is the number of days between reordering. We will start our examination with the simplest case: we reorder every night, which requires us to identify how vanilla ice cream to have on hand at the start of the day? Options are the values 14 to 19. To decide which one, we need a definition of success & failure:
We now need the probability of success and failure for each inventory level option. The cumulative probability function (CDF) provides this information. If we set the inventory level at the start of each day at 15, then success occurs when the actual demand for the day is 15 or less (demand of 14 or 15). Failure occurs when demand for the day is more than 15 (demand of 16, 17, 18, or 19). The probability of success is the probability that demand less than or equal to 15, which is the CDF for 15 which is 0.45(=0.30 + 0.15). The probability of failure is {1 – CDF for 15} = 1-0.45 = 0.55 = 0.08 + 0.07 + 0.30 + 0.10
The term success and failure are intuitive and commonly used in probability and statistics. Alas, the inventory folks do not use the terms success and failure, but the terms:
The fill rate and backorder rate for each option (14 to 19) is given in Table 04. This captures the risk for each option the probability of having more ice cream in stock than needed to meet demand, or not enough. If starting the day with 17 units the chances of meeting all demand is 0.60 (fill rate) and not meeting all demand is 0.40 (backorder rate). What is the right inventory level? That depends on other factors such as the cost to hold inventory, real cost of lost sales, scrap policy (can left over ice cream be used tomorrow), etc. A topic for another time.
Table 04: Fill rate and Backorder Rate for each Inventory Level Option at start of day when replenishment occurs daily
| Index | Inventory level at state of day | Success of fill rate = CDF | Failure or back order rate = (1 - CDF) |
|---|---|---|---|
| 1 | 14 | 0.30 | 0.70 |
| 2 | 15 | 0.45 | 0.55 |
| 3 | 16 | 0.53 | 0.47 |
| 4 | 17 | 0.60 | 0.40 |
| 5 | 18 | 0.90 | 0.10 |
| 6 | 19 | 1.00 | 0.00 |
Going from Desired Inventory Level at Start of Day to Safety stock\ In the previous section we reviewed the basics of deciding how much inventory to have on hand at the start of the day (replenishment period) including the concept of fill rate and backorder rate. There was no mention of safety stock!
Safety stock is defined as the quantity of inventory (in this case five gallon containers of vanilla ice cream) a firm decides to hold in inventory above the level of average demand. In our current example, it is the quantity in inventory at the start of the day. Table 05 extends Table 04 with the safety stock value with each option for inventory at the start of the day.
Table 05: Fill rate, Backorder Rate, and Safety Stock Level for each Inventory Level Option at start of day when replenishment occurs daily.
| Index | Inventory Level at State of Day | Success of fill rate = CDF | Failure or Back Order Rate = (1CDF) | Safety Stock |
|---|---|---|---|---|
| 1 | 14 | 0.30 | 0.70 | -2.22 = 14 - 16.22 |
| 2 | 15 | 0.45 | 0.55 | -1.22 = 15 - 16.22 |
| 3 | 16 | 0.53 | 0.47 | -0.22 = 16 - 16.22 |
| 4 | 17 | 0.60 | 0.40 | 0.78 = 17 - 16.22 |
| 5 | 18 | 0.90 | 0.10 | 0.78 = 17 - 16.22 |
| 6 | 19 | 1.00 | 0.00 | 2.78 = 19 - 16.22 |
| **Average Demand** | **16.22** |
What if we replenish every other day (once every two days)\ Initially being able to replenish every day for the ice cream store seemed ideal, however having to be at the store a few hours before opening to unload the inventory from the truck quickly became a tiring. The store owner decided to replenish every other (every two days). This immediately generated a cascade of questions:
The key to answering these questions is creating the equivalent to Table 01 for two days. We need to know all possible total demands on the ice cream shop for a two day period and what is the probability of each of these values.
Finding the Total Demand on the Ice Cream Shop for Two days\ With the convenient “IID” assumption that:
Let’s start with identifying the possible demand options. On day 1 the demand might be 14 and day 2 it might be any of the values 14-19. We could write these as a pair, where the first member of the pair is demand for day 1 and the second member of the pair is the demand for day 2. The pair (14/ 16) says the demand for day 1 is 14 and demand for day 2 is 16. The same pattern applies if the demand for day 1 is 15. There are 36 possible pairs. There are 6 options for day 1 (values 14-19) and the same six options for day 2. 36 = 6 x 6 =62, where 2 is the number of days in the replenishment period. The fancy math term for pairs is “tuple”.
Table 06 lists all of the 36 pairs. The row refers to demand for day and column for day 2.
Table 06: All Possible Demand Pairs (Day1/Day2) for Total Demand for Two Days

Observe the pairs (14/16) and (15/15). Each have the same total demand across two days. We only care about total demand for two days, how it is split between the two days is not important to us (right now). Table 07 provides the total for demand for each cell.
Table 07: Total Demand for Two Days for All Possible Demand Pairs

The second part of our quest is finding the probability for each demand pair. Again the “IID” fine print makes this easier. The probability for each pair is the probability of the demand on day 1 times the probability of demand on day 2. For example the probability of a demand of 16 is 0.08 (from Table 01) and the probability of a demand for 15 is 0.15. The probability of the demand pair (16 / 15) is 0.0120 = 0.08 x 0.15. Table 08 has all 36 probabilities.

The last step to create the equivalent of Table 01 for the two day replenishment period is to aggregate the probabilities for demand pairs with the same total. For example, the demand total 29 occurs twice (pairs 14/15 and 15/14). Therefore the probability of total demand of 29 across two days is PRB(14/15) + PRB(15/14) = 0.0450 + 0.0450 = 0.0900. Table 09 has all unique total demand options for two days along with the associated probability for each possible total demand across the replenishment period of two days. Figure 03 plots the options and their probabilities.
Table 09 and Figure 03 has the probability distribution function for total demand on the ice cream store for the two day replenishment period. Additionally it has the average “total demand” for two days and the standard deviation for “total demand” for two days. Observe we have the term average and total next to each other – which can get confusing. From Table 09 on any given two day period the possible total demand at the store has 11 options; the values 28 to 38. If we collected 100,000 observations on total demand for two days replenishment periods and calculate their average, the value would be 32.44 (or close). 32.44 is the average total demand for a two day replenishment period. The average variation or standard deviation for this total is 2.635.
Table 09: All Possible Options for Total Demand for Two Days with Probability where Demand for One Day is Specified in Table 01
| Index | Demand | Probability (PDF) | Cumulative Probability (CDF) aka Fill Rate or Success |
|---|---|---|---|
| 001 | 28 | 0.0900 | 0.0900 |
| 002 | 29 | 0.0900 | 0.1800 |
| 003 | 30 | 0.0705 | 0.2505 |
| 004 | 31 | 0.0660 | 0.3165 |
| 005 | 32 | 0.2074 | 0.5239 |
| 006 | 33 | 0.1612 | 0.6851 |
| 007 | 34 | 0.0829 | 0.7680 |
| 008 | 35 | 0.0580 | 0.8260 |
| 009 | 36 | 0.1040 | 0.9300 |
| 010 | 37 | 0.0600 | 0.9900 |
| 011 | 38 | 0.0100 | 1.0000 |
| Mean Total Demand for 2 Days | 32.440 | ||
| Variance Total Demand for 2 Days | 6.943 | ||
| Standard Deviation Total Demand for 2 Days | 2.635 |

How might the store owner use the information in Table 09?\ Typically someone managing inventory wants to know the following for a specified fill rate:
Remember fill rate is the probability of success that is the probability all demand during a replenishment period can be met from inventory in stock. The fill rate is the cumulative probability.
If the owner wants a fill rate of 0.90, then we select the demand value with the smallest cumulative probability value greater than or equal to 0.90. Table 09 tells us this value is 36 with a cumulative probability value of 0.93. If the owner has 36 units of vanilla ice cream in inventory at the start of the two day replenishment period, the chances of meeting all demand from inventory is 0.93. If the owner goes with 35 units, the fill rate drops to 0.826.
What is the safety for a fill rate of 0.90? Safety stock is the amount in inventory at the start of the replenishment period minus the average demand for this period. The average demand is 32.44, therefore safety stock is 3.56=(36-32.44). Sometimes safety stock is stated in per day level. For this example safety stock per day for a fill rate of 0.90 is 1.78.
Gift 1 from the Statistics god: Relationship between demand for 1 day & demand for 2 days\ The following fun facts from the statistics god will be helpful in the next few sections. They are provided without formal proof, but a computation example is provided.
Remember the measure for average variation is the standard deviation. The critical observation is the average total demand grows directly as n (number of days) grows. BUT, the average variation grows proportional to the square root of n.
A common measure to relate average variation to average value is the co-efficient of variation (CV) which is the standard deviation divided by the average. Specific to the relationship between demand for 1 day and total demand for n days, the following equations captures this relationship.
CV= (√n×1.863)/(n×16.22)
As n gets larger this value continues to get smaller. For this example when n=1, CV is 0.1149. When n=10, CV is 0.0363. CV is sometimes used to “measure” risk, we risk declines as n increases. We will also see as n increases the safety stock per day declines for the same fill rate.
Finding the Total Demand on the Ice Cream Shop for Seven days\ Our ice cream shop owner has decided to take a full week off and wants to know the distribution of total demand for seven days to support a decision on how much inventory to have on hand at the start of the replenishment period. Extending the same logic as we did with two days, Table 10 has distribution of total demand for 7 days. Figure 04 graphs the distribution.
The average total demand for seven days is 113.540 and the standard deviation is 4.930. The CV value is 0.043. This table provides the core risk information for the owner to make a decision about how much inventory to have on hand at the start of the replenishment period.
Assume our owner still desires a replenishment rate of 0.90. Table 10 informs the store needs 120 units of vanilla ice cream in stock at the start of the 7 day replenishment period and will achieve a fill rate of 0.9192; 92% of the time all demand for these seven days will be met from stock.
What about safety stock. The average total demand for seven days is 113.54. The safety stock is 6.46(=120-113.54). The safety stock per day is 0.923 = 6.46/7. This is lower than the safety stock per day for the two day replenishment period.
Gift 2 from statistics god: as n gets large, all paths lead to normal\ If we compare the basic shape of Figure 04 with the shape of Figure 01, we see the irregular shape (called multi-modal, multiple high peaks) found in Figures 02 and 04, is beginning to morph into a “normal” shape.
This is an example of the Central Limit Theorem (CLT) at work – as n gets sufficiently large, the total demand over n days, given the IID conditions, will morph to a normal distribution where the mean of this normal distribution is n times the average daily demand and the standard deviation is the square root of n times the standard deviation of demand for a single day. Figure 05 shows the normal distribution when the mean is 113.540 and the standard deviation is 4.930.
The magic question how large does n need to be to use the normal as a reasonable approximation of the distribution of total demand over n days?\ It depends on how “ugly” the daily distribution is, the level of precision required, and what fill rate is desired. Now you might have heard the magic number “30”. If n is greater than 30, then assuming the normal distribution is correct – “TILT” – not correct. The value of 30 has to do whether one uses the student T distribution or normal distribution for confidence intervals. That is not relevant to this discussion. Of course it sounds nice and the consultant or software vendor might attempt to use this when you ask them. If some it might be time for a new source of support.
Table 10: All Possible Options for Total Demand for Two Days with Probability where Demand for One Day is Specified in Table 01
| Index | Demand | Probability (PDF) | Cumulative Probability (CDF) aka Fill Rate or Success |
|---|---|---|---|
| 001 | 98 | 0.0002 | 0.0002 |
| 002 | 99 | 0.0008 | 0.0010 |
| 003 | 100 | 0.0016 | 0.0025 |
| 004 | 101 | 0.0025 | 0.0051 |
| 005 | 102 | 0.0049 | 0.0100 |
| 006 | 103 | 0.0090 | 0.0190 |
| 007 | 104 | 0.0137 | 0.0327 |
| 008 | 105 | 0.0184 | 0.0510 |
| 009 | 106 | 0.0260 | 0.0771 |
| 010 | 107 | 0.0363 | 0.1134 |
| 011 | 108 | 0.0456 | 0.1590 |
| 012 | 109 | 0.0524 | 0.2114 |
| 013 | 110 | 0.0615 | 0.2729 |
| 014 | 111 | 0.0715 | 0.3445 |
| 015 | 112 | 0.0769 | 0.4213 |
| 016 | 113 | 0.0767 | 0.4980 |
| 017 | 114 | 0.0769 | 0.5749 |
| 018 | 115 | 0.0767 | 0.6516 |
| 019 | 116 | 0.0713 | 0.7229 |
| 020 | 117 | 0.0616 | 0.7845 |
| 021 | 118 | 0.0530 | 0.8375 |
| 022 | 119 | 0.0454 | 0.8829 |
| 023 | 120 | 0.0363 | 0.9192 |
| 024 | 121 | 0.0267 | 0.9459 |
| 025 | 122 | 0.0192 | 0.9652 |
| 026 | 123 | 0.0139 | 0.9790 |
| 027 | 124 | 0.0093 | 0.9883 |
| 028 | 125 | 0.0055 | 0.9938 |
| 029 | 126 | 0.0031 | 0.9969 |
| 030 | 127 | 0.0017 | 0.9986 |
| 031 | 128 | 0.0009 | 0.9995 |
| 032 | 129 | 0.0004 | 0.9999 |
| 033 | 130 | 0.0001 | 1.0000 |
| 034 | 131 | 0.0000 | 1.0000 |
| 035 | 132 | 0.0000 | 1.0000 |
| 036 | 133 | 0.0000 | 1.0000 |
| **Mean Total for 7 Days** | **113.540** | ||
| **Standard Deviation Total Demand for 7 Days** | **4.930** |


How do we get to the safety stock equation - safety stock= Z_fr×√n×σ\ Our ice cream store owner wants to investigate a replenishment period of 30 days and is willing to use the normal distribution to approximate the distribution of total demand over the 30 day periods. From statistics gift 1, we calculate:
Figure 05 has the normal approximation of the distribution of total demand for the replenishment period of 30 days with a mean of 486.6 and standard deviation of 10.205.

The owner now asks how much inventory is needed to be in stock at the start of the replenishment period to have a fill rate of 0.90. Before we looked at the table to find the demand value with the smallest cumulative probability value greater than 0.90. We have no such table. The normal is a continuous probability distribution, not a discrete distribution. In a continuous distribution the list of options for demand is all values between a start and end value. To adjust for this, we can only talk about the probability of demand occurring between a start value and end value and this probability is the area under the curve. The total area under the curve is 1, so any subsection of area has a value between 0 and 1. The smaller the area, the lower the probability.
To answer the owner’s question we need find the demand value so the area under the curve from left to this point is 0.90 and from this point to the right the area is 0.10. Figure 07 identifies this value as 499.68. This is how much stock must be on hand at the start of the replenishment period. The safety stock is 13.08(=499.68 – 486.6)

How did we get the value of 499.68?\ For a given mean and standard deviation, the inventory level for a given refill rate (success probability) is: mean + {Z(for refill rate)x standard_ deviation}. Where Z is the value for the standard normal (figure 01) which has 90% of the area to the left of this value and 10% to the right. This value can be found in table or statistics software. In Excel the syntax is norm.s.inv(0.90) and the Z value is 1.2816. We have:\ 499.68 = 488.6 + 1.2815 x 10.205
Putting the math symbols back in we get safety stock= Z_fr×√n×σ, where:
Final Comment\ The material presented in the previous sections provides unravels the mystery of one part of inventory management - managing the risk of not meeting demand even when there is no uncertainty in replenishment. It sets out the core questions, defines terms, develops the core calculations, and identifies when the normal distribution will be work and how it will work.
Part 2 will demonstrate how variability in replenishment lead time is incorporated into the mix of calculations. Part 3 will look at a simple network of inventory points.
Inventory is a huge and critical area that cannot be treated separately from other areas of S\&OP such as demand management and supply planning – key areas include demand variability, demand classes, and smoothing or load leveling production. In fact one director of manufacturing I know saw inventory management, especially the flexibility associated with line side stocking and build to forecast, as key tools for smoothing production and absorbing variations in yields. These are topics for later sections.
Incorporating variation in replenishment lead time – the JOURNEY
In part 1, using the ice cream store example as our primary vehicle, we provided insight into the basics of understanding total inventory required to cover demand for a period n (1, 2, …30 …) days, accounting for variability in the daily demand. From this, we identified what portion of this demand would be classified as safety stock and how to use this information to make an informed decision. Last, we demonstrated when n is sufficiently large, then the normal distribution is a good approximation of total demand over n days independent of the distribution of daily demand applying the 8th wonder of the world – Central Limit Theorem (CLT).
Throughout all of part 1, the assumption made was there was ZERO variation in replenishment lead time. The condition was, a replenishment order was placed at the end of the day after the store was closed and the owner was certain the new 5 gallon containers of vanilla ice cream would be in the freezer before the first customer arrived the next day. The purpose of part 2 of the mystery tale is “how to handle uncertainty or variability in the lead time.
Quick Review of Ice Cream Business – Rules of Replacing Inventory & Daily Demand\ Our business is a small ice cream store that only sells its famous vanilla ice cream in five gallon units. When the store needs to refill its supply of vanilla ice cream, the order can be placed at night after the store closes and the new supply is delivered well before the store opens the next day without fail. The store can, if it wants to, reorder or replenish every night, every two nights … every 10 nights. In terms of quantity, the store can reorder between 1 and 9,999 units each time it places a replenishment decision. The owner believes the probability of a certain demand on any day is as given in Table 1. For this article, we will accept this as given. The complexity of generating this information is a topic for another time.
Table 01: Probability of Each Demand
| Index | Demand | Probability (PDF) | Cumulative Probability (CDF) |
|---|---|---|---|
| 1 | 14 | 0.30 | 0.30 |
| 2 | 15 | 0.15 | 0.45 |
| 3 | 16 | 0.08 | 0.53 |
| 4 | 17 | 0.07 | 0.60 |
| 5 | 18 | 0.30 | 0.90 |
| 6 | 19 | 0.10 | 1.00 |
| **Sum** | **1.00** |
The “index” column is the identifier for each of the six possible demands. The “demand” column is the possible demand for a specific day, which is 14 to 19. Probability is the probability of exactly that demand on a given day. For example, the probability that daily demand is 16 is 0.08. Cumulative probability is the probability of demand for a specific day is the value for that row or less. The probability that the demand is 15 or less is 0.45(=0.30 + 0.15) which equals the probability the demand for the day is 15 (p=0.15). The “sum” row has the value 1; the sum of the probabilities for each possible demand must be 1. Figure 2 is graph of the “PDF” – the probability distribution function – the probability of each demand. The average daily demand is 16.22 and average variation (standard deviation) is 1.86.

Replenishing Inventory Every Three Days with 0.90 Fill Rate\ After working with the store’s analytics team, the owner had decided to replenish inventory every third day with a fill rate of 0.90. Table 11 and Figure 08 have the distribution of total demand for three days using the computational mechanism described in Part 1. This information, along with estimates for inventory holding cost, reorder costs (transport, people, etc.) shelve life, cost for unmet demand, and others were analyzed with other models to support this decision.
Table 11: All possible options for total demand for three days with probability where demand for one day is specified in Table 01
| Index | Demand | Probability (PDF) | Cumulative Probability (CDF) aka Fill Rate or Success |
|---|---|---|---|
| 001 | 42 | 0.0270 | 0.0270 |
| 002 | 43 | 0.0405 | 0.0675 |
| 003 | 44 | 0.0419 | 0.1094 |
| 004 | 45 | 0.0439 | 0.1532 |
| 005 | 46 | 0.1111 | 0.2643 |
| 006 | 47 | 0.1257 | 0.3900 |
| 007 | 48 | 0.1004 | 0.4904 |
| 008 | 49 | 0.0841 | 0.5745 |
| 009 | 50 | 0.1266 | 0.7011 |
| 010 | 51 | 0.1131 | 0.8143 |
| 011 | 52 | 0.0654 | 0.8796 |
| 012 | 53 | 0.0393 | 0.9189 |
| 013 | 54 | 0.0420 | 0.9609 |
| 014 | 55 | 0.0291 | 0.9900 |
| 015 | 56 | 0.0090 | 0.9990 |
| 016 | 57 | 0.0010 | 1.0000 |
| **Mean Total for 3 Days** | **48.660** | ||
| **Variance Total Demand for 3 Days** | **10.415** | ||
| **Standard Deviation Total Demand for 3 Days** | **3.227** |

Replenishing Inventory Every Three Days Accounting for Uncertainty in Delivery\ With the basic decisions in place for inventory and the establishment of a regular process for replenishing inventory in an orderly fashion, the owner now asks the next logical question in the journey: What if the delivery of ice cream is delayed one day?
The owner goes to the ace analytics team, asks them for the analysis, and provide the owner a solution they can understand; all by Friday.
The lead of his analytics team, having read the great works of Gene Woolsey, comes up with the following solution:
This story has a happy ending, the owner is happy and now trusts the analytics lead to finish the work – there some other substantial complexities. A topic for another time.
Table 13: All possible options for total demand for three days with probability where demand for one day is specified in Table 01, then multiplied by 0.80
| Index | Demand | Probability (PDF) | 0.80 x Probability |
|---|---|---|---|
| 001 | 42 | 0.0270 | 0.0216 |
| 002 | 43 | 0.0405 | 0.0324 |
| 003 | 44 | 0.0419 | 0.03348 |
| 004 | 45 | 0.0439 | 0.0351 |
| 005 | 46 | 0.1111 | 0.088848 |
| 006 | 47 | 0.1257 | 0.100548 |
| 007 | 48 | 0.1004 | 0.0803296 |
| 008 | 49 | 0.0841 | 0.0672792 |
| 009 | 50 | 0.1266 | 0.1013088 |
| 010 | 51 | 0.1131 | 0.0905144 |
| 011 | 52 | 0.0654 | 0.052296 |
| 012 | 53 | 0.0393 | 0.031416 |
| 013 | 54 | 0.0420 | 0.0336 |
| 014 | 55 | 0.0291 | 0.02328 |
| 015 | 56 | 0.0090 | 0.0072 |
| 016 | 57 | 0.0010 | 0.0008 |
| **Sum** | **1.0000** | **0.8000** |
Table 14: All possible options for total demand for four days with probability where demand for one day is specified in Table 01, then multiplied by 0.20
| Index | Demand | Probability (PDF) | 0.80 x Probability |
|---|---|---|---|
| 001 | 56 | 0.0081 | 0.00162 |
| 002 | 57 | 0.0162 | 0.00324 |
| 003 | 58 | 0.0208 | 0.004158 |
| 004 | 59 | 0.0246 | 0.004914 |
| 005 | 60 | 0.0542 | 0.010836 |
| 006 | 61 | 0.0757 | 0.015131 |
| 007 | 62 | 0.0775 | 0.015507 |
| 008 | 63 | 0.0755 | 0.015094 |
| 009 | 64 | 0.1051 | 0.021028 |
| 010 | 65 | 0.1155 | 0.023101 |
| 011 | 66 | 0.0953 | 0.019058 |
| 012 | 67 | 0.0748 | 0.014955 |
| 013 | 68 | 0.0780 | 0.015608 |
| 014 | 69 | 0.0694 | 0.013871 |
| 015 | 70 | 0.0441 | 0.00882 |
| 016 | 71 | 0.0252 | 0.005047 |
| 017 | 72 | 0.0194 | 0.003887 |
| 018 | 73 | 0.0136 | 0.002728 |
| 019 | 74 | 0.0057 | 0.001136 |
| 020 | 75 | 0.0012 | 0.00024 |
| 021 | 76 | 0.0001 | 0.00002 |
| **Sum** | **1.0000** | **0.2000** |
Table 15: All possible options for total demand between replenishment, when the probability it is 3 days 0.80 and 4 days is 0.20
| Index | Demand | Probability (PDF) | 0.80 x Probability |
|---|---|---|---|
| 001 | 42 | 0.0216 | 0.0216 |
| 002 | 43 | 0.0324 | 0.0540 |
| 003 | 44 | 0.0335 | 0.0875 |
| 004 | 45 | 0.0351 | 0.1226 |
| 005 | 46 | 0.0888 | 0.2114 |
| 006 | 47 | 0.1005 | 0.3120 |
| 007 | 48 | 0.0803 | 0.3923 |
| 008 | 49 | 0.0673 | 0.4596 |
| 009 | 50 | 0.1013 | 0.5609 |
| 010 | 51 | 0.0905 | 0.6514 |
| 011 | 52 | 0.0523 | 0.7037 |
| 012 | 53 | 0.0314 | 0.7351 |
| 013 | 54 | 0.0336 | 0.7687 |
| 014 | 55 | 0.0233 | 0.7920 |
| 015 | 56 | 0.0088 | 0.8008 |
| 016 | 57 | 0.0040 | 0.8049 |
| 017 | 58 | 0.0042 | 0.8090 |
| 018 | 59 | 0.0049 | 0.8139 |
| 019 | 60 | 0.0108 | 0.8248 |
| 020 | 61 | 0.0151 | 0.8399 |
| 021 | 62 | 0.0155 | 0.8554 |
| 022 | 63 | 0.0151 | 0.8705 |
| 023 | 64 | 0.0210 | 0.8915 |
| 024 | 65 | 0.0231 | 0.9146 |
| 025 | 66 | 0.0191 | 0.9337 |
| 026 | 67 | 0.0150 | 0.9486 |
| 027 | 68 | 0.0156 | 0.9643 |
| 028 | 69 | 0.0139 | 0.9781 |
| 029 | 70 | 0.0088 | 0.9869 |
| 030 | 71 | 0.0050 | 0.9920 |
| 031 | 72 | 0.0039 | 0.9959 |
| 032 | 73 | 0.0027 | 0.9986 |
| 033 | 74 | 0.0011 | 0.9997 |
| 034 | 75 | 0.0002 | 1.0000 |
| 035 | 76 | 0.000 | 1.0000 |
| **Mean Total Demand for Replenishment Period** | **51.904** | ||
| \**Standard Deviation Total Demand Replenishment* | **7.294** |

Appendix 1: Distribution of Total Demand for 4 Days\ Table 12: All possible options for total demand for four days with probability where demand for one day is specified in Table 01
