Calculate your safety stock formula
The third step is to use a formula to calculate your safety stock levels based on your demand variability, lead time, and service level. There are different formulas you can use, but one of the most common ones is:
Safety stock = (Z-score x standard deviation of demand x square root of lead time) - (average demand x lead time)
Z-score is a statistical value that represents how many standard deviations away from the mean you want to set your safety stock level. It depends on your service level and can be found in a Z-table. For example, if you want a 95% service level, your Z-score is 1.65.
Standard deviation of demand is the measure of demand variability that you calculated in the first step.
Average demand is the average number of units sold per day or per week.
Lead time is the number of days or weeks it takes for your orders to arrive in your warehouse.
You can use this formula to calculate your safety stock levels for each product or product category in your warehouse. You can also use a spreadsheet or an inventory management software to automate the calculation.