By the VixQR team · published on · 4 min read
EAN-13 Barcode: Understand the Number Behind a Retail Scan
Understand the GTIN behind an EAN-13 barcode, what the check digit checks, and why a scan cannot reveal a price or manufacturing country by itself.

AI-generated 3D illustration. Decorative stripe patterns are not intended for scanning.
TL;DR: An EAN-13 barcode carries a 13-digit product identifier, rather than a complete product description or a price. The final digit checks the number's structure, and a product database supplies the information associated with the identifier. Neither a valid check digit nor a familiar prefix proves where an item was manufactured or that it is authentic.
What is an EAN-13 barcode?
An EAN-13 barcode is a retail barcode used to represent a GTIN-13, a 13-digit Global Trade Item Number. GS1's explanation of GTIN, EAN and UPC distinguishes GTIN-13 from the 12-digit GTIN-12 commonly called UPC. The identifier and the printed symbol are related, but they are not the same object.
The distinction matters when a reader scans a label but the receiving application cannot find the product. First ask whether the number was decoded correctly; then ask whether the application has the corresponding product record. Repeatedly replacing the barcode image will not populate a missing database entry or correct the information attached to a different identifier.
| Part of the workflow | What it provides |
|---|---|
| Printed symbol | A machine-readable representation |
| GTIN | The product identifier represented by the symbol |
| Product record | Information associated with that identifier |
| Store application | The local workflow that uses the record |
Does an EAN-13 barcode contain the product's price?
An ordinary fixed-measure product identifier does not provide a complete price or product description by itself. GS1's trade-item guidance explains that the complete number needs access to a database to reveal associated meaning. Keep this guide's ordinary retail-product scope separate from special restricted-circulation or variable-measure numbering arrangements.
For a hypothetical example, two stores may associate their own current selling prices with the same product identifier. That example explains a lookup workflow; it is not a report of prices checked at actual stores. A scanner displaying digits has read data, while an application displaying a product name and price has performed an additional interpretation or lookup.
- Confirm the identifier returned by the reader.
- Check the product record used by the application.
- Investigate outdated or missing record data separately from a failed scan.

What does the last digit of EAN-13 check?
The last digit of a GTIN-13 is its check digit, according to GS1's numbering guidance. A check digit is calculated from the other digits to help check the number's structure. Treat a passing calculation as a check of that structure, rather than a certificate about the physical product carrying the label.
A copied label can carry a number with a valid check digit. The calculation does not establish that the label belongs on a particular package, that a seller is authorized or that a product record is current. Those are different questions requiring the appropriate records and verification process; they cannot be answered by counting the digits alone.
| Question | Is the check digit enough? |
|---|---|
| Does the number satisfy its check calculation? | This is the relevant structural check |
| Was the label placed on the correct item? | No |
| Is a product record current? | No |
| Is the physical item authentic? | No |
Does an EAN prefix show where a product was made?
The GS1 prefix does not establish the product's country of manufacture. GS1's country-of-origin explanation says the prefix relates to the GS1 organization that allocated the number, and the product may have been produced elsewhere. Avoid turning a prefix lookup into a manufacturing-origin claim about a specific package.
If origin matters for your task, use the product's relevant labeling and documentation instead of inferring it from a barcode prefix. Also keep product identification separate from the QR code and barcode comparison. A change in the visual symbol does not, by itself, establish the accuracy of the information presented about an item.
- Use a prefix for its documented identification context.
- Check the actual product information for an origin statement.
- Keep a decoded identifier separate from claims about the physical goods.
What else should you know about EAN-13?
Is every barcode a 13-digit EAN?
No. Barcode formats differ; the Code 128 guide describes a separate linear format and its application rules.
Does a valid check digit prove authenticity?
No. A structural calculation is not an authentication process for the item or its seller.
Can a phone scan prove the product record is correct?
No. Decoding the symbol and checking the associated information are separate tasks.
Can you choose any 13 digits for a retail product?
Do not treat a correctly calculated number as an allocated product identifier. Follow the relevant GS1 and recipient requirements instead of inventing an allocation.
What should you check after a retail scan?
Check the decoded identifier, its associated product record and the particular claim you need to verify. EAN-13 identifies a product in a data workflow; it does not supply every fact about that product by itself. Visit the VIXQR blog for related scanning and format explanations.