Book a demo

twelfth · Free calculator

Stockout lost sales calculator

Estimate how many sales a stockout cost and what they were worth. Sales data only records what sold, so the days a product was unavailable read as zero demand unless someone estimates what was missed.

Estimate lost sales from a stockout

How many sales did a stockout cost?

Sales lost = normal units per day × days unavailable − extra units similar lines sold

Unserved demand (units)
36.00
Recovered by similar lines (units)
10.00
Sales lost (units)
26.00
Gross profit lost ($)
156.00

About 26 of 36 units of demand left the store, worth $156.00 of gross profit. The normal rate should come from comparable days. Shoppers who stop visiting after a gap are not in this number.

See it alongside

Another example: Sales data only records what sold. Estimate unserved demand before a soft month is blamed on the range. Read Lost demand →

Download CSV template

Illustrative figures. Change any input to test your own scenario; values stay in this browser page.

How to calculate it

Sales lost = normal units per day × days unavailable − extra units similar lines sold

  1. Find the product's normal units sold per day from comparable days when it was available, such as the same weekdays in the previous few weeks.
  2. Multiply by the days it was unavailable. That is the unserved demand at the normal rate.
  3. Subtract the extra units similar lines sold in the same store over those days. What remains is an estimate of sales that left the store; multiply by gross profit per unit to value it.

Illustrative example

Three empty days on a coffee line

A coffee line sells about 12 bags a day at one store. It is unavailable from Thursday to Saturday, so the unserved demand at its normal rate is 12 × 3 = 36 bags. Over the same three days the store's other coffees sold 10 more bags than usual, so about 26 sales left the store. At $6 gross profit a bag, that is about $156.

The bigger cost is often in the data. The three zero days look like three days nobody wanted the product, and a forecast that learns from them orders less next time. Flag them as unavailable before the next forecast or range review uses that week.

Check before acting

  • Take the normal rate from comparable days. A promotion week inflates it, and a week with an earlier gap deflates it.
  • Count only extra sales of genuine substitutes in the same store. Unrelated lines that sold more prove nothing about where these shoppers went.

Questions about this calculation

How do you calculate lost sales from a stockout?
Multiply the normal units sold per day by the days unavailable, then subtract the extra units similar lines sold over those days. The remainder estimates the sales that left the store.
Why subtract sales of similar lines?
Some shoppers buy a substitute instead. Those sales stayed in the store, so counting them as lost would overstate the cost of the stockout.
Does this include shoppers who never come back?
No. A shopper who switches stores after a gap can cost future visits too. This estimate covers only the days the product was unavailable.

Keep working with this number

For a list of products, download this calculator’s CSV template or use the Excel workbook. The workbook can be imported into Google Sheets.

For the underlying term, read the glossary explanation. Then compare it with reorder point calculator and weeks of cover calculator.

← All free retail tools