Use this tool to generate an IBAN from a country code + BBAN, or validate an existing IBAN instantly.
Generate IBAN
Validate IBAN
What is an IBAN?
IBAN stands for International Bank Account Number. It is a standardized format used to identify bank accounts across countries and reduce payment errors. If you need to send or receive international transfers, calculating and validating your IBAN correctly is essential.
The IBAN includes:
- A two-letter country code (for example, ES, DE, FR, IT).
- Two check digits used for mathematical validation.
- A BBAN (Basic Bank Account Number), which is country-specific.
How this “calcula iban” tool works
1) Generate mode
Enter the country code and BBAN. The calculator computes the two check digits using the official MOD 97-10 method and returns a complete IBAN.
2) Validate mode
Paste a full IBAN and the tool verifies:
- Basic structure and allowed characters.
- Known country length (when available).
- Checksum validity (MOD 97 result must equal 1).
Step-by-step: How IBAN check digits are calculated
The core checksum logic is universal:
- Take the BBAN and append the country code +
00. - Move letters to numbers (A=10, B=11, ..., Z=35).
- Compute the number modulo 97.
- Check digits =
98 - (mod result), left-padded to two digits.
This method catches most typos immediately, which is why banks rely on it for transfer validation.
Practical example
Suppose you have a Spanish BBAN and want to calculate the final IBAN. You only provide:
- Country code: ES
- BBAN: your local account format
The calculator returns something like ESxx..., where xx are the checksum digits computed from the algorithm above.
Common mistakes when calculating or using IBAN
- Typing the wrong country code.
- Including spaces, dashes, or symbols in the BBAN input.
- Using an IBAN length that does not match the country standard.
- Assuming a valid checksum guarantees the account exists (it does not).
Tips for safer bank transfers
Always validate before sending
Even if an IBAN “looks right,” run a checksum validation first.
Double-check beneficiary details
Validate the account holder name and bank information in addition to the IBAN format.
Keep a clean copy
Store IBANs in grouped format (every 4 characters) for readability, but process them without spaces in systems and APIs.
FAQ
Does this tool work for all countries?
It works with any country that follows the IBAN standard. Length checks are included for a broad set of countries.
Can a valid IBAN still fail a transfer?
Yes. Checksum validity confirms structure, not account status, sanctions screening, or beneficiary matching rules.
Is this suitable for production banking integrations?
It is great for front-end checks and education. For production systems, combine this with server-side validation and bank/API verification.