Stockout Cost Calculator
Estimate the annual cost of inventory shortages.
What Is Stockout Cost? (And Why Should You Care?)
Stockout cost puts a number on the price of running out — lost sales, rush freight to cover the gap, a customer who buys from a competitor instead and maybe doesn't come back. It's the mirror image of carrying cost: carrying cost is what you pay for holding too much, stockout cost is what you pay for holding too little.
Most businesses feel carrying cost more directly, because it shows up as a line item — rent, insurance, a number someone can point to. Stockout cost is sneakier. It hides in sales you never see because the customer just went elsewhere, in the expedited shipment nobody wanted to pay for, in the goodwill that erodes a little each time someone finds an empty shelf. Putting a rough dollar figure on it is what makes the safety stock and service level conversation concrete instead of a vague "let's be safe."
How Does It Work?
This is a simplified model: it assumes a rough proportional relationship between order size and expected shortage exposure, averaging out to about half of annual demand at risk across a typical ordering cycle. Order quantity is included as an input mainly because it's part of how the fuller version of this calculation is usually taught — (D/Q) × (Q/2) × cost per unit — but the Q terms cancel out algebraically, leaving the simplified form above. The real driver is the shortage cost per unit, which is usually the hardest number here to pin down accurately.
Real-World Example: Popular SKU
Scenario: A retailer stocking a popular SKU
Annual demand: 10,000 units
Order quantity: 500 units
Shortage cost per unit: $50
If shortages on this item went completely unmanaged, the retailer risks roughly $250,000 a year in lost sales, rush orders, and customer goodwill.
Now suppose a better estimate of the true shortage cost — including the customer's likely lifetime value, not just the immediate lost sale — puts it closer to $80 per unit instead of $50:
The exposure jumps by $150,000 just from refining the cost estimate, without demand or ordering behavior changing at all — a good reminder that this number is only as good as the shortage cost assumption feeding it.
Key Assumptions & Limitations: When Does This Work?
This is a rough exposure estimate, not a precise forecast of actual losses — it assumes stockouts happen roughly proportionally to demand and that every unit of shortage carries the same cost, neither of which is exactly true in practice. Some customers wait for backorders; others walk immediately. Some stockouts happen during a demand spike (when the cost of missing it is highest); others happen during a lull.
Treat this as a planning tool for sizing service-level tradeoffs, not as an accounting-grade number for a P&L.
5 Ways People Get Stockout Cost Wrong
Using only the lost margin on the missed sale. The real cost usually includes more — rush freight to recover, staff time handling the complaint, and the risk the customer doesn't come back at all. A narrow "lost margin only" estimate understates the true exposure.
Applying one shortage cost to every SKU. A stockout on a hero product that drives repeat traffic is not the same as a stockout on a rarely-purchased accessory. Segment shortage cost estimates the same way you'd segment with ABC Analysis.
Never revisiting the shortage cost estimate. As the example above shows, this number moves the whole result a lot. Refine it periodically rather than treating an early guess as permanent.
Ignoring the interaction with safety stock.Stockout cost only means something alongside carrying cost — the two together are what should set your target service level, not either number in isolation.
Confusing stockout cost with a real historical loss figure. This is a planning estimate for sizing buffer decisions, not a substitute for actually tracking realized lost sales when you have the data to do so.
Industry Benchmarks & Context
There's no external benchmark for "typical" stockout cost — it's entirely a function of your own margin structure and customer behavior. The useful comparison is internal: stack the stockout cost estimate for an item next to its carrying cost. If stockout cost dwarfs carrying cost, that item probably deserves a higher service level and more safety stock. If it's the other way around, you may be over-protecting a low-stakes item.
Next Steps & Related Tools
Once you have a rough stockout cost figure:
- Weigh it against Carrying Cost — that comparison is what should actually set your service level target.
- Set Safety Stock accordingly — items with high stockout cost justify a stricter Z-score.
- Double-check your inventory data — a stockout caused by bad records isn't a demand problem, it's an Inventory Accuracy problem.
Learn More
Books:
- Inventory and Production Management in Supply Chains by Edward Silver, David Pyke, and Douglas Thomas (service level and shortage cost chapters)
Standards & curricula:
- APICS (ASCM) CSCP certification curriculum
General references for further study, not endorsements — verify course availability and content directly with the provider.