Easy or HARD ratio question ?

I had this question ... when you are making an analysis for a month calculating # of days in inventory : how do you calculate the Inventory turnover ratio ? is it ((Cost of goods Sold for the month)*12 ) / (Avg. Inventory) and after that 365 / Result ? Or another way ! i was asked this by a student and Damn ! i didnt know the answer ... " i was substituting in a class"