Generate test IBANs with country code QA (Qatar). Each IBAN has 29 characters, including a 25-character BBAN. Your browser calculates the check digits.

1 to 100

How an IBAN is built

An IBAN has at most 34 characters. Each country sets its own length, from 15 in Norway to 33 in Russia.

The BBAN for QA (Qatar) has 25 characters and contains, in order: 4 letters + 21 letters or digits. The full IBAN has 29 characters.

Illustrative example

This illustrative BBAN may not meet national account rules. Do not use the example for payments.

QA

Country code

Two letters: the ISO 3166 code of the country where the account is held.

91

Check digits

Two digits calculated from the rest of the IBAN. They catch typing mistakes.

AAAA 0000 0000 0000 0000 0000 0

BBAN

The national account number. It usually holds the bank code and the account number, and each country decides which positions are digits or letters.

How the check digits are calculated

Write the BBAN, then the country code, then 00. Replace every letter with a number: A is 10, B is 11 and so on up to Z, which is 35. Divide that number by 97. The check digits are 98 minus the remainder.

Example: QA with BBAN AAAA000000000000000000000 gives 10101010000000000000000000000261000. That number mod 97 = 7 and 98 − 7 = 91, so the IBAN is QA91 AAAA 0000 0000 0000 0000 0000 0.

For testing only! A generated IBAN can match a real account.