How to calculate a nutrition declaration

A step-by-step method for getting the nutrition declaration out of your recipe: which values are mandatory, how energy is calculated, how to account for cooking loss and how to round the result.

Which values are mandatory?

Under Regulation (EU) No 1169/2011 on food information to consumers, most prepacked foods must carry a nutrition declaration with these seven values, in this order:

ValueUnit
EnergykJ and kcal
Fatg
of which saturatesg
Carbohydrateg
of which sugarsg
Proteing
Saltg

Values are given per 100 g or per 100 ml. Per-portion values are optional; if you give them, state the portion size too. Salt is sodium multiplied by 2.5. Fibre, mono- and polyunsaturates, starch, polyols, vitamins and minerals may be added voluntarily. The UK and Türkiye apply rules built on the same structure.

Calculation or lab analysis?

The regulation allows declared values to be based on the manufacturer's analysis of the food, on a calculation from the known or actual average values of the ingredients used, or on a calculation from generally established and accepted data. Calculating from the recipe is a legally valid method.

During development, calculation is almost always the right choice: the formula changes with every trial and sending each version to a lab is slow and expensive. Once the formula is final, confirming the calculation with a lab analysis is good practice, especially for products carrying a claim such as "high protein".

Step by step

  1. Collect the per-100 g values of each ingredient. The supplier's specification sheet is the most reliable source; national food composition databases are the usual fallback.
  2. Write the batch formula in grams. If you work in percentages, multiply by the batch size.
  3. Sum each nutrient across the batch. Ingredient amount × (value per 100 g ÷ 100).
  4. Find the finished product weight. Subtract baking, drying or evaporation loss.
  5. Convert to per 100 g of product. Batch total ÷ finished weight × 100.
  6. Calculate energy with the conversion factors, then round every value for the label.

Worked example: cake

Take 1,000 g of cake batter that loses 10% moisture in the oven, giving 900 g of finished cake. The ingredient values are illustrative; use your suppliers' figures in your own calculation.

IngredientAmountProteinFatCarbohydrate
Wheat flour400 g40 g4 g296 g
Sugar250 g0 g0 g250 g
Sunflower oil150 g0 g150 g0 g
Egg200 g25 g20 g2 g
Batch total1,000 g65 g174 g548 g

Per-100 g values used: flour 10 g protein, 1 g fat, 74 g carbohydrate; sugar 100 g carbohydrate; oil 100 g fat; egg 12.5 g protein, 10 g fat, 1 g carbohydrate.

Converting to 100 g of the 900 g finished product: protein 65 ÷ 900 × 100 = 7.22 g, fat 19.33 g, carbohydrate 60.89 g. Energy is calculated from the unrounded values:

(7.22 × 4) + (19.33 × 9) + (60.89 × 4) = 446 kcal
(7.22 × 17) + (19.33 × 37) + (60.89 × 17) = 1,873 kJ

With saturates, sugars and salt calculated the same way, the label reads:

Nutrition declaration100 g
Energy1,873 kJ / 446 kcal
Fat19 g
of which saturates2.6 g
Carbohydrate61 g
of which sugars28 g
Protein7.2 g
Salt0.08 g

Energy conversion factors

Energy is the sum of each component multiplied by its conversion factor (Annex XIV of Regulation 1169/2011).

ComponentkJ/gkcal/g
Carbohydrate (except polyols)174
Protein174
Fat379
Alcohol (ethanol)297
Organic acid133
Polyols102.4
Fibre82
Erythritol00

Fibre and polyols count towards energy whenever they are present, even if you do not declare them. Forgetting them visibly understates the energy of high-fibre products such as wholemeal bakery.

Cooking and drying loss

Almost all the weight lost in baking, drying or boiling is water. The water leaves, the nutrients stay, so the same nutrients are spread over less product and the per-100 g values go up.

Without accounting for the loss, the example above would give 6.5 g protein and 402 kcal, about 10% too low. The most reliable way to find the loss is to weigh the batch before and after processing; an average over several batches is better than a single measurement.

Rounding rules

The European Commission's guidance on tolerances and rounding sets how values are rounded on the label. Energy is rounded to the nearest whole kJ and kcal. For the other values:

ValueAmount per 100 gRound to
Fat, carbohydrate, sugars, protein, fibre10 g or more1 g
between 0.5 g and 10 g0.1 g
less than 0.5 g"0 g" or "<0.5 g"
Saturates10 g or more1 g
between 0.1 g and 10 g0.1 g
0.1 g or less"0 g" or "<0.1 g"
Salt1 g or more0.1 g
between 0.0125 g and 1 g0.01 g
0.0125 g or less"0 g" or "<0.01 g"

Round only when writing the label. Use unrounded values in every intermediate step, including energy.

Common mistakes

  • Ignoring cooking loss. The most frequent error in baked and dried products.
  • Calculating energy from rounded values. Small differences add up and the label stops matching lab results.
  • Declaring sodium instead of salt. The label shows salt; multiply sodium by 2.5.
  • Using outdated ingredient data. A new supplier or grade means new values; keep ingredient records current.
  • Changing the formula but not the label. Recalculating with every trial keeps late formula changes from slipping past the label.

FAQ

Is it legal to calculate nutrition values instead of testing?

Yes. Regulation (EU) No 1169/2011 explicitly allows declared values to be calculated from the known or average values of the ingredients. Lab analysis is not mandatory, though it is recommended to verify products that carry nutrition or health claims.

Per 100 g or per portion?

The per-100 g (or per-100 ml) declaration is mandatory. Per-portion values may be added voluntarily, together with the portion size and the number of portions in the pack.

How do I calculate salt?

Add up all sodium in the product, both from added salt and from the ingredients' natural sodium, and multiply by 2.5. The label shows this figure as salt.

How does cooking loss affect nutrition values?

The weight lost is mostly water. Because the nutrients stay in the product, the per-100 g values rise in proportion to the loss. Ignoring it understates them.

Which foods are exempt from the nutrition declaration?

Annex V of the regulation lists exemptions such as unprocessed single-ingredient products, water, herbs and spices, tea and coffee. Check the current text to confirm whether your product is exempt.

This guide is general information. Verify your label against the current regulation or with a food law specialist before placing the product on the market.