esc
ID checkers

JANコード チェックデジット計算:
JAN / GTIN check digit (Japan)

Type the 12 digits of a JAN code to get its check digit, or a full code to check it. Works for JAN-8, JAN-13 and GTIN-14, and U.P.C. with a 0 in front.

More tools for Japan Other countries

How to use JANコード チェックデジット計算

  1. 01Type the digits12 for a JAN-13, 7 for a JAN-8.
  2. 02Get the check digitOr a match for a full code.
  3. 03Copy the codeReady for your barcode.
File character arranging marked pages

456995111617 → 4569951116179.

The last digit of every JAN (GTIN) barcode is a check digit worked out with GS1’s modulus 10 rule: weights 3 and 1 from the right. The tool follows GS1 Japan’s method, shows the sums and names the GS1 office behind the prefix.

JANコード チェックデジット 計算: type the GS1事業者コード and 商品アイテムコード (12 digits) to get the 13th digit, or a complete code to check it. The method is the one GS1 Japan and GS1 publish for every GTIN.

チェックデジットの計算方法

GS1 Japan’s example: 456995111617. The even positions add up to 33, times 3 is 99. The odd positions add up to 22. 99 + 22 = 121, and 10 − 1 = 9, so the JAN code is 4569951116179.

  1. Number the digits from the right, with the check digit as position 1.
  2. Add the digits in even positions and multiply the total by 3.
  3. Add the digits in odd positions (not counting the check digit).
  4. Add the two results and subtract the last digit of the total from 10. If the last digit is 0, the check digit is 0.

Which codes it works for

  • GTIN-13 (JANコード標準タイプ): type 12 digits.
  • GTIN-8 (JANコード短縮タイプ): type 7 digits. GS1 Japan’s example 4996871 gives 2.
  • GTIN-14 (集合包装用商品コード): the same formula, with the indicator digit in front.
  • U.P.C. (12 digits): type it with a 0 in front (13 digits) to check it; the check digit is the same.

What the prefix says

The first three digits of a 13-digit code show which GS1 office issued the company prefix: 450–459 and 490–499 are GS1 Japan. It says nothing about where the product was made, and the tool doesn’t look up the company or product.

At a glance

Price
Free. No sign-up, no watermark.
Privacy
Your text stays in your browser. Nothing is uploaded.
Works in
Chrome, Edge, Firefox and Safari, on phones and computers

Questions

How is the JAN check digit calculated?

Number the digits from the right with the check digit as 1. Add the even-position digits and multiply by 3, add the odd-position digits, and subtract the last digit of the total from 10. A last digit of 0 gives 0.

Does a code starting with 45 or 49 mean the product is Japanese?

It means the company prefix was issued by GS1 Japan. It doesn’t say where the product was made.

Can it tell me which product a barcode is?

No. It only does the arithmetic. Use GS1 Japan’s database services to look up a code.

Is the number sent anywhere?

No. The code is checked in your browser and nothing you type is sent to a server or saved.

Can I make my own JAN code?

A JAN code has to start with a GS1事業者コード registered with GS1 Japan. This tool only adds the check digit to a code you already have.

Is the EAN-13 check digit the same?

Yes. JAN is the Japanese name for the GS1 GTIN-13, also called EAN-13, and the calculation is identical.