Question: how the ean 13 number is calculated?
Answer: In the EAN-13 code, the first 12 digits of the number identify the item the code is attached to, and the final digit is a 'check digit'. The check digit for an EAN-13 code is calculated as follows: Count digit positions from the left to the right, starting at 1. Sum all the digits in odd positions.