Last updated: April 15, 2026
Days Inventory Outstanding Calculator
The days inventory outstanding (DIO) calculator measures how many days a company takes to sell its entire inventory. A company with $500,000 in COGS and $100,000 in average inventory has a DIO of 73 days — meaning it takes approximately 10 weeks to turn raw stock into sold goods. Lower DIO means faster inventory turnover and better cash flow efficiency. In the Cash Conversion Cycle (CCC), DIO is the first component — the efficiency bridge between procurement and revenue. Retailers target under 30 days; manufacturers often operate at 60–90 days.
Use this free DIO calculator to compute your ratio, benchmark it against your industry, and integrate it into a full CCC analysis. No sign-up required.
What Is Days Inventory Outstanding?
Days Inventory Outstanding Definition
Days Inventory Outstanding (DIO) measures how many days, on average, a company holds inventory before selling it. Lower DIO indicates faster inventory turnover. Formula: DIO = (Average Inventory ÷ COGS) × Number of Days in Period.
Days Inventory Outstanding — also called Days Sales of Inventory (DSI) or Inventory Days — is an activity ratio and efficiency metric that quantifies the average time (in days) a company’s inventory sits on shelves or in a warehouse before being sold. It is classified as a working capital efficiency metric and is the first component of the Cash Conversion Cycle (CCC), which measures the total time cash is tied up in operations before being recovered through sales.
The Days Inventory Outstanding Formula
|
DIO = (Average Inventory ÷ Cost of Goods Sold) × Number of Days ALTERNATIVE: DIO = Number of Days ÷ Inventory Turnover Ratio WHERE: Number of Days = 365 (annual) | 90 (quarterly) | 30 (monthly) |
The standard DIO formula divides average inventory by Cost of Goods Sold (COGS), then multiplies by the number of days in the measurement period. Always use COGS — not revenue — in the denominator. Revenue includes markup; COGS reflects the actual cost of inventory consumed, making comparisons across companies more meaningful.
Use our free Inventory Turnover Calculator to calculate the ratio version of your DIO — inventory turnover shows how many times per year stock cycles through while DIO shows the same efficiency measured in days.
What Does a DIO of 73 Days Actually Mean?
A Days Inventory Outstanding of 73 days means the company takes approximately 10.4 weeks to sell through its entire inventory stock. In practical terms:
- A retailer with 73-day DIO is underperforming — retail typically targets 15–30 days
- A manufacturer with 73-day DIO may be on target — manufacturing averages 60–90 days
- A pharmaceutical company with 73-day DIO is efficient — pharma often exceeds 200 days
Context and industry benchmarks determine whether 73 days is strong, average, or weak. Always compare DIO within the same industry sector.
DIO vs Inventory Turnover Ratio — Key Difference
| Metric | DIO (Days Inventory Outstanding) | Inventory Turnover Ratio |
| Formula | (Avg Inventory ÷ COGS) × Days | COGS ÷ Average Inventory |
| Result Format | Days (e.g., 73 days) | Times per year (e.g., 5.0x) |
| Interpretation | Lower = faster turnover | Higher = faster turnover |
| Best For | Cash flow & working capital analysis | Operational efficiency comparison |
| Relationship | DIO = 365 ÷ Inventory Turnover | Turnover = 365 ÷ DIO |
Why Days Inventory Outstanding Matters
For Investors Assessing Working Capital Efficiency
DIO gives investors a direct measure of how efficiently management deploys capital in inventory. High DIO ties up cash in unsold goods — reducing liquidity, increasing storage costs, and raising the risk of inventory obsolescence. Two companies with identical revenues can have vastly different cash positions based on DIO alone.
- Identifies companies converting inventory to cash faster than competitors
- Enables meaningful cross-company comparisons within the same industry
- Trend analysis reveals whether inventory management is improving or deteriorating
- High DIO in a fast-moving industry (e.g., fashion) signals serious obsolescence risk
For Management Identifying Inventory Bottlenecks
For internal management, a rising DIO is an early warning of demand forecasting errors, supply chain inefficiencies, or overproduction. When inventory grows faster than sales, DIO rises — indicating working capital is being consumed without proportionate revenue return.
- Flags overstocked SKUs that require markdown, clearance, or disposal decisions
- Supports procurement decisions: how much to order and when
- Highlights seasonal inventory patterns that affect cash flow planning
- Identifies product lines with consistently poor inventory velocity
For Cash Conversion Cycle Analysis — The First Component
| Cash Conversion Cycle (CCC) = DIO + DSO − DPO |
In the Cash Conversion Cycle, DIO is the first efficiency component — the number of days cash is committed to inventory before a sale occurs. DIO directly determines how long the business cycle takes to begin generating revenue.
- DIO (Days Inventory Outstanding): Days to sell inventory
- DSO (Days Sales Outstanding): Days to collect payment after sale
- DPO (Days Payable Outstanding): Days to pay suppliers (reduces CCC)
A company with DIO = 60, DSO = 30, DPO = 45 has a CCC of: 60 + 30 − 45 = 45 days. Reducing DIO by 10 days directly cuts the CCC by 10 days — freeing cash that was previously tied up in unsold goods.
Easily calculate your complete cash conversion cycle with our free Cash Conversion Cycle Calculator — DIO is the first of three components alongside DSO and DPO that determine how fast your business converts operations into cash.
How to Use the Days Inventory Outstanding Calculator (Step-by-Step)
Step 1 — Find Cost of Goods Sold (COGS) on the Income Statement
COGS is found on the income statement, typically labeled ‘Cost of Goods Sold,’ ‘Cost of Revenue,’ or ‘Cost of Sales.’ Use COGS — not revenue, not gross profit. COGS represents the direct cost of goods sold during the period, which matches the inventory denominator conceptually.
Step 2 — Calculate Average Inventory from the Balance Sheet
| Average Inventory = (Beginning Inventory + Ending Inventory) ÷ 2 |
Pull inventory from the balance sheet for both the beginning and end of the period. Average inventory smooths out seasonal fluctuations and gives a more accurate picture of the inventory level maintained throughout the period. Never use only the ending inventory balance — it may be distorted by seasonal build-up or year-end adjustments.
Step 3 — Select the Number of Days in the Period
Use 365 days for annual analysis, 90 days for quarterly, or 30 days for monthly. Be consistent — compare DIO values calculated using the same number of days. Some analysts use 360 days (a banking convention) instead of 365 — always confirm which convention your benchmarks use.
Step 4 — Enter Values and Calculate
Enter COGS, beginning inventory, and ending inventory into the calculator above. The calculator automatically computes average inventory and applies the DIO formula, returning your result in days along with an efficiency rating relative to your selected industry benchmark.
Step 5 — Select Industry for Benchmark Comparison
Select your industry from the dropdown to compare your DIO against sector-specific benchmarks. A 90-day DIO is excellent for pharmaceuticals but alarming for grocery retail. Industry context is essential — DIO without a benchmark is meaningless.
Days Inventory Outstanding Formula — Deep Dive
The Standard DIO Formula
| DIO = (Average Inventory ÷ COGS) × Number of Days |
This formula divides the average stock of unsold inventory by the daily rate at which it is consumed (COGS ÷ Days), expressing the result as a number of days. A higher result means inventory sits longer before being sold.
Alternative Formula: Using Inventory Turnover
|
Inventory Turnover = COGS ÷ Average Inventory DIO = 365 ÷ Inventory Turnover EXAMPLE: Turnover = 5.0x → DIO = 365 ÷ 5.0 = 73 days |
If you already have the inventory turnover ratio, divide 365 by it to get DIO. The two formulas are mathematically equivalent — they produce identical results. Use whichever inputs are more readily available.
Why Use Average Inventory — Not Ending Inventory
Using only ending inventory distorts DIO when significant inventory changes occurred during the period. A retailer that builds seasonal stock in Q4 will show inflated ending inventory — making DIO appear worse than actual performance. Average inventory accounts for these fluctuations and better represents the typical inventory level maintained throughout the period.
COGS vs Revenue — Why COGS Must Be Used
Inventory is carried at cost on the balance sheet. COGS is also at cost. They are measured on the same basis. Revenue includes markup (gross profit), which is not part of inventory value. Using revenue in the denominator artificially deflates DIO and makes the company appear more efficient than it actually is.
Days Inventory Outstanding Example Calculation
Example Company: Apex Retail Co.
Consider Apex Retail Co., a mid-size consumer goods retailer with the following financial data:
| Item | Year 1 | Year 2 |
| Cost of Goods Sold (COGS) | $3,600,000 | $4,200,000 |
| Beginning Inventory | $280,000 | $320,000 |
| Ending Inventory | $320,000 | $360,000 |
| Average Inventory | $300,000 | $340,000 |
| Number of Days | 365 | 365 |
| Days Inventory Outstanding | 30.4 days | 29.6 days |
Average Inventory Calculation
| Average Inventory (Year 1) = ($280,000 + $320,000) ÷ 2 = $300,000 |
DIO Calculation — Step by Step
| DIO (Year 1) = ($300,000 ÷ $3,600,000) × 365 = 30.4 days |
Apex Retail’s DIO of 30.4 days places it in the Strong efficiency tier for retail (industry benchmark: 15–45 days). Every dollar of inventory is converted to a sale in approximately 30 days — indicating healthy stock management and solid demand forecasting.
CCC Integration — How DIO Fits Into Working Capital
If Apex Retail also has DSO = 8 days and DPO = 25 days:
| CCC = DIO + DSO − DPO = 30.4 + 8 − 25 = 13.4 days |
A CCC of 13.4 days is excellent for retail — the company converts inventory into cash in under two weeks. Reducing DIO from 30.4 to 25 days would further cut the CCC to 8.4 days, freeing additional working capital for reinvestment.
Easily see how reducing your DIO improves your operational liquidity with our free Working Capital Calculator — every day of DIO reduction directly increases available working capital.
What Is a Good DIO? — Benchmarks by Industry
DIO Benchmarks by Industry Sector
| Industry | Typical DIO Range | Why High/Low | Target (Strong) |
| Grocery / Food Retail | 5–20 days | Perishables must sell fast; lean stock | < 15 days |
| General Retail | 15–45 days | High product variety; seasonal cycles | < 30 days |
| E-commerce / Fulfillment | 20–40 days | Rapid turnover; demand-driven | < 25 days |
| Consumer Electronics | 30–60 days | Product lifecycle risk; high SKU count | < 45 days |
| Apparel & Fashion | 60–120 days | Seasonal collections; long production lead | < 80 days |
| Automotive | 30–60 days | Complex parts networks; dealer inventory | < 45 days |
| Manufacturing (General) | 40–80 days | Raw materials + WIP + finished goods | < 60 days |
| Heavy Manufacturing | 60–120 days | Long production cycles; large material orders | < 90 days |
| Technology Hardware | 30–70 days | Component availability; product refresh | < 50 days |
| Pharmaceuticals | 60–200 days | Regulatory shelf life; safety stock | < 120 days |
| Aerospace & Defense | 150–300 days | Long-cycle custom manufacturing | < 200 days |
| Oil & Gas | 20–50 days | Commodity storage; refinery output timing | < 35 days |
Why Grocery Retailers Have the Lowest DIO
Grocery and food retailers operate with DIO of 5–20 days because perishable goods cannot sit in inventory for long. High replenishment frequency, just-in-time delivery, and strong demand forecasting allow grocers like Walmart or Kroger to maintain DIO under 15 days. Their competitive advantage comes from supply chain efficiency rather than product uniqueness.
Why Pharmaceuticals and Aerospace Have Very High DIO
Pharmaceutical companies hold large safety stocks due to regulatory requirements, long shelf-life products, and supply chain risk mitigation. Aerospace companies build custom components over months-long production cycles. A 180-day DIO in pharma is structurally normal and does not indicate poor performance — it reflects the nature of the production and regulatory environment.
When Rising DIO Signals Inventory Problems
A rising DIO trend — even within industry norms — is a warning signal. It suggests the company is building inventory faster than demand justifies. This often precedes:
- Inventory write-downs and obsolescence charges on slow-moving or expired stock
- Working capital deterioration as cash is locked in unsold goods
- Markdown pressure as the company discounts inventory to accelerate sales
- Cash flow strain as procurement continues despite slower inventory turnover
Benefits of Using This Days Inventory Outstanding Calculator
- Instant calculation — enter COGS and inventory figures for an immediate DIO result
- Average inventory automation — calculator computes average from beginning and ending inventory
- Industry benchmarking — compare your DIO against sector-specific norms across 12 industries
- CCC integration — see exactly how DIO feeds into your Cash Conversion Cycle alongside DSO and DPO
- Efficiency rating — clear Strong / Average / Weak / Poor classification relative to industry peers
- Multi-period analysis — compare Year 1 and Year 2 ratios to identify inventory efficiency trends
- No registration required — completely free to use immediately
Common Mistakes to Avoid
Mistake 1 — Using Revenue Instead of COGS
Using revenue in the denominator inflates the efficiency signal — inventory is at cost, not at selling price. If a company carries $100,000 of inventory and has $500,000 revenue with $300,000 COGS, DIO using COGS = 121.7 days, but using revenue = 73 days — a misleading 40% difference. Always use COGS.
Mistake 2 — Using Ending Inventory Instead of Average Inventory
Year-end inventory may be artificially high (seasonal build) or low (clearance). Average inventory = (Beginning + Ending) ÷ 2 smooths these distortions. For companies with strong seasonality, use quarterly or monthly averages for more accurate DIO measurement.
Mistake 3 — Comparing DIO Across Different Industries
Comparing a retailer’s 20-day DIO against a manufacturer’s 90-day DIO is meaningless. DIO benchmarks are only valid within the same industry, where companies share similar production cycles, supply chains, and demand characteristics.
Mistake 4 — Treating Lower DIO as Always Better
An extremely low DIO can signal understocking risk — running too lean may cause stockouts, lost sales, and customer dissatisfaction. The optimal DIO balances cash flow efficiency with sufficient stock to meet demand without interruption. Target the industry benchmark, not zero.
Real-World Applications
Cash Conversion Cycle (CCC) Optimization
Supply chain managers and CFOs use DIO as the primary lever in CCC optimization. Every day of DIO reduction directly shortens the CCC — freeing working capital without requiring additional financing. Amazon’s legendary low DIO (often under 20 days) allows it to collect customer payments before paying suppliers — creating a negative CCC, which acts as an interest-free financing mechanism.
Inventory Write-Down Risk Assessment
Financial analysts use rising DIO trends to identify inventory write-down risk before it appears on the income statement. When DIO rises for two or more consecutive quarters, it often precedes inventory impairment charges, margin compression, and earnings disappointments. Early detection through DIO trend monitoring can inform investment timing and risk management decisions.
CFA Level 1 Activity Ratio Analysis
DIO is a core component of CFA Level 1 financial statement analysis. It appears in the activity ratios section alongside inventory turnover, DSO, and DPO. CFA candidates are tested on DIO calculation, interpretation, industry comparison, and integration into the Cash Conversion Cycle framework.
Final Thoughts
Days Inventory Outstanding is the efficiency engine of working capital management. A retailer with 15-day DIO and a manufacturer with 75-day DIO can both operate optimally — their businesses have fundamentally different inventory requirements. Understanding your DIO relative to your industry reveals how effectively your company converts procurement into revenue, and how much cash is unnecessarily trapped in inventory. Use the calculator above to measure your DIO, benchmark it against your sector, and integrate it into a full Cash Conversion Cycle analysis.
Use our free Balance Sheet Calculator to calculate all your key financial ratios in one place — DIO feeds directly into working capital efficiency and cash conversion cycle analysis.
Frequently Asked Questions
What is Days Inventory Outstanding?
What is the Days Inventory Outstanding formula?
What is a good Days Inventory Outstanding?
What is the difference between DIO and inventory turnover ratio?
How does DIO relate to the Cash Conversion Cycle?
What does a high DIO indicate?
Should I use beginning or ending inventory for DIO?
Can DIO be too low?
What is the difference between DIO and DSI?
How does Amazon achieve such a low DIO?
| Phase | Target DIO | Inv. Reduction | Savings |
|---|
This calculator is for informational purposes only and does not constitute professional financial, accounting, or business advice. Consult a licensed advisor before making decisions.


