All metrics
Days inventory outstanding (DIO): formula, benchmarks and examples
Days inventory outstanding (DIO) is the average number of days a business holds inventory before selling it, measured as inventory against daily cost of sales.
In plain words: It tells you how many days your current stock would last at the current pace of sales. Fewer days means less cash sitting on shelves, but too few can mean running out of what customers want.
- Unit
- days
- Direction
- Lower is better
- Review
- Monthly
- Also called
- DIO, inventory days, days in inventory, days sales of inventory, days' sales in inventory, inventory conversion period
Days inventory outstanding formula and how to calculate it
The DIO formula in its general form is:
DIO = inventory ÷ (cost of sales for the period ÷ days in the period)
For a full year this becomes inventory ÷ annual cost of sales × 365. For a month you use that month’s cost of sales and 30 days.
To calculate it:
- Take inventory from the balance sheet at the end of the period.
- Take cost of sales (cost of goods sold) for the same period from the P&L.
- Divide cost of sales by the number of days to get cost per day.
- Divide inventory by cost per day.
Illustrative scenario (invented round numbers): a wholesaler ends the month with inventory of 300,000, and its cost of sales for the month is 150,000. Cost per day is 150,000 ÷ 30 = 5,000, so DIO is 300,000 ÷ 5,000 = 60 days. At the current pace of sales, today’s stock would last two months.
The denominator is cost of sales, not revenue, because inventory sits on the balance sheet at cost. Dividing by revenue mixes cost with selling prices and understates DIO, the more so the higher the gross margin.
DIO and inventory turnover
Inventory turnover is the same measure turned upside down: cost of sales ÷ inventory, in times per period. So DIO = days in the period ÷ turnover. The wholesaler above, at 150,000 a month, has annual cost of sales of 1,800,000 and turns its stock 6 times a year: 365 ÷ 6 = about 61 days.
The basis matters. OpenStax’s Principles of Finance computes turnover on average inventory, the mean of opening and closing balances, and days’ sales in inventory on ending inventory. In its example, ending inventory of 40,000 against cost of goods sold of 60,000 gives 243 days, while turnover on average inventory of 37,500 is 1.6 times, which implies about 228 days. Same company, same year, 15 days apart. State the basis next to every figure.
What counts as inventory
Inventory is what the business holds to sell or to turn into something it sells: goods bought for resale, raw materials, work in progress and finished goods. Under IAS 2 it is carried at the lower of cost and net realizable value, and interchangeable items are costed on first-in, first-out or weighted average.
It does not include prepaid expenses, deposits paid to suppliers before the goods arrive, equipment, or stock held on consignment for someone else. If any of these are mapped to the inventory line, DIO is wrong before you start.
How Finrely calculates DIO
Finrely uses the monthly variant: the inventory line of your balance sheet at month-end ÷ (that month’s Cost of Sales ÷ 30). You find it in the Working Capital Analysis card on the Balance Sheet report: a table with the current month, the prior month and the 3- and 12-month averages, with a DIO row next to days sales outstanding, days payable outstanding and the cash conversion cycle, and the Working Capital Days Trend chart. DIO is the inventory leg of the cycle, CCC = DSO + DIO - DPO.
The rules behind the number:
- Inventory comes from the balance sheet inventory line, as your accounting system reports it. The guides for QuickBooks Online, Xero, Zoho Books and Odoo explain how each system’s balances reach the report.
- No inventory line means DIO is 0, and the cash conversion cycle is DSO minus DPO. That is the right answer for software and services.
- A negative inventory balance is treated as no inventory and the report asks you to check the mapping. Stock cannot be negative, so a negative balance usually means a contra account or a mapping error.
- Above 730 days (two years) DIO shows n/m, and so does the cash conversion cycle. A figure that large usually means a month with very little cost of sales against a normal stock balance, not two years of stock.
- Every month counts as 30 days.
Summit holds no inventory, so its DIO is 0 (the table shows a hyphen) and its cash conversion cycle is DSO minus DPO. Snapshot 2026-11-17, closed month Oct ’26.
Definitions sit next to the metrics in the reports (the info icon). For your own numbers, the “Ask about this Balance Sheet” button opens Finrely’s AI chat on your figures, where you can ask how DIO was calculated and which balance moved it.
Open the Summit Commerce demo and find this row: DIO is a row of the Working Capital Analysis card on the Balance Sheet report.
Example: a wholesaler’s month, step by step
Illustrative scenario (invented round numbers, not Finrely data), continuing the wholesaler above.
| Line | Value |
|---|---|
| Inventory at month-end | 300,000 |
| Cost of sales for the month | 150,000 |
| Cost of sales per day (150,000 ÷ 30) | 5,000 |
| DIO (300,000 ÷ 5,000) | 60 days |
If no new stock arrived and sales continued at the same pace, the shelves would empty in 60 days:
| Day | Stock left at 5,000 a day |
|---|---|
| 0 | 300,000 |
| 15 | 225,000 |
| 30 | 150,000 |
| 45 | 75,000 |
| 60 | 0 |
Now the cash. The wholesaler pays its suppliers in 30 days, so its DPO is 30. Stock is sold after 60 days on average, and customers pay 30 days after that. The cash conversion cycle is 60 + 30 - 30 = 60 days: suppliers fund the first 30 days of stock, and the business funds the other 30 days of stock plus 30 days of receivables itself. Cut DIO to 45 days by clearing slow lines and the cycle drops to 45 days, releasing 15 × 5,000 = 75,000 of cash at the same level of sales.
What is a good DIO?
Lower is better, up to a point. Every day of DIO ties up one day of cost of sales in stock: at annual cost of sales of 1,800,000, one day is about 4,900. Stock also ages, goes out of fashion and needs space and insurance.
Too low is a problem of its own. OpenStax notes that a high turnover, which is the same thing as a low DIO, raises the risk of stock-outs and of customers buying elsewhere. The floor is set by supplier lead times and the safety stock you need for the service level you promise.
So there is no universal good DIO. The useful comparisons are your own trend, the same month last year, and the stock that lead times require.
Reference points, each with its limits:
- US Census Bureau, September 2026 release (seasonally adjusted, preliminary): inventories equal to 1.35 months of sales for retailers (about 40 days), 1.18 months excluding motor vehicles and parts (about 35), 1.46 for manufacturers (about 44) and 1.21 for merchant wholesalers (about 36). Census divides end-of-month inventories by the month’s sales, at selling prices, so a cost-based DIO for the same businesses would be higher. The conversion to days (× 30) is ours.
- Aswath Damodaran, January 2026 data for large US listed companies: inventory ÷ sales, which we converted to days of cost of sales using the same dataset’s gross margins. Across the non-financial market that is about 50 days. These are mostly large companies, not small-business norms.
How DIO differs by business model
Ranges from Damodaran’s January 2026 data (inventory ÷ sales × 365, divided by one minus the industry gross margin, our conversion) and the Census Bureau’s September 2026 inventories-to-sales ratios (× 30, our conversion).
| Business model | Importance | Typical range | Why |
|---|---|---|---|
| SaaS and software | Rarely | Listed system and application software about 6 days, internet software 0 | There is little or no stock; DIO is usually 0 and the cycle is DSO minus DPO |
| Professional services | Rarely | Listed business and consumer services about 8 days | Unbilled work is usually a receivable or contract asset, not inventory |
| E-commerce and retail | Core | Damodaran: general retail about 47 days, grocery about 27, special lines about 106. Census: food and beverage stores 0.82 months of sales (about 25 days), clothing stores 2.01 (about 60), building materials and garden 2.57 (about 77) | Stock is the largest use of cash; seasonality and fashion risk decide the number |
| Manufacturing | Core | Damodaran: machinery about 97 days, electronics about 90, food processing about 64, aerospace and defense about 128. Census: manufacturers 1.46 months of sales | Raw materials, work in progress and finished goods all sit in inventory; long production cycles lengthen DIO |
| Distribution and wholesale | Core | Damodaran distributors about 88 days. Census merchant wholesalers 1.21 months of sales | Wide ranges held for customers; supplier terms finance part of it |
| Marketplaces | Rarely, unless it holds own stock | No reliable benchmark | A pure marketplace never owns the goods; one that also sells its own stock should measure that part separately |
| Pre-revenue startups | Rarely | Not applicable | Stock built before launch against near-zero cost of sales gives an absurd DIO; above 730 days Finrely shows n/m |
| Groups of companies | Useful, with care | No reliable benchmark | Profit on goods sold between group companies must be eliminated from consolidated inventory |
Edge cases: seasonality, obsolete stock and more
Seasonality. Illustrative scenario: the same wholesaler builds stock before its peak. In the month before, inventory is 450,000 and cost of sales 100,000, so DIO is 135 days. In the peak month inventory is 200,000 and cost of sales 250,000, so DIO is 24 days. Neither month is “the” DIO. Compare with the same month last year, or look at a 12-month average.
Obsolete and slow-moving stock. Suppose 60,000 of the 300,000 has not moved in a year. Writing it down to zero cuts DIO from 60 to 48 days (240,000 ÷ 5,000) without a single extra sale; under IAS 2 the write-down is an expense of the period. A falling DIO right after a stock count can be a clean-up, not better buying.
Average or period-end inventory. A period-end balance reacts to the last delivery before the close. An average smooths it. The OpenStax example above shows the two can be 15 days apart for the same year.
A month with almost no cost of sales. Illustrative scenario: a company holds 300,000 of stock before launch and sells 3,000 at cost in the month. DIO comes out at 300,000 ÷ (3,000 ÷ 30) = 3,000 days. Above 730 days (two years) DIO shows n/m in Finrely, and so does the cash conversion cycle, because the number describes the denominator, not the stock.
Negative inventory balance. Usually a contra account, such as a write-down reserve, mapped on its own, or goods sold before their purchase was booked. Finrely treats it as no inventory and the report asks you to check the mapping.
Goods in transit and consignment. Goods you own but have not received may be in inventory or not, depending on the shipping terms and how they are booked. Goods held on consignment for a supplier are not yours and should not be counted.
Cost of sales that is not all stock. If Cost of Sales also holds freight, payment fees or hosting, the denominator is larger than the cost of goods leaving inventory and DIO reads low.
Limitations and common misconceptions
DIO is an average across all stock. Fast lines can hide a tail of slow ones; an inventory aging or a sales-per-item report shows the tail.
“Lower is always better” is wrong. Going too low means stock-outs, and stock-outs cost sales the P&L never records.
DIO mixes volume and stock. When sales fall, DIO rises even if not a single unit was added to the shelves.
Cross-company comparisons are fragile: cost formula, average or ending balance, day count and what sits in cost of sales all differ.
A month-end figure can be managed by delaying deliveries until after the close.
How DIO connects to other metrics
- Cash conversion cycle. DIO is the first leg: CCC = DSO + DIO - DPO. For goods businesses it is usually the longest.
- Days payable outstanding. Supplier terms finance stock. The part of DIO not covered by DPO is funded by the business.
- Days sales outstanding. The next stage of the same cycle: once stock is sold, cash waits in receivables.
- Current ratio. Inventory sits inside current assets, so piling up stock flatters the current ratio while cash gets tighter. The quick ratio takes inventory out for that reason.
- Gross margin. Write-downs and shrinkage are usually booked in cost of sales, so the same event that lowers DIO also lowers gross margin.
If DIO gets worse
- Find the lines behind it. Sort stock by value and by days since last sale; the slow tail is usually a short list.
- Check that nothing is mechanical. A sales dip, a pre-season build or a mapping change can raise DIO without any change in buying.
- Clear slow movers. Discount, bundle, return to the supplier where the contract allows, or write off and dispose.
- Review reorder points and order sizes against current sales, not last year’s.
- Shift risk where you can. Make to order, drop-ship the long tail, or agree consignment terms with suppliers.
Finrely’s view
Frequently asked questions
What is the days inventory outstanding formula?
DIO = inventory ÷ (cost of sales for the period ÷ days in the period). For a year, use annual cost of sales and 365 days; for a month, use that month's cost of sales and 30 days. With inventory of 300,000 and monthly cost of sales of 150,000, DIO is 60 days.
What are inventory days?
Inventory days is another name for days inventory outstanding: how many days of cost of sales are sitting in stock. It is also called days in inventory, days sales of inventory or, in OpenStax's textbook, days' sales in inventory. All of them divide inventory by cost of sales per day.
What is a good DIO?
It depends on what you sell. Fresh food turns in days, machinery and fashion take months. In the US Census Bureau's September 2026 data, retailers held about 1.35 months of sales in stock and manufacturers about 1.46 months. The best comparison is your own trend and the same month last year, against the stock you need to avoid running out.
How do you calculate DIO from inventory turnover?
Divide the days in the period by inventory turnover: DIO = 365 ÷ (cost of sales ÷ inventory) for a year. A turnover of 6 times a year means about 61 days. Use the same inventory basis, ending or average, on both sides, or the two numbers will not match.
Is a low DIO always good?
No. A low DIO frees cash and cuts the risk of stock going obsolete, but too low can mean stock-outs, lost sales and customers going elsewhere. It can also be flattered by write-downs of old stock, which lower inventory without anything being sold.
Sources
- Principles of Finance 2e, 6.2 Operating Efficiency Ratios, OpenStax. Accessed Nov 19, 2026.
- Principles of Finance 2e, 19.1 What Is Working Capital?, OpenStax. Accessed Nov 19, 2026.
- IAS 2 Inventories, IFRS Foundation. Accessed Nov 19, 2026.
- Manufacturing and Trade Inventories and Sales: September 2026 (release CB26-182, 2026-11-17), U.S. Census Bureau. Accessed Nov 19, 2026.
- Working Capital data by industry (US), data as of January 2026, Aswath Damodaran, NYU Stern. Accessed Nov 19, 2026.
- Margins by sector (US), data as of January 2026, Aswath Damodaran, NYU Stern. Accessed Nov 19, 2026.
Last reviewed Nov 19, 2026
Related terms
Related articles
See it on your own numbers
Connect a source and watch a board-ready pack assemble itself - every figure traceable.