The IBAN should not contain spaces when transmitted electronically. However, when printed on paper, the IBAN is expressed in groups of four characters separated by a single space, the last group being of variable length.
IBAN imposes a flexible but regular format sufficient for account identification and contains validation information to avoid errors of transcription.
The standard IBAN now carries all the routing information needed to get a payment from one bank to another wherever it may be. IBAN contains check digiting which can be validated in any country according to a single standard procedure. The IBAN contains all the key bank account details such as Bank Identifier Codes, sort codes and checksums and where used has reduced trans-national money transfer errors to under 0.1% of total payments.
In this way, the validity of a routing destination can be validated by the sending bank (or its customer) from a single string of data which contains all the necessary routing data to get money into the destination account and routing errors in international (or cross-border) payments are therefore virtually eliminated.
Examples of IBANs in written format.
Canadian Credit Unions as a rule don't use SWIFT or IBAN for transferring money. Canadian banks (mainly because of historical trading ties to the European Union) generally do use IBAN on a limited basis.[citation needed] If you don't have a commercial banking account some extra effort is required in order to use the SWIFT transfer system in Canada. There is no formal governmental or private sector regulatory requirement in Canada for the major banks to use the SWIFT system or IBAN routing codes.
The checksum is a basic ISO 7064 mod 97-10 calculation where the remainder must equal 1.
The IBAN number can only be valid if the remainder is 1.
The ECBS Standard provided method of calculating the checksum yields a value in the range 02 to 98. The ranges 00 to 96, 01 to 97 and 03 to 99 would also pass the MOD 97-10 validation test but the standard is silent as to whether or not these ranges may be used. It does however issue the warning: "Generation of the IBAN shall be the exclusive responsibility of the bank/branch servicing the account".
It is often not practical to perform these calculations directly on a modern PC. However, by making use of the modular arithmetic identities
This algorithm is particularly useful if the large number whose modulus is to be found is expressed as an ASCII string from which the elements di can easily be extracted rather than as a binary number. In practice this algorithm can be performed using 16-bit integer arithmetic even though D itself might be 30 or more digits in length.
It is possible to publish personal or corporate IBAN bank account routing information for a bank account, as many businesses do for their transit accounts (where payments are routinely swept out and transferred to the proper internal corporate account).
Although many IBAN calculators exist, a valid IBAN can only be obtained from the account servicing financial institution. The underlying ISO demands that only the account servicing financial institution is entitled to issue an IBAN.
| Country |
Digits |
IBAN Format |
Comment |
| Albania |
28 |
ALkk BBBB BBBB CCCC CCCC CCCC CCCC |
B = bank code, C = account No. |
| Andorra |
24 |
ADkk BBBB SSSS CCCC CCCC CCCC |
B = bank code, S = sort code, C = account No. |
| Austria |
20 |
ATkk BBBB BCCC CCCC CCCC |
B = bank code, C = account No. |
| Belgium |
16 |
BEkk BBBC CCCC CCKK |
The last 12 digits represent: B = bank code (numeric), C = account No., K = check digits |
| Bosnia and Herzegovina |
20 |
BAkk BBBS SSCC CCCC CoKK |
B = bank code, S = sort code, C = account No., K = check digits |
| Bulgaria |
22 |
BGkk BBBB SSSS DDCC CCCC CC |
B = alphanumeric bank code (first four letters of SWIFT BIC), S = Branch (BAE) number, D = numeric account type, C = alphanumeric account No. Introduced on June 5, 2006. |
| Channel Islands |
|
|
Bailiwicks of Guernsey and Jersey (Use either France or UK codes, dependant upon format chosen by bank) |
| Croatia |
21 |
HRkk BBBB BBBC CCCC CCCC C |
B = bank code, C = account No. |
| Cyprus |
28 |
CYkk BBBS SSSS CCCC CCCC CCCC CCCC |
B = bank code, S = sort code, C = account No. |
| Czech Republic |
24 |
CZkk BBBB SSSS SSCC CCCC CCCC |
B = bank code, S = sort code, C = account No. |
| Denmark |
18 |
DKkk BBBB CCCC CCCC CC |
B = bank No., C = account No. (Separate application in Faroe Islands and Greenland, see separate entries) |
| Estonia |
20 |
EEkk BBSS CCCC CCCC CCCK |
B = bank code, S = sort code, C = account No., K = check digit |
| Faroe Islands |
18 |
FOkk CCCC CCCC CCCC CC |
Same as Denmark, except for the country code. |
| Finland |
18 |
FIkk BBBB BBCC CCCC CK |
B = bank code, branch number and account type, C = account No., K = check digit of the Finnish account numbering scheme. |
| France |
27 |
FRkk BBBB BGGG GGCC CCCC CCCC CKK |
B = bank code, G = code guichet (branch), C = account No., K = clé RIB (key). |
| Germany |
22 |
DEkk BBBB BBBB CCCC CCCC CC |
B = sort code (Bankleitzahl/BLZ), C = account No. |
| Gibraltar |
23 |
GIkk BBBB CCCC CCCC CCCC CCC |
B = first part of BIC, C = account No. |
| Greece |
27 |
GRkk BBB BBBB CCCC CCCC CCCC CCCC |
K = check digits of the Greek account numbering scheme, B = bank code and branch number, C = account No. |
| Greenland |
18 |
GLkk BBBB CCCC CCCC CC |
Same as Denmark, except for the country code. |
| Hungary |
28 |
HUkk BBBB BBBC CCCC CCCC CCCC CCCC |
B = bank code, C = account No. |
| Iceland |
26 |
ISkk BBBB SSCC CCCC XXXX XXXX XX |
B = bank code, S = sort code, C = account No., X = holder's national identification number. |
| Ireland |
22 |
IEkk AAAA BBBB BBCC CCCC CC |
The first 4 alphanumeric characters are the start of the SWIFT code. Then a 6 digit long sort code and an 8 digit account code follow, both numeric. |
| Isle of Man |
|
|
(Uses United Kingdom code) |
| Israel |
23 |
ILkk BBBN NNCC CCCC CCCC CCC |
B = bank No. 3 digits, N = branch No. 3 digits, C = account No. 13 digits (typically 6 zeroes followed by a 7 digit No.). It should be noted that some Israeli banks have recently changed client's account numbers from 6 to 7 digits. |
| Italy |
27 |
ITkk KAAA AABB BBBC CCCC CCCC CCC[1] |
K = check char ("CIN"[2], 1 alpha), A = ABI[3] bank code ("codice ABI", 5 digits), B = branch number ("CAB"[4], 5 digits), C = account ID (12 alphanumeric). |
| Latvia |
21 |
LVkk BBBB CCCC CCCC CCCC C |
The first four digits are the same as the first four digits of the SWIFT code of the bank, and the 13 digits after that are the number of the individual account (and can include both letters and numbers). |
| Liechtenstein |
21 |
LIkk BBBB BCCC CCCC CCCC C |
Same as Switzerland except for the country code. |
| Lithuania |
20 |
LTkk BBBB BCCC CCCC CCCC |
B = bank code, C = account No. |
| Luxembourg |
20 |
LUkk BBBC CCCC CCCC CCCC |
B = bank code, C = account No. |
| Macedonia |
19 |
MKkk BBBC CCCC CCCC CKK |
B = bank code, C = account No., K = check digits |
| Malta |
31 |
MTkk BBBB SSSS SCCC CCCC CCCC CCCC CCC |
B = first part of BIC, S = sort code, C = account No. |
| Mauritius |
30 |
MUkk BBBB BBSS CCCC CCCC CCCC CCCC CC |
B = bank identifier, S = branch identifier, C = account number |
| Monaco |
27 |
MCkk BBBB BGGG GGCC CCCC CCCC CKK |
Same as France except for the country code. |
| Montenegro |
22 |
MEkk BBBC CCCC CCCC CCCC KK |
kk = IBAN digit, B = Bank Code, C = Account number, KK = Check Digit. |
| Netherlands (sometimes referred to as Holland) |
18 |
NLkk BBBB CCCC CCCC CC |
kk = IBAN digit, B = Bank Code, C = Account number (Not applicable to Netherlands Antilles or Aruba) |
| Northern Ireland |
|
|
(uses either UK or Republic of Ireland code, dependant upon format chosen by bank) |
| Norway |
15 |
NOkk BBBB CCCC CCK |
B = bank code, C = account No., K = modulo-11 check digit |
| Poland |
28 |
PLkk BBBB BBBk CCCC CCCC CCCC CCCC |
B = bank code (1-3 institution ID, 4-7 branch), C = account No., kk = check digits. There are no letters in the code. The single "k" after bank code is the now redundant check digit of the former system, preserved in IBAN. |
| Portugal |
25 |
PTkk BBBB BBBB CCCC CCCC CCCK K |
B = bank code (1-4 bank code, 5-8 branch code), C = account number, K = BBAN check digits.
Banks that don't identify specific branches use '0000' for digits 5-8.
The Portuguese BBAN (or NIB - Número de Identificação Bancária) uses the same validation checksum as the IBAN (ISO 7064 mod 97-10 calculation) resulting in the IBAN checksum always being "50". |
| Romania |
24 |
ROkk BBBB CCCC CCCC CCCC CCCC |
The first 4 alphanumeric characters represent the bank; according to a rule established by the Romanian National Bank, the BBBB code must be the same with the first 4 characters of the bank's identifier code. The last 16 represent the specific bank branch and an account, combined any way the bank decides (typically the first 4 among the 16 identify the branch). Some banks include the ISO 4217 currency identifier somewhere in the account name. |
| San Marino |
27 |
SMkk KAAA AABB BBBC CCCC CCCC CCC |
Same as Italy except for the country code. |
| Saudi Arabia |
24 |
SAkk BBCC CCCC CCCC CCCC CCCC |
B = bank code, C = account No. 2a [country code] 2n [check digits] 2n [bank identifier] followed by 18c [the basic account number preceded by zeros, if required]. The issuing start date of the Saudi Arabia IBAN was July 1, 2008 [1]. |
| Serbia |
22 |
RSkk BBBC CCCC CCCC CCCC KK |
B = bank code, C = account No., K = account check digits[5] |
| Slovakia |
24 |
SKkk BBBB SSSS SSCC CCCC CCCC |
B = bank code, S = sort code, C = account No. |
| Slovenia |
19 |
SIkk BBBB BCCC CCCC CKK |
The first 2 BB digits represent a bank, the next 3 - the branch. The last 2 digits (KK) are the check digits. IBAN check digits (kk) for Slovenia are 5 and 6. |
| Spain |
24 |
ESkk BBBB GGGG KKCC CCCC CCCC |
B = bank code, G=Branch/office number, K=Check digits, C = account No. |
| Sweden |
24 |
SEkk BBBB CCCC CCCC CCCC CCCC |
The Bs represent the bank code and the Cs the account number. |
| Switzerland |
21 |
CHkk BBBB BCCC CCCC CCCC C |
B = bank code, C = account No. |
| Turkey |
26 |
TRkk BBBB BRCC CCCC CCCC CCCC CC |
The total number of alphanumeric characters including the country code and the check digits is 26. The first 5 digits represent a bank. The next alphanumeric character, reserved for future use, is set to zero. The following 16 alphanumeric characters represent the specific bank branch and an account. The issuing start date of the Turkish IBAN was: September 1, 2005 [2]. |
| Tunisia |
24 |
TNkk BBBB BCCC CCCC CCCC CCCC |
B = bank code, C = account No. |
| United Kingdom |
22 |
GBkk BBBB SSSS SSCC CCCC CC |
B = alphabetical bank code, S = sort code (often a specific branch), C = account No. Applies to whole of Great Britain, not applicable to any British Overseas Territories. Alternative applications in Northern Ireland, Channel Islands, Isle of Man, Gibraltar - see separate entries |