Blog

Cost of stockouts: how to estimate lost sales by store

Nov 20, 2026 · Floorwalk team

A stockout doesn't show up in your sales report as a loss. It shows up as nothing: a day with no sales of an item that normally sells. That's why the cost of stockouts is easy to underestimate. The sales you missed never appear anywhere, so nobody adds them up.

You can estimate them, though, with numbers you already have. This guide shows how to do it for each store, what it means for your margin, and how to stop the same items running out again.

What the cost of stockouts includes

A stockout is when an item has zero units available to sell at a store. It costs you in three ways:

  • Lost sales. Customers who wanted the item and couldn't buy it.
  • Lost margin. The profit on those sales, which is the part that actually hits your bottom line.
  • Customer side effects. Some customers buy something else. Some leave without buying anything. Some go to a competitor and don't come back next time.

The first two you can put a number on. The third you can't measure directly from POS data, so this guide doesn't invent a number for it. Treat it as a reason to take the first two seriously, not as a figure to add on top.

How to calculate lost sales from stockouts

The idea is simple: work out how much the item normally sells at that store each day, then multiply by the days it was at zero.

Lost units = normal daily units × days at zero
Lost sales = lost units × selling price
Lost margin = lost units × (selling price − unit cost)

The tricky part is "normal daily units". If you take the last 28 days and the item was out of stock for 10 of them, the average will be too low, because the days at zero drag it down. Use the 28 days before the item ran out instead. That's the store's real pace when it had stock.

Step by step:

  1. List the items at zero at each store, and the date each one ran out.
  2. Pull units sold per store for each item over the 28 days before it ran out.
  3. Divide by 28 to get normal daily units for that store.
  4. Count the days at zero, from the stockout date to today (or to the day stock came back).
  5. Multiply to get lost units, then lost sales and lost margin.

Do this per store, not for the chain. A chain-wide average spreads one store's stockout across stores that had plenty of stock, and the loss disappears.

A worked example: five stores, one candle

A chain sells a candle for $40. It costs $18, so each sale earns $22 of margin. Three of its five stores ran out over the past couple of weeks:

StoreNormal daily unitsDays at zeroLost unitsLost salesLost margin
Downtown2.5615$600$330
Westfield1.51015$600$330
Harbor1.044$160$88
Eastside0.500$0$0
Mall0.2500$0$0
Chain34$1,360$748

For one item, the chain lost an estimated $1,360 in sales and $748 in margin. Most of it came from two stores.

The part that hurts: while Downtown and Westfield were empty, the other two stores had candles to spare. Eastside had 20 on hand, selling 0.5 a day, which is 40 days of supply. Mall had 30 on hand, selling 0.25 a day, which is 120 days of supply. The stock existed. It was in the wrong stores.

If you keep 21 days of cover at the sending store (a common rule of thumb), Eastside needs about 11 units and Mall about 6. That leaves 9 and 24 units to spare, 33 in total, enough to cover nearly all of the 34 units Downtown, Westfield and Harbor lost.

Why the estimate is only an estimate

The formula is a fair starting point, but be honest about what it can't see:

  • Substitution. Some customers bought a different candle instead. For the store, that sale wasn't lost, so the estimate for this item overstates the loss to the store.
  • Walk-outs. Some customers came in for the candle and left with nothing, not even the other items they'd have bought with it. That loss doesn't appear in the estimate at all.
  • Seasonality. If the 28 days before the stockout included a holiday or a promotion, normal daily units will be too high. Pick a quieter window, or compare with the same weeks last year.
  • Low stock before zero. A store with one size left, or one damaged unit on display, sells less than its normal pace before it hits zero. Those lost sales aren't counted either.

These effects pull in different directions, and you can't measure most of them from POS data. Use the estimate to rank problems and decide what to fix first, not as an exact figure for your accounts.

The out of stock cost that compounds

A stockout also distorts the numbers you use to plan. While an item is at zero, its sales are zero, so a simple 28-day average makes it look like a slow seller. If you reorder from that average, you buy too little, and the store runs out again.

The same goes for sell-through rate. A store that sold out halfway through the month shows very high sell-through, which looks like good news. It's only good news if the store had stock on the shelf the whole time.

How to prevent stockouts

You can't prevent every stockout, but most of the expensive ones are predictable. Two habits do most of the work.

Watch days of supply, not just stock on hand

Days of supply tells you how long the stock on hand will last at the current pace:

Days of supply = available units ÷ average daily units sold over the last 28 days

Ten units means very different things at Downtown (four days) and Mall (forty days). Days of supply makes stores comparable. Check it weekly for your best sellers, and act on anything below your supplier's lead time plus a few days of safety.

Transfer before you reorder

When one store is running low and another has more than it needs, a transfer is usually faster than a new order and costs less. It also clears stock the other store wasn't going to sell. The candle example above is a typical case: the fix was already in the chain. See stock transfer between stores for how many units to move and what to check first.

A weekly routine that covers both:

  1. List your top items by revenue.
  2. For each, show days of supply at every store.
  3. Flag stores below your lead time.
  4. For each flagged store, look for a store with well over 21 days of supply of the same item.
  5. Transfer first. Reorder only what transfers can't cover.

Rank stockouts by margin, not by count

Ten items out of stock sounds worse than three. But if the three are best sellers at your busiest store, they probably cost more. When you review stockouts, sort by lost margin, not by how many items are at zero. Fix the top of the list first.

Where Floorwalk fits

Floorwalk checks every store and SKU each morning and shows days of supply and revenue at risk for each one. It flags best sellers that are out of stock at one store while other stores have them, with estimated lost sales based on the store's pace before it ran out. Where another store has stock to spare, it suggests a transfer that keeps at least 21 days of cover at the sending store. Purchasing and receiving stay in your POS; Floorwalk tells you where to look first.

See what's low in every store, every morning.

Book a 30-minute walkthrough, or explore the live demo with a full year of sample data from a 30-store chain.