Skip to main content
Check Digit Calculator
ISO 7064

ISO 7064 MOD 1271-36 Calculator

Calculate two alphanumeric check characters with ISO 7064 MOD 1271-36. Follow base-36 values and the check-pair conversion.

Last updated:

Core Algorithms & Modulus

Calculate two alphanumeric check characters.

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

Initialising algorithm engine for ISO 7064 MOD 1271-36 Calculator...

How ISO 7064 MOD 1271-36 Calculator Works?

The ISO 7064 MOD 1271-36 Calculator works by converting digits and letters to values 0–35, running the pure recurrence with radix 36 and modulus 1271, and splitting the result into 2 alphanumeric check characters.

  1. 1Convert 0–9 to 0–9 and A–Z to 10–35.
  2. 2Update p = ((p + value) × 36) mod 1271 for each character from the left.
  3. 3Multiply by 36 once more modulo 1271.
  4. 4Compute c = (1272 − p) mod 1271.
  5. 5Output ⌊c / 36⌋ and c mod 36 as 2 characters from 0–9A–Z.

ISO 7064 MOD 1271-36 Calculator Formula

The ISO 7064 MOD 1271-36 formula is c = (1272 − p) mod 1271, written as 2 base-36 characters.

pᵢ = ((pᵢ₋₁ + v(aᵢ)) × 36) mod 1271
p = (pₙ × 36) mod 1271
c = (1272 − p) mod 1271
Check = b36(⌊c / 36⌋) + b36(c mod 36)
  • v(a) is the base-36 value.
  • 1271 is the modulus M (1271 = 31 × 41).
Worked example: ISO79 (ISO 7064 Annex example)
(0 + 18) × 36 mod 1271 = 648
(648 + 28) × 36 mod 1271 = 187
(187 + 24) × 36 mod 1271 = 1241
(1241 + 7) × 36 mod 1271 = 443
(443 + 9) × 36 mod 1271 = 1020
Extra step for 2 check characters: 1020 × 36 mod 1271 = 1132
Check value = (1271 + 1 − 1132) mod 1271 = 140
Check characters = 3W
Complete string = ISO793W

ISO 7064 MOD 1271-36 Calculator Conversion Table

The ISO 7064 MOD 1271-36 conversion table shows sample payloads with their 2 alphanumeric check characters.

Sample payloadLengthCheck value cCheck charactersComplete string
ISO7951403WISO793W
123456789010724K41234567890K4
ABC1236922PMABC123PM
A1B2C3D48566FQA1B2C3D4FQ
ZZZZZZ6869O5ZZZZZZO5
SERIAL2026101243GSERIAL20263G

What is ISO 7064 MOD 1271-36 Calculator?

An ISO 7064 MOD 1271-36 Calculator is a tool that computes 2 alphanumeric check characters for strings of digits and capital letters. The pair detects all single errors and adjacent transpositions and leaves an undetected-error rate near 1 in 1,271.

MOD 1271-36 fits long alphanumeric codes where 1 check character is too weak, such as product keys and container seals.

What are the uses of ISO 7064 MOD 1271-36 Calculator?

There are 4 main uses of the ISO 7064 MOD 1271-36 Calculator, including product keys, alphanumeric serials, and seal numbers.

  • Product keys: Software vendors protect long activation keys.
  • Alphanumeric serials: Manufacturers add 2 check characters to mixed serials.
  • Seal and tag numbers: Shippers check security seal codes.
  • Conformance testing: Developers confirm the ISO79 → 3W example.