Complete thirteen-digit product identifiers.
Initialising algorithm engine for GTIN-13 / EAN-13 Calculator...
How GTIN-13 / EAN-13 Calculator Works?
The GTIN-13 / EAN-13 Calculator works by weighting the 12 payload digits 1-3-1-3 from left to right, summing the products, and appending the digit that completes the next multiple of 10. The first 2 or 3 digits are the GS1 prefix of the issuing GS1 Member Organisation.
- 1Enter the 12-digit payload: GS1 company prefix plus item reference.
- 2Multiply digits in odd positions (1, 3, 5…) by 1 and even positions (2, 4, 6…) by 3.
- 3Add all 12 products.
- 4Round the EAN-13 sum up to the next multiple of 10; the difference is digit 13.
GTIN-13 / EAN-13 Calculator Formula
The EAN-13 formula is d₁₃ = (10 − ((odd-position sum + 3 × even-position sum) mod 10)) mod 10.
S = (d₁ + d₃ + … + d₁₁) + 3 × (d₂ + d₄ + … + d₁₂) (GTIN 13 EAN 13) d₁₃ = (10 − (S mod 10)) mod 10 (GTIN 13 EAN 13)
d₁…d₁₂are payload digits from the left.
Payload: 590123412345 Weights: 131313131313 S = 83 Check digit = (10 − (83 mod 10)) mod 10 = 7 EAN-13 = 5901234123457
GTIN-13 / EAN-13 Calculator Conversion Table
The GTIN-13 conversion table lists sample payloads by GS1 prefix with their EAN-13 check digit.
| GS1 prefix | Prefix region | Payload (12 digits) | Check digit | EAN-13 |
|---|---|---|---|---|
| 590 | Poland | 590123412345 | 7 | 5901234123457 |
| 400 | Germany | 400638133393 | 1 | 4006381333931 |
| 500 | United Kingdom | 500015940000 | 8 | 5000159400008 |
| 890 | India | 890100000000 | 2 | 8901000000002 |
| 690 | China | 690123456789 | 2 | 6901234567892 |
| 978 | Bookland (ISBN) | 978030640615 | 7 | 9780306406157 |
| 200 | Restricted circulation | 200000012345 | 5 | 2000000123455 |
A GS1 prefix shows which GS1 Member Organisation issued the company prefix, not the country where the product was made.
What is GTIN-13 / EAN-13 Calculator?
A GTIN-13 / EAN-13 Calculator is a tool that computes the 13th digit of a European Article Number (EAN-13), the most widely used retail barcode outside North America.
EAN-13 covers retail goods, books (prefixes 978 and 979), and sheet music (979-0). The check digit catches every single-digit error in the 13 digits.
What are the uses of GTIN-13 / EAN-13 Calculator?
There are 4 main uses of the GTIN-13 / EAN-13 Calculator, including product launches, ISBN barcodes, and data audits.
- Product launches: Brand owners complete EAN-13 codes for new items.
- Book barcodes: Publishers turn 978 and 979 ISBN-13 numbers into EAN-13 symbols.
- In-store codes: Supermarkets create 2-prefix codes for weighed goods.
- Data audits: Retailers detect EAN-13 values with wrong check digits in ERP systems.