LineNow
ProcurementInventorySuppliersResources
LoginBook a Demo
LineNow
  • Suppliers
  • Pricing
Login
Book a Demo
Blog/Glossary
GlossaryProcurement encyclopedia

Stockout Cost: The Full Economic Impact of Running Out of Stock

Stockout cost is the total economic impact of not having an item when a customer wants it — lost sale, lost margin, emergency procurement premium, and customer defection. Why stockout cost is asymmetric and how to use it to set rational service levels.

Jainul Vaghasia/Published May 25, 2026/Updated July 5, 2026/5 min read

Use the definition

Turn procurement terms into an operating system.

This reference page should help you understand the concept first. When the term affects purchasing execution, LineNow connects it to live POs, supplier replies, receiving, and accounting handoff.

View PlatformSee How LineNow Works

Contents

  1. Quick answers
  2. The formula
  3. Stockout cost multipliers by vertical
  4. Worked example
  5. Why most stockout cost estimates are wrong
  6. How LineNow handles stockout cost
  7. Related
Back to top

Stockout cost is the total economic loss incurred when a customer wants to buy an item and you don't have it — the sum of lost margin, emergency procurement premiums, and long-term customer defection, expressed per stockout event or as an annual dollar figure.

Quick answers

What is stockout cost? Stockout cost is the full financial impact of an empty shelf: the immediate lost sale, the premium you pay to rush-replenish, and the lifetime value erosion from customers who leave and don't come back. It is often larger than the lost sale alone suggests.

What is the stockout cost formula? stockout cost per event = lost margin + emergency premium + (defection probability × customer lifetime value). For annual planning: annual stockout cost = stockout events × average cost per event.

How does stockout cost relate to safety stock? Safety Stock is the economic defense against stockout cost. The optimal safety stock level is the point where the marginal cost of holding one more unit equals the marginal cost of one more stockout.

What's a typical stockout cost? A practical planning range is 2–5× the item's gross margin per event once customer defection and emergency replenishment are included. A $12 item with $5 margin may carry $15–$25 in total stockout cost when you account for lost future visits.

The formula

stockout cost per event = M + E + (P_d × CLV)

where:

  • M — lost gross margin on the missed sale
  • E — emergency procurement premium (rush shipping, spot-market pricing, or substitution cost)

Read before ordering

A dense operator briefing for teams that need sharper buying, cleaner supplier follow-up, and fewer expensive surprises.

  • P_d — probability the customer defects permanently (doesn't return)
  • CLV — customer lifetime value
  • For aggregate planning:

    annual stockout cost = Σ (stockout events per SKU × cost per event per SKU)
    

    Stockout cost multipliers by vertical

    VerticalMultiplier (× item gross margin)Primary driver
    Restaurant / food service3–5×Customer won't return; menu item unavailability damages brand
    Grocery2–4×Customer switches stores for entire basket
    Specialty retail2–3×Lost impulse sale; item may not be re-requested
    E-commerce3–6×One click to competitor; high defection probability
    Manufacturing (component)5–20×Production line downtime; idle labor costs
    Healthcare / pharmacy10–50×Regulatory penalties; patient safety

    Worked example

    A restaurant runs out of its second-most-popular entree (menu price $28, food cost $9, gross margin $19) during Friday dinner service. Over the evening, 14 guests would have ordered it.

    • Lost margin: 14 × $19 = $266
    • Emergency procurement: Kitchen subs a higher-cost protein to offer an alternative; extra cost = 14 × $3 = $42
    • Customer defection: Assume 10% of affected guests reduce visit frequency after encountering an out-of-stock on their intended order. 10% defection × 14 guests × $1,200 annual spend per loyal guest = $1,680 in at-risk lifetime value.
    • Total stockout cost for one evening: $266 + $42 + $1,680 = $1,988

    Compare that to the carrying cost of 5 extra portions of safety stock: 5 × $9 × (35% annual carrying rate / 365) = $0.43/day. In this scenario, a small daily carrying cost protects against a much larger downside event. Use the free safety stock calculator to size that buffer for your own items.

    Why most stockout cost estimates are wrong

    1. Counting only the lost sale. Operators tally the missed revenue and stop. But the margin is what matters, and it's the smallest component — defection cost dominates.
    2. Ignoring the basket effect. In grocery and retail, a customer who can't find one item often abandons adjacent purchases or switches stores entirely. The real loss is the full basket, not the single SKU.
    3. Assuming substitution is free. Offering an alternative saves the immediate sale but often at lower margin or higher COGS. That delta is a real cost.
    4. Not measuring defection. Because defection is invisible (the customer simply stops showing up), operators massively underweight it. Cohort analysis on visit frequency after stockout events reveals the true damage.

    The core problem is asymmetry: carrying a little extra costs pennies per day, but a single stockout event can destroy hundreds of dollars of value. Without measuring both sides, operators cannot make rational inventory decisions.

    How LineNow handles stockout cost

    1. Tracks stockout events by detecting zero-quantity days for items that had regular recent demand, flagging true stockouts vs. intentional deactivations.
    2. Estimates per-SKU stockout cost using item margin, order frequency, and a configurable defection multiplier based on your business type.
    3. Balances stockout cost against carrying cost to recommend optimal Safety Stock levels — more buffer on high-stockout-cost items, less on low-consequence SKUs.
    4. Triggers Reorder Point alerts early enough to account for Lead Time variability, so replenishment lands before on-hand inventory hits zero.
    5. Reports Days of Inventory on Hand per item, highlighting SKUs where DOH has dropped below lead time — meaning a stockout is already mathematically inevitable without intervention.
    6. Quantifies annual stockout losses in your dashboard so you can see the total dollar impact and justify the inventory investment to stakeholders.

    Related

    • Procurement Software
    • Purchase Order Software
    • Supplier Management Software

    Want to see what stockouts are really costing you? Book a demo to start your 90-day free trial.

    stockout costcost of stockoutout of stock coststockout impactstockout cost formulainventory stockout cost

    Written by Jainul Vaghasia

    Jainul Vaghasia builds LineNow, the purchasing and inventory platform for SMBs. He writes from operator interviews, customer implementations, and the live purchasing workflows LineNow runs for restaurants, retailers, and ecommerce brands.

    Recommended next

    Keep moving through the procurement library.

    Follow the path that matches your funnel stage: definition, operator workflow, buyer evaluation, or product proof.

    View Inventory SoftwareOpen the closest LineNow workflow for this procurement concept.Closed-loop procurementUse the core category definition to connect recommendations, POs, supplier replies, and receiving.Procurement softwareSee how the definition turns into a live buying workflow.Best PO softwareCompare the software categories buyers usually confuse.
    Share on X