Skip to content
FinCode
Start here

How bank identifiers work: SWIFT, IBAN and local clearing codes

A practical map of the codes used to move money across borders and within a country: what each one identifies, which payment rail needs it, and how to check one before sending.

Every cross-border payment needs three separate pieces of information: who holds the account, which account it is, and how the money should be routed inside the destination country. Banks split that work across different codes, and confusing them is the most common reason a transfer bounces back or arrives days late.

This guide explains the four families of codes you will meet on FinCode - SWIFT/BIC, IBAN, and the domestic clearing codes (IFSC, sort code, BSB, ABA routing, CNAPS) - and when each one is the right answer.

Three jobs, three kinds of code

A SWIFT/BIC code identifies an institution, not an account. It tells the correspondent bank which bank in the destination country should receive the message, and nothing more.

An IBAN or a domestic account number identifies the account itself. The IBAN folds the country, the bank and the account into one string with a checksum, which is why an IBAN can be validated before it is sent while a bare account number cannot.

Domestic clearing codes - IFSC in India, sort code in the UK, BSB in Australia, ABA routing in the United States, CNAPS in China - exist because each country runs its own payment system with its own routing table. They are what the local system reads to find the branch.

CodeIdentifiesUsed by
SWIFT/BICAn institution (and optionally one office)Cross-border wires
IBANA specific accountSEPA and most cross-border transfers
IFSCA branch in IndiaNEFT, RTGS, IMPS
Sort codeA branch in the UK or IrelandFaster Payments, BACS, CHAPS
BSBA branch in AustraliaNPP, direct entry
ABA routingAn institution and Fed districtFedwire, ACH
CNAPSA branch in ChinaHVPS, BEPS

Which code goes in which field

Sending money to Europe usually needs both an IBAN and a BIC, although SEPA transfers inside the euro area only require the IBAN. Sending to the United States needs the ABA routing number plus the account number, and a BIC only if the payment starts outside the country.

Sending to India, the UK, Australia or China needs the domestic code (IFSC, sort code, BSB, CNAPS) together with the account number; the SWIFT/BIC is added when the money comes from abroad.

  • Cross-border wire: beneficiary name, account/IBAN, BIC, and the domestic code when the destination bank asks for it.
  • SEPA: IBAN only, BIC optional inside the euro area.
  • Domestic transfer: local clearing code plus account number.

How to check a code before you send

Most codes carry their own validation. An IBAN ends in a MOD-97 checksum, an ABA routing number carries a weighted check digit, an IFSC always has a literal 0 in the fifth position, and a BIC's fifth and sixth characters must be a real ISO country code.

Those checks catch typos, not fraud or closure. A code can be well formed and still belong to a branch that has merged, so confirm the beneficiary details through a channel you already trust before a large payment leaves.

When the code is missing

Smaller institutions, fintechs and payment institutions often do not appear in a national clearing directory because they reach the local rail through a sponsor bank. In that case the payment is routed with the sponsor's code and the fintech name in the beneficiary field.

If a bank has no SWIFT code at all, the transfer usually has to go through a correspondent that does, which adds a hops and a fee.

Common questions

Is SWIFT the same as IBAN?

No. SWIFT (also called BIC) identifies the bank; IBAN identifies the account and contains the bank code inside it. A cross-border transfer to an IBAN country normally needs both.

Can I use an IFSC for an international transfer?

Only as the domestic routing part. The sending bank still needs the SWIFT/BIC of the Indian bank to reach it from abroad.

Why does the same bank have several codes?

Institution-level codes such as BIC identify the bank, while branch-level codes such as IFSC, BSB, sort code and CNAPS identify the exact branch, and a large bank can have thousands.