Not sure this is the right calculator for your situation? Take the 2-minute Problem Finder →

Stockout Cost Calculator

Estimate the annual cost of inventory shortages.

Download Excel Template

Stockout Cost Calculator — free, works offline, formulas included.

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?

Stockout Cost = (Annual Demand / 2) × Shortage Cost per Unit

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

Stockout Cost = (10,000 / 2) × $50 = $250,000/year

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:

Stockout Cost = (10,000 / 2) × $80 = $400,000/year

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:

  1. Weigh it against Carrying Cost — that comparison is what should actually set your service level target.
  2. Set Safety Stock accordingly — items with high stockout cost justify a stricter Z-score.
  3. 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.

Interview Preparation

Questions like these come up in supply chain and operations interviews — here's how to answer them.

What is stockout cost trying to measure?

The dollar exposure of running out of an item — lost sales, expedited freight to recover, and customer goodwill that erodes over time. It's the mirror image of carrying cost: one is the price of holding too much, the other is the price of holding too little.

How would you explain to a beginner why order quantity cancels out of the formula?

The fuller version taught in textbooks is (D/Q) × (Q/2) × cost per unit — order frequency times average shortage exposure per cycle times unit cost. The Q terms cancel algebraically, leaving (Annual Demand / 2) × Shortage Cost per Unit, so the order quantity input matters conceptually but drops out of the final math.

When would this stockout cost formula NOT be the right tool?

When you need an accounting-grade number for a P&L rather than a planning estimate — it assumes shortages happen roughly proportionally to demand and that every unit of shortage costs the same, which isn't true for a hero product versus a rarely-purchased accessory.

Why is the shortage cost per unit usually the hardest input to pin down?

It has to capture more than the lost margin on one sale — rush freight, staff time, and the risk the customer doesn't come back all belong in it, and none of those show up as a clean line item the way carrying cost's warehouse rent does.

How should stockout cost inform a safety stock decision?

Compare it against carrying cost for the same item. If stockout cost dwarfs carrying cost, that item justifies a higher service level and more safety stock; if carrying cost dominates, the item is probably over-protected already.

Frequently Asked Questions

Is stockout cost the same as lost sales?
Not exactly — lost sales is only the most visible piece. Stockout cost also tries to capture rush shipping to recover, staff time handling the fallout, and the risk a customer doesn't return, which a raw lost-sales figure leaves out.
Why did my stockout cost jump when I only changed the shortage cost per unit?
Because shortage cost per unit is usually the biggest lever in the formula — small refinements to that estimate, like factoring in customer lifetime value instead of just the immediate sale, can shift the total by a large margin without demand changing at all.
Does order quantity actually affect the stockout cost result?
It's collected as an input because it's part of how the calculation is traditionally taught, but it cancels out algebraically in this simplified formula. The result depends only on annual demand and shortage cost per unit.
How often should I revisit my stockout cost estimate?
Periodically, especially after any change in margin, customer behavior, or shipping costs — since the shortage cost per unit assumption drives the whole result, an outdated estimate can mislead your safety stock and service level decisions.

Was this calculator helpful?

Rate your experience
What were you trying to do?
📥 Download Template