Skip to main content
Free tool

GTIN Check Digit Calculator & EAN Validator

Calculate the missing check digit for any GTIN, EAN or UPC code, validate a single barcode or a whole list, and see the GS1 prefix country. Instant, free, no signup.

Supported barcode formats

EAN-13

13 digits

13-digit European Article Number, the most widely used retail barcode worldwide.

EAN-8

8 digits

8-digit compact barcode for small products where space is limited.

UPC-A

12 digits

12-digit Universal Product Code, the standard in North America.

ISBN-13

13 digits

13-digit International Standard Book Number, starting with 978 or 979.

GTIN-14

14 digits

14-digit Global Trade Item Number used for shipping containers and cases.

That was just one product.

WISEPIM runs this across your entire catalog, automatically, and keeps it accurate as your products change. Stop calculating one at a time.

Used by 100+ e-commerce teams.

4.7

Related free tools

See all tools

Frequently asked questions

What is an EAN/GTIN barcode?

EAN (European Article Number) and GTIN (Global Trade Item Number) are standardized barcode formats managed by GS1. They uniquely identify products in global trade. The most common format is EAN-13, a 13-digit code used on virtually every retail product worldwide.

What's the difference between EAN and UPC?

UPC-A is a 12-digit barcode standard used primarily in North America, while EAN-13 is a 13-digit standard used internationally. A UPC-A code can be converted to EAN-13 by adding a leading zero. Both use the same check digit algorithm.

How is the check digit calculated?

The check digit is calculated using the GS1 algorithm: each digit is multiplied alternately by 1 and 3 (from right to left), the results are added up, and the check digit is whatever number brings the total to the next multiple of 10. This catches most typos and scanning errors.

How do I use the GTIN check digit calculator?

Open the Calculate check digit tab and enter the code without its last digit: 7 digits for an EAN-8, 11 for a UPC-A, 12 for an EAN-13 or 13 for a GTIN-14 (EAN-14). The calculator weights the digits 3 and 1 from the right, adds them up and returns the digit that brings the total to the next multiple of 10, with the full code. It checks the number only, not whether GS1 has assigned it.

Can I find the product behind a GTIN here?

No, this page only checks whether a GTIN, EAN or UPC is valid. To find the product behind a number, use the free WISEPIM UPC and EAN lookup: it searches public web pages for that exact number and shows the product, brand and sources. Verified by GS1 shows the company that licensed the barcode.

What does the GS1 prefix tell me?

The first 3 digits of an EAN-13 barcode show the GS1 prefix, which identifies the country or organization that issued the barcode. Note: this shows where the barcode was registered, not necessarily where the product was made.

Why is my barcode showing as invalid?

A barcode can be invalid for several reasons: wrong check digit (most common), wrong number of digits, non-numeric characters, or a typo when entering it manually. Try entering the number again carefully, or scan it instead.

Powerful, but easy to use

Do this for every product, automatically

  • No credit card
  • Free to start
  • Setup in minutes
4.7

ProCleanroom translated 3,100 products and variants into German and British English. Read the case