In estimating the ending inventory under the retail method the cost ratio is the cost of goods available divided by the retail value of the goods available.