Free · runs in your browser

UPC Check Digit Calculator

Calculate a UPC-A check digit from 11 digits or validate a complete 12-digit UPC-A / GTIN-12. Enter your known values; results update as you type.

Inputs

Leading zeros are preserved. UPC-A uses numeric digits only.

Calculated result

Identifier typeUPC-A / GTIN-12
Check digit2
Complete number036000291452
14-digit GTIN representation00036000291452
5×3 + 4×1 + 1×3 + 9×1 + 2×3 + 0×1 + 0×3 + 0×1 + 6×3 + 3×1 + 0×3 = 58 Check digit = (10 − (58 mod 10)) mod 10 = 2

The two leading zeros are filler digits for systems that require a uniform 14-digit GTIN field; they do not create a different trade item identifier.

This calculator checks modulo-10 arithmetic only. It does not verify allocation, ownership, licensing, or GS1 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

UPC-A uses the GS1 modulo-10 method. From the rightmost body digit, alternating weights 3 and 1 are applied before the final digit completes a multiple of ten.

Read the methodology and source notes →

Worked example

UPC-A body 03600029145 has check digit 2, producing the complete number 036000291452.

How to interpret the result

Use validation to catch many typing errors before creating or checking a UPC-A symbol. Preserve leading zeros.

UPC-A and a 14-digit GTIN field

UPC-A carries a 12-digit GTIN-12. Systems that require a uniform 14-digit GTIN field represent the same identifier by adding two leading filler zeros; for example, 036000291452 becomes 00036000291452.

Removing leading zeros from an arbitrary GTIN-14 is not a general conversion to UPC-A. The reverse is only unambiguous when the 14-digit value is a zero-padded GTIN-12 representation.

Limitations

Checksum validity does not establish that a UPC was licensed, assigned to the stated product or encoded with compliant dimensions.

Primary references

Related tools

Related guides

Last reviewed: