What is IBAN?
The IBAN (International Bank Account Number) is an international standard for uniquely identifying bank accounts. Created by the European Committee for Banking Standards and adopted by ISO 13616, IBAN facilitates international transfers by eliminating identification errors.
A valid IBAN contains between 15 and 34 alphanumeric characters, always starting with a two-letter country code (e.g., DE for Germany, ES for Spain), followed by two check digits and the local bank account number.
IBAN validation is crucial to avoid international transfer rejections, which can generate additional charges and delays of several days. Banks and payment platforms process millions of daily transactions that depend on correct IBAN validation.
How the validation algorithm works
IBAN uses the mod 97 algorithm defined in ISO 7064 standard. The technical process is:
- Remove spaces and convert to uppercase
- Move the first 4 characters (country code + check digits) to the end
- Replace each letter with its numeric value: A=10, B=11... Z=35
- Divide the resulting number by 97
- If remainder is 1, the IBAN is valid
For example, for DE89370400440532013000: rearrange as 370400440532013000DE89, convert to 370400440532013000131489, and the mod 97 calculation must give remainder 1.
This algorithm detects transposition and typing errors with 99.9% effectiveness. Additionally, each country has specific lengths validated by the standard.
When and why to validate an IBAN
IBAN validation is essential in multiple commercial and personal scenarios:
- SEPA international transfers: before sending money to Europe, validation avoids bank rejections and return fees (typically €10-30)
- Multinational payroll: companies with employees in different countries must verify each IBAN to guarantee correct payments
- E-commerce integration: platforms allowing direct debit payments require real-time validation
- Customer onboarding: fintech and digital banks validate IBANs during user registration to comply with KYC
Validating before processing significantly reduces operational costs. A European Payments Council study shows that transfers rejected due to invalid IBAN represent 12% of total banking errors.
Limitations and common mistakes
This validator checks the IBAN's mathematical structure, but has important limitations:
- Does not verify real existence: an IBAN can be mathematically valid but not correspond to an active account
- Does not check ownership: cannot confirm the IBAN belongs to a specific person or company
- Does not detect closed accounts: if an account was canceled, the format remains valid
- Format sensitive: some banking systems reject IBANs with spaces or hyphens, even if technically correct
Common mistakes: copying IBANs with extra characters (invisible spaces), confusing letter O with number 0, or using IBANs from countries that haven't adopted the standard (like the United States). For critical validations, combine this tool with direct bank verification via APIs like Plaid or TrueLayer.