calculate iban

IBAN Calculator

Use this free tool to calculate IBAN check digits from a country code + BBAN, and to validate a full IBAN using the official MOD-97 method.

1) Calculate an IBAN

Letters and numbers are allowed. Spaces and punctuation will be removed automatically.


2) Validate an Existing IBAN

What does “calculate IBAN” mean?

When people say “calculate IBAN,” they usually mean one of two things: generating the correct IBAN check digits for an account, or verifying that an IBAN already provided is valid. An International Bank Account Number (IBAN) is a standardized format used to identify bank accounts across many countries and to reduce payment errors in cross-border transfers.

An IBAN is not random. It follows strict rules, including country-specific length and a checksum mechanism based on MOD-97 arithmetic. That checksum is what this calculator computes and checks.

IBAN structure in plain English

A full IBAN is built from three major parts:

  • Country code: Two letters (for example, DE, ES, NL, GB).
  • Check digits: Two numbers generated from the rest of the IBAN using a standard formula.
  • BBAN: The domestic account structure used in that country (bank code, branch code, account number, etc.).

So a basic model looks like this:

CC DD BBAN...

Where CC is country code, DD is checksum digits, and the rest is BBAN.

How check digits are calculated

The IBAN checksum algorithm is globally standardized:

  1. Take country code + “00” + BBAN.
  2. Move the first four characters to the end.
  3. Convert letters to numbers (A=10, B=11, …, Z=35).
  4. Compute remainder when dividing by 97.
  5. Check digits = 98 - remainder (left-pad with zero if needed).

For validation, the same transformation is done on the full IBAN. If the final number modulo 97 equals 1, the IBAN passes checksum validation.

How to use the calculator above

To generate an IBAN

  • Enter a 2-letter country code.
  • Enter the BBAN exactly as issued by the bank.
  • Click Calculate IBAN.
  • The tool returns the computed check digits and formatted full IBAN.

To validate an IBAN

  • Paste the full IBAN (spaces are fine).
  • Click Validate IBAN.
  • The tool checks format, checksum, and known country length rules.

Important limitations to understand

Passing checksum validation is necessary, but it does not guarantee the account is open or able to receive funds. Think of checksum validation as “mathematically well-formed,” not “financially confirmed.”

  • It does not confirm account ownership.
  • It does not confirm account status (active/closed/frozen).
  • It does not replace bank-side beneficiary verification.

Common IBAN entry mistakes

  • Typing O (letter) instead of 0 (zero).
  • Missing or extra characters.
  • Using the wrong country code with a valid-looking BBAN.
  • Copy/paste issues with hidden characters.

A quick checksum validation catches many of these before a payment fails.

Best practices for safer transfers

  • Always validate IBAN format before sending money.
  • Cross-check beneficiary name and bank details from a trusted source.
  • Use test transfers for high-value or first-time recipients when possible.
  • Store trusted payees and avoid manually retyping account details.

Final takeaway

If you need to calculate IBAN check digits or validate an existing IBAN, the calculator on this page gives you a fast and reliable first check. It follows the official MOD-97 process and country-length rules where available, helping reduce avoidable payment errors and returned transfers.

🔗 Related Calculators