This exists already in a pretty intelligent way, check out <a href="http:&#x2F;&#x2F;www.caloriecount.com&#x2F;cc&#x2F;recipe_analysis.php" rel="nofollow">http:&#x2F;&#x2F;www.caloriecount.com&#x2F;cc&#x2F;recipe_analysis.php</a> and paste in an ingredients list.