Sub topic 5
Inventory Days (DIO) from Cost of Goods Sold and Inventory
Prerequisites and purpose
Assume you can read an income statement and balance sheet, distinguish revenue from cost of goods sold, and use basic spreadsheet formulas or Python. This chapter focuses on inventory days, also called days inventory outstanding (DIO).
DIO estimates how many days of cost of goods sold are held in inventory. A higher DIO usually means more cash is tied up in stock, although the correct level depends on the business.
The DIO formula
Use cost of goods sold (COGS) as the activity measure because inventory is recorded at cost:
\[ \text{DIO}=\frac{\text{Inventory}}{\text{COGS}}\times\text{Days in period} \]
For annual financial statements, the day-count basis is often 365 days. For a leap year, some models use 366. The important rule is to use one basis consistently across the schedule.
For example, suppose a company reports:
- Inventory: 88.8 million
- Annual COGS: 540.0 million
- Day-count basis: 365 days
\[ \text{DIO}=\frac{88.8}{540.0}\times365=60.0\text{ days} \]
The result means the ending inventory equals about 60 days of annualized COGS.
| Measure | Value |
|---|---|
| Inventory | 88.8 |
| COGS | 540.0 |
| Day-count basis | 365 |
| DIO | 60.0 days |
def dio_from_ending_inventory(cogs, inventory, days=365):
if cogs <= 0 or inventory < 0 or days <= 0:
raise ValueError("COGS and days must be positive; inventory cannot be negative")
return inventory / cogs * days
dio = dio_from_ending_inventory(cogs=540.0, inventory=88.8)
print(f"DIO: {dio:.1f} days")Ending inventory versus average inventory
The formula must match the balance-sheet convention used by the model.
Using ending inventory is simple and often appropriate when you are calculating a period-end ratio:
\[ \text{DIO}_{\text{ending}}= \frac{\text{Ending inventory}}{\text{COGS}}\times365 \]
Using average inventory can better represent the inventory held throughout the year:
\[ \text{Average inventory}= \frac{\text{Beginning inventory}+\text{Ending inventory}}{2} \]
\[ \text{DIO}_{\text{average}}= \frac{\text{Average inventory}}{\text{COGS}}\times365 \]
If beginning inventory is 72.0 and ending inventory is 88.8, average inventory is 80.4. With COGS of 540.0, average-inventory DIO is 54.4 days. That differs from the 60.0-day ending-inventory result because inventory increased during the year.
Forecasting inventory from DIO
In a forecast, DIO becomes a driver assumption. Rearrange the formula to calculate the inventory balance:
\[ \text{Forecast inventory}= \frac{\text{Forecast COGS}\times\text{Assumed DIO}}{365} \]
If forecast COGS is 660.0 and assumed DIO is 60 days:
\[ \text{Inventory}=\frac{660.0\times60}{365}=108.5 \]
Use COGS rather than revenue. If revenue grows while COGS stays constant, inventory should not change merely because sales increased.
Choose the forecast DIO using recent history, a weighted average, or a specific operating plan. A falling DIO may reflect faster replenishment or better demand planning. It may also indicate stock shortages, so the assumption needs a business explanation.
Exercise
Annual COGS is 730, inventory is 120, and the model uses 365 days. What is DIO, and what inventory balance results from 45 forecast DIO with COGS of 800?
Show answer
Historical DIO is 120 ÷ 730 × 365 = 60 days. Forecast inventory is 800 × 45 ÷ 365 = 98.6.