Skip to main content

GS1 Barcode Check Digit Calculator

Calculate or verify GS1 Modulo-10 check digits across EAN-13, UPC-A, EAN-8, ITF-14, and SSCC-18 instantly. View the full weighted sum breakdown and download a scan-ready SVG or PNG barcode.

Select GS1 Standard Format

International retail item standard. Enter 12 base digits to calculate the 13th check digit, or 13 digits to verify.

Calculated Check Digit: 1

GS1 Modulo-10 formula: (10 − (89 mod 10)) mod 10 = 1

Full EAN-13:
4006381333931

Step-by-Step GS1 Weighted Sum Breakdown

Weights alternate ×3 / ×1 from right to left
PositionDigitWeight (3 / 1)ProductSumMod 10
#1(R12)4×1444
#2(R11)0×3044
#3(R10)0×1044
#4(R9)6×318222
#5(R8)3×13255
#6(R7)8×324499
#7(R6)1×11500
#8(R5)3×39599
#9(R4)3×13622
#10(R3)3×39711
#11(R2)9×19800
#12(R1)3×39899
Final Check Digit Calculation:Sum = 89(10 − 9) % 10 = 1

Live EAN-13 Barcode Preview

Rendered locally with verified check digit 1.

GS1 Modulo-10 validation and barcode rendering run 100% locally in your browser.

Supported GS1 GTIN & Logistics Standards

Every global trade item barcode (GTIN) and logistics container serial (SSCC) ends with a single validation digit computed via the GS1 Modulo-10 algorithm. Optical scanners re-compute that final digit during every checkout or warehouse scan, rejecting the read immediately if a damaged bar or typing mistake alters any digit.

GS1 StandardBase DigitsFull LengthPrimary Use CaseGenerator Tool
EAN-13 (GTIN-13)1213International retail itemsEAN-13 Tool
UPC-A (GTIN-12)1112US & Canadian retail POSUPC-A Tool
EAN-8 (GTIN-8)78Small retail packagesEAN-8 Tool
ITF-14 (GTIN-14)1314Outer shipping cartonsITF-14 Tool
SSCC-181718Pallet tracking (GS1-128 AI 00)Code 128 Tool

Step-by-Step GS1 Modulo-10 Formula Worked Example

To compute the check digit manually for any GS1 code, always align weights from right to left starting at the digit directly preceding the check digit (which always gets weight ×3):

StepOperationEAN-13 Example (400638133393)UPC-A Example (03600029145)
1. Assign WeightsAlternate ×3 and ×1 from right to left4×1, 0×3, 0×1, 6×3, 3×1, 8×3, 1×1, 3×3, 3×1, 3×3, 9×1, 3×30×3, 3×1, 6×3, 0×1, 0×3, 0×1, 2×3, 9×1, 1×3, 4×1, 5×3
2. Sum ProductsAdd every weighted result4+0+0+18+3+24+1+9+3+9+9+9 = 890+3+18+0+0+0+6+9+3+4+15 = 58
3. Modulo 10(10 − (Sum mod 10)) mod 10(10 − 9) mod 10 = 1(10 − 8) mod 10 = 2
4. Final CodeAppend check digit4006381333931036000291452

Common Pitfalls When Validating Retail & Carton GTINs

  • Excel Stripping Leading Zeros: Spreadsheets frequently turn 036000291452 into an 11-digit number 36000291452. Always format GTIN columns as plain text before exporting CSVs to our Bulk Barcode Generator.
  • UPC-A to EAN-13 Conversion: Prepending a single leading 0 to a valid 12-digit UPC-A produces an identical check digit in 13-digit EAN-13 (because the leading 0 carries weight ×1 and contributes 0 to the sum).
  • Learn More: Read our Complete EAN-13 & Check Digit Standard Guide .

Frequently Asked Questions

Starting from the rightmost base digit (immediately left of the check digit) and moving left, multiply digits alternately by 3 and 1. Sum all products, take the remainder modulo 10, and compute (10 - (sum mod 10)) mod 10. If the sum is already a multiple of 10, the check digit is 0.

Yes. Enter the base digits without the check digit (e.g., 12 digits for EAN-13 or 11 for UPC-A) to calculate the terminal digit automatically. Enter the full code (e.g., 13 digits for EAN-13 or 14 for ITF-14) to verify whether the final digit matches GS1 Modulo-10 rules—and get the corrected digit if it fails.

Yes! One unified GS1 Modulo-10 algorithm powers GTIN-8 (EAN-8), GTIN-12 (UPC-A), GTIN-13 (EAN-13), GTIN-14 (ITF-14), and SSCC-18 pallet numbers. Because weights always alternate 3 and 1 starting from the rightmost base digit, the pattern adapts seamlessly across odd and even code lengths.

Retail marketplaces validate the check digit before accepting a GTIN listing. Common errors include accidentally dropping a leading zero from a 12-digit UPC-A in Excel, transposing two adjacent digits during manual entry, or using an unverified packaging indicator with an old EAN-13 check digit on an ITF-14 carton.

Yes. For EAN-13, UPC-A, EAN-8, and ITF-14, the calculator renders a live scannable barcode below the weighted breakdown table with one-click PNG and vector SVG download buttons. For SSCC-18, copy the verified 18-digit sequence and encode it with Application Identifier (00) in our Code 128 Generator.

Explore Related Generators & Utilities

Discover other free tools designed to simplify your inventory and marketing workflows.