Profit

Inventory tracking that finds profit: stock, ads and margin

Connect stock levels to ad spend and margin: stop paying for ads on items about to sell out, tell dead stock from off-season stock, and push what can grow.

·8 min read·By the ROASaurus team

Key takeaways
  • Dead stock is inventory that has stopped selling while it still ties up cash; a common working rule is stock on hand with no sale in the last 90 days.
  • Before you call it dead, compare with the same weeks last year: a winter range with no sales in summer is off-season, not dead.
  • The costly leak is the other end: ads that keep sending shoppers to a product that runs out before a new order can arrive.
  • Days of cover compared with the supplier lead time tells you what to reorder, what to pause in ads and what has room to grow.
  • In ROASaurus, Profit › Inventory shows stock value, revenue at risk, forecasts and merchandising views such as Pause in ads and Dead stock, and alerts warn when best sellers will run out within 7 days.

Dead stock is inventory that has stopped selling but still sits on your shelves and your balance sheet. A practical rule is stock on hand that has had no sale in the last 90 days. It matters for profit in two ways: the cash in it cannot be spent on stock that sells, and it often ends up sold at a loss. But dead stock is only half of the inventory problem. The other half costs money every day: ad spend on products that are about to sell out, and no ad spend on products with plenty of stock and a good margin.

This guide shows how to connect stock levels to ad spend and margin, with a worked example, how to tell dead stock from stock that is just off-season, and how ROASaurus puts it in one place.

Why stock belongs next to ad spend and margin

In most stores three people look at three screens. Operations sees stock counts. The media buyer sees campaigns. The founder sees revenue. Nobody sees that the campaign whose budget went up last week is pointing at a product with four days of stock left, or that the product with the best margin and a full warehouse gets no ad budget at all.

Profit depends on all three at once. Spend behind a product that is about to sell out, and you pay for clicks that cannot become orders. Leave deep stock with a good margin unadvertised, and cash sits still while you buy demand for something else.

QuestionSeparate tools and a spreadsheetStock connected to spend and margin
Is a best seller about to run out?Someone sees a low-stock tag, often after a customer asksDays of cover per variant, with the date it runs out and the sales at risk
Are ads pushing products we can't ship?Rarely checked: stock and ad accounts live apartA list of products likely to run out, sorted by their ad spend
What is dead stock worth?Found at the yearly stock countValued at cost every day, split from slow and never-sold stock
What should we push this week?Gut feelProducts with a high margin, enough stock and proven demand
When do we reorder?A spreadsheet that is out of dateA reorder point from the forecast and the supplier lead time
What changes when inventory sits next to ad spend and margin.

The three numbers that connect them

Days of cover=units on hand ÷ units sold per day

Example store: 9 linen shirts in size M on hand, selling 3 a day. Days of cover = 9 ÷ 3 = 3 days.

Revenue at risk=days without stock × units per day × price
Days without stock
From the day it runs out until a new order arrives, within the period you look at.
Price
The realized price per unit after discounts.

The supplier needs 14 days. Reordered today, the shirt is out for 14 − 3 = 11 days. Revenue at risk = 11 × 3 × $45 = $1,485.

Stock value at cost=units on hand × unit cost

240 wool scarves at $12 each = $2,880 of cash on the shelf.

Compare days of cover with the supplier's lead time. Fewer days of cover than the lead time means the product will run out before a new order can arrive, whatever you do today. That is the list to pause in ads and reorder. Far more days of cover than you need means cash is waiting; if the margin is good, that is the list to advertise.

How connecting stock to ads saves money

Here is the example store's week, with the three cases side by side.

ProductDays of coverLead timeAd spend per dayGross marginWhat to do
Linen shirt, M314 days$15048%Reorder now; cut ad spend on this variant
Canvas tote9521 days$062%Add to ads: high margin, deep stock, steady sales
Wool scarfNo sale in 90 days30 days$055%Check last year before calling it dead
Example store, one week in June.
  • Stop paying to advertise stock you will not have. If the shirt's ad set keeps spending $150 a day through the 11 days it is out of stock, that is $1,650 of spend sending shoppers to a page that cannot sell the item they clicked on. Shopping ads usually stop once your product feed marks an item out of stock, but ads that point to a product page often keep running.
  • Turn dead stock into a decision. $2,880 in scarves is a known number, not a surprise at the stock count. You can decide to hold it for winter, bundle it, or clear it, with the margin in view.
  • Find what to spend more on. The tote has a 62% margin and 95 days of stock, and nobody advertises it. Sending part of the shirt's budget there earns margin on stock you already paid for.

Dead stock or just off-season?

A 90-day rule flags anything that has not sold in three months. In June that includes your winter range. Before you discount it, check three things:

  1. Compare with the same weeks last year

    If the scarf sold 300 units between November and January last year and none in the summer, it is seasonal. Hold it, unless you need the cash now.

  2. Check whether it ever sold well

    Stock that never sold, or sold a handful of units in its best month, is a buying mistake rather than a season. That is the stock to clear.

  3. Look at the cost of holding it

    Storage fees, the cash you could put into fast sellers, and the risk that the product dates. Seasonal stock that you can hold cheaply is not a problem; stock that costs monthly storage at a third-party warehouse may be.

For truly dead stock, the options in order of margin are usually: bundle it with a best seller, offer it as a gift above an order value, sell it through a marketplace or outlet channel, and only then discount it hard. Write-offs belong in your P&L, as our guide to ecommerce write-offs explains.

How to set it up in ROASaurus

  1. Connect your Shopify store

    Install the ROASaurus Shopify app. Stock levels come with the product sync: press Sync from Shopify on the Profit dashboard.

  2. Add product costs

    Stock value at cost and margin need unit costs. The product sync brings them from Shopify, and you can add or change them under Settings › Costs › Product costs.

  3. Connect your ad accounts

    Ad spend per product is what links stock to campaigns.

  4. Set supplier lead times

    Under Profit › Inventory › Lead times, per variant, product, vendor or for the whole store. Without your own numbers, ROASaurus starts from a 14-day lead time, a 7-day review period and a 95% service level.

  5. Turn on notifications

    Choose email, Slack or push under your avatar › Notifications, so stock alerts reach you without opening the app.

Stock levels come from the Shopify product sync. On other webshop platforms the inventory pages show "No stock levels yet" for now.

What ROASaurus shows

Profit › Inventory › Stock shows per variant the units on hand, unit cost, value at cost, units sold, sales per day, days left, the stock-out date and revenue at risk over the next 30 days, with totals for stock value at cost and at retail, variants to reorder soon, variants out of stock and total revenue at risk. Forecast & restock forecasts demand per variant and turns the lead time into a reorder point, a safety stock and a suggested order quantity, with the chance of running out before a new order arrives.

Profit › Inventory › Merchandising sorts the catalog into six views:

ViewWhat it lists
Push in adsHigh margin and plenty of stock: room to sell more without running out
Pause in adsLikely to run out before a new order arrives, while ads still point at them, sorted by ad spend over the last 30 days
Selling outFewer days of stock than the lead time and review period
Slow moversSelling, but more than 120 days of stock at the forecast pace
Never soldStock on hand and not a single sale in the order history
Dead stockStock on hand and no sale in the last 90 days
The merchandising views in ROASaurus. Dead stock, slow movers and never-sold stock show their value at cost.

The demand forecast follows weekly patterns, not yearly seasons, so for seasonal ranges do the last-year check above yourself. Alerts warn when best-selling variants will sell out within 7 days, with the amount of sales at risk, and Actions › Recommendations › Profit insights flags products that are out of stock while they were selling.

The ROASaurus Mac app showing Profit insights: the biggest risk, the biggest opportunity and the health of profitability, demand, costs, marketing and products. Fictional demo store, simulated data.
The ROASaurus iPhone app showing Profit insights: the biggest risk, the biggest opportunity and the health of profitability, demand, costs, marketing and products. Fictional demo store, simulated data.
The costs and operations card flags stock problems next to the profit, revenue and marketing cards. In ROASaurus: Actions › Recommendations › Profit insights. Public demo with a fictional store and simulated data.

If you use Claude or another AI assistant, the ROASaurus MCP server answers inventory questions from the same reports, for example "which products should I pause in ads this week?" Changes to campaigns still go through the approval inbox; our guide to guardrails for AI agents explains why. For the bigger picture, see the Black Friday profit plan, where stock and ad budget meet at the busiest time, the guide to ecommerce automation, and profit analytics for the margin side.

In ROASaurus

Keep reading

AIAI agent guardrails for ecommerce: build the harness firstWhat an AI agent harness is, why a ROAS rule misleads an agent, and the profit floor, spend caps and definition of done to set before an agent acts.ProfitWrite-offs in an ecommerce profit and loss statementWhat a write-off is in an ecommerce P&L, the common ones (dead stock, bad debt, chargebacks, returns), where each lands and how to keep them small.ProfitAttribution or profit: which number should run the business?Why ROAS and multi-touch attribution can mislead a store, a worked example where 4x ROAS leaves little profit, and the profit metrics to run on instead.

FAQ

Questions, answered

More answers in the FAQ and the help center.

What is dead stock?

Inventory that has stopped selling while it still ties up cash. A common working rule is stock on hand with no sale in the last 90 days. Its cost is the cash in it, storage, and the discount it usually ends up needing.

How do you tell dead stock from stock that is just off-season?

Compare its sales with the same weeks last year. A product that sold well last winter and not in summer is seasonal. A product that never sold well, in any season, is dead stock.

Does an out-of-stock product still cost money if I am not advertising it?

Yes. It loses organic and returning-customer sales, can lower the conversion rate of campaigns and retargeting that feature it, and the margin on those lost orders is gone even when ad spend is zero.

Do I need a warehouse management system for this?

No. Stock levels from your store platform, product costs, sales per day and the supplier lead time are enough to see days of cover, revenue at risk and dead stock. A warehouse system helps with picking and counting, which is a different job.

Can I ask an AI assistant about my inventory every morning?

With ROASaurus you can connect Claude or another client through the MCP server and ask inventory questions answered from your reports. For a check without asking, turn on alerts by email, Slack or push; they warn when best sellers will sell out within 7 days.

How is revenue at risk calculated?

The days a product will be out of stock in the period, times the units it sells per day, times its realized price. In ROASaurus it covers the next 30 days if nothing is reordered.

Every sale, traced to the ad that earned it

Server-side tracking, profit and lifetime value in one app. Free plan, no credit card.