For education. Use a qualified healthcare professional for diagnosis and treatment decisions. How we use sources.
A barcode does not store a product’s ingredients or nutrition facts. It is an item number; an app retrieves calories, protein, fat and carbohydrate from a database, where entries may have been added by different people, such as open-database volunteers or app users. 1 2 So an entry may not match the package in your hand. A check takes about 10 seconds: compare calories per 100 g, protein, fat and carbohydrate, and verify what those values refer to.
What a barcode encodes—and what it does not
EAN-13, one of the two most common codes found on packages, contains a 13-digit product number, the GTIN. GS1 explains that the number consists of a company prefix, an item reference within that company and a check digit. On its own, the number has no meaning and cannot be decoded without a database. 1 Ingredients, weight and nutrition facts are held in a database, and the quality of an entry depends on who entered it.
Open Food Facts, one open database, describes itself as a nonprofit volunteer association, with more than 100,000 people contributing products through mobile apps. 2 A Dutch evaluation scanned 100 products from two large supermarkets using seven barcode-scanning apps. Energy information was available for 99% of scanned products; on average, 79% of the energy values were within 5% of the reference value. Correct product identification ranged from 96% to 5% across the apps, and accuracy for other nutrients varied substantially by app. 3 The authors note that user-created entries mean a product’s availability in a database depends on an app’s audience. This study covered one country and a few apps, so its figures show the scale of possible differences, not the quality of the database you use.
Why numbers differ
| Reason | How to spot it |
|---|---|
| The recipe changed but the barcode stayed the same. Under GS1 rules, a new number is needed only if a change affects mandatory package information and the manufacturer expects shoppers to distinguish the new product from the old one. 4 | The product looks familiar but the app values differ from the package; the database entry may be outdated. Check the package. |
| Typing error: misplaced decimal, or protein and fat swapped | The 4–9–4 calculation below does not add up. |
| “Per 100 g” entered as “per serving,” or vice versa. The regulation allows values per 100 g or 100 ml and/or per serving. 5 | Compare the package line with the app label: per 100 g or per serving. |
| Dry versus prepared food. For products prepared by consumers, nutrition values are declared without accounting for preparation. 5 | For grains and pasta, package values usually refer to dry weight. See “Grains and Pasta: Calories Before and After Cooking” for conversion. |
| Kilojoules mistaken for kilocalories. The regulation defines 1 calorie as 4.1868 joules. 5 | The “kcal” number is about 4.2 times higher than expected: for example, 356 instead of 85. |
| Same product in a different package size | Different product weights and package versions normally get different item numbers 1; if the app shows the same entry for two sizes, check the weight. |
A 10-second check
Take the package and open its app entry. Compare four things: kcal per 100 g; protein, fat and carbohydrate per 100 g; what the numbers refer to (100 g, serving or prepared food); and the package weight. Then check the arithmetic. The regulation uses 4 kcal/g for protein and carbohydrate and 9 kcal/g for fat; dietary fibre is not included in carbohydrate and has its own factor of 2 kcal/g. 5 See “Macros Explained Simply” for more on the conversion.
Example. A yoghurt package lists, per 100 g, 4 g protein, 2.5 g fat, 12 g carbohydrate and 85 kcal. Calculate: 4 × 4 + 2.5 × 9 + 12 × 4 = 16 + 22.5 + 48 = 86.5 kcal, close to 85. Now the database entry says “per 100 g”: 106 kcal, 5 g protein, 3.1 g fat and 15 g carbohydrate. Check the arithmetic: 5 × 4 + 3.1 × 9 + 15 × 4 = 20 + 27.9 + 60 = 107.9, so the arithmetic is consistent. But the entry is still wrong: it contains values for a 125 g tub entered as values per 100 g. If you eat the tub, the app logs 106 × 1.25 = 132.5, or about 133 kcal, instead of 106 (85 × 1.25)—25% too much.
The lesson: arithmetic catches typos (25 g fat instead of 2.5 would produce 4 × 4 + 25 × 9 + 12 × 4 = 289 kcal, not the stated 85), but it will not catch a mislabelled serving unit. For that, check the package’s “per 100 g” line. The following tolerance is the author’s guide, not a value given by the sources: a difference of up to 10% may be reasonable because package values are rounded. Energy may be rounded to the nearest 5 kcal for values from 5 to 100 kcal; protein, fat and carbohydrate may be rounded to 0.5 g for values from 0.5 to 10 g and to whole grams above 10 g, if the manufacturer uses those rules. 5 For the yoghurt above, rounding alone can account for up to 8 kcal, or about 9%.
How to correct an entry
If the numbers do not match, do not guess-edit someone else’s entry. Create your own food using the package: name, serving weight, calories, protein, fat and carbohydrate per 100 g. Take a photo of the label for your records so you do not have to guess where the numbers came from six months later. If the app lets you report a shared entry, do so, but that will not immediately change your personal log. For a food you eat often, checking it once pays off: you can reuse the entry dozens of times.
In Nuteva, save a product whose database values did not match the package as your own custom food and use that entry from then on. Search, barcode scanning and custom foods are included in the Free plan.
How accurate is the package itself?
A label is not a laboratory test of every batch. Under the regulation, the manufacturer determines nutrition values through analysis or calculation, and the package may say “average values.” 5 A European Commission guide for enforcement authorities (non-binding and applicable to the EU) gives examples of acceptable tolerances: below 10 g per 100 g, ±1.5 g for fat and ±2 g for protein and carbohydrate; at 10–40 g per 100 g, ±20%. 6 In other words, a label showing 4 g protein per 100 g could correspond to an actual value between 2 and 6 g. Practical takeaway: a label is a reference, and small differences within rounding and tolerances do not necessarily mean an app entry is wrong. See “How to Read Nutrition Facts on a Package” for more on labels.
What to check every time—and what you can skip
Check foods you eat often or in large amounts—breakfast dairy, grains, bread and oil—once, then save your own verified entries. For a one-off purchase, scanning and using the result is reasonable if the figures look plausible: calories per 100 g are in a range typical for the food, and the package weight matches. Do not get stuck on perfection: debating three calories in a bottle of water is unnecessary; a serving-size mix-up that adds dozens of calories matters more.
Tomorrow, choose three foods that are often in your kitchen and compare their app entries with the packages using the four checks. If all three match, save them as verified entries.
Sources
- GS1: What is the GS1 barcode commonly used for trade item identification?. GTIN structure, the number cannot be decoded without a database, and different product variants use different numbers. Barcode standards organisation reference.
- Open Food Facts: Discover. Open database contributed to by volunteers. The project’s own description; it does not evaluate entry quality.
- PubMed: Maringer M. et al., Food identification by barcode scanning in the Netherlands, Public Health Nutr, 2019. 100 products from two Dutch supermarket chains and seven scanning apps. Data from one country.
- GS1: Declared formulation or functionality (GTIN Management Standard). When a recipe change requires a new product number. Local rules may require more.
- Eurasian Economic Commission: Technical Regulation TR CU 022/2011, Food products in terms of their labelling. Nutrition labelling, rounding rules and energy conversion factors. Edition of the text hosted by the EEC.
- European Commission: Guidance document for competent authorities for the control of compliance with EU legislation... tolerances for nutrient values declared on a label, 2012. EU labelling tolerances; non-binding document, not applicable in the EAEU.