ClearStock by InventoryX is live on the Shopify App Store.Install free →

Install ClearStock
English
  • English

Lost Sales Calculator

What did running out actually cost? Compute it from in-stock velocity, not from a made-up average.

Your numbers

In-stock velocity only

Capture rate is the share of in-stock demand you assume was lost. 100% is the conservative revenue view; lower it if buyers likely waited or substituted.

Lost Sales

Single SKU · TSHIRT-M-NAVY

In-stock velocity3.158/day

Lost units (est.)44.2

Lost revenue (est.)$1,061.05

Lost margin (est.)$641.05

Ad waste (est.)$168.00

Total loss (revenue view)$1,229.05

If you had reordered 14 days earlier

Units saved (est.)44.2

Revenue avoided (est.)$1,061.05

Extra carrying cost$8.63

Net margin benefit (est.)$632.42

Ad waste uses the spend you supplied, $12.00/day, not platform-reported spend. Margin and revenue are alternative views, not additive.

What this tool does

It measures velocity on the days the SKU was actually available, then prices the days it was not. You get lost units, lost revenue, lost margin, the ad spend that ran against a zero-stock product, and a scenario showing what an earlier reorder would have saved.

The default capture rate is 100%: every unit of in-stock velocity is assumed lost during stockout days. Lower it if buyers probably waited or substituted. That is an assumption you choose, not a number the tool invents.

What the CSV looks like

The batch file needs sku and units_sold. Add period_days, oos_days, price, unit_cost, daily_ad_spend and capture_rate.

ColumnWhat it means
units_soldUnits sold in the observation window. Required.
period_daysCalendar days in the window. Default 90.
oos_daysDays at zero on hand, supplied by you.
price / unit_costRevenue and margin per lost unit.
daily_ad_spendAverage daily spend attributed to the SKU.
capture_rateShare of demand assumed lost, as a percent (0–100).

What it will not do

  • It cannot observe stockout days without a file that records them.
  • Ad waste is an estimate from your spend, not platform-reported spend.
  • Lost margin and lost revenue are alternative views, never added together.
  • It does not forecast future stockouts — that is the Reorder Report's job.

To stop the next one, use the Reorder Report.