FoodCompli

Formulation calculators

The small sums behind every label: energy from macros, per-serving conversion, batch scaling and ingredient dosage.

Formulation calculatorsAll markets

Energy from macronutrients

Per 100 g. Total carbohydrate includes fibre and polyols.

g
g
g
g
g
g
EU / UK (Annex XIV factors)1,823 kJ / 435 kcal
US general factors (4/4/9 on total carbohydrate)450 kcal
US, excluding fibre from carbohydrate420 kcal (method C subtracts only insoluble fibre; this treats all fibre as insoluble)
India (4/4/9)450 kcal

Per 100 g ↔ per serving

g

Result: 3.6 per serving

Unit conversions

1 Salt (g)
Salt = sodium × 2.5
418.4 kJ
200 Vitamin D (IU)
1 mcg = 40 IU
300 Vitamin A (mcg RAE)
1 IU retinol = 0.3 mcg RAE (beta-carotene differs)
4.5 Vitamin E (mg)
1 IU = 0.45 mg (natural d-alpha: 0.67 mg)
340.194 Grams (g)
354.882 Millilitres (ml)
0.4536 Kilograms (kg)

Batch scaling

Enter your formula in percent and the finished batch weight.

kg
Ingredient%Weigh out
20 kg
12.5 kg
10 kg
7.5 kg
Total 100%

Ingredient dosage

How much of an ingredient to add to reach a target level, corrected for its purity or active content.

mg/kg
kg
%

Add 52.632 g of the ingredient as supplied.

Check the target against the additive limit for your food category in each market. This calculator does not know legal limits.

Questions people ask

How do I calculate calories from protein, fat and carbohydrate?

Multiply grams by the energy factors: 4 kcal per gram for protein and carbohydrate, 9 for fat, 7 for alcohol. EU rules also count fibre at 2 kcal/g and polyols at 2.4 kcal/g, and exclude them from carbohydrate.

How do I convert kcal to kJ?

EU labels calculate kJ and kcal separately from each nutrient using their own factors (for example 37 kJ and 9 kcal per gram of fat), rather than converting one into the other.

Sources. Rules checked against these official texts on 2026-11-19. If a source has changed since, it wins.

Other tools