A GTIN check digit helps detect common manual entry errors. It is calculated from the preceding digits using alternating weights of 3 and 1, counting from the rightmost digit of the body.
Barcode Check Digit
Barcode Check Digit Calculator
GTIN-8 · UPC-A / GTIN-12 · EAN-13 / GTIN-13 · GTIN-14 / DUN-14
GTIN
Barcode Check Digit Calculator
Related barcode tools
A–Z · a–z · 0–9 · common symbols
EAN-13Free EAN-13 Generator12 digits → check digit: calculated · 13 digits → check digit: validated
UPC-AFree UPC-A Generator11 digits → check digit: calculated · 12 digits → check digit: validated
ITF-14 / GTIN-14Free ITF-14 / GTIN-14 Generator13 digits → check digit: calculated · 14 digits → check digit: validated
Code 39Free Code 39 GeneratorA–Z · 0–9 · - . $ / + % · space
GS1-128Free GS1-128 GeneratorGS1 AI (01) · (10) · (17) · (21) … · FNC1: automatic
Bulk BarcodeFree Bulk Barcode Generatorone per line · up to 200 values · Code 128 / EAN-13 / UPC-A / ITF-14 / Code 39 / GS1-128
Barcode Scanner & ValidatorBarcode Scanner & ValidatorScan a barcode from an image or camera. Processing stays on this device.
How GTIN check digits work
For the 12-digit body 400638133393, the weighted sum is 89 and the check digit is 1, yielding EAN-13 4006381333931. The resulting number is mathematically valid, but the calculation does not assign the number to a company.
Use the calculator to catch input errors before producing EAN-13, UPC-A or ITF-14 labels. Check official GS1 allocation and business partner requirements separately.
Frequently asked questions
Can the check digit prove a product is authentic?
No. It detects some data-entry mistakes; it does not establish ownership, authenticity or GS1 allocation.
Does the same algorithm work for GTIN-8, 12, 13 and 14?
Yes, the GS1 modulo-10 weighted calculation is used for these GTIN lengths.
Why does my result differ?
Check that leading zeros were retained and that you entered the body digits rather than including an existing check digit twice.
Whether a generated barcode can be used at work depends on your workplace rules and scanner settings.