Stockout Cost Calculator

Stockout cost calculator empty inventory symbol

Stockout Cost Calculator estimates the full financial impact of unavailable inventory. It separates permanently lost sales from fulfilled and cancelled backorders, then adds handling, emergency replenishment, downtime, customer compensation, and expected future customer-profit losses.

Enter stockout assumptions

Total demand that could not be filled immediately.
Used to calculate the average cost per stockout day.
Sales and backorders
The remaining demand is treated as immediately lost.
Share of accepted backorders that cancel before fulfillment.
Product, fulfillment, and selling costs avoided when a sale is lost.
Customer service, split shipment, special handling, or additional freight.
Incident and customer-impact costs
Use expected future contribution, not future revenue.
Optional cost of safety stock, process improvement, or supplier action.

Stockout cost formula

Permanently lost units = Immediate lost units + Cancelled backorder units
Lost contribution = Permanently lost units × (Selling price − Variable cost)
Total stockout cost = Lost contribution + Backorder handling + Incident costs + Future customer-profit loss
Prevention ROI = (Avoided stockout cost − Prevention cost) ÷ Prevention cost × 100%

The Stockout Cost Calculator uses contribution profit rather than gross revenue for lost sales because variable costs are normally avoided when an order is never fulfilled. Backorders that are eventually shipped retain their sales contribution, but their extra handling cost is included. Cancelled backorders are treated as permanently lost sales.

How to use the Stockout Cost Calculator

Begin with demand that could not be filled immediately during one stockout incident or reporting period. Enter the percentage accepted as backorders and the cancellation rate for those backorders. The Stockout Cost Calculator classifies the remaining units as immediate lost sales, calculates how many backorders are eventually fulfilled, and identifies how many backorders become lost sales.

Next enter selling price and variable cost per unit. Their difference is contribution profit per unit. Add only incremental backorder handling, emergency freight, customer credits, contractual penalties, and operational downtime costs caused by the shortage. If historical analysis suggests that some customers will not return, enter the number of customers lost and expected future contribution profit per customer. Avoid entering future revenue because that overstates economic loss.

Worked stockout cost example

Assume 1,000 units of demand occur while an item is unavailable. Forty percent is accepted as backorders, and 10% of those backorders cancel. The remaining 60% is lost immediately. This gives 600 immediate lost units, 40 cancelled units, 360 units fulfilled later, and 640 permanently lost units. With a $50 price and $30 variable cost, contribution profit is $20 per unit and lost contribution is $12,800.

If fulfilled backorders cost $4 each to handle, backorder handling adds $1,440. Emergency replenishment, compensation, and downtime add $4,600. Expected future profit lost from 20 customers at $120 each adds $2,400. The Stockout Cost Calculator therefore estimates a total cost of $21,240. A $6,000 prevention initiative would produce an estimated net benefit of $15,240 if it prevents one comparable incident.

Example component Calculation Cost
Lost contribution 640 × $20 $12,800
Backorder handling 360 × $4 $1,440
Emergency, penalties, and downtime $2,500 + $500 + (8 × $200) $4,600
Future customer-profit loss 20 × $120 $2,400
Total stockout cost All modeled costs $21,240

Costs that belong in a stockout analysis

Lost contribution profit

A stockout can permanently lose an order when the buyer selects a competitor, substitutes another product, or abandons the purchase. The relevant short-term loss is normally the sale’s contribution profit: selling price minus costs avoided because the unit was not sold. Use product-level margins when products have materially different economics.

Backorder and recovery costs

Backorders can preserve revenue, but they may require additional customer-service time, split shipments, expedited freight, special packaging, status notifications, or discounts. Some customers cancel before replenishment, so the Stockout Cost Calculator separates accepted backorders, fulfilled backorders, and cancelled backorders.

Operational and customer costs

Manufacturers may face idle labor, stopped production, rescheduling, or line-restart costs when parts are unavailable. Retailers and distributors may pay emergency transfer or replenishment costs. Customer credits, service-level penalties, refunds, and future contribution lost when customers defect can also be relevant. Intangible reputation damage should be documented separately unless there is a defensible financial estimate.

Stockout cost versus inventory carrying cost

More inventory can reduce shortage risk but increases financing, storage, insurance, shrinkage, and obsolescence expense. Compare the result from this Stockout Cost Calculator with the Inventory Carrying Cost Calculator. The aim is not zero stockouts at any cost; it is an inventory policy that balances expected shortage cost with the incremental cost of prevention.

Use the Safety Stock Calculator to test demand and lead-time uncertainty, the Reorder Point Calculator to set the replenishment trigger, and the Economic Order Quantity Calculator to estimate order size. Review all four measures together rather than treating one output as a purchasing instruction.

How to interpret the results

Total stockout cost is the modeled economic loss for the incident. Cost per affected unit and cost per stockout day make incidents easier to compare across products or locations. The percentage of potential revenue shows scale, but it is not a profit margin. Recovered backorder revenue is displayed for context and is not subtracted from the cost because the model already excludes fulfilled backorders from lost contribution.

The prevention comparison assumes the proposed action avoids one incident of the modeled size. If the action only reduces probability, multiply stockout cost by the expected reduction in annual incident frequency before comparing it with annual prevention cost. Run conservative, expected, and severe scenarios because customer behavior, demand substitution, and future-profit estimates are uncertain.

Planning limitation: The Stockout Cost Calculator is an operating estimate, not an accounting entry or purchasing instruction. Definitions vary by organization. Investopedia’s backorder-cost overview notes that shortage costs can include added customer service, special shipping, cancellations, lost business, and customer relationship effects.

Related business calculators

Frequently asked questions

What is a stockout cost?

Stockout cost is the economic impact of being unable to fill demand when requested. It can include lost contribution profit, cancelled orders, extra handling, emergency replenishment, downtime, compensation, and future customer-profit loss.

Should lost sales use revenue or profit?

Use contribution profit for the main lost-sales calculation. Revenue overstates the loss because variable product and fulfillment costs are usually avoided when a sale is permanently lost.

Are fulfilled backorders counted as lost sales?

No. The Stockout Cost Calculator preserves their contribution and includes only the extra cost to handle them. Cancelled backorders are counted as lost sales.

How should customer lifetime impact be estimated?

Use the expected future contribution profit from customers who are likely to defect because of the stockout. Avoid using total lifetime revenue and document the assumption separately.

How can stockout cost help set safety stock?

Compare expected shortage cost with the incremental carrying cost of additional safety stock. The result can support a service-level decision, but demand variability, lead time, product criticality, and cash constraints also matter.

Why use the Stockout Cost Calculator?

The Stockout Cost Calculator provides a repeatable way to compare shortage incidents across products, sites, and periods. Use the Stockout Cost Calculator with documented assumptions so managers can review each cost component and test alternative prevention budgets.

Stockout Cost Calculator review checklist

  • Use the Stockout Cost Calculator with contribution profit, not lost revenue, for permanently lost sales.
  • Reconcile Stockout Cost Calculator backorder inputs with order-management records.
  • Keep Stockout Cost Calculator downtime and emergency costs limited to the incident.
  • Run the Stockout Cost Calculator under conservative and severe scenarios.
  • Compare the Stockout Cost Calculator prevention benefit with annual carrying cost.