Nutrition Calculator: Recipe and Food Nutrition Facts

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]
Why trust this calculator? Many recipe calculators hide where their numbers come from or mix in user-entered foods. This one uses only USDA SR Legacy values, shows the weight it used for every cup and spoon, flags missing data instead of counting it as zero, and applies the FDA’s own rounding rules. The page is medically reviewed by Dr. Goutom Banik, MBBS, MPH, last reviewed November 3, 2026, with the next review due May 2027.[1][4]

How to use the nutrition calculator

  1. Add your ingredients. Search the food list, or paste your ingredient list with one ingredient per line, such as “1 cup red lentils”.
  2. 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”.
  3. Enter the number of servings. For an exact serving size, weigh the cooked dish and enter its weight.
  4. Add packaged foods from their label if they are not in the list, such as a brand of sauce or bread.
  5. 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.

Finding: the ghee and lentils give most of the calories in this dal, and the salt gives 25% of the daily sodium value in each serving. Our calculation from USDA SR Legacy data.[1]
IngredientAmountGramsCaloriesProtein (g)Fiber (g)Sodium (mg)
Red lentils (masoor), dry1 cup19268745.920.713
Water4 cups94700038
Ghee (clarified butter)1 tbsp13112000
Onion1 medium110441.21.94
Garlic3 clove9130.60.22
Ginger, fresh1 tbsp650.10.11
Tomato1 medium123221.11.56
Turmeric, ground1 tsp390.30.71
Cumin1 tsp280.40.24
Salt1 tsp60002,325
Cilantro (coriander leaves)2 tbsp2000.11
Whole recipe1,41390249.625.32,395
Per serving (4)35322512.46.3599

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]

Finding: one serving with 460 mg of sodium already reaches the 20% “high” line. FDA Daily Values for adults and children 4 and older, with the FDA 5% and 20% guide.[2][5]
NutrientDaily ValueLow (5% DV or less)High (20% DV or more)
Total fat78 g3.9 g16 g
Saturated fat20 g1 g4 g
Cholesterol300 mg15 mg60 mg
Sodium2,300 mg115 mg460 mg
Total carbohydrate275 g14 g55 g
Dietary fiber28 g1.4 g5.6 g
Added sugars50 g2.5 g10 g
Protein50 g2.5 g10 g
Vitamin D20 mcg1 mcg4 mcg
Calcium1,300 mg65 mg260 mg
Iron18 mg0.9 mg3.6 mg
Potassium4,700 mg235 mg940 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]

Finding: labels show rounded numbers, so a dish with 47 calories per serving is labeled 45, and 106 is labeled 110. Rules from the FDA Food Labeling Guide.[4]
NutrientHow the label rounds it
CaloriesUnder 5: 0. Up to 50: nearest 5. Over 50: nearest 10.
Total, saturated and trans fatUnder 0.5 g: 0. Under 5 g: nearest 0.5 g. 5 g or more: nearest 1 g.
CholesterolUnder 2 mg: 0. 2 to 5 mg: "less than 5 mg". Over 5 mg: nearest 5 mg.
Sodium and potassiumUnder 5 mg: 0. 5 to 140 mg: nearest 5 mg. Over 140 mg: nearest 10 mg.
Carbohydrate, fiber, sugars, proteinUnder 0.5 g: 0. Under 1 g: "less than 1 g". 1 g or more: nearest 1 g.
% Daily Value of vitamins and mineralsUnder 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]

Finding: 100 g of uncooked white rice becomes about 280 g of cooked rice, while 100 g of raw chicken breast cooks down to about 75 g. Our calculation from USDA SR Legacy data, assuming calories stay the same in cooking.[1]
FoodCalories per 100 g raw or dryCalories per 100 g cooked100 g raw becomes about
White rice365130280 g cooked
Brown rice367123300 g cooked
Pasta371158235 g cooked
Lentils352116305 g cooked
Quinoa368120305 g cooked
Rolled oats37971535 g cooked
Chicken breast12016575 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]

Finding: every cooking fat has about 100 to 125 calories per tablespoon, but saturated fat ranges from 1 g in canola oil to 11.2 g in coconut oil. Our calculation from USDA SR Legacy data; Daily Value 20 g.[1][2]
Fat (1 tablespoon)CaloriesSaturated fat (g)% Daily Value for saturated fat
Ghee (clarified butter)1127.940%
Butter, salted1027.336%
Coconut oil12111.256%
Olive oil1191.99%
Mustard oil1241.68%
Canola oil12415%
Soybean oil (vegetable oil)1202.111%
Sunflower oil1201.47%

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]

Finding: 3 oz of roasted chicken breast gives about 26 g of protein, and 1 cup of cooked lentils gives about 18 g with almost no fat. Our calculation from USDA SR Legacy data.[1]
FoodPortionProtein (g)Calories
Chicken breast, roasted3 oz26140
Salmon, farmed, cooked3 oz19175
Lentils, cooked1 cup18230
Chickpeas, cooked1 cup15269
Greek yogurt, plain, nonfat1 container (170 g)17100
Tofu, firm1/2 cup1198
Egg, whole1 large672
Milk, whole1 cup8149
Almonds1 oz6164
Peanut butter, smooth2 tbsp7191

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]

Finding: 1 cup of cooked lentils gives 16 g of fiber, more than half of the 28 g Daily Value, while 1 cup of white rice gives under 1 g. Our calculation from USDA SR Legacy data.[1][2]
FoodPortionFiber (g)% Daily Value
Lentils, cooked1 cup15.656%
Black beans, cooked1 cup1553%
Chickpeas, cooked1 cup12.545%
Raspberries1 cup829%
Chia seeds1 tbsp4.115%
Oats, rolled, dry1/2 cup4.115%
Broccoli, cooked1 cup5.118%
Rice, brown, cooked1 cup3.212%
Rice, white, cooked1 cup0.62%

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]

Finding: 1 teaspoon of salt has about 2,330 mg of sodium, about a full day’s Daily Value of 2,300 mg. Our calculation from USDA SR Legacy data.[1][2]
IngredientPortionSodium (mg)% Daily Value
Salt1 tsp2,325101%
Soy sauce1 tbsp87938%
Broth, chicken1 cup92440%
Feta cheese1 oz26011%
Ketchup1 tbsp1547%
Cheddar cheese1 oz1858%
Bread, white1 slice1426%
Butter, salted1 tbsp914%

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.

See all free health calculators

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

  1. 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
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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.