calculator iban

IBAN Generator & Validator

Use this calculator to generate valid IBAN check digits from a country code + BBAN, or validate an existing IBAN using the official MOD-97 method.

Generate IBAN

Only letters and numbers are used. Spaces are ignored.

Validate IBAN

Paste full IBAN with or without spaces.

What Is an IBAN?

IBAN stands for International Bank Account Number. It is a globally recognized format used to identify bank accounts across borders. Instead of relying on local account formats, an IBAN creates one standardized structure that makes international payments faster, safer, and less error-prone.

A typical IBAN includes:

  • A 2-letter country code (for example, DE, FR, GB)
  • 2 check digits (calculated mathematically)
  • A BBAN (Basic Bank Account Number), which contains bank and account details specific to that country

Why Use an IBAN Calculator?

Manually creating or verifying IBAN values is easy to get wrong. A single mistyped digit can cause failed transfers, payment delays, or bank rejection fees. An IBAN calculator helps by automating the two most important tasks:

  • Generation: Build a complete IBAN using country code + BBAN and accurate check digits.
  • Validation: Confirm whether an IBAN passes structural and MOD-97 checksum rules.

This is useful for finance teams, developers integrating payment forms, freelancers invoicing international clients, and anyone sending cross-border transfers.

How the IBAN Check-Digit Algorithm Works

1) Normalize the Input

Remove spaces and punctuation, and convert all letters to uppercase. The calculator in this page does this automatically.

2) Rearrange the String

For validation, move the first four IBAN characters to the end of the string. For generation, start with country + "00", then perform the same rearrangement logic while computing check digits.

3) Convert Letters to Numbers

Replace letters using A=10, B=11, ..., Z=35. Example: DE becomes 1314.

4) Compute MOD-97

The numeric representation must satisfy a modulus rule:

  • For a valid IBAN: remainder = 1
  • For generating digits: checkDigits = 98 - remainder

This checksum system catches many common data-entry errors, including transposed digits and accidental substitutions.

Practical Example

Suppose you have country code DE and a BBAN of 370400440532013000. The calculator computes check digits and returns:

  • DE89 3704 0044 0532 0130 00

You can then run this value through the validator to confirm it passes MOD-97 and length checks.

Common IBAN Mistakes to Avoid

  • Using the wrong country code for the account country.
  • Forgetting that each country has a fixed total IBAN length.
  • Entering local account numbers without required bank/branch components in BBAN.
  • Copying IBANs from emails with hidden characters or formatting artifacts.
  • Assuming a valid checksum guarantees the account exists (it does not).

Country Length Matters

Every country has its own IBAN length rule. Example: Germany (DE) has 22 characters, while France (FR) has 27. This calculator shows expected length for supported countries and warns when total length does not match.

Developer and Operations Notes

Input Sanitization

Always strip spaces and non-alphanumeric symbols before validating. Accept user-friendly input, but normalize before processing.

Server-Side Verification

Client-side validation improves UX, but critical payment systems should re-run IBAN checks on the server before submission.

IBAN vs SWIFT/BIC

IBAN identifies the destination account. SWIFT/BIC identifies the destination bank network endpoint. Many international transfers need both.

FAQ

Does a valid IBAN mean the account is open and active?

No. It only means the format and checksum are valid.

Can I generate any country IBAN with any BBAN?

No. BBAN structure is country-specific and often includes strict bank/account subfields. This calculator computes check digits, but BBAN content still needs to follow local banking rules.

Is IBAN required for domestic transfers?

In many countries, yes—especially inside SEPA workflows. Rules vary by bank and payment type.

Final Thoughts

A reliable IBAN calculator is a small tool with a big impact: fewer failed payments, cleaner finance workflows, and faster operations. Use the generator when building account records, then validate before every payment run for an extra layer of confidence.

🔗 Related Calculators