Start free

Home › Blog › Articles

How to calculate the nutrition information of a recipe, step by step

The method almost every food workshop uses, explained with a worked example from start to finish. No lab and no strange formulas. And if you would rather skip the maths, Recipok does it from your recipe.

✓ Reviewed on November 19, 2026 Reading time: 5 min By the Recipok team
How to calculate the nutrition information of a recipe, step by step

Nutrition information is mandatory on almost all pre-packed products, and trade customers ask for it on the technical sheet. Even where it is not required, your customers value it. The good news is that you do not need a lab: with the recipe, the weights and your suppliers' labels you can calculate it yourself. Here is the complete method and a worked example.

Two ways to get it: lab or calculation

Article 31 of Regulation (EU) 1169/2011 accepts both:

  • Lab analysis. You send a sample and get the values back. It is exact for that product, but it costs money every time and has to be repeated with every recipe change. It pays off for industrial products that never change and go to large chains or export.
  • Weight-based calculation. You add up what each ingredient contributes according to its weight in the recipe. It is free, you do it yourself and it can be redone in minutes. It is what almost every bakery, pastry shop and kitchen uses.

What follows is the weight-based calculation. You can do it by hand, with our free nutrition information template in Excel, or let Recipok do it.

Step 1. Gather the recipe data

  • Each ingredient with its weight as it goes into the product, in grams.
  • The nutrition of each ingredient per 100 g: from the label or the supplier's technical sheet. For fresh eggs, fruit or vegetables, from a recognised food composition database for your country.
  • The final weight of the finished product, weighed after baking or cooking. Weigh it several times and take the average.

Step 2. Adjust for losses

There are two kinds of loss and each is handled differently:

  • What gets thrown away (shells, skins, trimmings, the cream left in the piping bag): subtract that amount from the ingredient before calculating, because it never reaches the product. If you use 120 g of sugar and 20 g stays in the bowl, you count 100 g.
  • The water that evaporates in the oven or during cooking: do not subtract anything from the ingredients. It corrects itself when you divide by the final weight, because what is lost is water and the nutrients stay.

Step 3. Add up what each ingredient contributes

For each ingredient and each value: grams of ingredient × value per 100 g ÷ 100. Then add up all the ingredients. Let's take a sponge cake:

IngredientQuantityFatCarbohydrateProteinSalt
Wheat flour250 g3.0 g180 g25 g0 g
Sugar200 g0 g200 g0 g0 g
Egg250 g24.8 g1.8 g31.3 g0.9 g
Butter100 g82 g0.6 g0.7 g0.02 g
Whole milk100 g3.6 g4.7 g3.2 g0.1 g
Total900 g113.4 g387.1 g60.2 g1.02 g

Do the same with saturates and sugars. In this example the whole mix contains 63.8 g of saturates and 210.8 g of sugars. The values per 100 g for each ingredient are only an example: always use your suppliers' figures.

Step 4. Convert it to 100 g of finished product

The sponge goes into the oven at 900 g and comes out at 780 g: it has lost 13% of its water. Divide each total by the final weight and multiply by 100:

Fat: 113.4 g ÷ 780 g × 100 = 14.5 g per 100 g.

Had you divided by the 900 g of the raw mix, you would get 12.6 g: a table 13% lower than what the product really contains. It is the most common mistake.

Step 5. Calculate the energy value

Energy is calculated with the conversion factors in Annex XIV of Regulation (EU) 1169/2011:

Componentkcal per gramkJ per gram
Fat937
Carbohydrate417
Protein417
Fibre28
Alcohol729
Polyols2.410

For the sponge, per 100 g: 14.5 g of fat × 9 + 49.6 g of carbohydrate × 4 + 7.7 g of protein × 4 = 360 kcal. With the kJ factors you get 1512 kJ. The label shows both.

Want to skip the maths?Type your recipe and Recipok gives you back the nutrition table per 100 g, the allergens and the technical sheet as a PDF. Three recipes with no sign-up.
Calculate it from my recipe

Step 6. Round and write the table

With the rounding rules from the European Commission guidance (you will find them in the template post), the sponge's table looks like this:

Nutrition informationPer 100 gPer portion (60 g)
Energy1512 kJ / 360 kcal907 kJ / 216 kcal
Fat15 g8.7 g
of which saturates8.2 g4.9 g
Carbohydrate50 g30 g
of which sugars27 g16 g
Protein7.7 g4.6 g
Salt0.13 g0.08 g

The per-portion column is voluntary; the per-100 g one is mandatory. Before accepting it, compare it with a similar product on the market: if something does not add up, it is almost always an ingredient with a wrongly copied value or a wrong final weight.

What if the recipe contains a semi-finished product?

The process is the same, in two steps. First you calculate the semi-finished product (a pastry cream, a base dough, a praline) as if it were a finished product, with its own final weight. Then you use it in the final recipe as one more ingredient, with its nutrition per 100 g. If you change the cream, you have to recalculate every recipe that contains it.

How to do it without the maths

Recipok carries out exactly this calculation for every recipe and keeps it up to date:

  • Ingredient nutrition is not typed in: it comes from the Recipok database, from the manufacturers' ingredient portal or from the supplier's technical sheet, which Recipok reads for you.
  • It uses the real weight of the recipe and the losses you set up, and semi-finished products count with their own nutrition.
  • If an ingredient changes, it is recalculated in every recipe that uses it.
  • The table flows automatically to the label and the technical sheet, per 100 g and per portion. If you sell in the United States, the Nutrition Facts panel too.

Automatic nutrition information is included in every plan, the free one too. You will find the details in the help centre: nutrition information of the recipe and allergens, traces and nutrition of the ingredient.

Frequently asked questions

Is it valid to calculate nutrition information instead of analysing it?
Yes. Article 31 of Regulation (EU) 1169/2011 accepts three routes: analysis of the product, calculation from the known average values of the ingredients, and calculation from generally established and accepted data. The weight-based calculation is the second one.
Do I divide by the weight of the raw mix or of the finished product?
By the weight of the finished product. If baking or cooking removes water, the nutrients become more concentrated, and dividing by the raw weight would give a table lower than the real one.
Where do I get the nutrition of each ingredient?
From your supplier's label or technical sheet. For fresh products without a label, from a recognised food composition database for your country. In Recipok, from its database or from the manufacturers' ingredient portal.
How do I calculate a recipe that contains another recipe?
First calculate the semi-finished product (the cream, the base dough) as if it were a finished product. Then use it as one more ingredient in the final recipe, with its nutrition per 100 g.
Do I have to redo the calculation if I change supplier?
Yes, for every recipe that contains that ingredient. That is why workshops with many products give up on the spreadsheet: in Recipok the recalculation is automatic.

Keep reading

The nutrition information of all your recipes, always up to date

Start free with 12 recipes. No card.