IBAN formats by country
Spain IBAN Format (ES)
Written and maintained by ZagTrader. Last reviewed . How this page is sourced and checked
A Spain IBAN has 24 characters: ES, two check digits and a 20-character national account number (BBAN), which contains a 4-character bank code.
- Length
- 24 characters
- IBAN structure
- ES2!n4!n4!n1!n1!n10!n
- Bank code length
- 4 characters
- Example
- ES91 2100 0418 4502 0005 1332
Spain IBAN structure
After the country code and check digits, the BBAN is 4 digits, then 4 digits, then 1 digit, then 1 digit, then 10 digits.
| Part | In the example | What it is |
|---|---|---|
| Country code | ES | ISO 3166 code of the country |
| Check digits | 91 | Two digits from the ISO 7064 MOD 97-10 calculation |
| Bank code | 2100 | 4 characters, national bank identifier |
| Branch code | 0418 | 4 characters, branch identifier |
| Account number | 450200051332 | The rest of the BBAN, including any national check digits |
The example is the sample IBAN given for this country in the IBAN registry, not an account to pay. Structure notation: n digits, a upper-case letters, c letters or digits; 4!n means exactly four digits.
Check a Spain IBANQuestions
- How many characters does a Spain IBAN have?
- 24 characters: the country code ES, two check digits and a BBAN of 20 characters.
- What does a Spain IBAN look like?
- For example ES91 2100 0418 4502 0005 1332 on paper, or ES9121000418450200051332 in electronic form.
- Where is the bank code in a Spain IBAN?
- The national bank code has 4 characters, at positions 5 to 8 of the IBAN.
- How do I check a Spain IBAN?
- Paste it into the IBAN checker on this site. It tests the length, the structure and the check digits in your browser.
Other countries with 24-character IBANs
All IBAN countries
- Albania
- Andorra
- Austria
- Azerbaijan
- Bahrain
- Belarus
- Belgium
- Bosnia and Herzegovina
- Brazil
- British Virgin Islands
- Bulgaria
- Burundi
- Costa Rica
- Croatia
- Cyprus
- Czech Republic
- Denmark
- Djibouti
- Dominican Republic
- Egypt
- El Salvador
- Estonia
- Falkland Islands
- Faroe Islands
- Finland
- France
- Georgia
- Germany
- Gibraltar
- Greece
- Greenland
- Guatemala
- Honduras
- Hungary
- Iceland
- Iraq
- Ireland
- Israel
- Italy
- Jordan
- Kazakhstan
- Kosovo
- Kuwait
- Latvia
- Lebanon
- Libya
- Liechtenstein
- Lithuania
- Luxembourg
- Malta
- Mauritania
- Mauritius
- Moldova
- Monaco
- Mongolia
- Montenegro
- Netherlands
- Nicaragua
- North Macedonia
- Norway
- Oman
- Pakistan
- Palestine
- Poland
- Portugal
- Qatar
- Romania
- Russia
- Saint Lucia
- San Marino
- Sao Tome and Principe
- Saudi Arabia
- Serbia
- Seychelles
- Slovakia
- Slovenia
- Somalia
- Spain
- Sudan
- Sweden
- Switzerland
- Timor-Leste
- Tunisia
- Turkey
- Ukraine
- United Arab Emirates
- United Kingdom
- Vatican City State
- Yemen
Formats from the IBAN Registry (release 99, December 2024) that Swift publishes as the ISO 13616 registration authority, read from public mirrors of the registry. Check the current registry before relying on a format.