Calculate price for recipes and ingredients