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
| Metric | Formula | What 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 sale | Today minus the date of the most recent paid order containing the product | Whether it is slow or stopped |
| Days of cover | Units on hand / average daily units sold | How long current stock lasts at the current pace |
| Stock value at cost | Units on hand x unit cost | How 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.
| Group | Rule (adjust to your category) | Default action |
|---|---|---|
| Healthy | Sold in the last 30 days, sell-through above 20% in 90 days | Normal reordering |
| Slow | Sold in the last 90 days, sell-through under 20% | Stop reordering, check price and page |
| Stalled | No sale in 91 to 180 days | Bundle, feature or test a markdown |
| Dead | No sale in over 180 days | Mark down to clear or liquidate |
| Check first | Seasonal products, new launches, items that were out of stock | Compare 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.
| Product | Stock value at cost | Units sold, 90 days | Days of cover | Monthly carrying cost (2.1%) |
|---|---|---|---|---|
| Ceramic planter, large | $6,000 | 15 | 1,800 | $126 |
| Linen throw, olive | $3,400 | 4 | 3,825 | $71 |
| Brass hooks, set of 3 | $900 | 0 | None | $19 |
| Wall clock, walnut | $2,200 | 22 | 450 | $46 |
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:
| Option | Revenue | Carrying cost | Net | Left over |
|---|---|---|---|---|
| Hold at $50 (5 a month) | $3,000 from 60 units | About $1,360 over 12 months | About $1,640 | 240 units, $4,800 at cost |
| Mark down 30% to $35 (40 a month, estimated) | $10,500 from 300 units | About $470 over 7.5 months | About $10,030 | None |
| Liquidate now at $8 a unit | $2,400 | None | $2,400 | None |
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
- Fishbowl, What is carrying cost? How to calculate and reduce it
- Eightx, Dead Stock and Markdown Rates by Vertical, 2025 (July 2026)
- Eightx, Inventory Carrying Cost by Vertical: 2025 Benchmarks
- First Pier, Dead Stock
- Shopify, Dead stock
- Glew, Inventory Analytics
- WooCommerce, Installed Database Tables


