Set up your input
Choose a batch size, then select a sample to see its twelve digits multiplied by weights 13 through 2.
Generate 13-digit test numbers with a correct checksum and a calculation breakdown. No identity verification.
Your results will appear here.
Choose a batch size, then select a sample to see its twelve digits multiplied by weights 13 through 2.
Use the main button to see the result. Adjust your input and run it again. Processing stays in this browser.
Copy the result into your test system. Where download buttons are shown, files are created from the current result in your browser. Inputs and outputs are not saved or uploaded.
Use one sample to test a form that checks the final digit.
Download 1,000 samples as JSON to test string inputs. Checksums do not establish identity or issuance.
checkDigit = (11 − (sum % 11)) % 10
Sample numbers may coincide with real numbers. A correct checksum or matching format does not prove issuance or identity.
Check digit arithmetic example (Thammasat University)