International · Validation

法人番号 チェックデジット 計算・検証

13桁の法人番号の検査用数字(チェックデジット)を、12桁の基礎番号から計算し、番号が正しい形式かを確認します。形式とチェックデジットのみの確認です。すべてブラウザ内で処理されます。

Japan Corporate Number (法人番号) check digit calculator and validator. Format and checksum only.

計算方法: 12桁の基礎番号について、最下位から偶数桁の和を2倍し、奇数桁の和を加えた値を S とします。検査用数字は 9 − (S を 9 で割った余り) で、基礎番号の前に付けて13桁にします。

出典: 国税庁 法人番号公表サイト「チェックデジットの計算」; python-stdnum jp/cn.py確認日 2026年9月29日

Advertisement

入力

13桁の数字を入力してください。スペースとハイフンは無視されます。全角数字も使えます。
12桁の基礎番号(設立登記法人は会社法人等番号)を入力すると、13桁の法人番号を計算します。

結果

法人番号または基礎番号を入力してください。

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

法人番号は、12桁の基礎番号とその前に付された1桁の検査用数字(チェックデジット)からなる13桁の番号です。設立登記法人の基礎番号は、商業登記法に基づく会社法人等番号(12桁)です。計算方法は国税庁が公表しています。

計算の手順
手順内容
112桁の基礎番号について、最下位の桁を1桁目として数える
2偶数桁の和を2倍し、奇数桁の和を加えて S とする
3S を9で割った余りを求める
4検査用数字 = 9 − 余り。基礎番号の前に付けて13桁にする

例: 国税庁の例では、基礎番号 700110005901 の偶数桁の和は 13、奇数桁の和は 11 なので S = 13×2 + 11 = 37、37 を9で割った余りは 1、検査用数字は 9 − 1 = 8 となり、法人番号は 8700110005901 です。python-stdnum の例 5-8356-7825-6246 も同じ方法で検証できます。

確認できるのは形式とチェックデジットのみ

検証に通っても、13桁が内部的に整合していることを示すだけです。その番号が実際に指定されたか、法人が現在存在するかは確認できません。確認するには国税庁 法人番号公表サイトで検索してください。

出典

計算方法: 国税庁 法人番号公表サイト「チェックデジットの計算」(PDF)。同じ重み(最下位から 1, 2, 1, 2, ...)と 9 − (S mod 9) を実装している保守されたライブラリ: python-stdnum, stdnum/jp/cn.py。

Worked example: base number 700110005901

Count positions from the right, so the last digit 1 is position 1. In 700110005901 the digits in even positions add up to 13 and the digits in odd positions add up to 11. S = 13 x 2 + 11 = 37. 37 divided by 9 leaves 1, so the check digit is 9 - 1 = 8, and the 13-digit corporate number is 8700110005901. This is the National Tax Agency's own example, re-run through this tool on 26 October 2026.

In short, English: double the sum of the even-position digits, add the odd-position digits, take the remainder mod 9, and subtract it from 9. The check digit goes in front of the 12-digit base number, which for a registered company is its commercial-registry corporate number. A passing check proves only that the 13 digits are consistent with this rule; whether the number was designated, and whether the company still exists, can be confirmed only in the National Tax Agency's Corporate Number Publication Site.

Sources and as-of date

Method: National Tax Agency, Check digit calculation (PDF) and python-stdnum jp/cn.py. Verified 29 September 2026 (2026年9月29日); the NTA example above was recomputed on 26 October 2026.

Common mix-ups

  1. 国税庁法人番号公表サイト: よくある質問 (個人事業者に法人番号は指定されますか)
  2. 国税庁法人番号公表サイト: 通知書について

Checked against these sources on .

Frequently asked questions

What is a Japanese corporate number?

A 13-digit number the National Tax Agency assigns to each corporation. The first digit is a check digit and the remaining 12 are the base number.

How is the check digit calculated?

Count digit positions from the right of the 12-digit base. Double the sum of the even positions, add the odd positions to get S, and the check digit is 9 minus (S mod 9).

Can this tool confirm a company is registered?

No. It checks the format and check digit only. Search the National Tax Agency Corporate Number Publication Site to confirm a designation.

Is the number I enter sent anywhere?

No. The check runs entirely in your browser and nothing is transmitted, stored or logged.

形式とチェックデジットのみの確認です

このツールは13桁の形式とチェックデジットをブラウザ内だけで確認します。法人番号が実際に指定されたか、法人が登録されているかは確認できず、国税庁のシステムにも問い合わせません。入力した内容は送信・保存・記録されません。 This tool checks format and checksum only and cannot confirm a corporation is registered.

Advertisement
Advertisement