Quick answer: A retail barcode can lead a food-logging tool to a product record, but the code does not contain the product's calories, ingredients or allergens. Compare any result with the exact pack in your hand, read its current nutrition and ingredient labels, and record only the amount you actually used or ate. If the product is absent or the record does not match, do not save a near-match as verified.

This is a guide to evaluating an optional food log, not an instruction to track every meal. You can use the checks with a label and a paper note; no scanner or account is required. Smaklig UK does not claim a live barcode scanner, UK product catalogue, food diary or retailer link in this article. Features described on Smaklig's Swedish site do not establish UK availability.

AI-generated content. Always verify ingredients and allergen information yourself. This article offers general label-reading information, not a calorie target, medical advice or assurance that a particular product is safe.

What does a barcode actually identify?#

A Global Trade Item Number (GTIN) is an identifier for a trade item. GS1's specifications describe the GTIN as an identification key and how retail barcode symbols carry it. The identifier can be used to find a separate product record. It is not itself a nutrition panel or an ingredient list. A catalogue may be missing an item or show information that does not match the current pack. A printed barcode and a convincing product picture are therefore only the start of a check.

Imagine you buy a tin at Tesco, Aldi or another UK shop. If a scanning tool returns a similar brand's larger tin or a different flavour, reject the proposed record. Read the name, variant, net quantity and printed number on the actual tin. Do not treat a retailer name or barcode prefix as proof of where the food was made or that an app has a partnership with that retailer.

Check Use this evidence If it does not match
Product identity Name, variant, pack size and barcode on the physical pack Reject the suggested product record.
Nutrition basis Current panel: per 100 g, per 100 ml or stated portion Keep the basis visible before calculating.
Amount used Quantity you actually ate or drank Do not log the whole pack automatically.
Ingredients and allergens Current ingredient list and relevant precautionary wording Do not infer suitability from the scan or nutrition numbers.
Missing fields Printed label and proposed record Keep an absent value unknown, not zero.

These are checks for you to make. They are not claims that any UK app performs them automatically.

How do you calculate an amount from the label?#

The NHS food-label guide explains that nutrition figures are shown per 100 g or 100 ml and sometimes per portion. A manufacturer's suggested portion may be different from yours. Read the units on the current pack before multiplying.

For example, suppose an invented food label states 180 kcal per 100 g and you use 75 g. The calculation is 180 × 75 ÷ 100 = 135 kcal. This is arithmetic for a hypothetical product, not a recommended serving or a real UK pack. If the 75 g is only an estimate, the result is an estimate too. For an invented drink marked 40 kcal per 100 ml, a measured 250 ml gives 40 × 250 ÷ 100 = 100 kcal. Do not multiply a per-100 ml figure by a mass in grams without an appropriate conversion.

Some labels also give values as prepared. Read the pack's instructions and check whether its prepared figure already includes the stated milk, oil or other additions. Counting an included addition a second time overstates the total; using an as-sold figure without accounting for what you actually added omits it. Government technical guidance distinguishes food as sold from food after preparation. That guidance predates later UK regulatory changes, so use this as a practical label-reading check rather than a statement of today's rules across all four nations.

For solid food packed in liquid, net weight and drained net weight are different. GOV.UK's quantity guidance explains why both may appear. The nutrition panel's own stated basis and the quantity you actually eat determine the calculation; do not automatically multiply a per-100 g figure by the tin's total weight, including liquid you discard.

Does a matching result verify allergens?#

No. The barcode identifies a product type; it does not prove that a catalogue entry reflects the recipe and packaging in your hand. GOV.UK's ingredients guidance describes ingredients and highlighted allergens on labels. Read the current pack, including relevant precautionary information, whenever an allergy matters. Check the specific variant every time. A food image, a product title and a blank allergen field in an app are not evidence that an allergen is absent.

If you cannot establish what is in a product or need individual allergy advice, do not rely on a scan. Use the pack and appropriate professional advice. A nutrition log is also not a judgement that a food is “good” or “bad”; it records an estimate or label value for an amount you chose.

What if the product is missing or the code will not scan?#

Stop at the uncertain step. Read the pack and make a manual note if that serves your purpose, or leave the food unlogged. A home-cooked meal has no single barcode for its final portion: packaged ingredients, cooking additions and the amount served are separate facts. Do not replace an absent item with the nearest picture or fill a missing nutrient field with zero.

Before saving any proposed record, ask: Is this the exact product? Is the label current? Are the 100 g, 100 ml and portion units correct? How much did I actually have? Are missing fields visible? Have I checked ingredients and allergens separately? If an answer is unknown, keep it unknown. A precise-looking number from the wrong pack is not a verified food log.

Sources and further reading

About the author

Alexander Eriksson

Alexander Eriksson is the founder and CEO of Smaklig. He founded Smaklig in 2026 and has worked with data-driven optimisation since 1998. He is the named author responsible for Smaklig’s UK meal-planning guides. His editorial work explains the assumptions behind example meals, shopping quantities and retailer information so readers can check what a guide covers before using it. The UK guides link to official sources for food and health information and distinguish general guidance from illustrative meal-planning examples. Alexander’s byline identifies editorial responsibility. It does not represent a medical, dietetic or food-safety qualification, a clinical review, or personal testing of every UK supermarket service. The guides provide general information and do not offer individual medical or nutrition advice.