supply chain calculators

Stockout Cost Calculator

Quantifies the financial damage from running out of stock by combining lost profit on unmet sales with estimated long-term customer loss costs. Use it to justify safety stock investments or evaluate service-level trade-offs.

About this calculator

A stockout occurs when customer demand exceeds available inventory, resulting in lost sales and potential customer defection. The formula used here is: Stockout Cost = (Profit per Unit × Stockout Quantity) + Customer Loss Cost. The first term captures the immediate gross profit foregone on units you could not sell. The second term, customer loss cost, represents harder-to-quantify long-run damage: customers who switch to a competitor and never return, negative reviews, and erosion of brand trust. Estimating customer loss cost typically involves multiplying the customer lifetime value (CLV) by the probability that a stockout causes permanent churn. Together these two components give a more complete picture of the true cost of a stockout event than simply counting missed sales. Comparing stockout cost against the cost of carrying additional safety stock helps managers make data-driven service-level decisions.

How to use

Suppose a stockout of a popular item results in 80 unfulfilled units, your profit per unit is $15, and you estimate the customer loss cost (lifetime value of churned customers) at $600. Step 1: Enter $15 as Profit per Unit. Step 2: Enter 80 as Stockout Quantity. Step 3: Enter $600 as Customer Loss Cost. Step 4: The calculator computes: Stockout Cost = ($15 × 80) + $600 = $1,200 + $600 = $1,800. This $1,800 figure can be weighed against the cost of holding extra safety stock to prevent such events.

Frequently asked questions

How do you estimate customer loss cost when calculating stockout costs?

Customer loss cost is typically estimated by multiplying your average customer lifetime value (CLV) by the expected number of customers permanently lost due to the stockout, and then adjusting for the probability that a stockout actually causes churn. For instance, if your CLV is $200, you estimate 5 customers will defect, and there is a 60% chance each stockout causes defection, the customer loss cost is 5 × $200 × 0.60 = $600. While this involves assumptions, even a rough estimate is far better than ignoring long-term customer loss entirely. Regularly refining your churn probability estimate with real customer data improves accuracy over time.

Why is stockout cost important for setting safety stock levels?

Safety stock exists to buffer against demand variability and supply uncertainty, but holding it costs money. The right safety stock level balances carrying costs against stockout costs — holding too little risks expensive stockouts, while holding too much wastes capital. By quantifying stockout cost in dollar terms, you can compare it directly to the incremental carrying cost of additional safety stock. If the expected annual stockout cost exceeds the cost of holding a few extra weeks of inventory, increasing safety stock is the profitable decision.

What is the difference between a stockout cost and a shortage cost in inventory management?

The terms are often used interchangeably, but some inventory models distinguish them. Stockout cost typically refers to lost sales — demand that simply goes unfulfilled because no inventory is available, resulting in lost profit and potential customer defection. Shortage cost, in some frameworks, refers to backorder situations where the customer waits for the item and you incur expediting, delay penalties, or administrative costs to fulfill the order late. In practice, both represent financial harm from insufficient inventory, and sophisticated models calculate both to arrive at a total cost of insufficient stock.