GTIN check digit calculator.
Free, instant, private.
Check any EAN, UPC or GTIN barcode number, calculate a missing check digit, or paste a whole product list to find the mistakes before they reach packaging.
Your result appears here as you type. Nothing is sent anywhere.
How to calculate a GTIN check digit.
The check digit is the last digit of every GTIN. GS1 calculates it with a weighted sum, so a single mistyped digit is always caught.
- Take every digit except the check digit.
- Starting from the right, multiply the digits by 3, 1, 3, 1 and so on.
- Add up the results.
- The check digit is the amount needed to reach the next multiple of ten. If the sum already ends in 0, the check digit is 0.
Example: EAN-13 400638133393?
| Digit | 4 | 0 | 0 | 6 | 3 | 8 | 1 | 3 | 3 | 3 | 9 | 3 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| × weight | 1 | 3 | 1 | 3 | 1 | 3 | 1 | 3 | 1 | 3 | 1 | 3 |
| = | 4 | 0 | 0 | 18 | 3 | 24 | 1 | 9 | 3 | 9 | 9 | 9 |
Sum 89. The next multiple of ten is 90, so the check digit is 1 and the full GTIN is 4006381333931.
GTIN types at a glance
| Format | Digits | Barcode | Typically used for |
|---|---|---|---|
| GTIN-13 | 13 | EAN-13 | Consumer products sold outside North America |
| GTIN-12 | 12 | UPC-A | Consumer products sold in the US and Canada |
| GTIN-8 | 8 | EAN-8 | Very small packs with no room for a full barcode |
| GTIN-14 | 14 | ITF-14 or GS1-128 | Cases and cartons of a product |
Every format can be written as 14 digits by adding leading zeros. That 14-digit form is what databases and GS1 Digital Links use.
Three ways to use it.
Built for packaging, product data and ecommerce teams who handle barcodes every day.
Check a GTIN
Paste a barcode number to confirm the check digit and see its type and 14-digit form.
Calculate a check digit
Enter 7, 11, 12 or 13 digits and get the check digit, with every step of the calculation.
Check a whole list
Paste up to 500 GTINs from a spreadsheet and see which ones need fixing, with the corrected number.
Give every GTIN a page customers can scan.
Turn your GTIN into a GS1 Digital Link QR code. On Veribl it opens a product page with guides, support, registration and, where EU rules require it, the Digital Product Passport. Free for up to 100 products.
GTIN questions
About barcodes and check digits. Get in touch.