The average number of days sales in merchandise inventory is a measure of how many days it takes for a business to sell its entire inventory. It is calculated by dividing the average inventory value by the cost of goods sold (COGS) and then multiplying by 365 days. This metric helps assess how efficiently a company is managing its inventory levels.