GuidesDays inventory outstanding calculator
See how long your stock sits before it sells, and the cash tied up in it.
Your numbers
Your DIO
91days
How it works
Days inventory outstanding (DIO) is the average number of days your stock sits before it sells: average inventory at cost, divided by cost of goods sold, times the days in the period.
DIOdays stock sitsAverage inventoryat costCost of goods soldsame periodDaysin the period
Worked example
A UK candle brand has opening stock of £26,000 and closing stock of £34,000 at cost, and £120,000 cost of goods sold for the year.
| Average inventory: (£26,000 + £34,000) ÷ 2 | £30,000 |
| DIO: £30,000 ÷ £120,000 × 365 | 91 days |
| Inventory turnover: £120,000 ÷ £30,000 | 4x a year |
| One day of DIO: £120,000 ÷ 365 | £329 |
| Cash freed at 60 days: (91.25 − 60) × £328.77 | £10,274 |
Where to find your numbers
- Average inventory: stock on your balance sheet, at cost. With only start and end figures, add them and halve it.
- Cost of goods sold: usually called cost of sales on a UK profit and loss report.
- Days: match the period of your cost of goods sold. A quarter of costs goes with 90 days.
Common mistakes
- Using revenue instead of cost of goods sold. It makes DIO look shorter than it is.
- Valuing stock at retail price. Use what you paid.
- Mixing periods. A quarter's costs with 365 days gives a DIO four times too high.
- One stock count in a seasonal business. A year end just before or after peak season skews the average.
- Comparing across categories. Compare against your own past periods first.
Questions
What is a good days inventory outstanding?
There is no single good number, because it depends on what you sell. Food, beauty and fast fashion brands often turn stock in weeks, while furniture, jewellery and seasonal ranges can hold it for months. As a rough rule of thumb, under 60 days is quick and over 180 days is slow for most online stores. The most useful comparison is your own DIO last quarter and last year: if it is rising while sales are flat, cash is building up on your shelves.
What is the difference between DIO and inventory turnover?
They measure the same thing from two sides. Inventory turnover is how many times you sell through your average stock in a period: cost of goods sold divided by average inventory. DIO turns that into days: the days in the period divided by turnover. A turnover of 4 times a year is a DIO of about 91 days. Higher turnover means a lower DIO.
How do I lower my DIO?
Order smaller quantities more often, especially on slow movers. Clear dead stock with bundles or a sale rather than letting it sit. Reorder from real sales velocity instead of gut feel, with a reorder point for each product. Ask suppliers for shorter lead times or lower minimum order quantities. Every day you take off DIO frees roughly one day of cost of goods sold in cash.
How does DIO relate to DSO, DPO and the cash conversion cycle?
DIO is how long cash sits in stock. Days sales outstanding (DSO) is how long customers take to pay you, and days payable outstanding (DPO) is how long you take to pay suppliers. Together they make the cash conversion cycle: DIO plus DSO minus DPO. For most online stores DSO is only a few days, because customers pay at checkout and payment providers settle quickly, so DIO is usually the biggest part of the cycle.
Should I use revenue or cost of goods sold to calculate DIO?
Use cost of goods sold. Stock is valued at what you paid for it, so dividing it by revenue, which includes your margin, mixes cost with selling price and makes your DIO look shorter than it really is.
Where do I find the numbers for the DIO formula?
Inventory, often called stock, is on your balance sheet in Xero, QuickBooks or Sage, and cost of goods sold usually appears as cost of sales on your profit and loss report. If your books do not track stock, your inventory app or Shopify's inventory reports can give a stock value at cost, as long as unit costs are filled in.
Is a high DIO always bad?
No. Buying ahead of peak season, taking a bulk discount or working with a supplier with long lead times can all push DIO up for good reasons. It becomes a problem when stock builds up faster than sales, because that cash cannot be used for marketing, new products or the next reorder.

