Inventory days formula and why it's useful
Inventory days formula is equivalent to the average number of days each item or SKU (stock keeping unit) is in the warehouse. A company’s Inventory days is an important inventory metric that measures how long a product is in storage before being sold. If the metric is high, there may not be enough demand for it, the product might be too expensive or it's time to rethink how it's being promoted. If the inventory days are too low, companies risk stock outs, supply chain disruptions or ultimately losing customers.
Inventory days is also commonly referred to as Inventory Days of Supply, Days Inventory Outstanding (DIO), Days in Inventory (DII) or Days Sales Inventory (DSI).
An inventory days metric is useful for distribution businesses because it allows a proper allocation of storage costs for inventory (storage costs or holding costs are part of the overall inventory costs). It also directly impacts inventory value and overall profitability. The less time each item spends in inventory, the lower the cost of storage and the faster the cash conversion cycle. For example, if a product has an annual storage cost of 24%, but it only remained in inventory for four months, how much was paid in holding costs for it? The answer is 8% (24% / 3). We must remember that typically the cost of storing an item is represented as a percentage of its valuation (in the previous example, 24%).
How to calculate inventory days?
To calculate inventory days, you can use the formula:
Inventory days = 365 / Inventory turnover
Use the number of days in a certain period and divide it by the inventory turnover. This formula allows you to quickly determine the sales performance of a given product.
The number used in the formula example above denotes the 365 days of a year. However, you can use any time period that suits your reporting - just make sure that it uses the same period that you use to calculate inventory turnover.
For example, imagine that you will calculate inventory days with an inventory turnover ratio of 4.32 per year. The calculation is as follows: 365/4.32, which will result in an average days in inventory of 84.49.
Inventory days: 84.49 = 365 / 4.32
If you did the operation using a different accounting period, for example, with a rotation of 2.31 over 180 days, the average inventory days would be 77.92.
How to calculate inventory turnover?
The days in inventory formula uses a specific value of inventory turnover. To calculate inventory turnover:
Inventory turnover = Cost of goods sold/Average inventory.
There are two things to keep in mind:
- Cost of Goods Sold (COGS) is the direct cost of sales of a product - expenses, labor and raw materials if manufacturing, but not general overheads like rent
- The average inventory for the same period is used.
If you had a COGS of $31,104 for widget sales over a year, and had an average of value of $7,200 widgets in stock over that time, your inventory turnover is 4.32:
Inventory turnover: 4.32 = $31,104 / $7,200
Calculating average inventory
The final piece of the days in inventory formula is average inventory. To calculate this, average the value of inventory levels throughout your accounting period (use the same period as the inventory days and inventory turnover formula). If you measured inventory at the beginning and end of your accounting period:
Average inventory = (beginning inventory + ending inventory) / 2
For example, if you had $9,134 in stock at the beginning of the year, and $5,266 at the end of the year, your average inventory would be $7,200:
$7,200 = ($5,266 + $9,134) / 2
A different way of calculating inventory days
Days in inventory can also be expressed using an inverse inventory of the turnover ratio:
Inventory days = 365 x ( 1 / Inventory turnover )
or
Inventory days = 365 x ( Average inventory / COGS )
This second formula utilizes the percentage of the products that sold in terms of cost of products sold. You can use this average to estimate the time that said product was predicted to sell. The figure resulting from this formula can be easily converted to days by multiplying this data by 365 or by a period.
What's an ideal days inventory time?
The answer is: it depends. The ideal number of days in inventory depends on the following:
Does your company have enough cashflow to obtain the necessary inventory without inflating the balance sheet?
-
Does your company have a certain method of calculating inventory?
-
How long does it take your company to restock?
-
What does your business model require — for example, do you follow a Just in time approach or maintain buffer stock to protect service levels?
But one thing is key: getting the restocking timing accurate. Understanding your suppliers’ wait times and how long it takes to replenish your entire inventory will allow you to determine your ideal days in inventory and safety stock levels, helping you aim for a lower DSI without increasing risk.
For example, if you have ten days of inventory and it takes 21 to resupply, then there is a negative time gap. If you order more products today, it will take 21 days for your supplier to deliver, while in ten days, you will be without products. As a result, you will have eleven days in which you will not meet your customers’ demands, putting you in an awkward position and negatively affecting product sales and profitability.
How many inventory days are wholesalers maintaining in 2026?
Findings from the 2026 Phocas Wholesale Distribution Inventory Trends report provide a useful benchmark for average days supply in inventory across the industry:
Average inventory days (Days Sales of Inventory, DSI)
| Average inventory days (Days sales Inventory, DSI) | Response | Evaluation |
|---|---|---|
| 30 days Response 11% Evaluation Inventory covers one month of sales | 11% | Inventory covers one month of sales |
| 31–60 days Response 15% Evaluation Inventory supports between one and two months of sales | 15% | Inventory supports between one and two months of sales |
| 61–90 days Response 32% Evaluation Inventory covers two to three months of sales | 32% | Inventory covers two to three months of sales |
| 91–120 days Response 9% Evaluation Inventory levels more than three months, stock is slow moving | 9% | Inventory levels more than three months, stock is slow moving |
| 120–150 days Response 9% Evaluation Inventory is ageing, with up to five months on hand | 9% | Inventory is ageing, with up to five months on hand |
| More than 150 days Response 4% Evaluation Excess inventory with slow turnover | 4% | Excess inventory with slow turnover |
| Don’t know Response 19% Evaluation Respondents don’t know range so difficult to make changes or improve KPIs | 19% | Respondents don’t know range so difficult to make changes or improve KPIs |
The most common average days of supply is 61–90 days at 32%. Most sit around 31–60 and 61–90 days, making up 47% of all respondents, suggesting a heavier or buffer approach is the norm rather than a strict just in time strategy. For many distributors, this reflects caution around supply chain uncertainty and fluctuating customer demand, but it can also indicate opportunities to automate reporting, improve demand forecasting, and reduce high DSI to protect margins.
How does inventory management software improve operational efficiency?
Inventory management software helps a business to calculate inventory days metrics automatically using the latest stock levels. It records all data about what inventory or stock is sourced, stored, ordered, sold and shipped, collating many layers of data that is often missing from ERP systems. Accurate measurement of stock enables people to plan, forecast, manage the company’s cash flow, supervise the flow of products/materials, improve the quality of customer service and ultimately improve overall operational efficiency. Integrating your inventory control systems with ERP data, sales analytics and financial statements can often be the difference between staying competitive or not.
Instead of waiting for your financial analyst to update complex excel templates a number of times a year to ensure inventory ratios and liquidity are on track, automated inventory calculations can give you a real-time indication of slow-moving products, under stock or dead stock items. Up-to-date, self service inventory reporting can help reduce errors and give early warning of low inventory levels, reduce the need for ad hoc inventory counts and help your team give customers the certainty that products can be delivered on time and in full.

Empowering businesses with intuitive data analytics, driving informed decisions for growth and profitability. We make people feel good about data.
Related blog posts
Wholesale distributors rely heavily on data to guide inventory management across thousands of SKUs and complex supply chain operations. With variables like gross margin, cost of goods sold (COGS) and inventory turnover, professionals working across a distribution business need to determine what’s relevant to them as well as how they work together.
Read more
Inventory management is a tight-rope balancing act. Ordering too much leaves you with excess stock tying up capital and warehouse space. Ordering too little puts you at risk of running out of stock, leading to stockouts, missed sales and frustrated customers. Inaccurate inventory forecasting means storage fees, excess inventory, waste from unsold goods and operational inefficiencies that eat into profits.
Read more
A CFO of a wholesaler recently described dead stock as piles of cash in the corner of a warehouse that she can’t access. And, in many ways, she’s not wrong. Dead stock is unsold products in storage or returned from retailers. It reduces the cash flow you need to buy revenue-generating stock and takes up valuable warehouse space that profitable products could use. Dead stock inventory also increases carrying costs, tying up resources in excess inventory that no longer matches customer demand.
Read moreBrowse by category
Find out how our platform gives you the visibility you need to get more done.
Get your demo today
