CLABE - Control Digit

Control Digit

The control digit is calculated as the modulus 10 of 10 minus the modulus 10 of the sum of the modulus 10 of the product of the first 17 digits by its weight factor.

The first 17 digits of the CLABE are, as mentioned above, the Bank Code, the Branch Office Code and the Account Number.

The weight factor of a given digit is:

  • 3 if its position (starting at 0) modulus 3 is 0
  • 7 if its position modulus 3 is 1
  • 1 if its position modulus 3 is 2

The method is:

  • For every digit, multiply it by its weight factor and take their modulus 10 (modulus is the Remainder of the integer division. The modulus X of a baseX number is its rightmost digit).
  • Sum all of the calculated products, and take modulus 10 again.
  • Subtract the sum to 10, take modulus 10, and you have the resulting control digit.

So, as an example:

Bank Branch Account Number
17 CLABE digits 0 3 2 1 8 0 0 0 0 1 1 8 3 5 9 7 1
×
Weight factors 3 7 1 3 7 1 3 7 1 3 7 1 3 7 1 3 7
= ( % 10 )
Products, modulus 10 0 1 2 3 6 0 0 0 0 3 7 8 9 5 9 1 7
Product sum, modulus 10 1
10 - sum, modulus 10 9 (control digit)

And so, the complete CLABE is: 032180000118359719

Read more about this topic:  CLABE

Famous quotes containing the words control and/or digit:

    He took control of me for forty-five minutes. This time I’ll have control over him for the rest of his life. If he gets out fifteen years from now, I’ll know. I’ll check on him every three months through police computers. If he makes one mistake he’s going down again. I’ll make sure. I’m his worst enemy now.
    Elizabeth Wilson, U.S. crime victim. As quoted in People magazine, p. 88 (May 31, 1993)

    Bless my soul, Sir, will you Britons not credit that an American can be a gentleman, & have read the Waverly Novels, tho every digit may have been in the tar-bucket?
    Herman Melville (1819–1891)