What do the digits of the account number mean?

All bank account numbers consist of a code and 20 digits, each with a particular meaning or function.

  • IBAN Code (International Bank Account Number): identifies the country of origin of the account. It consists of two letters, EN in the case of Spanish bank accounts, and two control digits.
  • Digit positions 5 to 8: are the part of the bank account code that identifies the bank, and which are assigned by the Bank of Spain.
  • Digit positions 9 to 12: identify the office where the bank account contract originated.
  • Digit positions 13 to 14: this control code is determined by an algorithm and its function is to validate the account number. The first digit is based on the previous number block, while the second digit depends on the following block.
  • Last 10 digits: their meaning is determined internally by the bank to control and classify the bank accounts.
    The first or the first two digits are provided by the Bank of Spain and serve to indicate the type of financial institution to which the bank account belongs. The list is as follows: 
  • 0 or 1 for banks.
  • 2 for savings banks.
  • 3 for credit unions.
  • 6 for financial credit and payment institutions.
  • 8 for financial credit institutions.
  • 17 for currency trading establishments.
  • 43 or 44 for valuation companies.
  • 98 for mutual guarantee societies.

You might be interested in