albumbarcode / UPC vs EAN
UPC vs EAN
UPC and EAN are two names for the same barcode system. The difference is only length and region, and for any lookup you can treat them as one.
The difference
- UPC-A has 12 digits and is common in the United States and Canada.
- EAN-13 has 13 digits and is used almost everywhere else.
- A UPC-A is an EAN-13 with a leading zero. The UPC
600574213013is the EAN0600574213013. Both point at the same product.
Both belong to the GTIN family: a UPC-A is a GTIN-12 and an EAN-13 is a GTIN-13. Shorter EAN-8 codes exist for very small items.
How the check digit works
The last digit is calculated from the others, so a typing mistake almost always breaks it. For a 12-digit UPC:
- Take the first 11 digits and count from the right. Multiply the digits in odd positions (the first, third and so on counting from the right) by 3 and the others by 1.
- Add everything up.
- The check digit is the number that brings the total to the next multiple of 10 (0 if it is already one).
A worked example
Take 600574213013, an album release. The first 11 digits are 6 0 0 5 7 4 2 1 3 0 1. From the right, the weights alternate 3, 1, 3, 1:
1x3 + 0x1 + 3x3 + 1x1 + 2x3 + 4x1 + 7x3 + 5x1 + 0x3 + 0x1 + 6x3 = 67
The next multiple of 10 is 70, so the check digit is 3, which matches the last digit of the code. The lookup does this test as you type and warns you when a barcode does not add up.
Barcode, ISRC and catalogue number
A barcode identifies a product release. An ISRC identifies one recording and a catalogue number is the label's own reference. Read more in the vinyl record barcode guide, or look up a barcode now.
Questions
What is the difference between UPC and EAN?
A UPC has 12 digits and an EAN has 13. A UPC is the same as an EAN with a leading zero in front.
What is a GTIN?
The umbrella name for these product numbers: UPC-A is a GTIN-12 and EAN-13 is a GTIN-13.
What does the last digit of a barcode do?
It is a check digit calculated from the other digits, so a scanner or a lookup can tell when a number was read or typed wrongly.