EAN-13 check digit and code validation

Catalog managers and data-entry teams can check an EAN-13 before use when they need to calculate its digit and verify the complete code.

Calculate the check digit for an EAN-13 and verify the supplied code against it, giving you a direct result for the full barcode.

How to use

  1. Enter twelve digits to calculate the missing check digit, or thirteen digits to verify a complete EAN-13 code.
  2. Keep the input numeric only, with no spaces, letters or hyphens, because the code is checked as one continuous sequence.
  3. Run the calculation to see the expected check digit or to learn whether the submitted code matches it.
  4. If the result reports a problem, clear the field, correct the digits and verify again before using the code.

Example

A catalog manager receives the partial supplier reference 400638133393. They enter it to find the check digit, then verify the full barcode before adding the product record to their database.

Input

400638133393

Limits and formats

Where processing happens

The calculation runs entirely in your browser. The digits you enter stay on your device and are not uploaded or stored elsewhere. You can therefore check a code without an account and without sending a file.

Frequently asked questions

What is the difference between twelve and thirteen digits?

With twelve digits, the tool computes the missing check digit. With thirteen digits, it verifies whether the final digit matches the expected check digit for the first twelve digits.

Can I include spaces or hyphens in the input?

It is better to remove them. The verification expects a continuous numeric string, and separators, letters or symbols can cause an incorrect result even if the core digits are right.

Does a valid result mean the product exists?

No. The check only confirms mathematical consistency. To know whether an EAN-13 is truly assigned to an item, consult the official source, the manufacturer or the supplier.

Tools in the same category