A stockout is a period when an item the retailer intends to sell has no saleable unit on the shelf. Gruen and Corsten’s out-of-stock guide for the Grocery Manufacturers of America says the event begins when the last saleable unit leaves the shelf and ends when the shelf is replenished. The definition counts the shelf, not the warehouse record. A store can hold units in the backroom, or show units in its inventory system, and still be out of stock from the shopper’s point of view.
What stockout means in practice on a retail shelf
In practice, a stockout is any time a shopper cannot find a saleable unit of the item in its expected place. Gruen and Corsten count it as a lost sale even when the item is somewhere in the store but hidden from the shopper. Their audit method counts a “hole” wherever a shelf tag or the planogram says the item should be and no unit is visible, and an item placed in the wrong spot or hidden behind another product still counts as a hole.
The 2002 worldwide study by Gruen, Corsten and Bharadwaj put average out-of-stock levels in fast-moving consumer goods at about 8.3%, with 7.9% in the US and 8.6% in Europe. The authors translate the roughly 8% level into one item out of stock for every 13 a shopper wants to buy, and a loss of about 4% of retailer sales. About 75% of the cause was retail store practice rather than upstream supply.
How are a system stockout, an on-shelf stockout and a phantom stockout different?
The three types differ in where the product actually is and what the inventory record believes. Gruen and Corsten split out-of-stocks into “not in the store” and “not on the shelf” because the two have different causes and different fixes. Phantom stockouts are a third case that sits on top of the first: the store is truly empty, but the record says it is not.
| Type | Physical reality | What the inventory record shows | Typical root cause |
|---|---|---|---|
| System (store) stockout | No unit anywhere in the store | Perpetual inventory data covers this type | Forecasting, ordering, delivery or upstream supply |
| On-shelf stockout | Units in the backroom, wrong location or hidden behind other products | Perpetual inventory data does not show shelf gaps | Shelf space allocation, restock frequency, monitoring |
| Phantom stockout | No unit in the store | Positive on hand (wrongly) | Theft, replenishment errors, incorrect sales recording |
In the 2002 study, about 25% of out-of-stocks were shelf stockouts, where the product was in the store but not on the shelf when the shopper wanted it.
Why inventory systems miss the stockouts customers see
Inventory systems record movements, not shelf exposure. ERP and warehouse platforms track inventory moving between locations and are not designed to verify the shelf, so a system can believe a SKU is on hand while the shelf is empty because of misplacement, shrink or delayed replenishment. Our own ledger-versus-shelf view of inventory control makes the same point: the ledger can be perfectly accurate while the shelf is empty or stocked with the wrong SKU.
The records themselves are often wrong too. In an audit of more than 20,000 items, perpetual inventory matched the physical count only 45.4% of the time, and was off by three or more units 25.8% of the time. Records that overstate stock do the most damage. Where the record matched reality, out-of-stock levels were 4.1%; where it did not, they were 8.9%, about 2.2 times higher.
The mechanism is a replenishment freeze. Automated reordering compares stock on hand plus stock on order against a reorder point, so a record that overstates stock simply never triggers the order. Kang and Gershwin (MIT) named this inventory freezing, and once it happens the only way out under automated replenishment is a manual recount. Their simulation found that unrecorded stock loss of just 1% of average demand accumulated enough record error to lose 17% of total demand to out-of-stocks. That is a modelled result, but it shows replenishment is highly sensitive to untreated record error.
Recent multi-retailer audit data measures how common phantom inventory is. ECR Retail Loss analysed more than 1.3 million stock-audit records from six grocery retailers (2018 to 2022) and found phantom inventory affecting between 8% and 24% of items at any given audit.
Worked example: how a slow mover freezes
Gruen and Corsten give a case where the failure is easy to follow. Assume an item sells once every two weeks, deliveries are weekly, shelf capacity is two units and the reorder point is one unit. The store physically holds one unit but the record shows three. When that one unit sells, the shelf is empty and the record drops to two, which is still above the reorder point, so no order is placed and the item can stay out of stock for several weeks.
How does a stockout differ from a backorder, and why does that distinction matter for retail availability?
A stockout is a condition; a backorder is a process for handling it. A stockout is the state of having no sellable inventory, while a backorder is the operational decision to record the customer’s order and fulfil it later when stock arrives. In other words, a stockout describes what is happening, and a backorder is one process for dealing with demand that cannot be met immediately.
A shopper standing in front of an empty shelf does not place a backorder: in the 2002 worldwide data, shoppers facing an out-of-stock switched items 31% of the time, switched brands 15%, switched stores 19%, delayed 26% and cancelled 9%. Backorder rate is best read as a downstream consequence of stockouts, not a substitute measure for them.
Which stockout rate should a retailer aim for, and which formula fits each measurement method?
The simplest stockout rate is stockout events divided by opportunities to sell, times 100, where opportunities include both successful sales and missed ones. Retail and e-commerce operations generally aim to keep it below 2 to 3%, and a rate above 5% usually signals a systemic inventory problem. Treat those thresholds as a general benchmark rather than a category standard: visual inspections at a Latin American big-box supermarket found an average near 8%, with large differences between products: 48% for chocolate and 0.8% for frozen potatoes.
The number you get depends on how you measure. Audits, point-of-sale analysis and perpetual inventory data each measure different aspects of out-of-stock and report different rates. Before comparing your rate against anyone else’s, it is worth checking which of these you are both using.
| Metric | Formula | Can be measured by |
|---|---|---|
| Point-in-time OOS rate | Share of carried SKUs missing from the shelf at the moment of audit, averaged across categories | Manual audit |
| OOS duration rate | Total hours out of stock ÷ total selling hours in the period | POS analysis |
| Shelf availability rate | 100% minus the OOS duration rate | POS analysis, as for duration |
| Lost unit sales rate | Estimated lost units ÷ (units sold + estimated lost units) | POS analysis |
| Customer impact rate | Share of baskets the item would have appeared in but did not | Estimated basket counts |
A quick worked case from the same guide: a store open 24/7 that has an item out of stock for 20 hours in a week has a duration rate of 20 ÷ 168 = 12%, and so a shelf availability rate of 88%. Note that the traditional 8% headline figure was measured by manual audit, so it counts items out at a single point in time.
How does shelf-execution AI detect a stockout sooner than store-staff rounds?
Shelf-execution AI checks the shelf at pre-determined intervals, while manual rounds depend on how often and when staff run them. Manual audits depend heavily on that frequency and timing, and on counters not making mistakes. They tend to run at fixed times, cover a small share of the assortment, and catch obvious gaps more readily than partial facings, misplaced SKUs or products trapped behind overstock.
A detector finds products and shelf rows, and the system compares the observed layout (the realogram) row by row against the planogram, labelling each position as correct, misplaced or out of stock. In a system deployed in 7-Eleven stores, an item is flagged as missing when the gap between two neighbouring detected products exceeds a threshold. Walmart Canada’s rollout of Focal Systems cameras, after a 70-store pilot, scans shelves at pre-determined intervals, triggers replenishment through the retailer’s existing inventory systems and sends an alert to an associate. Where the detection should feed ordering rather than just a task list, see how CV-driven shelf data triggers replenishment.
Cameras are not the only route. Point-of-sale methods infer a stockout from unusually long gaps between sales and work best for fast sellers. A hidden Markov model built on supermarket POS data by Montoya and Gonzalez (2019) caught 63.48% of on-shelf stockouts with a 15.12% false-alarm rate. Gruen and Corsten note that POS methods tend to miss stockouts where the losses are small. Transaction analysis can also flag phantom inventory directly: RELEX describes estimating the true on-hand balance from sales, deliveries and adjustments, and prompting a count when it diverges from the record.
Spotting an empty facing is a repeatable, menial task with a clear definition of done, and that is the kind of problem where AI has realistic, measurable value rather than one that would need super-human judgement. TechnoLynx builds the engineering behind this for retailers: shelf detection models, the gap and planogram logic, and the integration that closes the out-of-stock loop, turning a flagged gap into a restocking task, scoped first against the cameras and devices a store already has. More on that work is on our retail engineering page. If your records show the problem is mostly phantom inventory, a transaction-based tool that corrects stock records may be the better first step than cameras.
What hardware is needed to detect stockouts, or can existing cameras and mobile devices be reused?
Existing devices are one option, and the choice depends on store format and how often shelves need updating. Scandit, a vendor, says its ShelfView product can capture shelves with robots, fixed cameras, existing mobile devices or a mix, including Zebra TC5x/7x mobile computers and iPhones, and positions mobile capture as suited to smaller stores with less frequent updates. The same vendor reports a deployment that identified 43% workable out-of-stocks and raised on-shelf availability by 5.0 percentage points. Read those as vendor claims, not independent results.
Each capture method has a constraint. Narrow aisles make robots impractical, and fixed cameras struggle with field of view in small stores or awkward areas, according to the same vendor guide. Robots have a real track record in both directions. Walmart ended its Bossa Nova shelf-scanning robot contract after planning to expand from 350 to 1,000 stores, saying it was trying other ideas; according to reports, its staff now walk the aisles more often to fill online orders. On the other side, an academic robot system in Italian supermarkets reached about 85% F1 on empty and partly empty shelves and completed a round about 8 times faster than a human operator.
Our view is that “no new hardware” holds only where the store’s existing cameras actually see the shelves that matter, or where staff already carry devices on regular routes. We would audit whether existing cameras give a front-on view of the shelves before promising anything. On the compute side, the Target team’s empty-shelf model processed up to 67 images per second on an Intel Xeon Gold CPU and up to 860 on an A100 GPU. We cover the retrofit route in more depth in shelf-execution AI that catches stock-outs without hardware replacement.
Where does stockout detection still fail?
Camera detection fails where the image does not show the shelf clearly or the shelf deviates from the model’s training data. Trolleys, shoppers, morning sun glare and fogged cooler doors all degrade images. Tight aisles and varying shelf depths often make it impossible to capture a whole shelf in one frame, and non-frontal viewpoints and uneven lighting leave partial or distorted views. The 7-Eleven system’s authors state that their model was not trained or evaluated for severe occlusion, backward-facing products or overlapping merchandise, and they call occlusion common on retail shelves.
Public SKU datasets such as SKU-110K give a generic detector for packed products but not fine-grained SKU identity, planogram context or a specific retailer’s lighting, so a public baseline is a starting point rather than a deployment. We would plan for retraining each time the assortment shifts, not treat the model as finished at launch.
Accuracy claims need the same scrutiny. Pretius says mature systems regularly exceed 90% precision and recall on gap detection; the Target paper reports a mean F1 of 68.5% for its low-latency model. The vendors also disagree on how much accuracy matters: Pretius argues lower accuracy still delivers value when the system is well integrated, while Scandit says insights below 99.5% accuracy undermine efficiency and staff acceptance. Our reading is that measured, published results such as the Target figure are more useful planning numbers than summary claims, and that the practical threshold is set by how many false alerts store staff will tolerate before they ignore the feed.
The 7-Eleven system outputs “Unknown” when a shelf deviates far from its training data, and its authors report that complex cases are rare enough in daily operation not to burden staff. Moving a model from a pilot aisle to a full estate is the same hardening problem we see in scaling inspection models from pilot cell to full line in manufacturing. For what happens with messy shelves and heavy shopper traffic, and why staff stay in the loop, see what shelf-execution AI does not do.
How do we measure the cost of a stockout and the lift from faster detection?
Measure a stockout’s cost as lost sales plus the operational cost around it. Lost sales alone understate the cost: stockouts also distort demand and forecasts, weaken promotions, and take staff time answering shoppers, which Gruen and Corsten estimate at $800 per week for a typical US grocery store. Their monetary loss rate also ignores substitution, so the summed per-item loss overstates what the retailer actually loses.
Fast movers matter most. High-demand items had almost six times the lost sales from stockouts of low-demand items, so focus belongs on the SKUs making up most sales.
For the lift, we would track three numbers on a defined set of SKUs before and after deployment: the shelf availability rate, the time from a detected gap to a restocked shelf, and the count of gaps the camera found that the inventory record showed as in stock. ECR Retail Loss reports that correcting inventory records lifts sales by roughly 4 to 8%, with the largest gains on fast movers. Montoya and Gonzalez work through a modelled case where about 7% higher detection power is worth about $48 million a year for a 400-store chain, under their stated assumptions. A pilot with a matched control group of stores is the honest way to size the lift from camera detection for your own estate.
FAQ
Which type of inventory is held to reduce the probability of a stockout?
Safety stock. Record errors push it up: in the Kang and Gershwin simulation, 1% unrecorded stock loss meant raising the reorder point from 41 to at least 73 to hold the same 0.5% stockout level.
Does more backroom stock reduce stockouts?
Not by itself. Gruen and Corsten found the opposite of the intuitive view: backstock beyond known demand creates a costly second storage point rather than reducing out-of-stocks.