How the calculator works
- Each line is read for an amount, a unit and an ingredient (“1 ½ cups long-grain rice”).
- The ingredient is matched to one of 145 common foods in USDA FoodData Central (SR Legacy), the U.S. government’s public-domain nutrient database.
- Cups and spoons are turned into grams with USDA’s household measures; “1 onion” uses USDA’s weight for a medium onion.
- Nutrients are added up and divided by the servings.
Values are for raw ingredients, as listed. Draining fat, discarding marinades or how much oil stays in the pan all change the real figure, so treat it as a guide, not a label. Lines we can’t match are shown and left out.