Days of Inventory Calculator

Calculate days of inventory outstanding (DOI/DSI) to measure how long stock sits before selling using inventory and COGS.

$
$
Days from order to delivery
Buffer for demand variability
Storage, insurance, depreciation
Expected demand growth rate
Days of Inventory (DOI)
45.6 days
Rating: Good
Inventory Turnover
8.00ร— / year
Benchmark: 10.4ร— (ecommerce)
Weeks of Supply
6.5 weeks
DOI รท 7
Daily COGS Burn
$1,095.89
Annual COGS รท 365
Reorder Point
$16,438.35
(10 + 5) days ร— daily COGS
Annual Carrying Cost
$10,000.00
20% ร— avg inventory ($833.33/mo)
vs Industry Benchmark
+30.3%
Industry avg: 35 days
Daily Carrying Cost
$27.40
Cost of holding inventory each day

Inventory Health

Your DOI: 45.6 daysGood
030 (Excellent)6090120+

Industry Benchmarks

IndustryAvg DOITurnoverCarrying %
retail apparel80 days4.6ร—25%
retail electronics50 days7.3ร—20%
grocery18 days20ร—35%
manufacturing65 days5.6ร—22%
wholesale40 days9.1ร—18%
ecommerce35 days10.4ร—20%
auto parts95 days3.8ร—15%

6-Month DOI Projection (at 3% COGS growth)

MonthMonthly COGSProjected DOITurnoverTrend
Month 1$33,333.3345.0 days8.00ร—
Month 2$34,333.3343.7 days8.24ร—
Month 3$35,363.3342.4 days8.49ร—
Month 4$36,424.2341.2 days8.74ร—
Month 5$37,516.9640.0 days9.00ร—
Month 6$38,642.4738.8 days9.27ร—
Planning notes, formulas, and examples

About the Days of Inventory Calculator

Days of Inventory (DOI), also called Days Sales of Inventory (DSI), measures how many days on average it takes to sell your entire inventory. It is the inverse expression of inventory turnover, providing a more intuitive time-based metric for inventory management.

For e-commerce sellers, every day inventory sits in a warehouse or fulfillment center costs money in storage fees, insurance, and opportunity cost. Reducing DOI directly improves cash flow and reduces the risk of obsolescence, especially for products with short shelf lives or rapidly changing trends.

This calculator accepts either a cost-based approach (average inventory / daily COGS) or a unit-based approach (units on hand / average daily sales) to give you a comprehensive view of your inventory holding period.

When This Page Helps

Days of inventory gives you a concrete number to optimize. Instead of abstract ratios, you see exactly how many days your money is tied up in stock. This helps set purchasing cadences, negotiate payment terms, and identify slow-moving products that erode profitability.

How to Use the Inputs

  1. Enter your average inventory value (or units on hand).
  2. Enter your annual COGS (or average daily sales in units).
  3. Choose whether to calculate in dollars or units.
  4. Review your DOI result and benchmark rating.
  5. Target reducing DOI by optimizing purchasing frequency and quantities.
  6. Compare DOI across product categories to find optimization opportunities.
Formula used
Days of Inventory = (Average Inventory / COGS) ร— 365 Or: Days of Inventory = Units on Hand / Average Daily Sales Average Daily Sales = Total Units Sold / Number of Days

Example Calculation

Result: DOI: 45.6 days

With $50,000 average inventory and $400,000 annual COGS: DOI = (50,000 / 400,000) ร— 365 = 45.6 days. This means on average, inventory sits for about 46 days before being sold. This is within a healthy range for most e-commerce categories.

Tips & Best Practices

  • Lower DOI generally means better cash flow, but don't go so low that you risk stockouts.
  • Track DOI trends over time โ€” increasing DOI may signal declining demand or overpurchasing.
  • Compare your DOI to your payment terms with suppliers. Ideally, you sell inventory before the bill is due.
  • SKUs with DOI above 90 days should be reviewed for markdown or discontinuation.
  • Use DOI to set inventory holding policies by product category.
  • Factor in lead times when setting DOI targets โ€” longer lead times require higher DOI.

DOI and Cash Conversion Cycle

Days of Inventory is one component of the cash conversion cycle (CCC), which also includes days sales outstanding and days payable outstanding. A shorter CCC means you're converting investment into cash faster. Reducing DOI is often the most impactful lever for improving CCC in e-commerce.

Category-Specific DOI Benchmarks

Electronics: 20โ€“45 days. Apparel: 45โ€“90 days. Health and beauty: 30โ€“60 days. Home goods: 45โ€“75 days. Grocery: 5โ€“20 days. Use these benchmarks as starting points but calibrate to your specific product mix and business model.

DOI Optimization Strategies

Implement ABC analysis to focus DOI reduction efforts on high-value A items. Use vendor-managed inventory where possible. Consider dropshipping for long-tail products with high DOI. Negotiate consignment arrangements for new or unproven products to keep DOI low while testing market demand.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • For e-commerce, 30โ€“60 days is generally healthy. Fast-moving consumer goods should be under 30 days. Seasonal or specialty items may run 60โ€“90 days. Above 90 days typically signals overstocking or weak demand that needs attention.