Barcodian

EAN-8 Checker

Enter 7 digits to compute the check digit, or 8 to validate.

Share

How to use in 3 steps

  1. 1

    Enter the number

    Enter 7 digits to compute the check digit or 8 digits to validate.

  2. 2

    Review the result

    See validity and the weighted-sum calculation step by step.

  3. 3

    Check in bulk

    Validate multiple EAN-8 numbers at once and get a report.

Example input / output

Input

9638507

Output

96385074 · check digit 4 · valid

Technical notes

EAN-8 is a short 8-digit barcode used on small products (gum, cosmetics, pens) where space is tight, and it is identical to GTIN-8. It is not a 'shortened' EAN-13; it is a separate, uniquely allocated number.

The check-digit calculation applies right-to-left weights with the same logic as EAN-13, but there are only 7 body digits. The products are summed and the check digit = (10 − (sum mod 10)) mod 10.

GS1 allocates EAN-8 numbers from a separate, limited pool because they are short, so they are recommended only for packaging that genuinely lacks space. If there is enough room, EAN-13/GTIN-13 is preferred.

GTIN-8 is one of the four GTIN lengths and can be stored zero-padded to 14 digits. For other lengths use the GTIN validator, and for the step-by-step math on any type use the check digit calculator.

Frequently asked questions

No. EAN-8 is a separate, independently allocated number; it cannot be derived from or 'expanded' into an EAN-13.