Free · runs in your browser

GS1 Check Digit Calculator

Calculate or validate modulo-10 digits for GTIN-8, UPC-A, GTIN-13, GTIN-14 and SSCC-18. Enter your known values; results update as you type.

Inputs

GTIN-8, GTIN-12 / UPC-A, GTIN-13, GTIN-14 or SSCC-18

Calculated result

Identifier typeGTIN-13
Check digit1
Complete identifier4006381333931
From rightmost body digit: 3×3 + 9×1 + 3×3 + 3×1 + 3×3 + 1×1 + 8×3 + 3×1 + 6×3 + 0×1 + 0×3 + 4×1 = 89\nCheck digit = (10 − (89 mod 10)) mod 10 = 1
This independent calculator implements the standard modulo-10 arithmetic. It does not confer GS1 ownership, allocation or certification.

How to use this calculator

Start with the deterministic fixture values already shown, then replace each input with measurements from your job. Use consistent units and review the highlighted assumptions before using the result in purchasing or production.

Formula and method

Starting at the rightmost body digit, multiply alternating digits by 3 and 1, sum the products, and choose the digit that brings the sum to the next multiple of ten: (10 − (sum mod 10)) mod 10.

Read the methodology and source notes →

Worked example

For GTIN-13 body 400638133393, the alternating weighted sum is 89, so the check digit is 1 and the complete identifier is 4006381333931.

How to interpret the result

A valid check digit catches many transcription errors. It does not prove that an identifier was properly licensed, allocated or assigned.

Limitations

Only the numeric lengths listed are accepted. Application identifiers, element strings, Digital Link syntax and company-prefix allocation are outside this calculator.

Optional partner module · disabledCategory placeholder: barcode scanners. No products, reviews, prices or outbound links are configured.

Related tools

Last reviewed: