Recipe Nutrition Calculator for Nutrition Facts

This recipe nutrition calculator turns a list of ingredients into the Nutrition Facts panel for one serving. Paste the recipe, check the USDA food each line matched, choose the measure you used, and the calculator totals calories, fat, sodium, carbohydrate, protein and the other mandatory lines, then rounds and lays them out with the nutrition label generator’s engine.

  • Paste a whole recipe
  • USDA FoodData Central
  • Finished weight and servings
  • PDF, SVG, EPS and PNG
  • Free, no signup

Recipe Nutrition Calculator

Your recipe

Name it, say how many servings it makes and name one serving the way you would on a package.

servings

How many servings the whole recipe makes.

The household measure, as it will print on the label.

g

Weigh the baked or cooked food. The label divides this weight by the servings; leave it empty to use the ingredients’ weight.

Ingredients

One ingredient per line, or paste the whole list.

Food names and nutrient values: USDA FoodData Central, SR Legacy 2018-04. Food names stay in English.

Paste a recipe above, or type one ingredient per line. Each line is matched to a USDA food.

Nutrition Facts

Standard format · FDA rules

Loading the label fonts…

Add at least one ingredient to calculate the label.

The label tools open once every ingredient is matched and weighed and every mandatory line has a value.

Per serving

Calories
Not entered
Total Fat
Not entered
Sodium
Not entered
Total Carbohydrate
Not entered
Protein
Not entered
Ingredients weight
0 g
Serving weight
0 g

Without a finished weight, the serving is the ingredients’ weight divided by the servings.

The label engine follows the rounding and layout rules of 21 CFR 101.9. FDA does not review or approve food labels before sale. The nutrition data comes from USDA and is public domain.

mandatory Nutrition Facts lines, checked
15
USDA foods to match each ingredient
7,793
file types: PDF, SVG, EPS and PNG
4
recipes uploaded; it runs in the browser
0

How to use this recipe nutrition calculator

Six steps take a recipe from a list of ingredients to a label you can place on a package, and each one is saved in this browser as you work.

IngredientsMatched USDA food

2 1/4 cups all-purpose flour

1 tsp baking soda

1 tsp salt

1 cup butter, softened

  • Wheat flour, white, all-purpose, enriched, bleached281.3 g
  • Leavening agents, baking soda4.6 g
  • Salt, table6 g
  • Butter, salted227 g

USDA FoodData Central

A recipe calorie calculator that also makes the label

This nutrition calculator for recipes carries the numbers through FDA’s rounding rules and the label engine, so what you see is the panel that prints, which is what a recipe calorie calculator should finish with.

USDA values per 100 g

Butter, salted

Calories
717 kcal
Total Fat
81.11 g
Saturated Fat
51.37 g
Sodium
643 mg
Total Sugars
0.06 g
Protein
0.85 g
pat, (1 in sq, 1/3 in high) = 5 gtbsp = 14.2 gcup = 227 g

USDA values for each food, not a generic table

Every matched food carries its own amounts per 100 g and its own household measures. Flour is 125 g a cup, a stick of butter is 113 g and a large egg is 50 g, because that is what SR Legacy measured. Each cup weighs what that food weighs, so flour and sugar do not share one density.

Finished weight (optional)

1278.3 g

Ingredients weight

1100 g

Baked batch

Ingredients a serving

53.3 g

Serving weight

45.8 g

The finished weight sets the serving size

Cooking changes weight, and the label has to describe the food as it is sold. Enter the weight of the finished batch and the calculator divides it by the servings, then prints the metric serving size on the label. Without it, the ingredient weight is used and the page says so.

Values this recipe still needs

Trans Fat (g)

2 1/4 cups all-purpose flour

Amount per serving

0.2 g

Serving size (g)

30 g

0.2 ÷ 30 × 100 =

0.67 g / 100 g

Mark 0

Missing values are asked for, never guessed

SR Legacy leaves trans fat empty for many foods and vitamins empty for some. The page lists every mandatory line that a row cannot fill, names the row and takes an amount per 100 g or an explicit 0. The downloads stay off until all 15 lines have a value, with the reason next to the buttons.

Added sugars

Added sugars switch

  • 3/4 cup granulated sugarOn
  • 3/4 cup brown sugar, packedOn
  • 2 cups semisweet chocolate chipsOn
  • 2 1/4 cups all-purpose flourOff
  • 1 cup butter, softenedOff

Total Sugars

21g

Includes Added Sugars

21g · 42%

Added sugars from the sugars in the recipe

SR Legacy carries no added sugars amounts, so the calculator counts the sugars of the sweet ingredients as added. The calculator counts the total sugars of sugar, honey, syrups and other foods in USDA’s Sweets category as added sugars, following 21 CFR 101.9(c)(6)(iii), and every row has a switch to include or leave out that amount.

FDA rounding

Actual → On the label

  • Calories234.95 → 230

    21 CFR 101.9(c)(1)

  • Sodium219.87 → 220mg

    21 CFR 101.9(c)(4)

  • Total Fat12.38 → 12g

    21 CFR 101.9(c)(2)

  • Iron1.11 → 1.1mg

    21 CFR 101.9(c)(8)

FDA rounding, actual to declared

The recipe nutrition calculator shows the actual per-serving amounts, and the label prints the values FDA’s rules set. 234.95 kcal becomes 230, 12.38 g fat becomes 12 g, 219.87 mg sodium becomes 220 mg and 1.11 mg iron becomes 1.1 mg, each under its paragraph of 21 CFR 101.9.

Nutrition Facts
  • PDFvector
  • SVGvector
  • EPSvector
  • PNG300 dpi

2.5 in · 24 servings

One label engine, four print files

The panel is drawn by the same engine as the nutrition label generator: standard format, FDA type sizes, % Daily Values and the label’s own rounding. Download a vector PDF, SVG or EPS, or a 300 dpi PNG, free and with no watermark.

How the recipe nutrition calculator works

A recipe nutrition calculator multiplies each ingredient’s nutrition per 100 g by the grams used, adds the rows, and divides by the number of servings. The hard part is the grams, and the recipe nutrition calculator spends most of its work there: a recipe says “3/4 cup brown sugar, packed”, and the data says a packed cup weighs 220 g. The calculator reads the amount and unit, looks for the food in USDA FoodData Central’s SR Legacy release, then uses that food’s own household measure. When the line names a preparation such as packed, sliced or chopped, it picks the measure that matches.

For a nutrition calculator for recipes, the measure is the whole problem, so the food search scores whole words, singular and plural, and prefers the plain food over a processed form unless the line asks for one. “Apples” finds raw apples before dried apples, “butter” finds salted butter at the top, and a line with no unit can use a measure named after the food, such as one avocado. The first result is selected, and the page shows the next four so a cook can correct a match in one click. A search box reaches the rest of the 7,793 foods.

The recipe nutrition calculator keeps each row’s measure and grams. For a recipe calorie calculator, that means a corrected match or measure flows straight into the totals. Change a match and the row starts again from the new food’s data; change the measure and the grams follow the measure. Type grams yourself and the row uses your number, which is what a kitchen scale is for. The total ingredient weight, shown in the Per serving box, and the grams per serving update as you go. The data is SR Legacy 2018-04 from USDA FoodData Central, public domain, and the page fetches only the index and the shards it needs.

Five matches

2 1/4 cups all-purpose flour

  • Wheat flour, white, all-purpose, enriched, bleached
  • Wheat flour, white, all-purpose, enriched, unbleached
  • Wheat flour, white, all-purpose, unenriched
  • Wheat flour, white, all-purpose, enriched, calcium-fortified
  • Wheat flour, white, all-purpose, self-rising, enriched
cocoa powder
  • Cocoa, dry powder, unsweetened
  • Cocoa, dry powder, unsweetened, processed with alkali
  • Cocoa, dry powder, hi-fat or breakfast, processed with alkali
  • Spices, curry powder
  • Spices, chili powder

Search any of the 7,793 foods

Recipe calorie calculator numbers and the 15 mandatory lines

A Nutrition Facts label carries 15 mandatory lines under 21 CFR 101.9(c): calories, total fat, saturated fat, trans fat, cholesterol, sodium, total carbohydrate, dietary fiber, total sugars, added sugars, protein, vitamin D, calcium, iron and potassium. The recipe nutrition calculator totals every line the data can fill and reports the ones it cannot. A recipe calorie calculator that shows only calories hides those gaps; this recipe nutrition calculator puts them in front of the cook before the label is downloaded.

The values on the page are the actual per-serving amounts. The recipe nutrition calculator then rounds each one by its own rule for the label. Calories round to the nearest 5 up to 50 and to the nearest 10 above 50. Fat rounds to the nearest 0.5 g under 5 g and to the nearest 1 g above. Sodium rounds to the nearest 5 mg up to 140 mg and to the nearest 10 mg above 140 mg. Vitamins and minerals round in steps that suit their Daily Values. The result is the number a package would print, not the raw decimal from the sum.

The page also works out the % Daily Values from the Daily Values for adults and children 4 years and over: 2,000 calories, 78 g total fat, 20 g saturated fat, 300 mg cholesterol, 2,300 mg sodium, 275 g carbohydrate, 28 g fiber, 50 g added sugars, 50 g protein, 20 mcg vitamin D, 1,300 mg calcium, 18 mg iron and 4,700 mg potassium. Protein gets a % Daily Value only with a protein claim or on food for children 1 through 3 (21 CFR 101.9(c)(7)(i)), so the label prints protein in grams.

The 15 mandatory lines15
  • Calories230
  • Total Fat12g
  • Saturated Fat7g
  • Trans Fat0g
  • Cholesterol35mg
  • Sodium220mg
  • Total Carbohydrate31g
  • Dietary Fiber1g
  • Total Sugars21g
  • Added Sugars21g
  • Protein2g
  • Vitamin D0mcg
  • Calcium0mg
  • Iron1.1mg
  • Potassium0mg

Why a nutrition calculator for recipes asks for missing values

SR Legacy is a large, public dataset, but it is not complete. Trans fat is the most common gap: of the 20 sample recipes in the prototype, 18 had at least one food without a trans fat value. Vitamin D, calcium, iron and potassium can also be empty for a food. A nutrition calculator for recipes that treats an empty field as 0 prints a label that says “0 g trans fat” when nobody measured it, and that is the one thing this page refuses to do.

Instead, the recipe nutrition calculator lists each mandatory line with the rows that lack it, and a nutrition calculator for recipes should do no less. The cook reads the amount per serving and the serving’s grams from the package; the calculator works out the per 100 g amount and fills it into that row. If the food truly has none, Mark 0 records an explicit zero. Mark all of this nutrient 0 does the same for every listed row in one action, and every value is saved with the recipe in this browser. The label preview stays on screen while values are missing, so the effect of each entry is visible, but the download buttons and the hand-overs stay disabled with a reason until all 15 lines have a value.

The same rule applies to added sugars. The sugars of a food in USDA’s Sweets category count as added, which covers sugar, brown sugar, honey, syrups and sweetened chocolate in a dessert. A row outside that category can be switched on when its sugar is added, and a row inside it can be switched off when the sugar is naturally there. The label prints “Includes Xg Added Sugars” under Total Sugars, as 21 CFR 101.9(c)(6)(iii) sets it, with its % Daily Value against 50 g.

Package amount

Per 100 g

Package amount

0.2 g

Serving grams

30 g

0.2 ÷ 30 × 100 =

0.67 g

Per 100 g

Servings, serving size and the finished weight

The recipe nutrition calculator divides every total by the number of servings. The household serving size, such as “1 cookie”, is the words the label prints, and the metric serving size is the weight of one serving in grams. When the finished weight is entered, the serving weight is that weight divided by the servings, because FDA labels the food as sold. A batch of 24 cookies that weighs 1,100 g after baking has a serving weight of 45.8 g, and the label shows “1 cookie (46g)” after its own rounding.

Without a finished weight, the recipe nutrition calculator divides the ingredient weight by the servings and says that this is what it did, which a nutrition calculator for recipes must make clear. That is a reasonable estimate for a no-bake recipe, but baking, roasting and simmering all drive water off, so a finished weight is more accurate. A scale is enough: weigh the empty pan, weigh the pan with the finished food, and subtract. The calculator uses the weight in grams and converts from ounces when that is the unit on the scale.

The recipe name is optional and is not printed on the panel. It labels the recipe in this browser and in the file you keep, while the serving size and the numbers do the work on the label. The recipe nutrition calculator saves the whole recipe, the matched foods, the measures, the switches and the entered values under its own key, so a reload brings the work back. A recipe calorie calculator that forgets a correction is no help in a kitchen. Nothing is sent anywhere: the search, the totals, the rounding and the file exports all run in the browser.

From the recipe to the nutrition label generator

The recipe nutrition calculator draws the standard vertical Nutrition Facts format, the one most packaged food uses, at 2.5 inches wide with the same code as the nutrition label generator. That engine has the format rules, type sizes, bars, % Daily Values and rounding for all six FDA formats, and it is the same engine behind the blank nutrition facts label template. The recipe page shows the standard label; Edit in the nutrition label generator hands the whole label over, so the format, options, width and colors can be changed there.

The hand-over travels on the history entry and is applied once, so going back or reloading does not put the recipe’s label over later edits. The page’s own copy of the recipe is untouched and keeps saving under its own key. From the generator, Put on a food label sends the exact panel to the food label maker, where the ingredients, allergens and net quantity sit around it and the artwork can come from AI. The panel itself stays vector and exact.

For a small food business, the useful path is the one this recipe nutrition calculator lays out: match the ingredients, enter the finished weight, fill the gaps from the packages, check the panel, then design the label and the package around it. The AI food packaging design page designs a box, bag or label for the product, and the cottage food label maker covers the state rules when a cottage food operation needs a label.

Nutrition label generator

Edit in the nutrition label generator

Standard format · FDA rulesFormat, options and size2.5 in · 21 CFR 101.9

What the recipe nutrition calculator adds up

The recipe nutrition calculator adds the ingredients as you weighed them. Every row is one USDA food, its household measure and its grams, so the totals follow the food you actually used. The panel carries the 15 mandatory Nutrition Facts lines, and each one is checked before a download.

The finished weight sets the serving: divide the baked weight by the servings, and the label prints that metric serving size. When a package gives its own value, the missing-value step takes the amount per serving and the serving’s grams and turns it into the amount per 100 g, so the label carries the package’s number.

The recipe nutrition calculator matches any of the 7,793 foods in SR Legacy, keeps the recipe in this browser and draws the label with the nutrition label generator’s engine. The same panel goes on to the food label maker and the AI food packaging design page, so the label and the package come from one set of numbers.

Who uses a recipe nutrition calculator

From a market stall to a test kitchen, the same panel answers the question a package has to answer: what is in one serving?

Home bakers and market sellers

A Nutrition Facts panel is required unless a 21 CFR 101.9(j) exemption applies, and a nutrition claim ends the small business exemption. Enter the recipe and the finished weight, fill the values the data lacks, and print the label.

Small food brands in development

Test a recipe before a lab panel: see how a change in sugar, butter or portion size moves calories, fat and sodium, then hand the finished label to the package design.

Cooks watching a recipe’s numbers

The Per serving box lists calories, total fat, sodium, total carbohydrate and protein for one serving, with added sugars counted from the sweet ingredients and printed on the label. A recipe calorie calculator should show the sugar too.

Packaging designers and studios

Get a real panel at its true size and place it on the label artwork. The vector files keep the type exact, and the label maker keeps the panel separate from the artwork around it.

Recipe nutrition calculator FAQ

The questions cooks ask most about turning a recipe into a Nutrition Facts panel.

Calculate the label

Is this recipe nutrition calculator free?

Yes. The calculator, the food search, the label preview and the PDF, SVG, EPS and PNG downloads are free, with no signup, no watermark and no limit. An account is only needed for the paid AI design tools.

How does a recipe calorie calculator get grams from cups?

The recipe nutrition calculator takes it from the food’s own USDA household measure. SR Legacy lists the weight of a cup of flour, a stick of butter, a large egg and thousands of other portions, and the calculator uses the measure that matches the words in your line. A cup of packed brown sugar is 220 g, a cup unpacked is 145 g, and 3/4 cup packed is 165 g.

Why does the page ask for trans fat and other values?

USDA’s SR Legacy release has no trans fat value for many foods, and some vitamins and minerals can be empty too. Counting a missing value as 0 would print a claim the data does not support, so the page lists each row and takes an amount per 100 g from the package or an explicit 0. The downloads stay off until all 15 mandatory lines have a value.

Should I enter the raw ingredient weight or the finished weight?

Enter the finished weight when you have it. Baking and cooking change the weight, and FDA labels the food as sold, so the finished batch weight divided by the servings gives the metric serving size. Without a finished weight the calculator uses the ingredients’ weight and says so.

How are added sugars counted in a recipe?

The total sugars of a food in USDA’s Sweets category count as added sugars, following 21 CFR 101.9(c)(6)(iii), and each row has a switch. Sugar, brown sugar, honey, syrups and sweetened chocolate fall under the rule; a naturally sweet fruit does not. Switch a row on when its sugar is added and off when it is not.

Is the label rounded the way FDA requires?

Yes. The label engine rounds every amount by its own rule and works out each % Daily Value against the Daily Values for adults, as 21 CFR 101.9 sets them. The page shows the exact per-serving amounts and the label shows the rounded values, so both are visible. FDA does not approve labels before sale.

Where does the nutrition data come from?

From USDA FoodData Central’s SR Legacy release of 2018-04, which is public domain (CC0 1.0); the FoodData Central site publishes it. Food names stay in English because that is how USDA lists them. The index and the food shards are fetched from the site’s media domain only when a search or a paste needs them, and the recipe itself is never uploaded.

Can I use the panel on a food label and design the package?

Yes. Edit in the nutrition label generator opens the whole label in the generator to change its format, options or size, and Put on a food label opens it in the food label maker with the exact panel. From there, AI food packaging design can draw the artwork for the box, bag or label around it.

Make the label for your recipe

Paste the ingredients, check the matches, set the servings and the finished weight, and download a Nutrition Facts panel for one serving. This recipe nutrition calculator is free, and the recipe stays in your browser.