Skip to content

Lost Sales From Stockouts Calculator

Estimate how much revenue and gross profit a product stockout may have cost you. Account for shoppers who bought a substitute or came back after restock.

Your inputs

View results

Use comparable days when this item was available to buy.

Use your typical price after discounts and before sales tax.

Use the cost you record in cost of goods sold for each unit.

Count days when shoppers could have bought the item.

Exclude purchases your business recaptured through substitutes, other locations, or later sales.

Example results

Estimated lost revenue
$2,880

Expected lost units valued at your selling price.

Lost gross profit
$1,296

Expected lost units valued at selling price less product cost.

Demand affected
60 units

Expected unit sales during the outage before recoveries.

Units lost
36 units

Expected unit sales your business loses after recoveries.

Try a lower and higher lost-demand percentage to see how customer substitutions or delayed purchases change the result.

This estimate uses a steady sales rate and treats each recovered sale as equivalent to a sale of the original item. Use USD for both money inputs.

Why use this calculator?

A stockout leaves a gap in your sales history. When a popular shoe size or a core accessory disappears from the shelf, your point of sale records the purchases you made. It takes a separate estimate to see how much demand you may have missed. This calculator puts a dollar value on an outage using your normal sales rate, selling price, product cost, and best estimate of how much demand you recovered.

Use the result to decide which shortages deserve attention first. Five days without a fast-selling item may cost more in gross profit than several weeks without a slow seller. If the same item keeps running out, use the estimated gross profit at stake to evaluate a faster delivery, a transfer from another store, or a change to your reorder point.

How this calculator works

Estimate the units shoppers would have bought during the outage, then apply the percentage of demand your business lost. The calculator values those units at your selling price and shows how much gross profit they would have generated.

  1. Demand affected = average daily sales while in stock × days out of stock.
  2. Units lost = demand affected × permanently lost demand percentage ÷ 100.
  3. Lost revenue = units lost × selling price per unit.
  4. Lost gross profit = units lost × (selling price per unit − product cost per unit).

Worked example. A running shoe normally sells 12 pairs a day at $80 and costs $44 per pair. Five days out of stock put 60 expected sales at risk. If the retailer permanently loses 60% of that demand, 36 sales are lost. That works out to $2,880 in estimated lost revenue and $1,296 in estimated lost gross profit.

Customer responses vary with the product and the alternatives shoppers can buy. Use a range for lost demand if you have limited evidence about substitutions or delayed purchases. Research on product substitutions and lost sales

Who this calculator is for

Inventory managers and buyers can use it to compare the impact of outages across SKUs and sizes. Start with items that sell steadily and have clear availability records. Compare the estimated loss for each repeated outage with the cost of holding a larger buffer or arranging a more reliable delivery schedule.

Store operators and ecommerce teams can use it to review a missed sales period at a particular store, warehouse service area, or online channel. If an online listing showed zero stock while a store still had units, review sellable quantities and fulfillment rules before placing another order. How to diagnose inventory accuracy issues across locations

Frequently asked questions

What counts as a stockout?

Count the time an active SKU or variant was unavailable to the shopper at the store or channel you are measuring. That can mean an empty shelf, a size that cannot be ordered, or a listing that shows unavailable even though sellable stock exists elsewhere.

Which days should I use to calculate my average daily sales?

Divide units sold by comparable days the item was available to buy. Match the outage’s mix of weekdays, weekends, promotions, and season where you can. Sales history that includes unavailable days can pull the estimate down.

How do I estimate the share of demand I lost?

Start with the units shoppers would typically buy during the outage. Compare that estimate with fulfilled backorders, sales you can trace to another store, and substitute sales above their usual baseline. Run a low and high lost-demand scenario if those signals are incomplete.

Do backorders and substitute purchases count as losses?

Treat fulfilled backorders and similar-value purchases with your business as recovered demand. A canceled backorder counts toward permanently lost demand. If a substitute has a meaningfully different price or product cost, compare its actual revenue and gross profit separately.

What if I have very little in-stock history?

Estimate the daily rate from the same item at a comparable store or from a similar product with similar traffic and availability. Run the estimate at several sales rates and revisit the assumption once you have enough of your own in-stock history.

Why can lost gross profit be negative?

A negative value means the entered product cost exceeds the selling price. In that scenario, the foregone units would have generated revenue and reduced gross profit. Check the actual selling price and recorded unit cost before interpreting the result.

Does the estimate include rush shipping or marketplace fees?

The gross profit calculation covers selling price and product cost. Compare rush freight, order fulfillment costs, channel fees, and other incremental expenses separately if you are deciding whether a specific recovery action pays off.

Can I estimate stockout losses across several stores or channels?

Run the calculator for each distinct outage using the local in-stock sales rate and price. Count a purchase redirected to another store or channel as a recovery once. Check that the same shopper demand appears only once before summing the results.

How should I handle a promotion or a partial-day stockout?

Use a rate from comparable promotions when the outage overlaps one. For a partial day, estimate expected units during the unavailable hours from hourly sales history and enter that estimate as the daily rate with one day out of stock. A busy Saturday afternoon can represent more demand than several quiet weekday hours.

Important retail metrics

Track availability beside demand and gross margin. Those measures help you decide whether to fix a recurring inventory issue, move stock to another store, or review a supplier's lead time.

Stockout rate by SKU-day

Unavailable SKU-location days ÷ eligible SKU-location days × 100.

Compare availability across stores using the same assortment and reporting period.

Average stockout duration

Days out of stock across completed outages ÷ number of completed outages.

Spot outages that take longer to resolve and follow up on open incidents separately.

In-stock sales velocity

Units sold ÷ days the product was available, using comparable days.

Estimate baseline demand and flag items that could run out quickly.

Demand recapture rate

Estimated units recovered ÷ estimated demand affected × 100.

See whether waitlists, substitutions, and cross-store fulfillment are recovering sales.

Gross margin rate

(Net sales − cost of goods sold) ÷ net sales × 100.

Compare how much gross profit sales generate across items with different prices.