Stockout Cost Calculator

Estimate the total cost of inventory stockouts including lost sales margin, backorder costs, and customer churn impact on revenue.

units
$
$
$
$
$
$
Per-Event Stockout Cost
$9,700.00
Total cost each time a stockout occurs
Annual Stockout Cost
$116,400.00
Based on 12 events per year
Lost Margin per Event
$3,000.00
30.9% of total per-event cost
Lost Revenue per Event
$15,000.00
200 units x $75.00 AOV
Cost per Lost Unit
$48.50
All costs divided by units lost
Monthly Impact
$9,700.00
Annual cost spread over 12 months

Cost Component Breakdown

Lost Margin$3,000.00
Backorder Cost$500.00
Customer Churn$3,000.00
Expediting Cost$1,200.00
Brand Damage$2,000.00

Frequency Scenario Analysis

ScenarioEvents/YearAnnual Cost
0.5x frequency6$58,200.00
Current12$116,400.00
1.5x frequency18$174,600.00
2x frequency24$232,800.00

Cost Share

ComponentPer EventAnnualShare
Lost Margin$3,000.00$36,000.0030.9%
Backorder Cost$500.00$6,000.005.2%
Customer Churn$3,000.00$36,000.0030.9%
Expediting Cost$1,200.00$14,400.0012.4%
Brand Damage$2,000.00$24,000.0020.6%
Total$9,700.00$116,400.00100%
Planning notes, formulas, and examples

About the Stockout Cost Calculator

Stockout cost is the financial penalty when inventory runs out and demand cannot be fulfilled. It has three main components: lost sales (margin on orders that walk away), backorder costs (expediting, admin, and goodwill expenses to fill orders late), and customer churn (the long-term revenue lost when dissatisfied customers switch to competitors).

Quantifying stockout cost is notoriously difficult because much of the impact is indirect — a customer who experiences a stockout may never return, and that lifetime value loss dwarfs the immediate lost sale. Nevertheless, even a rough estimate is valuable for balancing inventory investment against service levels.

This calculator lets you enter lost sales volume, average margin, backorder costs, and estimated churn impact to compute the total cost of a stockout event or period.

Use the result to compare operating scenarios, pressure-test assumptions, and rerun the model when volumes, rates, or service targets change.

When This Page Helps

Without knowing the cost of stockouts, inventory planners tend to either over-invest in safety stock (if they fear stockouts) or under-invest (if they focus only on carrying cost). A quantified stockout cost provides the missing piece — enabling a true total cost optimization that balances carrying cost, ordering cost, and stockout cost.

How to Use the Inputs

  1. Enter the number of units in lost sales (orders you could not fill).
  2. Enter the average profit margin per unit.
  3. Enter the backorder cost (expediting, admin, and goodwill per incident).
  4. Enter the estimated customer churn value (lost lifetime revenue from departing customers).
  5. Review the total stockout cost.
  6. Use this cost to justify appropriate safety stock and service level investments.
Formula used
Stockout Cost = (Lost Sales × Margin per Unit) + Backorder Cost + Customer Churn Cost Where: Lost Sales = units of unfulfilled demand Margin per Unit = profit margin per item Backorder Cost = extra cost to fill orders late (expediting, admin) Customer Churn Cost = estimated lifetime value lost from departing customers

Example Calculation

Result: Total Stockout Cost = $6,500

Lost margin = 200 × $15 = $3,000. Backorder cost = $500. Churn cost = $3,000. Total = $3,000 + $500 + $3,000 = $6,500 for this stockout event.

Tips & Best Practices

  • Survey customers to understand what they do when an item is out of stock — buy elsewhere, wait, or substitute.
  • Track lost sales explicitly in your order management system if possible.
  • Backorder costs include expedited shipping, overtime, and customer service time.
  • Estimate churn cost as a percentage of affected customers × their annual value.
  • Compare stockout cost to the carrying cost of additional safety stock to find the optimum.
  • Different SKUs have very different stockout costs — prioritize high-impact items.
  • Use stockout cost to set differentiated service level targets by product or customer segment.

The Hidden Cost of Stockouts

The visible cost of a stockout — lost margin on the unfilled order — is often the smallest component. The hidden costs include emergency order expediting, production line stoppages (in manufacturing), customer service time, and most importantly, customer defection to competitors. Research suggests that 21-43% of consumers faced with an out-of-stock item buy from a different retailer.

Measuring Lost Sales

Measuring lost sales is challenging because you are counting something that didn't happen. Approaches include: comparing sales during stockout periods to prior periods or forecasts, analyzing web analytics for abandoned product pages, and surveying customers about substitution behavior.

Stockout Cost in Inventory Optimization

Total inventory cost = carrying cost + ordering cost + stockout cost. Traditional EOQ only addresses the first two. Adding stockout cost to the model shifts the optimal solution toward higher service levels and more safety stock for high-impact items.

Prevention vs. Cure

Investing in accurate demand forecasting, reliable supplier relationships, and safety stock analytics prevents stockouts at a fraction of the cost of reacting to them. The ROI of prevention is often 5-10× the cost of the investment.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • Stockout cost is the total financial impact when inventory is unavailable to meet demand. It includes immediate lost margin, backorder expenses, and long-term customer churn.