Nutrition Label Generator From Recipe: A Guide

A nutrition label generator from a recipe adds up each ingredient's nutrients from a database such as USDA FoodData Central, divides by the number of servings, and applies FDA's rounding rules in 21 CFR 101.9. Many home bakers do not need a Nutrition Facts panel: retailers with annual gross sales of $500,000 or less, or food sales to consumers of $50,000 or less, are exempt as long as the food carries no nutrition claims. Any claim, such as "low sugar", removes that exemption.

First question: do you even need one?

Nutrition Facts panels are expensive in time, and most small bakers are exempt from them. Federal rules give two main routes.

The small retailer exemption

Under 21 CFR 101.9(j)(1)(i), food sold by a person who sells directly to consumers is exempt if that person has annual gross sales of not more than $500,000, or annual food sales to consumers of not more than $50,000. FDA says no notice needs to be filed for this exemption.

The catch is in the same sentence: the exemption only holds if “the food bears no nutrition claims or other nutrition information in any context on the label or in labeling or advertising.” Printing “low sugar”, “high protein” or even a calorie count on your Instagram post can pull the product back into full labeling.

The low-volume product exemption

Under 21 CFR 101.9(j)(18), a product can be exempt if the business has fewer than an average of 100 full-time equivalent employees and sells fewer than 100,000 units of that product in the United States in a 12-month period. This one normally requires an annual notice to FDA. The regulation waives the notice for a business that is not an importer, has fewer than 10 full-time equivalent employees, and sells fewer than 10,000 units of the product a year. Like the retail exemption, it does not cover products that bear nutrition claims.

State rules

Cottage food laws add their own layer. Florida’s, for example, requires nutritional information “as specified by federal labeling requirements” only if a nutritional claim is made. Check your state on the cottage food laws hub and the cottage food label requirements guide.

So why make a label at all? Wholesale accounts sometimes ask for one, customers tracking calories ask for one, and if you want to market a reduced-sugar product, you need it. A calculated label from your recipe is the practical way to get there.

How a recipe-based generator works

The math is simple addition and division:

  1. Weigh every ingredient in grams. Volume measures are too variable for nutrient math; convert once with the baking unit converter.
  2. Look up nutrients per 100 g for each ingredient. USDA FoodData Central is the standard public source, run by the USDA Agricultural Research Service and hosted by the National Agricultural Library. For branded ingredients like chocolate chips, the package’s own Nutrition Facts panel is usually closer to what you are using.
  3. Multiply and add: nutrient in batch = grams used ÷ 100 × nutrient per 100 g, summed across ingredients.
  4. Divide by servings. Baking drives off water, which changes weight but not much else, so dividing batch totals by the number of pieces is more reliable than dividing by raw weight.
  5. Round each nutrient using the rules in 21 CFR 101.9(c).

The workbench does this from the same recipe you cost, so a recipe change updates price, ingredient list, allergens and the nutrition estimate together.

Serving sizes for baked goods

Serving sizes are not your choice. They are based on FDA’s reference amounts customarily consumed (RACC) in 21 CFR 101.12. Selected bakery reference amounts:

Product Reference amount
Cookies 30 g
Brownies 40 g
Cakes, mediumweight (most chemically leavened cakes, iced or not, and cupcakes) 80 g
Cakes, heavyweight (cheesecake, fruit or nut cakes with 35% or more fruit/nuts) 125 g
Cakes, lightweight (angel food, chiffon, sponge without icing) 55 g
Coffee cakes, doughnuts, sweet rolls, sweet quick breads 55 g
Biscuits, scones, croissants 55 g
Muffins (not English muffins), bagels 110 g
Breads, rolls 50 g

Discrete items like cookies are labeled by the piece, with the gram weight in parentheses, for example “1 cookie (30 g)”. If your pieces are much smaller or larger than the reference amount, the serving may be more than one piece; the procedures for discrete units are in 21 CFR 101.9(b).

Rounding rules you will use most

From 21 CFR 101.9(c):

Nutrient Rule
Calories Nearest 5 calories up to and including 50; nearest 10 above 50; under 5 may be shown as 0
Total fat, saturated fat Nearest 0.5 g below 5 g; nearest 1 g above 5 g; under 0.5 g shown as 0
Sodium 0 if under 5 mg; nearest 5 mg from 5 to 140 mg; nearest 10 mg above 140 mg
Total carbohydrate, protein Nearest 1 g; “less than 1 gram” allowed under 1 g; 0 if under 0.5 g

Worked example: butter cookies

A plain four-ingredient butter cookie, no added salt, baked into 24 cookies of about 30 g each. Nutrient values are per 100 g from USDA FoodData Central (SR Legacy entries).

Ingredient Grams Calories Fat (g) Sat. fat (g) Carbs (g) Protein (g) Sodium (mg)
All-purpose flour, enriched 300 1,092 2.9 0.5 228.9 30.9 6
Butter, without salt 227 1,628 184.1 114.6 0.1 1.9 25
Granulated sugar 200 774 0 0 200.0 0 2
Egg, whole, raw 50 72 4.8 1.6 0.4 6.3 71
Batch total 777 3,565 191.8 116.7 429.4 39.1 104

Divide by 24 cookies and round:

Nutrient Per cookie, unrounded Rule applied Label
Calories 148.5 Nearest 10 above 50 150
Total fat 7.99 g Nearest 1 g above 5 g 8 g
Saturated fat 4.86 g Nearest 0.5 g below 5 g 5 g
Total carbohydrate 17.9 g Nearest 1 g 18 g
Protein 1.63 g Nearest 1 g 2 g
Sodium 4.3 mg Under 5 mg 0 mg

The sugar adds 200 g ÷ 24 = about 8.3 g of added sugars per cookie. A full label also needs total sugars, cholesterol, fiber, trans fat and several vitamins and minerals, and it uses the Daily Values in the regulation for the %DV column; a generator pulls those from the same database entries. Add a pinch of salt to the dough and the sodium line changes immediately, which is why every ingredient, however small, belongs in the recipe.

The allergen line for this cookie is “Contains: wheat, milk, eggs.” See the allergen labeling guide.

How accurate does it need to be?

A calculated label is an estimate, and FDA judges labels against the actual food. Under 21 CFR 101.9(g)(5), a food is misbranded if its calories, total sugars, added sugars (when all the sugars are added), total fat, saturated fat, trans fat, cholesterol or sodium are more than 20% above the declared value. Practical ways to stay inside that:

  • Weigh portions. If your “30 g” cookies actually come out at 36 g, every value is about 20% low.
  • Use the right database entry. “Butter, without salt” and “butter, salted” differ a lot on sodium.
  • Use package data for branded items. Chocolate chips and sprinkles vary by brand.
  • Keep records. When a food contains both naturally occurring and added sugars, 21 CFR 101.9(g)(10) requires manufacturers to keep written records, such as recipes or batch records, of the added sugars. Saving each recipe version with its label is good practice in any case.

If you are preparing labels for a wholesale customer or a regulated claim, a lab analysis or a review by a labeling professional is worth the cost. For most home bakers, a careful calculation is enough to answer customer questions, provided no claims are printed.

Before you print a Nutrition Facts panel

  1. Confirm whether you are exempt and whether you plan any claim.
  2. Enter the recipe in grams in the workbench and link each ingredient to its nutrient source.
  3. Weigh ten finished pieces and use the average for the serving weight.
  4. Review the rounded label line by line against the rules above.
  5. Add the per-unit label cost to your price; see how to price baked goods or the bakery pricing calculator.

Nutrition Label Generator From Recipe: A Guide: step by step

  1. Check whether you need a label. Compare your sales with the 101.9(j)(1)(i) thresholds and confirm you make no nutrition claims.
  2. Enter the recipe by weight. Use grams for every ingredient, including sub-recipes like frosting and fillings.
  3. Match ingredients to data. Link each ingredient to a FoodData Central entry or to the Nutrition Facts panel on its package.
  4. Set the serving. Count the pieces in the batch and pick the serving closest to the FDA reference amount for that food.
  5. Divide and round. Divide batch totals by servings and apply the 21 CFR 101.9 rounding rules for each nutrient.
  6. Record the version. Save the recipe version and data sources with the label so you can reproduce the numbers.

Frequently asked questions

Do home bakers need a Nutrition Facts label?

Usually not. A retailer with annual gross sales of $500,000 or less, or food sales to consumers of $50,000 or less, is exempt under 21 CFR 101.9(j)(1)(i), provided the food makes no nutrition claims. Check your state's cottage food rules too.

Can I make a nutrition label from my recipe without lab testing?

Yes, a calculated label based on a nutrient database is a common approach. The values still have to be accurate; FDA treats calories, sugars, total fat, saturated fat, trans fat, cholesterol and sodium more than 20% above the declared value as misbranding.

What serving size should I use for cookies?

The FDA reference amount for cookies is 30 g, and for brownies 40 g. Discrete items are labeled by the piece with the gram weight, for example 1 cookie (30 g); 21 CFR 101.9(b) explains how to handle pieces much smaller or larger than the reference amount.

Where do the nutrient numbers come from?

Most calculators use USDA FoodData Central, the USDA Agricultural Research Service's food composition database, plus the Nutrition Facts panels on branded ingredients such as chocolate chips.

Does writing 'low sugar' on my label change anything?

Yes. A nutrition claim removes the small retailer exemption and brings in full nutrition labeling, and the claim itself must meet FDA's definition.

Sources

  1. 21 CFR 101.9, Nutrition labeling of food (eCFR)
  2. 21 CFR 101.12, Reference amounts customarily consumed per eating occasion (eCFR)
  3. FDA: Small Business Nutrition Labeling Exemption
  4. USDA FoodData Central
Cost a recipe and print its label

Tell us what to build next

Everything in Proofsheet is free during the beta. Leave your email and pick the feature you would pay for; we will write when it ships.

We only use your email for updates about this tool. Unsubscribe any time. Privacy.