Free · ES · 24 characters

Spain IBAN Calculator

Enter the código de entidad, código de oficina, account number to get the Spain IBAN with its check digits, including the national check digits Spain banks use.

24IBAN characters
20BBAN characters
YesSEPA country
YesNational check digits

Spain IBAN structure

ESCountry code
12IBAN check digits
2048Código de entidad
9428Código de oficina
48Dígitos de control
4058935504Account number

ES + 2 check digits + 4 digits + 4 digits + 1 digit + 1 digit + 10 digits = 24 characters. The example is a synthetic test number. Check any Spain IBAN, with its bank and BIC, in the Spain IBAN checker, or create test numbers with the Spain IBAN generator.

Spain IBAN calculator FAQ

How is an IBAN from Spain calculated? The national account number (BBAN) is built from the bank code, branch code and account number, then the two IBAN check digits are computed with ISO 13616 MOD-97: move the country code and 00 to the end, turn letters into numbers and take 98 minus the remainder modulo 97.

What do I need to calculate a Spain IBAN? Código de entidad, Código de oficina, Account number. The result has 24 characters, starting with ES.

Does the calculator add the Spain national check digits? Yes. Where a country publishes a method (the French clé RIB, the Italian CIN, Spanish control digits and others) the calculator computes it; otherwise enter the digits printed on the bank document.

Is a calculated IBAN guaranteed to work? It is correct only if the bank details you typed are correct. Confirm the IBAN with the account holder or the bank before paying, and check it in the IBAN validator to see the bank and BIC.

IBAN calculators for other countries