Skip to main content
Check Digit Calculator
ISO 7064

ISO 7064 MOD 11-2 Calculator

Calculate ISO 7064 MOD 11-2 check characters for numeric payloads. Follow the recurrence and see when the final character becomes X.

Last updated:

Core Algorithms & Modulus

Calculate numeric check characters.

Length: 10 chars
Calculated Check Character / Checksum
--Ready
Complete Validated Sequence:
--
Arithmetic Steps & Mathematical Specification

Initialising algorithm engine for ISO 7064 MOD 11-2 Calculator...

How ISO 7064 MOD 11-2 Calculator Works?

The ISO 7064 MOD 11-2 Calculator works by processing digits left to right with the recurrence p = ((p + digit) × 2) mod 11 and picking the check value that makes the final total congruent to 1 modulo 11. A check value of 10 is written as X.

  1. 1Set the running value p to 0.
  2. 2Add the next digit to p, multiply by the radix 2, and reduce modulo 11.
  3. 3Repeat for every payload digit from left to right.
  4. 4Compute the check value c = (12 − p) mod 11.
  5. 5Write c = 10 as the character X, otherwise write the digit.

ISO 7064 MOD 11-2 Calculator Formula

The ISO 7064 MOD 11-2 formula is c = (12 − p) mod 11, where p is the running value after the last digit.

p₀ = 0
pᵢ = ((pᵢ₋₁ + aᵢ) × 2) mod 11
c = (12 − pₙ) mod 11,  c = 10 → 'X'
  • aᵢ is the i-th digit from the left.
  • 2 is the radix r.
  • 11 is the modulus M.
Worked example: payload 0794 (ISO 7064 Annex example)
(0 + 0) × 2 mod 11 = 0
(0 + 7) × 2 mod 11 = 3
(3 + 9) × 2 mod 11 = 2
(2 + 4) × 2 mod 11 = 1
Check value = (11 + 1 − 1) mod 11 = 0
Check character = 0
Complete string = 07940

ISO 7064 MOD 11-2 Calculator Conversion Table

The ISO 7064 MOD 11-2 conversion table maps check values 0–10 to output characters and lists sample payloads.

Check valueCharacterSample payloadCheck characterComplete string
000794007940
11079X079X
2200000002182500970000000218250097
33000000012146438X000000012146438X
441234567890812345678908
5511010519491231002X11010519491231002X
66440524188001010014440524188001010014
7712311231
885252
99999994999994
10X202401014202401014

What is ISO 7064 MOD 11-2 Calculator?

An ISO 7064 MOD 11-2 Calculator is a tool that computes the single numeric check character defined by ISO/IEC 7064 for digit strings. The output is a digit 0–9 or the letter X.

The International Standard Name Identifier (ISNI), the Open Researcher and Contributor ID (ORCID), and the 18-digit Chinese Resident Identity Card number all end with a MOD 11-2 check character.

MOD 11-2 detects all single-digit errors and all adjacent transpositions.

What are the uses of ISO 7064 MOD 11-2 Calculator?

There are 4 main uses of the ISO 7064 MOD 11-2 Calculator, including ORCID iDs, ISNI codes, and Chinese ID numbers.

  • ORCID iD validation: Research platforms check the 16th character of researcher iDs.
  • ISNI checks: Libraries and rights agencies validate public identity identifiers.
  • Chinese resident ID numbers: Onboarding systems check the 18th character of PRC identity numbers.
  • Standards conformance tests: Developers compare code output with ISO 7064 annex examples.