Free nutrition calculator
Recipe nutrition calculator
Add ingredients by search or paste your ingredient list to get a Nutrition Facts label per serving from USDA data.
A nutrition calculator adds up the nutrients in every ingredient of a recipe and divides by the number of servings. With USDA data, our example red lentil dal (1 cup of red lentils, 1 tablespoon of ghee, vegetables, spices and 1 teaspoon of salt, for 4 servings) has about 225 calories, 12 g of protein, 6 g of fiber and 600 mg of sodium per serving.[1]
Recipe nutrition at a glance
- The method: nutrient per ingredient = grams used × value per 100 g ÷ 100. Add all ingredients, then divide by servings.
- The data: about 1,500 common foods from USDA SR Legacy, the laboratory-based reference database in FoodData Central.[1]
- The label: FDA Daily Values (2,000-calorie basis) and FDA rounding rules, such as calories to the nearest 10 above 50.[2][4]
- Quick guide: 5% Daily Value or less of a nutrient per serving is low; 20% or more is high.[5]
- Added sugars: the 2025-2030 Dietary Guidelines suggest no more than 10 g in one meal.[7][8]
How to use the nutrition calculator
- Add your ingredients. Search the food list, or paste your ingredient list with one ingredient per line, such as “1 cup red lentils”.
- Check each match and amount. Pick a closer food from “Other matches” if needed, and choose cups, spoons, grams, ounces or sizes such as “medium”.
- Enter the number of servings. For an exact serving size, weigh the cooked dish and enter its weight.
- Add packaged foods from their label if they are not in the list, such as a brand of sauce or bread.
- Read the label, then switch between per serving, whole recipe and per 100 g. Save the recipe, copy a link or print it.
How to calculate the nutrition of a recipe by hand
Multiply each ingredient’s nutrients per 100 g by the grams you used, divide by 100, add up all the ingredients and divide by the number of servings. Weighing in grams is the most accurate; cups and spoons need a weight for that food.[1]
Nutrient in an ingredient = grams used × nutrient per 100 g ÷ 100
Nutrient per serving = sum of all ingredients ÷ number of servings
For example, 1 tablespoon of ghee weighs 12.8 g, and ghee has 876 calories per 100 g, so it adds 12.8 × 876 ÷ 100 = 112 calories to the pot. The table shows the full dal.
| Ingredient | Amount | Grams | Calories | Protein (g) | Fiber (g) | Sodium (mg) |
|---|---|---|---|---|---|---|
| Red lentils (masoor), dry | 1 cup | 192 | 687 | 45.9 | 20.7 | 13 |
| Water | 4 cups | 947 | 0 | 0 | 0 | 38 |
| Ghee (clarified butter) | 1 tbsp | 13 | 112 | 0 | 0 | 0 |
| Onion | 1 medium | 110 | 44 | 1.2 | 1.9 | 4 |
| Garlic | 3 clove | 9 | 13 | 0.6 | 0.2 | 2 |
| Ginger, fresh | 1 tbsp | 6 | 5 | 0.1 | 0.1 | 1 |
| Tomato | 1 medium | 123 | 22 | 1.1 | 1.5 | 6 |
| Turmeric, ground | 1 tsp | 3 | 9 | 0.3 | 0.7 | 1 |
| Cumin | 1 tsp | 2 | 8 | 0.4 | 0.2 | 4 |
| Salt | 1 tsp | 6 | 0 | 0 | 0 | 2,325 |
| Cilantro (coriander leaves) | 2 tbsp | 2 | 0 | 0 | 0.1 | 1 |
| Whole recipe | 1,413 | 902 | 49.6 | 25.3 | 2,395 | |
| Per serving (4) | 353 | 225 | 12.4 | 6.3 | 599 |
The same dish can come out very differently depending on the cook. Doubling the ghee adds about 28 calories per serving, and halving the salt takes off about 290 mg of sodium per serving.
How to read the Nutrition Facts label
Percent Daily Value (%DV) shows how much of a day’s reference amount one serving gives. As a quick guide, 5% DV or less is low and 20% DV or more is high, which helps you compare dishes for nutrients to limit, such as sodium, and nutrients to get more of, such as fiber.[5]
| Nutrient | Daily Value | Low (5% DV or less) | High (20% DV or more) |
|---|---|---|---|
| Total fat | 78 g | 3.9 g | 16 g |
| Saturated fat | 20 g | 1 g | 4 g |
| Cholesterol | 300 mg | 15 mg | 60 mg |
| Sodium | 2,300 mg | 115 mg | 460 mg |
| Total carbohydrate | 275 g | 14 g | 55 g |
| Dietary fiber | 28 g | 1.4 g | 5.6 g |
| Added sugars | 50 g | 2.5 g | 10 g |
| Protein | 50 g | 2.5 g | 10 g |
| Vitamin D | 20 mcg | 1 mcg | 4 mcg |
| Calcium | 1,300 mg | 65 mg | 260 mg |
| Iron | 18 mg | 0.9 mg | 3.6 mg |
| Potassium | 4,700 mg | 235 mg | 940 mg |
Daily Values are reference amounts for labels, not personal targets. Your own needs depend on your age, size, activity and health. For your calorie needs, use the calorie calculator.
Why labels round the numbers
The FDA sets how each number on a Nutrition Facts label is rounded, so labels are easy to read and compare. This calculator follows the same rules on its label and shows exact values in the tiles and tables.[4]
| Nutrient | How the label rounds it |
|---|---|
| Calories | Under 5: 0. Up to 50: nearest 5. Over 50: nearest 10. |
| Total, saturated and trans fat | Under 0.5 g: 0. Under 5 g: nearest 0.5 g. 5 g or more: nearest 1 g. |
| Cholesterol | Under 2 mg: 0. 2 to 5 mg: "less than 5 mg". Over 5 mg: nearest 5 mg. |
| Sodium and potassium | Under 5 mg: 0. 5 to 140 mg: nearest 5 mg. Over 140 mg: nearest 10 mg. |
| Carbohydrate, fiber, sugars, protein | Under 0.5 g: 0. Under 1 g: "less than 1 g". 1 g or more: nearest 1 g. |
| % Daily Value of vitamins and minerals | Under 2%: 0%. Up to 10%: nearest 2%. Up to 50%: nearest 5%. Over 50%: nearest 10%. |
Raw or cooked: which weight to enter
Enter each ingredient the way you measured it. Recipes usually list rice, pasta, grains and beans dry and meat raw. Cooking changes the weight, not the calories: grains absorb water and meat loses it.[1]
| Food | Calories per 100 g raw or dry | Calories per 100 g cooked | 100 g raw becomes about |
|---|---|---|---|
| White rice | 365 | 130 | 280 g cooked |
| Brown rice | 367 | 123 | 300 g cooked |
| Pasta | 371 | 158 | 235 g cooked |
| Lentils | 352 | 116 | 305 g cooked |
| Quinoa | 368 | 120 | 305 g cooked |
| Rolled oats | 379 | 71 | 535 g cooked |
| Chicken breast | 120 | 165 | 75 g cooked |
That is why 1 cup of uncooked white rice has about 3.3 times the calories of 1 cup of cooked rice. When you paste a recipe, the calculator picks the raw or dry form unless the line says “cooked”. Heat and cooking water also reduce some vitamins, such as vitamin C, thiamin and folate, by amounts that differ by food and method; this calculator does not subtract those losses.[9]
Cooking fats compared
Oils and ghee are the most calorie-dense ingredients in most home cooking, at about 119 calories per tablespoon for olive oil and 112 for ghee.[1]
| Fat (1 tablespoon) | Calories | Saturated fat (g) | % Daily Value for saturated fat |
|---|---|---|---|
| Ghee (clarified butter) | 112 | 7.9 | 40% |
| Butter, salted | 102 | 7.3 | 36% |
| Coconut oil | 121 | 11.2 | 56% |
| Olive oil | 119 | 1.9 | 9% |
| Mustard oil | 124 | 1.6 | 8% |
| Canola oil | 124 | 1 | 5% |
| Soybean oil (vegetable oil) | 120 | 2.1 | 11% |
| Sunflower oil | 120 | 1.4 | 7% |
The 2025-2030 Dietary Guidelines keep the limit of saturated fat at under 10% of daily calories, which is about 22 g on a 2,000-calorie diet.[7][8] One tablespoon of ghee gives 7.9 g. Measuring oil with a spoon instead of pouring it is one of the easiest ways to make a recipe’s numbers match what you cook.
Added sugars in recipes
Added sugars are sugars and syrups you add while cooking, such as table sugar, brown sugar, honey, maple syrup, molasses and jam. Sugars that are naturally in fruit, vegetables and plain milk are not added sugars.[3][6]
The calculator counts all the sugar in sweeteners you add as added sugars. It cannot separate sugar that a manufacturer added inside a packaged ingredient; for those, add the food from its label. The FDA Daily Value for added sugars is 50 g a day.[2] The 2025-2030 Dietary Guidelines go further: they say no amount of added sugars is recommended and suggest no more than 10 g in one meal.[7][8] Our example overnight oats with 1 teaspoon of honey has about 5.8 g of added sugars.
Protein per portion
The 2025-2030 Dietary Guidelines suggest protein at every meal and 1.2 to 1.6 g per kilogram of body weight a day. The FDA label uses 50 g a day as the Daily Value.[8][2]
| Food | Portion | Protein (g) | Calories |
|---|---|---|---|
| Chicken breast, roasted | 3 oz | 26 | 140 |
| Salmon, farmed, cooked | 3 oz | 19 | 175 |
| Lentils, cooked | 1 cup | 18 | 230 |
| Chickpeas, cooked | 1 cup | 15 | 269 |
| Greek yogurt, plain, nonfat | 1 container (170 g) | 17 | 100 |
| Tofu, firm | 1/2 cup | 11 | 98 |
| Egg, whole | 1 large | 6 | 72 |
| Milk, whole | 1 cup | 8 | 149 |
| Almonds | 1 oz | 6 | 164 |
| Peanut butter, smooth | 2 tbsp | 7 | 191 |
Our example chicken and rice bowl has about 34 g of protein per serving. Plant proteins such as lentils, chickpeas and tofu also bring fiber. For adults, the National Academies set healthy ranges of 10% to 35% of calories from protein, 45% to 65% from carbohydrate and 20% to 35% from fat; the calculator shows your recipe’s split beside the label.[10] For a target split of carbs, fat and protein, try the macro calculator.
Fiber per portion
The Daily Value for fiber is 28 g. Beans, lentils, whole grains, fruit, vegetables, nuts and seeds supply almost all of it.[2]
| Food | Portion | Fiber (g) | % Daily Value |
|---|---|---|---|
| Lentils, cooked | 1 cup | 15.6 | 56% |
| Black beans, cooked | 1 cup | 15 | 53% |
| Chickpeas, cooked | 1 cup | 12.5 | 45% |
| Raspberries | 1 cup | 8 | 29% |
| Chia seeds | 1 tbsp | 4.1 | 15% |
| Oats, rolled, dry | 1/2 cup | 4.1 | 15% |
| Broccoli, cooked | 1 cup | 5.1 | 18% |
| Rice, brown, cooked | 1 cup | 3.2 | 12% |
| Rice, white, cooked | 1 cup | 0.6 | 2% |
Sodium per portion
Most sodium in home cooking comes from salt and salty ingredients such as soy sauce, broth and cheese. The Daily Value is 2,300 mg, the same as the limit in the Dietary Guidelines for people 14 and older.[2][7]
| Ingredient | Portion | Sodium (mg) | % Daily Value |
|---|---|---|---|
| Salt | 1 tsp | 2,325 | 101% |
| Soy sauce | 1 tbsp | 879 | 38% |
| Broth, chicken | 1 cup | 924 | 40% |
| Feta cheese | 1 oz | 260 | 11% |
| Ketchup | 1 tbsp | 154 | 7% |
| Cheddar cheese | 1 oz | 185 | 8% |
| Bread, white | 1 slice | 142 | 6% |
| Butter, salted | 1 tbsp | 91 | 4% |
When the calculator shows a high sodium value, the “Nutrients from each ingredient” table tells you which ingredient to cut. Herbs, spices, garlic, ginger, lemon and vinegar add flavor with almost no sodium.
What this calculator cannot know
- Your exact foods. USDA values are averages. Brands, varieties, ripeness and soil can change real values.
- Cooking losses. Some vitamins drop with heat and water; fat that drips off meat or stays in the pan is not subtracted.[9]
- Trans fat and some vitamins. The SR Legacy data has no trans fat for most foods and misses some vitamins for some foods. The calculator marks those gaps instead of counting them as zero.
- Labels for selling food. Food sold in the US must meet FDA labeling rules; this tool is for home cooks and meal planning.[3]
Pair this tool with the calorie calculator to see how a serving fits your day, and the BMI calculator to check your weight range. For balanced plates, see the healthy diet basics and the guide to the best diet for weight loss. In Ayurveda, meals are also matched to your dosha; the free dosha quiz shows which dosha leads for you.
More free tools for daily health decisions.
Nutrition calculator FAQ
How do I calculate the nutrition of a recipe?
Weigh or measure each ingredient, look up its nutrients per 100 grams, multiply by the grams you used and divide by 100. Add the results for all ingredients, then divide by the number of servings. This calculator does those steps for you with USDA data and shows an FDA-style label per serving.
How many calories are in a serving of red lentil dal?
Our example dal, made with 1 cup of dry red lentils, 1 tablespoon of ghee, onion, tomato, garlic, ginger, spices and 1 teaspoon of salt, has about 225 calories, 12 g of protein and 6 g of fiber in each of 4 servings. The salt alone gives each serving about 600 mg of sodium.
Should I enter ingredients raw or cooked?
Enter each ingredient as you measured it. If your recipe says 1 cup of rice, that usually means uncooked rice, which has about 3.3 times the calories of 1 cup of cooked rice. When you paste a recipe, the calculator picks the raw or dry form unless the line says cooked.
Does cooking change the calories in food?
Cooking mostly changes weight, not calories. Rice and pasta absorb water and meat loses water, so the calories per 100 grams change while the calories in the whole batch stay about the same. Some vitamins, such as vitamin C and folate, are partly lost with heat and water, which this calculator does not subtract.
What is percent Daily Value?
Percent Daily Value (%DV) shows how much of a day’s reference amount one serving gives, based on a 2,000-calorie diet. The FDA guide says 5% DV or less of a nutrient is low and 20% DV or more is high.
What counts as added sugars?
Under FDA rules, added sugars are sugars and syrups added during preparation, including table sugar, brown sugar, honey, maple syrup, molasses and jam. The natural sugars in fruit, vegetables and plain milk do not count. The calculator counts the sugar from sweeteners you add as added sugars.
How much added sugar is OK in a meal?
The 2025-2030 Dietary Guidelines for Americans say no amount of added sugars is recommended and that one meal should contain no more than 10 grams. The FDA Daily Value for the label is still 50 grams a day.
Why is trans fat not shown?
The USDA SR Legacy data used here does not list trans fat for most foods, so the calculator shows it as not available instead of guessing. Whole foods contain little trans fat. Check the label of any packaged ingredient.
Can I use this calculator to make labels for food I sell?
No. It is built for home cooks and meal planning. Packaged food sold in the US must meet FDA labeling rules, which usually means lab analysis or validated nutrient software, plus allergen and ingredient statements.
Where does the food data come from?
Values come from the USDA SR Legacy database in FoodData Central, which the USDA built from laboratory analyses and published research. The calculator includes about 1,500 common foods, with household measures such as cups, tablespoons and medium pieces.
How accurate is a recipe nutrition calculator?
It is as accurate as the amounts you enter and how closely the USDA food matches yours. Weighing ingredients in grams is the most accurate method. Varieties, brands, ripeness and cooking losses can move real values up or down, so treat the label as a close estimate.
How much protein should a meal have?
The 2025-2030 Dietary Guidelines suggest prioritizing protein at every meal and aiming for 1.2 to 1.6 grams per kilogram of body weight a day. The FDA uses 50 grams a day as the Daily Value for labels.
Is the 4-4-9 rule accurate?
It is a good average. The general factors are 4 calories per gram of protein, 4 per gram of carbohydrate and 9 per gram of fat. FDA labeling rules allow these general factors or several other methods, such as factors specific to each food, so a label can differ a little from a 4-4-9 sum. This calculator uses the calorie value USDA lists for each food rather than recomputing it.
Sources
- US Department of Agriculture, Agricultural Research Service. FoodData Central: SR Legacy (USDA National Nutrient Database for Standard Reference, Legacy Release). 2018, with the data from Release 28. fdc.nal.usda.gov
- US Food and Drug Administration. Daily Value on the Nutrition and Supplement Facts labels. Daily Value table for adults and children 4 years and older. fda.gov/media/99069/download
- Code of Federal Regulations. 21 CFR 101.9: Nutrition labeling of food, including the definition of added sugars and the 2016 Daily Values. ecfr.gov/current/title-21/chapter-I/subchapter-B/part-101/subpart-A/section-101.9
- US Food and Drug Administration. A Food Labeling Guide, Appendix H: Rounding the values according to FDA rounding rules. fda.gov/files/food/published/Food-Labeling-Guide-%28PDF%29.pdf
- US Food and Drug Administration. Interactive Nutrition Facts Label: percent Daily Value (the 5% and 20% guide). accessdata.fda.gov/scripts/interactiveNutritionFactsLabel/daily-value.cfm
- US Food and Drug Administration. Constituent update: declaration of added sugars on pure maple syrup and pure honey (FDA definition of added sugars). 2018. fda.gov/food/constituent-updates/fda-considering-revised-approach-declaration-added-sugars-pure-maple-syrup-and-pure-honey
- US Department of Agriculture and US Department of Health and Human Services. Dietary Guidelines for Americans, 2025-2030. January 2026. cdn.realfood.gov/DGA.pdf
- Elsayed S, Nelson M. Dietary Guidelines for 2025-2030: recommendations from the USDA and HHS. Am Fam Physician. 2026;114(1):98-100. aafp.org/afp/2026/0700/practice-guidelines-dietary-guidelines
- US Department of Agriculture, Agricultural Research Service. USDA Table of Nutrient Retention Factors, Release 6. 2007. ars.usda.gov/ARSUserFiles/80400525/Data/retn/retn06.pdf
- Institute of Medicine. Dietary Reference Intakes for Energy, Carbohydrate, Fiber, Fat, Fatty Acids, Cholesterol, Protein, and Amino Acids, chapter 11: macronutrients and healthful diets. 2005. nap.nationalacademies.org/read/10490/chapter/13
This calculator gives estimates for home cooking and meal planning. It is not a substitute for advice from a doctor or registered dietitian, and its labels are not for use on food sold to the public. Values come from USDA averages and can differ from the brands and varieties you use.



