A recipe nutrition calculator turns an ingredient list into calories, protein, fat, carbohydrate, sugars and sodium for the whole dish and for each serving. Paste the ingredients, enter how many servings the recipe makes, and the calculator reads each line, finds the food in a built-in table and adds up the nutrients. Everything is worked out in your browser, so your recipes stay private.
Most recipe nutrition tools call a server or ask you to pick every food from a drop-down. This one bundles a compact table of 188 common foods and understands lines such as "1 1/2 cups all-purpose flour", "100 g butter", "2 large eggs" or "2 (15 oz) cans black beans".
How to use the recipe nutrition calculator
- Type or paste the ingredients, one per line, with an amount and a food name.
- Enter the number of servings the recipe makes.
- Press Calculate. You get totals and per-serving values, a line-by-line table with the food each line matched and the grams used.
- Read the list of skipped lines. Each says why it was not counted: no known food, no amount, or no known weight for that measure.
Where the nutrient figures come from
The values are per 100 grams from FoodData Central, the nutrient database of the US Department of Agriculture. The table comes from its SR Legacy data type, the historic Standard Reference data with nutrients from analyses, calculations and published literature, whose final release was in April 2018 [1] [3]. FoodData Central data are published under CC0 1.0 Universal, so they may be reused freely [2]. The USDA asks for the citation "U.S. Department of Agriculture, Agricultural Research Service. FoodData Central, 2019" and we give it here [2].
The same download holds household portions, such as the weight of one cup of flour or one large egg. We use those to turn cups, tablespoons, teaspoons and counts into grams [1]. For example, the dataset weighs one cup of all-purpose flour at 125 grams and one large egg at 50 grams. Our table keeps only what is needed: kilocalories, protein, fat, carbohydrate, total sugars and sodium, plus the weights per cup and per item.
How a line becomes grams
- Weights: grams, kilograms, ounces and pounds are used as they are.
- Cups and spoons: the amount in millilitres is divided by the 236.5882 mL US cup and multiplied by the food's weight per cup. If the dataset gives no cup weight for that food, the line is skipped rather than guessed.
- Counts: "2 large eggs" uses the weight of one item. Lines like "2 chicken breasts" are skipped when the dataset has no single-item weight, so give a weight instead.
- Packs: "2 (15 oz) cans beans" multiplies the count by the bracketed pack size.
- Ranges: "1-2 cups" uses the middle value.
Worked example
Take 100 g of salted butter and 200 g of all-purpose flour for four servings. The butter row in the table is 717 kcal per 100 g with 81.11 g of fat, and the flour is 364 kcal per 100 g. The totals are 717 + 728 = 1,445 kcal, which is 361 kcal per serving. Change the flour line to "1 cup all-purpose flour" and the calculator uses 125 g, giving 455 kcal for that line.
| Food (per 100 g) | Energy | Fat | Sodium |
|---|---|---|---|
| Butter, salted | 717 kcal | 81.11 g | 643 mg |
| All-purpose flour, enriched | 364 kcal | 0.98 g | 2 mg |
| Egg, whole, raw | 143 kcal | 9.51 g | 142 mg |
Why recipe nutrition results are estimates
Treat the result as a careful estimate, not a label. The table lists raw or dry foods, so a can of drained beans, cooked rice or roasted vegetables differs from the raw entry because water is gained or lost in cooking. Brands vary, a "medium onion" is an average, and the database is a snapshot. Weigh ingredients when accuracy matters, and note that fat or liquid left in the pan is not removed. The page gives general information only and is not dietary or medical advice.
Reading the nutrition results
The first table shows each nutrient twice: for the whole recipe and for one serving. Energy is in kilocalories, protein, fat, carbohydrate and total sugars are in grams, and sodium is in milligrams. Total sugars are part of the carbohydrate figure, not extra. Sodium is the mineral, not salt; table salt is about 39 percent sodium by weight (our own working: 22.99 g of sodium in 58.44 g of sodium chloride), so a teaspoon of salt carries a large sodium number even though it has no calories.
The second table lists every counted line with the food it matched and the grams it used. Scan it first. If "chicken broth" matched the plain chicken entry or a line shows a surprising weight, fix the wording and run it again. The match always uses the longest food name found in the line, so "peanut butter" is never mistaken for butter and "brown sugar" is never mistaken for sugar.
What the tool does not do is as important as what it does. It does not know vitamins, fibre, saturated fat or cholesterol, because we kept the table small enough to load quickly. It does not adjust for fat that stays in the pan, bones that are discarded or liquid that boils away. For a recipe you will serve to someone with a medical diet, use a professional dietitian or the label on each product instead.
Tips for better results
- Write the food as simply as you can: "unsalted butter" beats "a knob of European-style cultured butter".
- Use weights for dense foods. A heaped cup of flour can differ by 20 percent from a spooned and levelled one.
- Add oil, sugar and butter lines explicitly; they carry most of the calories in baked dishes.
- Split a recipe with a sauce into one list so every ingredient counts once.
- Divide by the servings you actually eat, not the number the recipe claims.
What next
- Calories Burned by Heart Rate Calculator
- Recipe Scaler (Serving Size Converter)
- Recipe Cost Calculator
Use this often? Add Recipe Nutri to your Home screen.
Frequently asked questions
How accurate is this recipe nutrition calculator?
It is an estimate. The values are USDA reference figures for generic foods, mostly raw or dry. Brands, ripeness, cooking losses and how you measure all move the result, so weigh ingredients for the best accuracy.
Which foods does the recipe nutrition calculator know?
About 190 common ingredients: flours, sugars, fats, dairy, eggs, meats, fish, grains, beans, nuts, fruit, vegetables, herbs, spices and some sauces. A line with a food outside the table is skipped and listed.
Why was one of my lines skipped?
Each skipped line gets a reason: the food is not in the table, there is no amount, the food has no known weight per cup, or one item has no known weight. Add grams to fix the last two.
Does it handle cooked or canned ingredients?
The table mostly holds raw or dry values. Cooked rice or drained canned beans weigh differently, so convert to the raw weight where you can or treat the result as approximate.
Where do the numbers come from?
They come from the USDA FoodData Central SR Legacy dataset, published under CC0 1.0 Universal, and are per 100 grams of each food.
Sources
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.