DOCUMENTS & LABELS

UPC EAN GTIN Barcode Check Digit Validator

Validate the numeric length and GS1 modulo-10 check digit of an entered GTIN while preserving every leading zero.

GS1 barcode validation calculator

Validate the numeric length and GS1 modulo-10 check digit of an entered GTIN while preserving every leading zero.

How it works

Adjust the example values to match your scenario.

YOUR RESULT LIVE CALCULATION
GTIN length and checksum check
PASScheck digit
GTIN-13 / EAN-13
One less spreadsheet to keep open.
Entered GTIN
6291041500213
Expected / entered check digit
3 / 3
Zero-padded 14-digit representation
06291041500213
Registration and ownership
Not checked

Length and arithmetic only. No number is assigned, repaired, or verified against the GS1 registry.

BEHIND THE NUMBER

How the calculation works

This checks a full 8-, 12-, 13-, or 14-digit identifier against the GS1 check-digit arithmetic. Numbers remain text so leading zeros are not discarded. A 14-character zero-padded representation is shown for comparison. The entered check digit is compared with the calculated value; a mismatch is reported rather than silently changing the identifier.

From the rightmost data digit, alternate weights 3 and 1; check digit = (10 - weighted sum modulo 10) modulo 10

When this calculation helps

A check-digit test helps detect certain transcription mistakes in a complete entered GS1 identifier. Preserve leading zeros and select the intended identifier length before validating.

Check the interpretation

A passing checksum does not verify company ownership, allocation, registration, or product identity. Compare the number with the authorized item or logistic-unit record. Do not repair a failed identifier by inventing a new final digit for a real shipment.

A passing length/checksum is not proof of GS1 registration, ownership, product authenticity, barcode image quality, or valid allocation. Do not repair a product identifier solely by replacing its check digit. UPC-E, GS1 application-identifier strings, QR content, GLNs, and SSCCs are outside this GTIN-only tool.

GS1 check-digit calculation method

Good to know

Does this scan a barcode image?

No. Enter the digits printed under the barcode. Image decoding and print-quality verification are separate checks.

Can a valid checksum still belong to the wrong product?

Yes. This is an arithmetic check only. Verify allocation and ownership through the appropriate GS1 service.