Expected Stockout Cost

Putting a number on running out

Inventory ControlThe Stockout Trade-offFree preview
⏱️ About 14 min
Expected Stockout Cost — illustration

Stockouts feel like a binary disaster -- you either run out or you don't. But a stockout is really a gamble with a measurable expected cost. Multiply how often it happens by how many units you miss and what each one costs, and the "rare" outage becomes a number you can weigh against the cost of holding more buffer.

💡
The big idea: The expected stockout cost converts the chance of running out into dollars. Per replenishment cycle it is P × U × Cs -- the probability P of a stockout in a cycle, times the expected units U short when it occurs, times the shortage cost Cs per unit short. Across a year there are N such cycles, so the expected annual stockout cost is P × U × Cs × N. Each factor is a separate lever: cut the chance of stocking out, cut how many units are missed, cut the cost per missed unit, or cut how often the exposure repeats.
🎯 By the end, you'll be able to
  • Compute the expected per-cycle stockout cost as P × U × Cs.
  • Scale the per-cycle cost to an annual figure by multiplying by the number of cycles N.
  • Identify the four levers (P, U, Cs, N) that drive expected stockout cost.
📎 Helpful to know first

Comfort with percentages and multiplication; no prior module required.

A price tag on empty shelves

A buyer who only asks "did we stock out?" is working with a coin flip. The more useful question is how much is a stockout expected to cost us, because that is what buffer stock has to earn back. Expected stockout cost turns the risk into a dollar figure. In each replenishment cycle it is the product of three things: P, the probability a stockout happens in that cycle; U, the expected number of units you come up short when it does; and Cs, the shortage cost per unit short (lost margin, rush freight, goodwill). That per-cycle cost then repeats with every cycle in the year.

\[ \text{Expected stockout cost} = P \times U \times C_s \times N \]

Reading the formula

Take an item with a 10% chance of stocking out in any replenishment cycle (P = 0.10), where a stockout leaves about 20 units short on average (U = 20), each missed unit costing $15 (Cs = $15/unit), replenished 12 times a year (N = 12). The per-cycle expected cost is P × U × Cs = 0.10 × 20 × 15 = $30. Across 12 cycles a year that becomes 30 × 12 = $360/year. Notice each factor pulls independently: halving the stockout probability to 5% would cut the annual cost to $180, while doubling the units short to 40 would roughly double it to $720.

🔑 Per cycle first, then per year

The discipline is to compute the per-cycle cost first -- P × U × Cs -- and only then scale by the number of cycles N. The per-cycle number is what a single replenishment decision exposes you to; the annual number is what shows up in a budget. Separating them keeps the two ideas distinct: reducing exposure per cycle (safer ordering, better forecasts) versus reducing how often the exposure repeats (fewer, larger cycles) are different levers with different costs.

🎮 Expected Stockout Cost Explorer LIVE
Predict first: Predict first: with P 0.10, U 20 units, Cs $15/unit, and N 12 cycles/yr, what is the expected annual stockout cost?
Slide P, U, Cs, and N to watch the per-cycle cost build and then scale to the annual total.
📝 Worked example: An item has a 10% probability of stocking out in any replenishment cycle, expects 20 units short when it occurs, a shortage cost of $15 per unit short, and is replenished 12 times a year. Find the expected per-cycle stockout cost and the expected annual stockout cost.
  1. 1. Per-cycle cost = P × U × Cs = 0.10 × 20 × 15 = $30.
  2. 2. Annual cost = per-cycle cost × N = 30 × 12 = $360/year.
✓ Per cycle = $30; annual = $360/year
✏️ Practice: An item has a 5% probability of stocking out per cycle, expects 40 units short when it occurs, a shortage cost of $10 per unit short, and is replenished 6 times a year. What is the expected ANNUAL stockout cost?
$/year
💡 Hint
Per-cycle cost = P × U × Cs; annual = per-cycle cost × N.
Solution
  1. 1. Per-cycle cost = P × U × Cs = 0.05 × 40 × 10 = $20.
  2. 2. Annual cost = 20 × 6 = $120/year.

Check your understanding

1. The expected annual stockout cost is given by which formula?
Annual expected stockout cost = P × U × Cs × N: stockout probability times units short times per-unit shortage cost times cycles per year.
2. With P 0.10, U 20 units, Cs $15/unit, and N 12 cycles/yr, the expected annual stockout cost is?
Per cycle = 0.10 × 20 × 15 = $30; annual = 30 × 12 = $360/year.
✅ Key takeaways
  • Expected per-cycle stockout cost = P × U × Cs (probability × units short × per-unit shortage cost).
  • Expected annual stockout cost = P × U × Cs × N, where N is replenishment cycles per year.
  • P, U, Cs, and N are four independent levers -- each one you cut lowers the expected cost.
➡️ Now that the cost of stocking out has a number, the next step is the trade-off that frames every inventory policy: how to balance that shortage cost against the cost of holding one more unit, to land on the service level that minimizes total cost.
Ready for the next step? Back to the course outline →