Safety Stock Calculator
The buffer that absorbs demand and supply variability.
Calculate safety stock from demand variability, lead time variability and your target service level, using the standard statistical method.
How much daily sales typically vary around the average.
Safety stock
25
$445 of inventory
Going from 95% to 99% availability costs 11 more units: the relationship is not linear, because each extra point of service covers a rarer spike.
How the Safety Stock Calculator works
Safety stock covers the gap between what you expected and what happened. Both demand and lead time vary, and the buffer has to absorb both. Set it by service level rather than instinct, the arithmetic tells you what a 95% or 99% availability target actually costs in units.
Also known as: buffer stock calculator · minimum stock level · service level stock calculator · safety stock calculator
The calculation itself
Safety stock is the buffer held against demand and lead time being worse than expected: z × σ × √lead time, where z is the service factor for your target service level and σ is the standard deviation of demand per period.
The z factor is where the service level enters. 90% service is z = 1.28, 95% is 1.65, 98% is 2.05, and 99% is 2.33. Each step up costs more stock than the one before it, and the last few points cost the most.
A concrete case
Weekly demand of 40 units with a standard deviation of 12, and a three-week lead time. σ over the lead time is 12 × √3 = 20.8 units.
At 95% service: 1.65 × 20.8 = 34 units, costing $612 of tied-up capital at $18 a unit. At 98%: 2.05 × 20.8 = 43 units, $774. At 99%: 2.33 × 20.8 = 48 units, $864.
So moving from 95% to 99% service costs 14 extra units, a 41% increase in safety stock to remove four percentage points of stockout risk. Whether that is worth it depends entirely on what a stockout costs.
What the number hides
The formula assumes demand is normally distributed, and for slow-moving or highly seasonal products it is not. A product selling zero units most weeks and forty in one has a standard deviation that describes nothing useful, and the calculated safety stock will be wrong in both directions.
It also treats service level as the thing to optimise, when the real objective is total cost. The right service level is where the marginal cost of another unit of safety stock equals the marginal saving in stockout cost, and that point is different for every product.
Where to go from here
Set the service level by product rather than as a company standard. An A-class item that customers buy specifically deserves 98%; a C-class accessory that most buyers would substitute deserves 85%, and applying one number to both overspends on one and underserves the other.
Then measure the actual stockout rate against the target. A 95% service level that produces stockouts in 15% of cycles means the demand variability input is understated, which is more common than not.
The cost of the last few percentage points
Safety stock rises non-linearly with service level because the normal distribution's tail is thin. Going from 50% to 90% costs 1.28 σ. Going from 90% to 99% costs another 1.05 σ. Going from 99% to 99.9% costs a further 0.77 σ, nearly as much again for a tenth of the improvement.
For the example product: 90% service needs 27 units, 99% needs 48, and 99.9% needs 64. The last 0.9 percentage point costs 16 units, which is more than the first forty percentage points cost.
The practical consequence is that near-perfect availability is achievable and expensive, and that the decision should be made deliberately rather than inherited. Most catalogues have a handful of products where 99% is genuinely right and a long tail where 90% is fine, and the money freed from the tail usually funds the head several times over.
Where to go next
The Safety Stock question rarely arrives on its own. These are the ones that usually come with it:
- Reorder Point Calculator — The stock level that should trigger a new order.
- Stockout Cost Calculator — What running out actually costs you.
- Inventory Carrying Cost Calculator — The annual cost of holding stock, itemised.
- Etsy Fee Calculator — Every Etsy fee on one sale, itemised.
Not financial advice. Marketplace fees change, and they vary by country, plan and seller status. Every rate here is an editable default, not a quoted price, check the platform's current fee schedule before you price a product against it. This is not tax or business advice.
Frequently asked questions
How is safety stock calculated?
The standard method is Z × σ × √(lead time), where Z is the service factor for your target service level and σ is the standard deviation of daily demand. A 95% service level uses Z = 1.65; 99% uses Z = 2.33.
What service level should I target?
90-95% for most retail. Higher for products where a stockout loses the customer rather than delays the sale, lower for slow-moving items where holding cost outweighs the occasional missed order. Going from 95% to 99% roughly doubles the buffer for a modest availability gain.
Why does higher service level cost so much?
Because the relationship is not linear. Each additional percentage point of availability covers a rarer and more extreme demand spike, so the stock needed to cover it grows disproportionately. 100% availability is mathematically impossible at finite cost.
Can I have too much safety stock?
Yes, and it is the more common error. Excess buffer ties up cash, occupies storage, and ages, for anything with a shelf life or a fashion cycle it eventually becomes markdown. Safety stock is insurance, and insurance can be over-bought.
Related calculators
Reorder Point Calculator
The stock level that should trigger a new order.
OpenStockout Cost Calculator
What running out actually costs you.
OpenInventory Carrying Cost Calculator
The annual cost of holding stock, itemised.
OpenEtsy Fee Calculator
Every Etsy fee on one sale, itemised.
Open