Dead Stock Analysis: Finding the Products That Will Never Sell Through

Stock that does not sell costs money every month it sits, and WooCommerce and Magento do not keep the history needed to spot it. Here is how to age your inventory from order data, rank slow products by the cash they tie up, and use carrying cost to decide between holding, marking down and liquidating.

Every store has products that stopped selling and never left. They sit in the warehouse, on the balance sheet and sometimes on the homepage, and because they are not doing anything wrong, nobody looks at them. Yet holding them is not free. Most companies aim to keep inventory carrying cost, the combined cost of capital, storage, insurance, shrinkage and obsolescence, between 20 and 30 percent of inventory value per year, although the Institute for Supply Management notes there is no consensus benchmark.

The share of stock that is not moving can be large. Eightx, a finance firm for consumer brands, compiled practitioner benchmarks that put dead stock at 20 to 30 percent of on-hand inventory in fashion apparel and consumer electronics, against 3 to 7 percent in beauty. They are aggregates rather than a survey, so treat them as a rough range. The point is that a meaningful slice of the money in your stockroom may be earning nothing.

This guide shows how to find that slice with the data a WooCommerce or Magento store actually has, how to rank it by cost rather than by units, and how to decide what to do with each product.

Four numbers to calculate per product

MetricFormulaWhat it tells you
Sell-through rate (90 days)Units sold in 90 days / (units sold + units on hand)How much of the available stock moved
Days since last saleToday minus the date of the most recent paid order containing the productWhether it is slow or stopped
Days of coverUnits on hand / average daily units soldHow long current stock lasts at the current pace
Stock value at costUnits on hand x unit costHow much cash the product holds

Sell-through is the most common screening metric. One widely used rule of thumb treats a sell-through rate below 20 percent at 90 days as a strong signal that a SKU needs intervention. Days since last sale separates the slow from the stopped, and stock value decides which ones are worth your time first.

The data problem: your store only knows today’s stock

WooCommerce and Magento store a current stock quantity for each product and overwrite it on every sale and every delivery. Neither keeps a history of receipts, so you cannot ask when the units on the shelf arrived. Proper inventory aging, which starts from the receiving date, needs that history. Two practical substitutes work well enough to find dead stock:

  • Age by last sale instead of by receipt. The order tables tell you when each product last sold. A product with stock and no sale in 180 days is stuck, however long ago it arrived.
  • Start a nightly snapshot today. Copy product ID, stock quantity and cost into a table every night. Within a few months you will have a stock history for sell-through, receipts and aging. We described the same snapshot for a different purpose in our guide to estimating lost sales from stockouts.

Cost is the other gap. WooCommerce has no cost field in many setups, so it usually comes from a cost of goods plugin, an ERP export or a spreadsheet joined by SKU. Magento has a cost product attribute, though it is often left empty. Without cost you can still rank by units and days, but you cannot rank by money.

The query below builds the per-product table on WooCommerce from the analytics lookup tables. Replace the cost meta key with whatever your store uses.

-- Stock, 90-day sales, last sale date and stock value per product (WooCommerce)
SELECT p.product_id,
       p.sku,
       p.stock_quantity                                         AS on_hand,
       COALESCE(s.units_90d, 0)                                 AS units_90d,
       s.last_sale,
       DATEDIFF(CURDATE(), s.last_sale)                         AS days_since_sale,
       ROUND(COALESCE(s.units_90d, 0)
             / NULLIF(COALESCE(s.units_90d, 0) + p.stock_quantity, 0), 3)
                                                                AS sell_through_90d,
       ROUND(p.stock_quantity / NULLIF(s.units_90d / 90, 0))    AS days_of_cover,
       ROUND(p.stock_quantity * CAST(c.meta_value AS DECIMAL(10,2)), 2)
                                                                AS stock_value_at_cost
FROM wp_wc_product_meta_lookup p
LEFT JOIN (
    SELECT l.product_id,
           SUM(CASE WHEN l.date_created >= CURDATE() - INTERVAL 90 DAY
                    THEN l.product_qty END)                     AS units_90d,
           MAX(DATE(l.date_created))                            AS last_sale
    FROM wp_wc_order_product_lookup l
    JOIN wp_wc_order_stats o ON o.order_id = l.order_id
    WHERE o.status IN ('wc-completed', 'wc-processing')
    GROUP BY l.product_id
) s ON s.product_id = p.product_id
LEFT JOIN wp_postmeta c ON c.post_id = p.product_id
                       AND c.meta_key = '_your_cost_meta_key'
WHERE p.stock_quantity > 0
ORDER BY stock_value_at_cost DESC;

For variable products, join on variation_id as well, since stock is usually held per variation. Products that never sold at all will show an empty last sale date; treat them as the oldest bucket and check their publish date.

Bucket the stock by age

Group stock value by days since last sale. The shape of the chart tells you more than any single number: a healthy catalogue has most of its value in the first bucket, while a growing tail on the right is money that is getting harder to recover each month.

Stock value by days since last sale Bar chart of stock value at cost in five buckets of days since last sale. 0 to 30 days holds 48,000 dollars, 31 to 90 days 26,000, 91 to 180 days 12,000, 181 to 365 days 9,000, and over 365 days 15,000 dollars shown in red. $48,000$26,000$12,000$9,000$15,000 0 to 3031 to 9091 to 180181 to 365Over 365 Days since last sale (stock value at cost)
Illustrative store with $110,000 of stock at cost. The red bar, 14 percent of the total, has not sold in over a year.
GroupRule (adjust to your category)Default action
HealthySold in the last 30 days, sell-through above 20% in 90 daysNormal reordering
SlowSold in the last 90 days, sell-through under 20%Stop reordering, check price and page
StalledNo sale in 91 to 180 daysBundle, feature or test a markdown
DeadNo sale in over 180 daysMark down to clear or liquidate
Check firstSeasonal products, new launches, items that were out of stockCompare with the same months last year

The last row matters. A winter coat with no sales since March is seasonal, not dead. A product that shows no recent sales because it was out of stock is the opposite problem. Check both before acting.

Rank by the money, then decide

Eightx turns the annual carrying cost into a monthly decision rule: at 25 percent a year, holding stock costs about 2.1 percent of its value per month, so if waiting another month will not improve net proceeds by more than 2.1 percent, mark down now. Applied to the products in your oldest buckets, that gives a monthly cost for each one.

ProductStock value at costUnits sold, 90 daysDays of coverMonthly carrying cost (2.1%)
Ceramic planter, large$6,000151,800$126
Linen throw, olive$3,40043,825$71
Brass hooks, set of 3$9000None$19
Wall clock, walnut$2,20022450$46
Illustrative. Rank by stock value and carrying cost, not by units on hand.

Take the first row: 300 planters at $20 cost, $6,000 in total, selling five a month at the full price of $50. Three options over the next year:

OptionRevenueCarrying costNetLeft over
Hold at $50 (5 a month)$3,000 from 60 unitsAbout $1,360 over 12 monthsAbout $1,640240 units, $4,800 at cost
Mark down 30% to $35 (40 a month, estimated)$10,500 from 300 unitsAbout $470 over 7.5 monthsAbout $10,030None
Liquidate now at $8 a unit$2,400None$2,400None
Illustrative. Carrying cost at 2.1 percent a month on the average stock value at cost over the period.

The markdown wins by a wide margin, but only if the estimate of 40 sales a month holds. That estimate is the weak point, so test it: mark down a small batch or one variant for two weeks and measure the response before committing the rest. Our guide to estimating price elasticity from your own price changes covers how to read that test without being fooled by seasonality. Liquidation is the floor: it is the right answer when a markdown test shows almost no response or the product is close to expiry.

Stop creating it

Most dead stock is created when the purchase order is placed, not when sales slow down. A few habits prevent most of it:

  • Check sell-through before every reorder, not only at a quarterly review.
  • Review the age buckets monthly and track the share of stock value over 180 days as a single number on your dashboard.
  • Use ABC analysis to spend attention where the money is. Shopify’s guide suggests monitoring sell-through weekly and marking down weak products before they become long-term dead stock.
  • Set the markdown trigger in advance. Decide the days-since-sale and sell-through levels that start a markdown, so the decision does not wait for someone to notice.

If you would rather not maintain the queries yourself, commerce analytics tools cover parts of this. Glew, for example, reports sell-through rate, inventory velocity and depletion days across WooCommerce, Magento and other platforms. Whatever the tool, the stock snapshot and the cost field are the two inputs you have to supply.

Sources