The calculation of safety stock can vary depending on the industry and the specific needs of the business. One common method is to use the formula:
Safety Stock = Z-score * Standard Deviation of Lead Time Demand
Here, the Z-score corresponds to the desired service level (the probability of not facing a stockout), and the standard deviation of lead time demand reflects the variability in demand and lead time.