calculate ratios for recipe_prices