Investing guide

Days Inventory Outstanding (DIO): Formula and Example

investing6 min read

Calculate days inventory outstanding with average inventory and COGS, link it to inventory turnover and the cash conversion cycle.

6 min read

Practice investing with Finelo

Build practical investing skills with guided lessons, simulator practice, and structured challenges.

Explore Finelo

Quick answer

Days inventory outstanding (DIO) estimates how many days, on average, a company holds inventory before it is sold. The common formula is:

Explore Finelo's 28-day challenges

Turn learning into a daily habit with guided challenge paths.

View challenges

DIO = Average inventory ÷ (Cost of goods sold ÷ 365)

The CFA Institute explains that DIO compares cost of goods sold per day with average inventory, and that it tells you how many days inventory sits on the shelf on average.

For a hypothetical retailer with average inventory of $60,000 and annual cost of goods sold of $365,000, daily COGS is $1,000, so DIO is 60 days.

This guide is for readers learning to analyze financial statements. You will see how to calculate DIO, how it connects to inventory turnover and the cash conversion cycle, and which questions to ask before reading too much into one number.

How to calculate days inventory outstanding

You need two figures from the same reporting period: inventory from the balance sheet and cost of goods sold (COGS) from the income statement.

1. Find average inventory

Add beginning and ending inventory for the period and divide by two. Using an average smooths out the difference between a single balance-sheet date and the level of stock the company carried during the year. The same averaging is used in the inventory turnover ratio described by OpenStax.

2. Convert COGS into a daily figure

Divide annual COGS by 365. Some analysts use 360 days; either choice is fine as long as you use it consistently across companies and periods. For a quarterly figure, divide quarterly COGS by the number of days in that quarter instead.

3. Divide average inventory by daily COGS

The result is the number of days of cost-based sales the inventory could cover.

Input Hypothetical value
Beginning inventory $55,000
Ending inventory $65,000
Average inventory $60,000
Annual COGS $365,000
Daily COGS (÷ 365) $1,000
DIO 60 days

The inventory turnover shortcut

DIO is closely related to inventory turnover. OpenStax defines inventory turnover as cost of goods sold divided by average inventory, a measure of how quickly inventory moves through the firm and is turned into sales. If turnover is known, you can convert it:

DIO = 365 ÷ Inventory turnover

In the example, turnover is $365,000 ÷ $60,000 ≈ 6.08 times per year, and 365 ÷ 6.08 ≈ 60 days.

Why DIO matters: the cash conversion cycle

DIO is one of three building blocks of the cash conversion cycle. According to the CFA Institute, the cycle is calculated as:

CCC = DSO + DIO − DPO

  • DSO (days sales outstanding) shows how long customers take to pay.
  • DIO shows how long inventory is held.
  • DPO (days payables outstanding) shows how long the company takes to pay suppliers.

A lower DIO, all else equal, means cash spends less time tied up in stock. The same CFA article notes that some companies, such as Apple in its example, can run a negative cash conversion cycle because they collect from customers before paying suppliers. That illustrates why DIO should be read alongside the other two measures rather than alone.

What to know before deciding

A DIO figure is easy to calculate and easy to misread. Keep these points in mind.

Industry matters more than the raw number. A grocery chain and a heavy-equipment manufacturer hold very different kinds of inventory. Comparing their DIO directly says little. Compare a company with its own history and with close peers.

Seasonality can distort averages. A retailer that builds stock before the holidays may show a very different DIO depending on which dates you average. If quarterly data is available, look at the pattern across several quarters.

Accounting choices affect inputs. Inventory valuation methods and write-downs change both inventory and COGS. If a company changes methods, its DIO may shift without any change in how fast goods actually move.

Lower is not always better. Very low inventory can mean stockouts and lost sales. A rising DIO can signal slowing demand, but it can also reflect a deliberate decision to build stock ahead of a product launch or supply disruption. Read management's discussion before drawing conclusions.

Common mistakes

  • Using revenue instead of COGS. Inventory is carried at cost, so mixing it with revenue overstates the daily figure and understates DIO.
  • Mixing periods, such as annual COGS with a quarter-end inventory balance.
  • Comparing a 360-day calculation with a 365-day one.
  • Treating one period's DIO as a trend.

Practice investing with Finelo

Build practical investing skills with guided lessons, simulator practice, and structured challenges.

Explore Finelo

Decision framework

Use this table to decide what to do with the number you calculated.

What you see What it may suggest Next question to ask
DIO stable versus prior years Inventory management roughly unchanged Did sales and margins also stay stable?
DIO rising for several periods Slower-moving stock or deliberate build-up What does management say about demand or supply?
DIO falling sharply Faster sales, tighter purchasing, or write-downs Did inventory fall because of a write-down?
DIO far above close peers Different business model or excess stock Are the peers really comparable?
Negative or very short cash conversion cycle Supplier financing supports operations How dependent is the company on supplier terms?

A beginner scenario

Imagine you are comparing two hypothetical retailers. Store A has a DIO of 45 days; Store B has 90 days. Before concluding that Store A is better run, check what each sells. If Store B sells furniture made to order and Store A sells fresh groceries, the difference reflects the products, not management quality. If both sell similar clothing, the gap is worth investigating, starting with each company's inventory notes and recent sales trends.

Worked example: reading DIO over two years

Suppose a hypothetical home-goods retailer reports average inventory of $60,000 and COGS of $365,000 in Year 1, giving a DIO of 60 days. In Year 2, average inventory rises to $90,000 while COGS grows only to $410,000. Daily COGS is now about $1,123, so DIO climbs to roughly 80 days. Inventory now sits on the shelves about three weeks longer than a year earlier.

That increase does not prove a problem on its own. Read the annual report for an explanation: perhaps the company stocked up ahead of a supplier price increase, opened new stores that needed initial inventory, or saw slower sales of a product line. Then check related figures. If gross margin also fell, the company may be discounting to clear excess stock. If receivables and payables changed too, recalculate the full cash conversion cycle to see the overall effect on cash.

Build the habit with guided practice

Ratios like DIO become intuitive with repetition. Finelo's interactive courses explain financial concepts in short lessons designed for beginners, and its AI Mentor offers in-app guidance when a term or calculation is unclear. Pair that learning with real filings: calculate DIO for two companies in the same industry and explain the difference in two sentences.

Next step

For practice, take one company's annual report, calculate DIO for two consecutive years, and write down one question the change raises. That habit turns a single ratio into a useful starting point for analysis.

For related reading, continue with inventory turnover ratio.


Work through one practical example on your own, using real figures or a historical chart, and note which assumptions matter most. If the underlying concepts still feel difficult to connect, build the foundations step by step; explore Finelo’s learning path and return to the example with clearer questions about assumptions, costs, and risk.

Finelo provides financial education, not personalized financial, investment, legal, or tax advice. Investing and trading involve risk, including the loss of money. Verify current details with official sources and your broker before acting.

Frequently asked questions

Is a high DIO bad?

Not automatically. A high DIO means inventory takes longer to sell, which ties up cash and can raise the risk of obsolete stock. But some industries naturally hold inventory longer. Compare against the company's history and similar businesses.

What is the difference between DIO and inventory turnover?

They describe the same relationship from two angles. Inventory turnover counts how many times inventory is sold and replaced during a period; DIO converts that into days. Divide 365 by turnover to get DIO.

Can I calculate DIO for a quarter?

Yes. Use quarterly COGS and divide by the number of days in the quarter (about 91), with average inventory for that quarter. Keep the method consistent when comparing quarters.

Where do I find the numbers?

Inventory is on the balance sheet, and cost of goods sold (sometimes called cost of sales or cost of revenue) is on the income statement. The SEC's beginner's guide to financial statements explains where each statement's line items appear.
InvestingDays Inventory OutstandingDIOBeginner

Practice investing with Finelo

Build practical investing skills with guided lessons, simulator practice, and structured challenges.

Explore Finelo

About the author

Finelo Team

The Finelo Team creates practical investing and trading education designed to help beginners learn faster with structured challenges, simulator practice, and bite-sized lessons.

Keep reading — Related articles

Make your next read a first step.

Take what sparked your curiosity and explore it through a guided, 28-day learning challenge.

Find your learning path