What is the formula for calculating food cost in a restaurant?

Food Cost = (Beginning Inventory + Purchases - Ending Inventory) / Food Sales