Barcode scanning and food databases: how accurate are they?
Scanning a barcode is the fastest way to log packaged food, but how reliable is what comes back?
Where barcode data comes from
Most free apps pull from large food databases. Some are built by companies, and some are open and community-edited, such as Open Food Facts. People add products by photographing the pack and entering the nutrition table, and others can correct mistakes.
Why entries can be wrong
- A product has been reformulated and the entry is old.
- Someone typed a number wrongly when adding it.
- The serving size is confusing, such as per 100 g versus per pack.
- Two similar products share the same name.
- The product is missing some fields, such as fibre or salt.
How to check an entry in ten seconds
- Compare it with the label on the pack, at least the first few times.
- Do the sums. Fat has 9 calories per gram, protein and carbohydrate 4 each. If a 100 g entry says 200 calories but the macros only add up to 120, something is off.
- Look at the serving. Is it per 100 g, per portion, or per pack?
- Watch for blanks. An unknown value is different from zero.
Barcode not found?
Not every product is in every database, especially small or very new ones. You can search by name, add the food yourself from the label, or use a quick calorie entry.
Are databases accurate enough?
For everyday tracking, yes, if you stay alert. Small errors cancel out over a week. The goal is a good picture of your eating, not laboratory precision. Labels themselves also have legal tolerances, and real products can differ from what is printed.
How Foodie handles it
A worked check you can do in your head
Say a snack entry shows, per 100 g: protein 10 g, carbohydrate 60 g, fat 15 g, and 420 kcal.
- Protein: 10 × 4 = 40 kcal
- Carbohydrate: 60 × 4 = 240 kcal
- Fat: 15 × 9 = 135 kcal
- Total: 415 kcal
That is close to 420, so the entry hangs together. If the macros had added up to 250 kcal, or to 600, you would know to check the label.
Tips for scanning
- Use good light and hold the phone steady, about 10–20 cm from the code.
- Keep the whole barcode inside the frame and the camera lens clean.
- If it will not scan, type the number printed under the barcode.
- Some products have two barcodes, so try the other one.
What happens to your camera image?
In Foodie the camera picture stays on your device. Only the barcode number is sent to look the product up.
When the database is wrong
If you notice a mistake, correct it in your own log by creating your own food from the label. Open databases like Open Food Facts also let anyone fix an entry, which helps everyone.
Foodie scans barcodes with your phone camera, shows where each product's data came from, flags entries whose calories and macros do not add up, and never turns an unknown value into zero. You can always create your own food. Open Foodie.