The New Black AI
← Journal

Shopify Days of Stock and Cost per Item: The New Black AI

Published 24 September 2026

How long does the stock of a product last? And what did each unit cost you? Two questions a Shopify fashion brand asks every week, and two fields that The New Black AI now shows on one line in the Store page's Inventory view.

Editorial fashion photograph generated with The New Black AI

What the view shows

For each product of your Shopify store:

  • Stock: the sum of its variants' quantities, as Shopify holds them.
  • Days of stock: the stock divided by the daily pace of your last thirty days of sales. A product with no sales shows no figure; a wrong number is worse than none.
  • Sold, 30 days: the units sold over those thirty days.
  • Cost per item: Shopify's own unit cost, editable in place. Type it on the product line and every variant gets it; if the variants already carry different costs, the product unfolds so you edit each one.

How it works

1. Open the Store page, Products, then Inventory. A store connected before this version has an Enable button to grant the two inventory scopes. 2. Read the days of stock and sort by them to see what runs out first. 3. Type the missing costs. They are written to Shopify's inventory item, where its margin reports read them.

Why it matters for a merchant

Shopify's Days of inventory remaining report exists, but it lives three menus away from the product, and the cost per item is empty on most stores because nobody fills it. The cost is the brick a profit calculation is missing: once typed here, the Profit & loss of the same page can count the cost of goods sold.

The feature is described on Shopify Inventory. Product performance, traffic and conversion are in Shopify product traffic and conversion.

Frequently asked questions

Is the pace the same as Shopify's report?+

Shopify averages over 28 days; this view uses the last thirty days of orders.

Does typing a cost change my prices?+

No. The cost per item is a private field of the inventory item; nothing on the storefront changes.

Can an AI agent read it?+

Yes. The agents you hire on the platform have the same reading and the same cost field.