Days inventory outstanding (DIO)
Days inventory outstanding (DIO), also called days sales of inventory (DSI), is the average number of days a business takes to sell its stock, counted at cost.
By Berend Vrakking, founder of Product Metrics. Updated 18 November 2026.
DIO formula: how to calculate inventory days
DIO = average inventory at cost ÷ cost of goods sold × days in the period
Average inventory = (stock value at the start + stock value at the end) ÷ 2, both at cost. Take both figures from the same period: 365 days for a year, 90 for a quarter, 30 for a month. For a year, DIO = 365 ÷ inventory turnover. Some use the closing stock value instead of the average; say which one you use.
Days inventory outstanding example
| Product | Average inventory ÷ cost of goods sold × 365 | DIO |
|---|---|---|
| Trail Runner | €10,000.00 ÷ €60,000.00 × 365 | 61 days |
| Winter Boot | €16,000.00 ÷ €8,000.00 × 365 | 730 days |
| Both products | €26,000.00 ÷ €68,000.00 × 365 | 140 days |
The shop’s 140 days blends a product that sells its stock in two months with one that needs two years and holds most of the money. Illustrative data.
Put it into practice
- Calculate it: Days of inventory and inventory turnover calculatorWork out DIO at cost from cost of goods sold and your opening and closing stock, for a year, a quarter or a month.
- Read the guide: Dead stock inventory: how to find it and clear itWhat to do with stock whose DIO keeps growing.
Days inventory outstanding: one product and the whole account
A lower DIO means stock turns into sales sooner and ties up less cash. A higher DIO means money sits in stock for longer, and so does the risk that some of it never sells. Very low is not automatically good either: a product with a short DIO that keeps running out is understocked.
Work it out per product, or at least per category. A shop-wide DIO lets one fast seller hide a slow product that holds most of the stock value, as in the example. In Product Metrics, the profitability dashboard covers stock next to profit, and Product Segmentation weighs inventory levels together with profitability, product returns, potential and competitor prices when it places each product in a segment.
Days inventory outstanding: common mistake
Dividing stock at cost by revenue instead of cost of goods sold. Revenue includes your margin, so the DIO comes out too short: Trail Runner with €120,000.00 of revenue would show 30 days instead of 61. Keep both figures at cost.
Days inventory outstanding: questions
How do you calculate days inventory outstanding?
Are DIO, DSI, inventory days and days in inventory the same?
What is a good days inventory outstanding?
How does DIO relate to inventory turnover?
What is the difference between DIO and days of inventory?
Where does DIO fit in the cash conversion cycle?
Keep reading
- Inventory turnoverThe same calculation as a ratio: how many times the average stock sold in a period.
- Days of inventory (stock cover)The forward-looking version in units: how many days today’s stock lasts.
- Cost of goods soldThe bottom half of the DIO formula.
- Slow-moving inventoryProducts whose DIO is far above the rest of the shop.
- GMROIGross profit on the same average inventory at cost, which adds the margin.