Mean of starting and ending inventory.
DIO Calculator
Days Inventory Outstanding Calculator
Estimate how many days inventory remains on hand before it is sold, then review turnover, daily cost flow, and inventory movement from the same inputs.
Inventory and cost inputs
Inventory value at the beginning of the accounting period.
Inventory value at the end of the same accounting period.
Cost assigned to goods sold during the accounting period.
Use the actual number of days represented by the inventory and COGS figures.
Average daily cost flow through inventory.
Estimated inventory cycles in the period.
Ending inventory is 50.00% above starting inventory.
Inventory snapshot
Starting, ending, and average inventory are shown on the same scale.
Calculation detail
| Metric | Current value | How it is used |
|---|
What does days inventory outstanding measure?
Days inventory outstanding, usually abbreviated as DIO, estimates how long a company’s average inventory would support its current cost of goods sold. It translates inventory and COGS into a time-based operating metric, making inventory efficiency easier to compare across periods. A lower DIO generally indicates that inventory moves through the business more quickly, while a higher DIO indicates that more inventory is held relative to sales activity. Neither direction is automatically good or bad: the correct level depends on product lead times, seasonality, service expectations, spoilage risk, purchasing economics, and the industry’s normal operating model.
DIO is usually reviewed with other working-capital metrics rather than in isolation. The U.S. Securities and Exchange Commission’s guide to financial statements explains where balance-sheet inventory and income-statement cost figures appear. Those statements should cover a consistent accounting period before you use them here.
How should each input be completed?
Starting inventory
Enter the carrying value of inventory at the beginning of the period. This is a required dollar input when you want a complete DIO result. Use the value reported under the company’s accounting policy rather than a retail selling-price estimate. A higher starting balance raises average inventory and therefore increases DIO when all other inputs stay constant. A common mistake is mixing a beginning balance from one entity or fiscal period with COGS from another.
Ending inventory
Enter inventory at the end of the same period. It is also required for the standard two-point average. Increasing ending inventory raises the average balance and usually raises DIO. A large increase may reflect growth preparation, supplier constraints, seasonal purchasing, slower demand, or obsolete stock. The calculator displays both the dollar change and the percentage change from the starting balance so you can distinguish inventory movement from turnover efficiency.
Cost of goods sold
Enter COGS for the exact accounting period. COGS is the cost assigned to products or services sold, not revenue and not cash paid to suppliers. Higher COGS reduces DIO because more cost is flowing through inventory each day. Zero or negative COGS cannot produce a meaningful DIO, so the calculator shows a validation message instead of dividing by zero. The accounting treatment of inventory may vary; IRS Publication 538 provides general background on accounting periods and methods, although tax reporting and management analysis may use different conventions.
Days in accounting period
Enter the actual period length represented by COGS and the two inventory balances. Use 365 or 366 for a full fiscal year, about 90 or 91 for a quarter, or the precise number of days for a custom period. This field is required and must be positive. Using annual COGS with quarterly days, or quarterly COGS with annual days, will materially distort the result.
How is the DIO formula applied?
Average inventory = (starting inventory + ending inventory) ÷ 2DIO = average inventory ÷ COGS × days in accounting period
The calculation first smooths the opening and closing inventory values into an average. It then divides that average by total COGS to determine what share of the period’s cost flow is represented by inventory. Multiplying by period days converts that share into days. The turnover result is the reciprocal view: COGS divided by average inventory. For the prefilled example, average inventory is $625,000, DIO is about 35.10 days, and inventory turns about 10.40 times during a 365-day period.
Two-point averaging is practical, but it may be less representative when inventory fluctuates sharply within the period. Monthly or weekly average balances can provide a more stable measure for seasonal businesses. The calculator follows the common beginning-and-ending average because those figures are usually available from published statements.
How should the results, chart, and table be interpreted?
The primary DIO result is the estimated number of days that average inventory represents at the observed COGS rate. A high value may indicate slower movement, deliberate safety stock, long production cycles, or excess inventory. A low value may indicate efficient flow, but it can also signal stockout risk or underinvestment in service levels. A zero result occurs only when average inventory is zero; a blank result means required inputs are missing or invalid.
Average inventory is the numerator of the DIO formula. COGS per day converts the period total into a daily run rate. Inventory turnover indicates how many times average inventory is theoretically consumed and replenished during the period. Inventory change shows whether the ending balance increased or decreased relative to the opening balance, but it does not by itself explain why the change occurred.
The bar chart compares starting, ending, and average inventory on one dollar scale. The legend repeats the exact values, and the callout explains the direction of movement. The calculation table shows every input and derived metric, including the formula role of each row. After changing assumptions, all visual and tabular outputs update together. Download Excel creates a current-state workbook for review or documentation.
What are the main benefits and common mistakes?
DIO is useful for trend analysis, peer comparison, purchase planning, and working-capital reviews. It can help identify whether inventory growth is keeping pace with operating activity. However, comparisons are strongest when businesses use similar accounting policies, product mixes, and reporting periods. Industry structure matters: a grocery distributor, aircraft manufacturer, software reseller, and luxury retailer can have very different normal inventory cycles.
- Do not use revenue in place of COGS; doing so changes the economics of the ratio.
- Do not combine balances and COGS from mismatched periods, currencies, or business units.
- Do not interpret a lower DIO as universally better without considering availability and stockout costs.
- Do not rely on only one year; review changes over time and investigate unusual movements.
For a broader operational view, combine DIO with receivables and payables timing to understand the cash conversion cycle. A concise overview is available from Investopedia’s DIO explanation. The result remains an analytical estimate and should not be treated as personalized accounting, tax, investment, or legal advice.