BlogApp GuideBarcode Reader X

How to Read Barcode Numbers: Do They Show the Price or Country?

What the digits under a UPC or EAN barcode mean: the company prefix, the item reference, and the check digit, plus why a barcode tells you neither the price nor where a product was made.

The 12- or 13-digit number under a product barcode is a UPC-A in the US and Canada, or an EAN-13 in most other countries. It identifies the company and the product. It does not contain the price or the place where the product was made.

What the Digits Mean

Using the sample UPC-A “012345678905”, the number breaks down like this.

PartExampleMeaning
GS1 Company Prefix0123456The company’s number, licensed by GS1
Item reference7890A number the company assigns to each product
Check digit5A digit that catches scanning and typing errors

The length of the company prefix varies. The item reference gets shorter or longer to match, so the total stays at 12 digits. An EAN-13 has the same structure with 13 digits, and a UPC-A equals an EAN-13 with a 0 in front.

The First Digits Do Not Show the Country of Origin

The first digits show which GS1 office licensed the number, such as 45 or 49 for Japan. GS1 itself notes that these prefixes do not identify a product’s country of origin, because companies can manufacture anywhere. A number starting with 0 does not mean the product was made in the US.

To find out where a product was made, read the country of origin on the package.

The main prefixes are listed in How to Look Up a Product by Its Barcode Number.

A Barcode Does Not Contain the Price

When you pay, the register looks up the number in the store’s own product data and shows the price that store has set. That is why the same number can ring up at different prices in different stores.

To compare prices, search shopping sites by the number.

The exception is labels printed by the store, for example on meat, deli, or produce. These start with 2 in the 12-digit UPC form (02 or 20–29 in the 13-digit form) and some include the price or weight. They only work at that store’s registers.

How the Check Digit Is Calculated

The last digit is calculated from the digits before it. A misread or mistyped digit makes the calculation fail, so the error can be caught.

  1. Starting next to the check digit and moving left, multiply the digits by 3, 1, 3, 1, and so on
  2. Add the results
  3. Subtract the last digit of the total from 10 (if the last digit is 0, the check digit is 0)

For “01234567890”:

  1. 0×3 + 9×1 + 8×3 + 7×1 + 6×3 + 5×1 + 4×3 + 3×1 + 2×3 + 1×1 + 0×3
  2. The total is 85
  3. 10 − 5 = 5, so the check digit is 5

The same steps work for EAN-13 and EAN-8.

Check the Number and Type with Barcode Reader X

The iPhone app Barcode Reader X shows the barcode format together with the scanned number.

  1. Scan the barcode
  2. Tap the blue circle button to save it to history
  3. Tap the Detail button on the history row

The top of the detail screen shows the format and type, such as “UPC-A・EAN/UPC”. Book numbers starting with 978 or 979 appear as “EAN-13・ISBN”. From the same screen, you can open a search or shopping service with that number.

Learn more about Barcode Reader X

Related guides:

← Blog