Home ↓
CalculatorsVerified

Tech & Digital

IBAN Validator (Checksum and Length Check)

The International Bank Account Number, or IBAN, is the standard format for identifying bank accounts across borders, defined by the international standard ISO 13616. It is used throughout Europe and in many countries of the Middle East, North Africa and elsewhere for domestic and international transfers. An IBAN starts with a two-letter country code, followed by two check digits and then the basic bank account number, which includes the bank and branch identifiers and the account number in a format that depends on the country. Each country has a fixed IBAN length: 22 characters for Germany and the United Kingdom, 27 for France and Italy, 24 for Saudi Arabia, Spain and Tunisia, and 28 for Morocco, for example. The two check digits protect the whole number. To verify them, the first four characters are moved to the end, each letter is replaced by a two-digit number, with A as 10 and Z as 35, and the resulting long number is divided by 97; the IBAN is valid only if the remainder is 1. This method detects all single-character errors and nearly all transpositions. This calculator removes spaces, checks the country's expected length where it is known, performs the mod-97 calculation and shows the country code, the check digits and the IBAN formatted in groups of four. The example GB82 WEST 1234 5698 7654 32 is valid, while changing its last digit makes the checksum fail. The calculation runs entirely in your browser and the number is not transmitted. A valid IBAN shows only that the number is correctly formed; it does not confirm that the account exists or who owns it, so always confirm payment details through a trusted channel, especially if they arrived by email.

How to use this calculator

  1. Type or paste the IBAN; spaces are ignored.
  2. Read whether the length matches the country.
  3. Read whether the checksum is valid.
  4. Check the formatted version against your source.
  5. Confirm the account holder through a trusted channel before sending money.

Avoiding payment fraud

Criminals often send invoices or emails with altered bank details, a scheme known as payment diversion or business email compromise. Because a fraudster's IBAN can be perfectly valid, a checksum test cannot detect this. Always confirm new or changed bank details by calling the recipient on a known number, not one given in the message.

Many banks now offer confirmation-of-payee or account-name checking services, which compare the account holder's name with the name you enter before a transfer is made. Use them where available.

IBAN, BIC and local numbers

The BIC, or SWIFT code, identifies the bank itself and is sometimes requested alongside the IBAN for international payments. Within the Single Euro Payments Area, the IBAN alone is usually sufficient.

Some countries, such as the United States, Canada and Australia, do not use IBANs for domestic accounts and rely on routing numbers and account numbers instead. Payments to those countries require the local details and a SWIFT code.

Formula & method

Move the first four characters to the endReplace letters with numbers (A = 10, B = 11 … Z = 35)The IBAN is valid if the resulting number modulo 97 equals 1Each country has a fixed IBAN length, e.g. 22 for Germany and the UK, 27 for France

Rearrange: move the first 4 characters to the end. Convert letters: A = 10 … Z = 35. Valid if the resulting integer mod 97 = 1. Country lengths follow the IBAN registry, e.g. DE 22, FR 27, GB 22, SA 24, MA 28.

Worked example

Checking GB82 WEST 1234 5698 7654 32

  1. Length 22 matches GB.
  2. Rearranged: WEST12345698765432GB82 → 3214282912345698765432161182.
  3. 3214282912345698765432161182 mod 97 = 1, so the IBAN is valid.

Answer: The IBAN passes the length and checksum tests.

Frequently asked questions

How do I check if an IBAN is valid?

Verify its length for the country and that the mod-97 checksum equals 1.

Does a valid IBAN mean the account exists?

No. It only means the number is correctly formed.

Is my IBAN sent anywhere?

No. The check runs in your browser.

How long is an IBAN?

It depends on the country, from 15 characters in Norway to over 30 in some countries.

What are the check digits?

The two digits after the country code, which make the mod-97 check work.

Do US bank accounts have IBANs?

No. US accounts use routing and account numbers.