Skip to main content

Mexico CLABE Validator

Online Mexico CLABE validator. Verify format and check digits. For QA.

How is the CLABE validated?

The CLABE is a standard 18-digit bank account number required in Mexico for sending and receiving domestic interbank wire transfers (SPEI).

This tool generates and validates CLABEs, calculating the 18th verification check digit utilizing the standard weighted Modulo 10 formula.

Anatomy & Structure of CLABE Interbancaria

The Mexican CLABE consists of 18 digits organized into 4 segments:

PositionFieldLengthMeaning & RuleExample
1 to 3Bank Code3 digitsFinancial institution code assigned by Banxico and ABM002
4 to 6Plaza Code3 digitsGeographical location code of the bank branch010
7 to 17Account Number11 digitsUnique checking or savings account serial07770378544
18Control Digit1 digitChecksum digit calculated via weighted Modulo 108

Official CLABE Validation Algorithm (Banxico Modulo 10)

Banco de México verifies CLABE by applying cyclical weights [3, 7, 1] to the first 17 digits:

DV = (10 - (Σ ((d[i] × [3, 7, 1][i % 3]) % 10) % 10)) % 10
  1. 1. Multiply each of the first 17 digits by weights [3, 7, 1, 3, 7, 1...].
  2. 2. Reduce each product modulo 10: (digit × weight) % 10.
  3. 3. Compute the sum of all reduced products.
  4. 4. Calculate check digit: DV = (10 - (Sum % 10)) % 10.
  5. 5. Conforms if the 18th digit matches the calculated DV.

Frequently Asked Questions about Validation