Days Sales in Inventory: What It Is, Formula and an Example

Updated: December 3, 2026

Days sales in inventory (DSI) is the average number of days a company holds its inventory before selling it. You get it by dividing average inventory by cost of goods sold, then multiplying by 365. A lower DSI means stock turns into sales faster and less cash sits in the warehouse.

What is the days sales in inventory formula?

The days sales in inventory formula divides average inventory by average daily cost of goods sold. The NACM accounting course materials define it as average inventory divided by the average daily cost of merchandise sold. Daily cost is annual cost of goods sold divided by 365.

DSI = Average inventory / (Cost of goods sold / 365)

Average inventory is usually beginning inventory plus ending inventory, divided by 2. You can also get DSI by dividing 365 by inventory turnover. The Institute for Supply Management defines turnover as annual cost of goods sold divided by average inventory. A turnover of 4 means stock is replaced about every 91 days.

How do you calculate DSI? A distributor example

Company X is a foodservice distributor that sells in cases. Here is its DSI calculation for one year:

Item Value
Cost of goods sold for the year $9,125,000
Daily cost of goods sold, $9,125,000 / 365 $25,000
Beginning inventory $1,150,000
Ending inventory $1,250,000
Average inventory $1,200,000
Days sales in inventory, $1,200,000 / $25,000 48 days

Company X holds about 48 days of stock. Its inventory turnover is $9,125,000 / $1,200,000, or about 7.6 turns, and 365 / 7.6 also gives about 48 days. If Company X cut average inventory to $1,000,000 with the same sales, DSI would drop to 40 days and $200,000 in cash would be freed up.

Why does days sales in inventory matter to distributors?

Days sales in inventory shows how long a distributor's cash is tied up in stock. NACM notes that a smaller ratio is better because goods sell faster. It also notes that holding inventory adds the cost of storing, insuring and moving it. Read DSI alongside days sales outstanding (DSO): together they show how long cash is tied up between buying stock and collecting payment.

What is a good DSI for a distributor?

A good days sales in inventory depends on the product line, so compare against your own trend and your sector. Modern Distribution Management reports that mid-market distributors average 4 to 6 inventory turns a year, against a best-in-class benchmark of 8 to 12. That works out to roughly 61 to 91 days for typical distributors and 30 to 46 days for the best.

What can you do with days sales in inventory?

Use days sales in inventory to find which items hold too many days of stock, then act on those items instead of the company-wide number. Purchasing teams also need to know which items will run short and what to reorder. Ron, the Insighting inventory and purchasing agent, sends a daily inventory and purchasing report that shows what is about to run out, what is stuck and how much to order. Every number is based on your data in the ERP, and you can check it against it. Our team connects your ERP for you, with no development project.

AI agents and sales analytics on top of your ERP, for B2B companies. To see how many days of stock your slow items are carrying, book a demo.

Questions and answers

What is the difference between days sales in inventory and inventory turnover?

Inventory turnover counts how many times a company sells and replaces its average inventory in a year. Days sales in inventory turns that into days by dividing 365 by turnover. A distributor with 8 turns a year has a DSI of about 46 days.

Is a higher or lower days sales in inventory better?

A lower days sales in inventory is usually better because stock sells faster and less cash sits on the shelf. A DSI that is too low can mean running short when demand jumps, so distributors look for the lowest DSI that still keeps customers supplied.

Is days sales in inventory the same as days inventory outstanding?

Yes. Days sales in inventory, days inventory outstanding and days in inventory are common names for the same measure. Each one shows the average number of days a company holds stock before selling it, based on cost of goods sold.

Sources

More in the glossary

Connect your ERP. Up and running in 4 weeks.

Insighting learns your business and tells everyone on the team what to do next.

Book a demo