Your account number is embedded in your IBAN, but the position and length depend on your country

An IBAN (International Bank Account Number) contains your bank account number, but it is not simply your account number with extra digits tacked on. The IBAN wraps your account number inside a country code, a check digit, and a bank code, all in a specific order that varies by country. To pull out just your account number, you need to know which positions in your IBAN hold it — and that position is different in Germany than it is in France or the UK.

The fastest way to find your account number is to ask your bank directly. Call the number on your debit card or log into your online banking portal and look for "account number" in your account details. But if you only have your IBAN and need to extract the account number yourself, the method depends on which country issued the IBAN.

Key Takeaways

  • Your account number is always somewhere inside your IBAN, but its position and length change based on your country's banking standard.
  • The first two letters of your IBAN tell you the country, and that country determines where to look for the account number.
  • Most banks will tell you your account number if you call or log into online banking, which is faster and more reliable than extracting it yourself.
  • The IBAN structure is: country code (2 letters) + check digit (2 numbers) + bank code + account number, but the bank code and account number lengths vary widely.
  • If you extract the account number yourself, write it down carefully — a single digit wrong will cause transfers to fail.

How IBAN structure works and where your account number sits

Every IBAN starts the same way: two letters for the country code, followed by two check digits. After that, the structure splits. The remaining digits are divided between a bank code (also called a bank sort code or routing code) and your account number, but the split point is different for each country.

For example, a UK IBAN looks like this: GB82 WEST 1234 5698 7654 32. The first four characters (GB82) are the country code and check digits. The next four characters (WEST) are the bank code. The last 14 characters are your account number. But a German IBAN like DE89 3704 0044 0532 0130 00 splits differently: the bank code is 8 digits (37040044) and the account number is 10 digits (0532013000).

The safest approach is to look up your country's IBAN standard before you try to extract anything. The IBAN Registry, maintained by SWIFT (the international banking standards body), lists the exact structure for every country. Once you know the structure, you can count from the left to find where your account number begins and ends.

How to find your account number if you know your country's IBAN format

Start by identifying your country from the first two letters of your IBAN. Then find your country in the IBAN Registry or in a reference table (many banks publish these on their websites). The registry will tell you the total IBAN length and how many digits belong to the bank code versus the account number.

Once you have that information, count the digits from left to right. Skip the first 4 characters (country code and check digits), then skip the bank code digits, and what remains is your account number. For example, if your country's standard says the bank code is 8 digits and your IBAN is 34 characters long, your account number is the last 10 characters.

Write the account number down exactly as it appears, including any leading zeros. A single digit wrong will cause a transfer to fail or bounce back. If you are unsure about the count, ask your bank to confirm the account number you extracted — they can verify it in seconds.

Common IBAN structures for major countries

CountryIBAN Format ExampleBank Code LengthAccount Number LengthTotal IBAN Length
United KingdomGB82 WEST 1234 5698 7654 324 characters14 digits22 characters
GermanyDE89 3704 0044 0532 0130 008 digits10 digits22 characters
FranceFR14 2004 1010 0505 0001 3M02 6065 digits11 digits27 characters
SpainES91 2100 0418 4502 0005 13324 digits8 digits24 characters
ItalyIT60 X054 2811 1010 0000 0123 4565 digits12 digits27 characters
NetherlandsNL91 ABNA 0417 1643 004 characters10 digits18 characters

This table shows the most common European formats. If your country is not listed, search for "[Your Country] IBAN structure" or check your bank's website — most banks publish this information in their FAQs or account documentation.

The table makes it clear why extraction requires knowing your country first. A 22-character IBAN from the UK holds a different account number length than a 22-character IBAN from Germany, even though they are the same total length. This is why guessing or using a generic formula will not work.

Why asking your bank is faster and more reliable

Extracting your account number from an IBAN yourself works, but it requires you to know your country's exact format and to count carefully. A single mistake — misreading a digit or miscounting the position — means you have written down the wrong account number.

Your bank can tell you your account number in under a minute. Call the customer service number on the back of your debit card, log into your online banking portal, or visit a branch in person. Most online banking systems display your account number in the account details or settings section. This is the fastest and most reliable route, especially if you need the account number for a time-sensitive transfer or payment.

What to do if you have only the IBAN and cannot reach your bank

If you need your account number and cannot contact your bank immediately, the IBAN Registry is your reference. Go to the SWIFT IBAN Registry (iban.com or the official SWIFT site) and search for your country. The registry shows the exact position and length of the account number for every country that uses IBANs.

Once you have the format, open a text editor or spreadsheet and paste your IBAN. Count the characters carefully: skip the first 4 (country code and check digits), then skip the bank code digits as specified for your country. Highlight or copy the remaining digits — that is your account number. Double-check by counting a second time before you use it for any transaction.

If you are extracting the account number for a wire transfer or other payment, tell the recipient that you extracted it yourself and ask them to confirm it is correct before they process the transfer. Many banks will reject a transfer if the account number does not match their records, so verification is worth the extra step.

Frequently Asked Questions

Is my account number the same as my IBAN?

No. Your account number is part of your IBAN, but the IBAN also includes your country code, a check digit, and your bank code. The IBAN is longer and is designed for international transfers. Your account number alone is used for domestic transfers within your country.

Can I use just the account number for an international transfer?

No. International transfers require the full IBAN (or sometimes the SWIFT code plus account number, depending on the country). Using only the account number will cause the transfer to fail or be rejected by the receiving bank.

What if I extract the account number and it does not match what my bank shows?

Stop and contact your bank. A mismatch usually means you miscounted the digits or your country's IBAN format is different from what you looked up. Do not use the account number until your bank confirms it is correct.

Do all countries use IBANs?

No. Most European countries and many others use IBANs, but the United States, Canada, and some Asian countries do not. If your bank is in a country that does not use IBANs, you will use a routing number and account number instead.

Can I extract the bank code from my IBAN the same way?

Yes. The bank code sits between the check digits and the account number. Once you know your country's format, count the digits after the first 4 characters and before the account number begins — that is your bank code. Your bank can also confirm this if you ask.