IBAN Calculator (Generate + Validate)
Use this tool to perform a quick calcul de IBAN: generate IBAN check digits from a country code + BBAN, or validate an existing IBAN with the official MOD 97 algorithm.
Tip: spaces and lowercase letters are accepted; they will be cleaned automatically.
What is an IBAN and why calculation matters?
The International Bank Account Number (IBAN) is a standardized account identifier used in many countries to reduce payment errors. When people search for calcul de iban, they usually want one of two things: generate correct check digits for a new account string, or confirm that an existing IBAN is structurally valid before sending money.
A single mistyped character can delay transfers, trigger banking fees, or create manual support work. That is why banks and payment tools rely on the MOD 97 mathematical control process: it catches most accidental errors and greatly improves payment reliability.
IBAN structure in simple terms
An IBAN generally contains:
- Country code (2 letters) — for example FR, DE, IT, ES.
- Check digits (2 numbers) — computed via the official algorithm.
- BBAN (country-specific bank/account sequence) — length and format vary by country.
Example format: FR76 2004 1010 0505 0001 3M02 606. The spaces are only for readability. Internally, systems process it as one continuous string.
How the “calcul de IBAN” works (MOD 97 method)
For generation (when you have country code + BBAN)
- Start with: BBAN + country code +
00. - Convert letters to numbers (A=10, B=11, ..., Z=35).
- Compute modulo 97 on that long numeric string.
- Check digits =
98 - (result), padded to 2 digits. - Final IBAN = country code + check digits + BBAN.
For validation (when you already have an IBAN)
- Move the first 4 characters to the end.
- Convert letters to numbers (same A=10 ... Z=35 rule).
- Compute modulo 97.
- If result equals 1, the IBAN is mathematically valid.
Important: “mathematically valid” does not guarantee the account is active or belongs to a specific person. It only confirms format and check-digit integrity.
Step-by-step usage of the calculator above
Generate a new IBAN check pair
Enter a 2-letter country code and the BBAN, then click Generate IBAN. The tool returns a formatted IBAN and also copies it into the validation field for immediate checking.
Validate an existing IBAN
Paste any IBAN (spaces allowed), then click Validate IBAN. You get a clear valid/invalid status, plus country/length hints where available.
Common mistakes to avoid
- Using a full IBAN in the BBAN field (double-check before generation).
- Typing an incorrect country code (for example UK instead of GB).
- Forgetting that each country has a fixed IBAN length.
- Assuming a valid IBAN always means a real or open account.
Country-specific length checks
This page includes automatic length validation for many IBAN countries. If a known country code is detected, the script compares your IBAN length to official expectations. This catches many entry errors early, especially in forms and onboarding flows.
Best practices for developers and operations teams
- Validate IBAN on both client side and server side.
- Store canonical IBAN without spaces; display grouped format to users.
- Log validation failures to detect UX friction in payment forms.
- Add clear error messages that identify whether issue is length, character set, or check digits.
Final note
A reliable calcul de iban flow improves conversion, reduces failed transfers, and helps teams process payments with fewer support tickets. Use the calculator above as a practical utility for educational checks and daily operations.