Explicitly select the type and task; the tool will not guess the meaning of the number based on the length of the input.
Requires 12 ASCII digits; leading zeros are preserved.
Example calculated: check digit 1, full number 4006381333931.
Calculate or verify results
✓ Calculation completed1Full GTIN or correction candidate4006381333931
The input, type, or task has changed. The old result is invalid, please recalculate.
Calculate summary
weighted sum89
remainder9
Entered check digit—
Expected check digit1
(10 − (89 mod 10)) mod 10 = 1
Matching only proves that the last digit complies with the verification algorithm, but does not prove that the number has been assigned, the product is authentic, or the barcode is scannable.
Per-digit weights
Alternately multiply by 3 and 1 starting from the rightmost digit of the subject
location
Check digit
weight
product
when to use
Before entering product master data, warehousing labels, supplier tables or OCR results, use calculation mode to fill in the missing last digit, or use verification mode to check the last digit of the complete GTIN. The type and task must be selected explicitly by you; leading zeros are retained as the content of the number.
Repeatable example
400638133393 → Σ 89 → CD 1 → 4006381333931
0000000 → Σ 0 → CD 0 → 00000000
Type and length
GTIN type
Body digit count
Complete length
GTIN-8
7
8
GTIN-12
11
12
GTIN-13
12
13
GTIN-14
13
14
Algorithms and leading zeros
Starting from the rightmost digit of the body, multiply by 3, 1, 3, and 1; sum the products, and then calculate (10 − (sum mod 10)) mod 10. If the weighted sum is already a multiple of 10, the check digit is 0.
Input is only processed in the current browser memory, not uploaded or saved.
Ability and conclusion boundaries
Only GTIN-8, GTIN-12, GTIN-13, and GTIN-14 are supported. UPC-E compressed input, SSCC, ISBN, GS1 application identifier, barcode image, prefix, owner or item lookup are not supported. A check digit match does not prove that the number has been assigned by GS1, that the item is authentic, or that the barcode is scannable.
Use GTIN-12 for 12-digit UPC-A, GTIN-13 for 13-digit EAN-13, GTIN-8 for EAN-8 and GTIN-14 for 14-digit case codes. For example, the UPC body 03600029145 has check digit 2, giving 036000291452.
How do I make a GTIN-14 from a GTIN-13?
Drop the GTIN-13 check digit, put a packaging indicator digit (1 to 8) in front to make a 13-digit body, and calculate a new check digit in GTIN-14 mode. The old check digit cannot be reused.
Can it calculate an ISBN check digit?
A 13-digit ISBN starting with 978 or 979 is a GTIN-13, so GTIN-13 mode calculates or checks it directly. The old 10-digit ISBN uses a different mod 11 method that this tool does not support.
Does a correct check digit mean the barcode is valid?
Not necessarily. A check digit catches most typing errors and swapped neighbouring digits, but it does not prove the number was assigned by GS1, that the product is genuine or that the barcode scans. Confirm with GS1 or the brand owner before relying on it.
GS1 GTIN check digit calculation and verification
Explicitly select the GTIN type and calculation or verification task before entering the required number of ASCII digits. Enter the subject without the last digit in calculation mode; enter the complete number in verification mode. The page displays the check digit, the full number or correction candidate, the weighted sum, and the 3/1 weight for each digit.