Your IBAN contains your account number, but you have to extract it yourself
An IBAN (International Bank Account Number) is a standardized format that banks use to identify accounts across countries. It includes your account number, but it also includes your bank's code and your country code, all mixed together. You cannot straightforward hand your IBAN to someone and ask them to pull out the account number — you have to know where in the IBAN string your account number sits, because the position changes depending on which country issued it.
The fastest way is to call your bank's customer service line or log into your online banking portal and ask them directly: "What is my account number?" They will give it to you in seconds. If you want to extract it yourself from the IBAN, you need to know your country's IBAN structure, find the right section of digits, and verify it matches what your bank confirms.
Key Takeaways
- Your bank can tell you your account number in one phone call or through your online banking portal — this is the fastest and most reliable method.
- IBANs are structured differently by country, so the position of your account number within the IBAN is not the same everywhere.
- If you extract the account number yourself, always confirm it with your bank before using it for payments or transfers.
- Your account number is usually (but not always) the longest string of digits in your IBAN, often 10 to 17 digits depending on your country.
Why your bank is the fastest source
Your bank already has your account number in their system and can confirm it in seconds. Call the customer service number on the back of your debit card, or log into your online banking account — most banks display your account number on the account summary page, sometimes labeled as "Account Number" or "Account ID."
This method eliminates the risk of extracting the wrong digits from your IBAN. It also works even if you are unsure which country's IBAN format you are looking at, or if your bank uses a non-standard structure.
How IBAN structure works by country
Every IBAN starts the same way: two letters for your country code (like GB for the United Kingdom, DE for Germany, or FR for France), followed by two digits for a check code. After that, the structure changes.
The remaining digits are split between your bank's code and your account number. In the UK, for example, an IBAN has 22 characters total: the country code and check digits, then a 4-digit bank code, then a 6-digit sort code, then your 8-digit account number. In Germany, the account number sits in a different position and is a different length. France uses yet another arrangement.
Because these positions vary, you cannot assume your account number is always the last 8 digits or always starts at position 15. You have to know your specific country's layout.
How to find your country's IBAN structure
Search online for "[your country] IBAN structure" or "[your country] IBAN format." You will find a breakdown showing which positions hold the country code, check digits, bank code, and account number.
For example, if you search "UK IBAN structure," you will see that positions 5 to 8 are the bank code, positions 9 to 14 are the sort code, and positions 15 to 22 are the account number. Once you know this, you can count the characters in your IBAN and extract the right section.
Write out your IBAN with a space between each character or use a ruler to count carefully. Misplacing by even one digit will give you the wrong account number.
Extracting your account number step by step
First, locate your IBAN. You can find it on bank statements, in your online banking portal, or on correspondence from your bank. Write it down or copy it exactly as it appears — IBANs are case-insensitive, but every character matters.
Next, look up your country's IBAN structure and identify which positions (character numbers) contain the account number. Count carefully from the left, starting with position 1 at the first letter of your country code. Extract only the digits that fall within the account number positions.
For example, if your IBAN is GB82 WEST 1234 5678 9012 34 and your country's structure says the account number is positions 15 to 22, you would extract 90123456. Write this down and double-check that you counted correctly.
Verifying your extracted account number
Before you use an account number you extracted yourself, call your bank or check your online portal to confirm it matches. Read the number you extracted aloud to the customer service representative, or compare it to the account number shown in your banking app.
If the numbers do not match, you may have miscounted or your bank may use a non-standard format. In that case, use the account number your bank provides instead of the one you extracted.
When you might need your account number instead of your IBAN
Most modern transfers within Europe or internationally use the IBAN, so you may never need to extract your account number. However, some older banking systems, certain wire transfer services, or domestic transfers within your country might ask for the account number separately.
Some banks also ask for both the account number and the sort code (or bank code) together, rather than the full IBAN. In those cases, you would extract both pieces from your IBAN using the same country-specific structure method.
Frequently Asked Questions
Can I use my IBAN instead of my account number?
Yes, in most cases. The IBAN is designed to replace the need for separate account and sort codes in international transfers. If someone asks for your account number, you can usually give them your IBAN instead, and they will be able to process the payment. Always ask first if you are unsure.
Is my account number the same as my IBAN?
No. Your account number is part of your IBAN, but your IBAN also includes your country code, check digits, and bank code. The IBAN is longer and includes more information than the account number alone.
What if I cannot find my IBAN?
Check your bank statements, your online banking portal, or contact your bank directly. Most banks can provide your IBAN within minutes. You can also find it by searching your bank's website for "IBAN" or "international account number."
Do I need my account number for direct deposits or standing orders?
It depends on your bank and your country. Many banks now use the IBAN for all transfers, including direct deposits and standing orders. Some older systems still ask for the account number and sort code separately. Check with your bank about what they need for the specific transaction you are setting up.
What if my bank says my account number is different from what I extracted?
Trust your bank's version. Your bank's records are the official source. You may have miscounted the positions in your IBAN, or your bank may use a format that does not follow the standard structure for your country. Use the account number your bank provides.