number of days' sales in inventory is calculated as
Days in Inventory. The formula to calculate days in inventory is the number of days in the period divided by the inventory turnover ratio. This formula is used to determine how quickly a company is converting their inventory into sales.