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:

    We long for our father. We wear his clothes, and actually try to fill his shoes. . . . We hang on to him, begging him to teach us how to do whatever is masculine, to throw balls or be in the woods or go see where he works. . . . We want our fathers to protect us from coming too completely under the control of our mothers. . . . We want to be seen with Dad, hanging out with men and doing men things.
    Frank Pittman (20th century)

    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)