---
title: "Days inventory outstanding (DIO): formula | Product Metrics"
description: "Days inventory outstanding (DIO) is how many days your stock takes to sell, counted at cost. The formula, how it links to turnover, and a worked example."
canonical: "https://www.productmetrics.io/glossary/days-inventory-outstanding"
pageType: article
language: en
publisher: "Product Metrics"
author: "Berend Vrakking"
datePublished: 2026-11-18
dateModified: 2026-11-18
---

> Content index: https://www.productmetrics.io/llms.txt

# 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.

## 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

Worked example, one year, all values at cost:

| 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 calculator](https://www.productmetrics.io/inventory-turnover-calculator): Work 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 it](https://www.productmetrics.io/blog/dead-stock-inventory): What 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?

Divide average inventory at cost by cost of goods sold for the same period, then multiply by the days in that period. With €10,000.00 of average inventory and €60,000.00 of cost of goods sold in a year, DIO = €10,000.00 ÷ €60,000.00 × 365 = 61 days. Illustrative data.

### Are DIO, DSI, inventory days and days in inventory the same?

Yes. Days inventory outstanding (DIO), days sales of inventory (DSI), inventory days and days in inventory are names for the same calculation at cost. Check whether a source uses average or closing stock, and 365 or 360 days, before you compare figures.

### What is a good days inventory outstanding?

There is no single good number: products that spoil or follow a season need to sell faster than spare parts or furniture. Compare a product with its own earlier periods and with similar products, and look first at products whose DIO is far above the rest and which hold a lot of stock value.

### How does DIO relate to inventory turnover?

DIO is inventory turnover expressed in days. For a year, DIO = 365 ÷ turnover: a product that turns 6 times a year has a DIO of 61 days, and one that turns 0.5 times has a DIO of 730 days.

### What is the difference between DIO and days of inventory?

DIO looks back: how long the average stock took to sell over a past period, counted at cost. Days of inventory, or stock cover, looks forward: units on hand ÷ units sold per day, which tells you when a product runs out at its recent selling rate.

### Where does DIO fit in the cash conversion cycle?

The cash conversion cycle = DIO + days sales outstanding − days payables outstanding: the days between paying for stock and receiving the money from selling it. With a DIO of 61 days, customers who pay at checkout and 30 days to pay your supplier, the cycle is 31 days. Illustrative data.

## Sources

- [OpenStax: Inventory turnover and days’ sales in inventory](https://openstax.org/books/principles-financial-accounting/pages/10-5-examine-the-efficiency-of-inventory-management-using-financial-ratios)

## Keep reading

- [Inventory turnover](https://www.productmetrics.io/glossary/inventory-turnover): The same calculation as a ratio: how many times the average stock sold in a period.
- [Days of inventory (stock cover)](https://www.productmetrics.io/glossary/days-of-inventory): The forward-looking version in units: how many days today’s stock lasts.
- [Cost of goods sold](https://www.productmetrics.io/glossary/cost-of-goods-sold): The bottom half of the DIO formula.
- [Slow-moving inventory](https://www.productmetrics.io/glossary/slow-moving-inventory): Products whose DIO is far above the rest of the shop.
- [GMROI](https://www.productmetrics.io/glossary/gmroi): Gross profit on the same average inventory at cost, which adds the margin.

---

Written by Berend Vrakking, founder of Product Metrics. Last updated 2026-11-18.

HTML version: https://www.productmetrics.io/glossary/days-inventory-outstanding
