Skip to content

What every part of an IBAN actually means

6 min read June 16, 2026
ibanbankingpaymentsinternational transfer

Every IBAN breaks into three pieces: a country code, a two-digit checksum and your domestic account details. Once you can spot them, the whole number is readable.

What every part of an IBAN actually means — Hivly

Someone sends you an IBAN, or you find one on an invoice, and it reads like a barcode rendered as text: GB29 NWBK 6016 1331 9268 19. It is not random. Every character sits in a fixed slot with a defined job, and once you know the three parts an IBAN is built from, you can read any of them at a glance.

TL;DR: An IBAN is your normal domestic account number with two things bolted on the front: a two-letter country code and a two-digit checksum. Everything after those four characters is your home account in your country’s own format. Different countries look different because that home format differs, not because the IBAN is encrypted.

The first two letters are the country

Every IBAN starts with a two-letter country code, in plain ISO form. DE is Germany, GB is the United Kingdom, FR is France, NL is the Netherlands, ES is Spain. This is the part you can always read without knowing anything else, and it is the first thing any validation does, because it decides everything that follows: how long the number should be, and how the rest of it is laid out.

So the country code is not decoration. It is the key that tells a bank’s system which rulebook to apply to the remaining characters. An IBAN that claims to be DE but is not 22 characters long is broken before you even look at the digits.

The next two digits are a built-in checksum

Right after the country code come two digits. These are the check digits, and they are the cleverest part of the whole format. They are not part of your account number. They are a checksum calculated over everything else in the IBAN, using a method called mod-97.

Their entire purpose is to catch typos. Because the two check digits are computed from all the other characters, changing any single character, or swapping two of them around, almost always makes the checksum no longer match. That is why a mistyped IBAN usually gets rejected the moment it is entered, instead of quietly sending money into the void. If you want to see this in action, paste any IBAN into the IBAN validator at finance.hivly.net and change one character; the check fails instantly.

Everything after that is your normal account

The rest of the IBAN, from the fifth character to the end, is called the BBAN, the Basic Bank Account Number. This is the part that existed before IBANs were invented. It is your domestic account number, in exactly the format your own country has always used, just written without spaces.

What the BBAN contains depends entirely on the country:

  • A German BBAN is an eight-digit bank code (the Bankleitzahl) followed by a ten-digit account number.
  • A UK BBAN is a four-letter bank code, a six-digit sort code, and an eight-digit account number.
  • A French BBAN packs in a bank code, a branch code, the account number, and its own national check digits.

This is why IBANs from different countries are different lengths and mix letters with numbers in different places. The IBAN standard did not replace any of these national formats. It wrapped each of them, unchanged, so they could travel across borders under one consistent shape.

Reading a real one end to end

Take GB29 NWBK 6016 1331 9268 19 and walk through it. GB is the country, the United Kingdom. 29 are the check digits. NWBK is the bank code, here standing in for the bank. 601613 is the sort code, the branch. 31926819 is the eight-digit account number. The spaces every four characters are purely for human eyes; they are stripped before any machine reads it.

Do the same with a German example, DE89 3704 0044 0532 0130 00. DE is the country, 89 the check digits, 37040044 the bank code, and 0532013000 the account number. Same three-part logic, different national format inside the BBAN. Once you have seen two countries laid out like this, every other IBAN reads the same way.

What the IBAN deliberately leaves out

It helps to know what is not in there. An IBAN does not contain your name, the bank’s name in words, or any guarantee that the account is open. It is a structural identifier and a typo-catcher, nothing more. A number can pass every format and checksum test and still point at a closed account, or at a real account belonging to someone else if you mistyped your way into another valid number.

That last point is the one worth keeping. The check digits prove the number is internally consistent; they cannot prove it is the number you meant. So read an IBAN for what it is: a country, a checksum, and your familiar account number, joined into one portable line. Knowing which characters are which turns a wall of letters into something you can actually check before you trust it.

Try the finance calculatorsMortgage, loan, retirement, savings, tax and interest math, plus IBAN tools, worked out instantly.

Frequently asked questions

How long is an IBAN?
It depends on the country. An IBAN can be up to 34 characters, but each country fixes its own exact length. A German IBAN is always 22 characters, a UK one is 22, a French one is 27, a Dutch one is 18. The length is part of what makes a given IBAN valid, so a number that is the wrong length for its country code is wrong.
What is the BBAN inside an IBAN?
The BBAN, or Basic Bank Account Number, is the part after the country code and check digits. It is your domestic account number plus whatever bank and branch codes your country uses, in your country's own format. The IBAN simply wraps that existing number with two extra pieces so it works across borders.
Why do IBANs from different countries look so different?
Because the BBAN follows each country's own banking format. A UK BBAN carries a four-letter bank code and a six-digit sort code; a German one carries an eight-digit bank code. The country code and the two check digits are the only parts every IBAN shares.
Does the IBAN contain my name?
No. An IBAN encodes only the country, a checksum and the account's numeric identity. Your name travels separately on the payment instruction. That is why a transfer can still go to the wrong-but-real account if the IBAN is mistyped into another valid one.

Keep reading

Building something bigger?

Hivly is made by CodingEagles, a software studio that ships production web apps. If you have a real project, get in touch.

See what CodingEagles does →