AI Supply Chain Brief

Free: one AI move for your job, every Friday.

Guides · Updated

Days of supply calculation example: inventory coverage, stockout gaps and an AI prompt

Short answerDays of supply = on-hand quantity ÷ average daily usage. Calculate it item by item, add open purchase orders only if they arrive before the stock runs out, and flag any item whose coverage is shorter than its lead time plus safety stock days. A group average can look healthy while single items are about to run out.

Fictional exampleExample Valve Co., its five items and every number below are made up. Don't paste real supplier pricing, part numbers or customer data into an AI tool; see the data-safety checklist.

The weekly inventory report says the group has almost 19 days of stock. Then Thursday's build needs seal kits and there are none on the shelf, because that average blends two shortages with four months of gaskets. Days of supply is the simplest coverage number in materials management, and also the easiest one to misread. This page works it out item by item for a fictional plant, adds open purchase orders the right way, finds the projected stockout day, and gives you a free template and an AI prompt that runs the check with you.

What is days of supply?

Days of supply = on-hand quantity ÷ average daily usage. It tells you how many days the stock on the shelf lasts at the current rate of use, before anything new arrives. Use the same day basis everywhere: if usage is per working day, count lead times and PO due dates in working days too.

Two other numbers look similar but answer different questions. Days of supply including open POs adds the quantity on order, which is only fair if those orders land before the shelf runs empty. Days sales of inventory is a finance ratio, average inventory value ÷ cost of goods sold × 365, as Investopedia explains: useful for comparing companies, useless for deciding which part to chase this morning. The economy-wide version is the U.S. Census Bureau's inventories-to-sales ratio, which was 1.33 for total U.S. business at the end of August 2026 in its Manufacturing and Trade Inventories and Sales report. That is roughly 40 days of sales on hand across the whole economy, and it tells you nothing about the one item about to run out.

Worked example: five items, one morning

Example Valve Co. uses forward average daily usage from its production plan for the next 20 working days, not last quarter's history, because two of these items feed a product that is ramping up. Today is working day 0.

ItemOn handDaily usageOpen PO qtyPO due (day)Lead time (days)Safety stock (days)Days of supply on handIncl. open POStatus
V-100 valve body1,200802,0001030815.040.0OK
S-220 seal kit300601,50082055.030.0Short
A-310 actuator9040none451022.522.5Short
G-415 gasket18,0001505,00015205120.0153.3Excess
B-520 bolt kit2,4001001,00020251024.034.0Watch

The status rules are simple, and you can change the thresholds to suit your plant:

  • Short: the item runs out before the next receipt, or there is no open PO and the stock runs out before a new order could arrive (days of supply on hand is less than the lead time).
  • Watch: it doesn't run out, but coverage including open POs is less than lead time plus safety stock days.
  • Excess: coverage including open POs is more than 90 days. Ninety is this example's threshold, not an industry standard.
  • OK: everything else.

What the numbers say

S-220 looks fine and isn't. Counting its open PO, it has 1,800 ÷ 60 = 30 days of coverage. But the 300 on the shelf last 300 ÷ 60 = 5 days, and the PO is due on day 8. That is a 3-day gap, and the 30-day number hides it completely. Ask the supplier to pull in or split the PO so part of it lands by day 5.

A-310 is already late. 90 ÷ 4 = 22.5 days of stock, nothing on order, and a 45-day lead time. Even an order placed today leaves a gap of 45 − 22.5 = 22.5 days, so this one needs an order now plus an expedite request or an approved alternate.

B-520 is a watch item. It has 3,400 ÷ 100 = 34 days including its PO, one day short of the 35 it needs (25-day lead time plus 10 safety days). Confirm the supplier has acknowledged the day-20 date before you do anything else.

G-415 is the opposite problem. 18,000 ÷ 150 = 120 days on the shelf, and another 5,000 arriving on day 15. Push that PO out or cancel it, and if usage doesn't pick up, take the item to the excess and obsolete review.

The group average is the trap. Weighted by value, the five items hold $101,700 of stock against $5,380 of daily usage: 101,700 ÷ 5,380 = 18.9 days. That sounds healthy. It also contains two shortages and one item with four months of stock. Report coverage by item, or at least list the shorts next to any average.

What should you check before you trust the number?

  • Is the on-hand right? Days of supply is only as good as the inventory record. A cycle count program is how you keep it honest.
  • Which usage did you use? A trailing average hides a ramp-up or a product that is being phased out. Use the forward plan when you have one, and check for one-off orders that inflate the history.
  • Are the open POs real? Count a PO only if the supplier has confirmed the quantity and date. An unacknowledged PO is a hope, not supply.
  • Same units, same days? Cases versus each and calendar versus working days are the two most common ways to be off by a factor of five.
  • Is safety stock in the target? Coverage needed is lead time plus safety stock days. If your safety stocks are old, rework them with the safety stock calculation example first.

Do it with AI

You are a materials analyst checking inventory coverage. Inputs, all anonymized (item codes instead of part names, no supplier names), one row per item: item code, unit cost, on-hand quantity, average daily usage (state whether it is forward plan or trailing history), open PO quantity, PO due day (working days from today; blank if none), whether the PO is acknowledged (yes/no), lead time (working days) and safety stock (days).
[PASTE TABLE]
1) For each item, calculate days of supply on hand (on hand ÷ daily usage) and days of supply including open POs. Show your math for the first row.
2) Find the projected stockout day and any gap between it and the PO due day. With no open PO, compare days of supply on hand with the lead time.
3) Give each item a status: Short (runs out before supply can arrive), Watch (coverage including POs below lead time plus safety days), Excess (coverage above [90] days) or OK. Treat unacknowledged POs as uncertain and say so.
4) Calculate value-weighted days of supply for the group and list every Short item next to it.
5) Suggest one next step for each Short, Watch and Excess item (pull in or split a PO, place an order and request an expedite, confirm the PO date, push out or cancel a PO) with a one-line reason.
Output: a table with columns item, days on hand, days incl. POs, stockout day, gap days, status, next step; then a three-line summary. Keep it under 300 words. Use only the numbers I give. List any missing or inconsistent data instead of guessing.

What to check: recompute one row by hand or in the template, confirm the open PO dates with your buyers before you promise anything to production, and agree the excess threshold with Finance. For more inventory prompts, see ChatGPT prompts for inventory management; for news on parts with stretching lead times, follow #lead times.

Free template

Download the days of supply template (CSV), pre-filled with the five fictional Example Valve Co. items. Days of supply, coverage including open POs, gap days, status and the value-weighted group number are formulas, so you can paste in your own anonymized rows.

FAQ

How do you calculate days of supply?

Divide on-hand quantity by average daily usage. In the example on this page, V-100 has 1,200 on hand and uses 80 a day, so it has 15 days of supply.

Should days of supply include open purchase orders?

Show both. Coverage including open POs only counts if they arrive in time: S-220 has 30 days including its PO, but its 5 days on hand run out 3 days before the PO is due.

What is the difference between days of supply and days sales of inventory?

Days of supply is an item-level count of how long stock lasts at the current usage rate. Days sales of inventory is a finance ratio: average inventory value divided by cost of goods sold, times 365.

What is a good days of supply?

At least the item's lead time plus its safety stock days, so a new order can arrive before you run out. Above that, set an excess threshold with Finance; the example uses 90 days.

Why is an average days of supply misleading?

Plenty of stock on some items hides shortages on others. In the example, the value-weighted group has 18.9 days while two of five items are short.

Can ChatGPT calculate days of supply?

It can do the math and flag shortages from an anonymized table. Recheck one row yourself and confirm PO dates with your buyers before acting.

Is there a days of supply template?

Yes. The CSV on this page opens in Excel or Google Sheets with the formulas filled in.