TXT · Text & Data tools

EAN-13 Check Digit Calculator

Values to check
Result
EAN-13scheme0values0valid0invalid0unreadable

The 13-digit retail barcode number.

Open the full check digit validator with Luhn, IBAN, ISBN, GTIN, VIN, ISIN, Verhoeff, and Damm

Shareable link

Settings are written to the URL as you change them. Nothing differs from the defaults yet.

Weighting from the left

An EAN-13 carries 12 digits of payload and 1 check digit. Weights alternate 1 and 3 starting at the leftmost digit, which means the digit next to the check digit is always weighted 3.

The same arithmetic covers UPC-A, EAN-8, GTIN-14, and ISBN-13. Only the payload length changes, which is why a UPC-A number padded with a leading zero keeps a valid EAN-13 check digit.

Assigning a number

Add check digit mode takes the 12-digit body and returns the full number. This is the step that turns a GS1 company prefix plus an item reference into a scannable barcode number.

A valid check digit does not mean the number is registered to you. Retail numbers have to be allocated from a prefix your organization owns, or two products end up sharing a barcode.

Frequently Asked Questions

Weight the first 12 digits alternately 1 and 3 starting from the left, sum them, then subtract the total from the next multiple of 10.

The leading digits are a GS1 prefix that identifies the member organization that issued the number, not always the country a product was made in.

No. This page checks the number. The barcode generator draws the EAN-13 symbol once the digits are confirmed.

Pages locked to one scheme

Full Check Digit Validator tool

Explore Our Tools

Browse all tools