Table of Contents
- IBAN vs routing number vs SWIFT code at a glance
- Think of it as an address, from country down to account
- The account number: the only code that is about you
- SWIFT code or BIC: which bank, not which account
- Routing codes: each country's domestic version
- Which codes does a transfer form actually need?
- What none of these codes checks: the name
- The limits of this article
- Frequently asked questions
IBAN vs routing number vs SWIFT code comes down to what each one points at. An IBAN identifies one specific bank account in a standard international format. A SWIFT code, also called a BIC, identifies a bank, not an account. A US routing number identifies a US financial institution for domestic payments such as ACH transfers and wires. Your account number identifies your account inside your bank. Transfer forms ask for a combination because each code answers a different question.
Most pages ranking for this comparison are written by payment and transfer companies, and they tend to stop at definitions. This one adds two things readers filling in a form actually need: a simple way to see which part of the "address" each code covers, including the domestic codes used outside the US, and the one check that none of these numbers performs. It is general information; your bank's own transfer instructions are the authority for any payment you make.
IBAN vs routing number vs SWIFT code at a glance
| Code | What it identifies | Where it is mainly used | What it looks like |
|---|---|---|---|
| Account number | Your specific account, inside your bank | Everywhere, alongside other codes | Digits; length set by the bank or country |
| SWIFT code / BIC | A bank | International transfers | Letters and digits, 8 or 11 characters |
| IBAN | A specific account, in an international format | Most commonly Europe, also elsewhere | Starts with a country code; up to 34 characters |
| US routing number | A US financial institution | US domestic payments: ACH, wires, checks | 9 digits |
The figures in that table come from official and bank sources we read on September 24, 2026. The European Central Bank's instructions for staff bank details describe the BIC as "an alphanumeric code of either 8 or 11 digits" and say every IBAN contains "at least a country code, two check digits and the domestic account number." HSBC UK's IBAN and BIC page says the structure of an IBAN is consistent but its length, which can be up to 34 characters, depends on the country that issued it. The Federal Reserve's data dictionary defines the ABA number as "a 9-digit routing number or routing transfer number used by banks to identify specific financial institutions, often used for wires and Automated Clearing House (ACH) transactions."
Think of it as an address, from country down to account
The clearest way to stop mixing these codes up is to picture a payment's destination as a postal address with four lines: country, bank, branch, and account. Each code fills in some of those lines, and no code fills in the name of the person.
- The SWIFT code or BIC covers country and bank. It gets the money to the right institution in the right country. It says nothing about which account.
- The IBAN covers country, bank and account in one string. It wraps the domestic bank and account details into an internationally recognized format, with check digits that help catch typing errors.
- A domestic routing code, such as a US routing number, covers the bank (and in some countries the branch) for payments inside that country.
- The account number covers only the last line: which account at that bank.
Seen this way, the typical form combinations make sense. An international transfer to a country that uses IBANs often asks for the IBAN plus the bank's BIC: the IBAN already names the account, and the BIC confirms the bank. A transfer into a country without IBANs typically asks for the bank's SWIFT code plus the local account details, because nothing else identifies the account. A domestic US payment asks for a routing number and an account number, because both sides are already in the same country.
The account number: the only code that is about you
Your account number is the one code on the list that identifies your money specifically rather than your bank. On its own, it is not enough to send a payment, because the same number could, in principle, exist at more than one institution. That is why every system pairs it with something that identifies the bank.
The IBAN makes this pairing explicit. HSBC UK describes the IBAN and BIC as "your account number and sort code written in a standard, internationally recognised format." A UK IBAN, in other words, is not a second account. It is your existing sort code and account number, with a country code and check digits added so that banks abroad can process it.
SWIFT code or BIC: which bank, not which account
"SWIFT code" and "BIC" are two names for the same thing: a bank identifier used on international transfers. The European Central Bank's form calls it "the SWIFT (BIC) code," and it is the same code whichever name your bank uses.
The key point is its limit. A SWIFT code identifies an institution. It never identifies an account. So if someone asks for your SWIFT code, they still need your account number or IBAN as well, and giving only the SWIFT code will not get money into your account.
Routing codes: each country's domestic version
Routing codes are where the "vs" in this comparison gets misleading, because the US routing number is only one of many national systems. Several countries use their own domestic codes to identify a bank or branch, and those codes are what local transfer forms ask for:
- United States: routing number. Nine digits identifying a financial institution, used for domestic ACH transfers, wires and checks, per the Federal Reserve definition above. You will also see it called an ABA number or routing transit number.
- Canada: transit and institution numbers. The Government of Canada's direct deposit page, read on September 24, 2026, explains that on a cheque "the second set of digits (5 digits) are the Branch number," "the third set of digits (3 digits) are the Institution number," and the account number is "various lengths." Together, the branch (transit) and institution numbers do the job a US routing number does.
- United Kingdom: sort code. UK domestic payments use a sort code with an account number, and, as HSBC notes, both are folded into a UK IBAN for international use.
- Australia: BSB. Australian payments use a BSB and an account number; Australian Payments Plus, for example, describes paying with "your PayID, or BSB and account number."
If you live somewhere not listed here, your bank's website or app will show the domestic code it uses, usually in the same place it shows your account details. Where a country uses IBANs, the IBAN generally contains the domestic bank details inside it, which is why forms in those countries ask for the IBAN instead.
Which codes does a transfer form actually need?
There is no single rule, because it depends on where the money starts, where it ends, the currency, and the payment system. What stays constant is who decides: the receiving bank's instructions for incoming payments, and the sending bank's form for outgoing ones.
A few patterns hold widely. Domestic payments use the domestic code plus the account number. Payments into countries that use IBANs typically ask for the IBAN, and many forms also ask for the BIC. Payments into countries without IBANs, including the US, typically ask for the bank's SWIFT code plus the account number, and sometimes the domestic routing code too. When the person you are paying gives you their details, the most reliable version is the one their bank publishes for incoming international transfers, which may differ from the numbers printed on a checkbook.
A wrong or missing code can mean a delayed, rejected or returned payment, which is why confirming the full set of details with the recipient before sending is worth the extra minute.
What none of these codes checks: the name
Here is the part the comparison pages rarely mention. Every code above identifies a place: a country, a bank, a branch, an account. None of them, on its own, confirms who owns that account. The name you type on a transfer form is a separate piece of information, and it has not always been matched against the account before money moved.
That gap is exactly what "changed bank details" scams exploit. A fraudster sends an invoice, email or text with new account details that look perfectly valid, because they are valid: they just belong to the fraudster. Every code checks out, and the payment goes through. Our guide to verifying a message that claims to be from your bank covers the habit that defends against this: confirming new payment details through a contact route you already had, never the one in the message.
Some places now add a name check before a payment is sent:
- Euro area. The European Central Bank's page on the Instant Payments Regulation, read on September 24, 2026, says payment providers must offer "a service ensuring verification of the payee" for both standard and instant credit transfers, free of charge to the payer. It applies from October 9, 2025 in euro-area member states and from July 9, 2027 in non-euro-area member states. The result tells you whether the name is a match, a close match or no match.
- United Kingdom. Pay.UK describes its Confirmation of Payee service as "an account name-checking service designed to help reduce misdirected payments" for UK domestic payments.
Where a name check exists, a "no match" or "close match" result is the moment to stop and verify with the recipient through a trusted channel. Where it does not, the codes alone cannot protect you from sending to the wrong person. If a payment has already gone to someone you now believe was a scammer, our guide on what recovery looks like after money is sent to a scammer explains the realistic next steps, and our overview of social engineering financial scams explains why these requests are designed to feel urgent.
The limits of this article
FinMateMastery is not an authority, and this is general information, not financial advice or instructions for a specific payment. Banking codes, formats and payment rules vary by country and change over time. For any transfer, your bank's own instructions, and those of the recipient's bank, are the reliable source for which codes to use.
Frequently asked questions
Is a SWIFT code the same as a routing number?
No. A SWIFT code (BIC) identifies a bank for international transfers and is 8 or 11 letters and digits. A US routing number is a 9-digit code that identifies a US financial institution for domestic payments such as ACH and wires. A US bank can have both, and which one a form needs depends on whether the payment is domestic or international.
Is an IBAN the same as an account number?
Not quite. An IBAN contains your domestic account number, plus a country code, check digits and bank details, packaged in an international format. It identifies the same account; it is just written so banks in other countries can process it.
Do US bank accounts have an IBAN?
The US does not use IBANs for domestic accounts. Payments into US accounts from abroad typically use the bank's SWIFT code plus the account number, and sometimes the routing number. Your bank's instructions for incoming international transfers show exactly which details it needs.
Can a payment be sent with only a SWIFT code?
No. A SWIFT code identifies a bank, not an account, so the payment also needs an account identifier: an IBAN where the country uses them, or the account number and any local routing code where it does not.
Do these codes confirm who owns the account?
No. They identify a country, bank, branch and account, not the account holder. Some systems add a separate name check, such as verification of payee in the euro area and Confirmation of Payee in the UK, but where no such check exists, a correct-looking set of codes can still belong to the wrong person.