Inventory Days Calculator
Use this calculator to compute Inventory Days (DIO), also called Days Inventory Outstanding. Enter your inventory and COGS values for a specific period.
Formula used: Inventory Days = (Average Inventory ÷ COGS) × Number of Days
What is the inventory days calculation formula?
The inventory days calculation formula measures how many days, on average, your company holds inventory before it is sold. It helps you understand how efficiently inventory is managed and how much cash is tied up in stock.
Inventory Days = (Average Inventory / COGS) × Number of Days
Where:
- Average Inventory = (Beginning Inventory + Ending Inventory) ÷ 2
- COGS = Cost of Goods Sold for the period
- Number of Days = 365 (annual), 90 (quarterly), or any period you analyze
Why inventory days matters
Inventory days is a core metric for operations, finance, and working capital management. A lower number often means inventory moves quickly. A higher number can indicate overstocking, slow sales, obsolete stock, or purchasing problems.
- Improves cash flow planning
- Supports demand forecasting decisions
- Highlights slow-moving or excess inventory
- Helps compare your performance over time
- Useful for benchmarking against industry peers
Step-by-step example
Assume the following annual data:
- Beginning Inventory: $450,000
- Ending Inventory: $550,000
- COGS: $2,400,000
- Days: 365
Step 1: Calculate average inventory
Average Inventory = ($450,000 + $550,000) ÷ 2 = $500,000
Step 2: Apply the inventory days formula
Inventory Days = ($500,000 ÷ $2,400,000) × 365 = 76.04 days
Interpretation
On average, this company holds inventory for around 76 days before selling it. Whether this is “good” depends on the industry. Grocery stores may target much lower days, while luxury furniture might naturally have higher inventory days.
Inventory days and inventory turnover relationship
Inventory days and turnover are two sides of the same concept.
- Inventory Turnover = COGS ÷ Average Inventory
- Inventory Days = Number of Days ÷ Inventory Turnover
If turnover increases, inventory days usually decreases, indicating faster inventory movement.
Common mistakes when using the formula
- Using sales instead of COGS in the denominator
- Using ending inventory only (instead of average inventory)
- Comparing companies from different industries without context
- Ignoring seasonality and one-time spikes
- Using inconsistent periods (e.g., monthly inventory with annual COGS)
How to improve inventory days
1) Forecast demand more accurately
Better forecasting reduces stockpiling and helps align procurement with real customer demand.
2) Strengthen SKU-level analysis
Identify slow movers and dead stock quickly. Rebalance purchasing by product category and margin contribution.
3) Improve reorder points and safety stock
Use historical lead times and service-level targets to optimize replenishment settings.
4) Collaborate with suppliers
Shorter and more reliable lead times can lower buffer inventory and reduce inventory days.
5) Run regular inventory health reviews
Track aging, markdown risk, and storage costs so excess stock is corrected early.
What is a “good” inventory days number?
There is no universal target. A “good” number depends on business model, product shelf life, supplier lead times, and demand volatility.
- Very low: efficient flow, but risk of stockouts
- Moderate: balanced service and carrying costs
- High: potential cash tie-up and obsolescence risk
The best approach is to compare your current value against your own trend, budget targets, and relevant competitors.
Quick summary
The inventory days calculation formula gives a clear view of how long inventory sits before sale. It is one of the most practical working-capital metrics for finance teams, operations leaders, and business owners. Use it consistently, analyze trends over time, and combine it with turnover, service levels, and stockout rates for stronger decisions.