What it means
The code was created by the American Bankers Association for sorting paper cheques, which is why banking paperwork still calls it a transit number. Each nine-digit code maps to one institution and, historically, to the clearing centre that processed its items.
A single bank can hold more than one code, for example separate codes for paper items and for electronic transfers. The nine digits are not random.
The first four identify the processing centre, the next four identify the institution, and the ninth is a check digit calculated from the other eight. That final digit is what allows a payment file to be validated before submission rather than after a failed payment.
In day-to-day business the routing number is the field that breaks payroll and supplier runs. A wrong account number usually bounces, but a routing number that is valid yet belongs to the wrong institution can send money on a long and expensive detour or to a bank that rejects it days later.
For domestic payments inside the United States this code does the job that a SWIFT code or an IBAN does across borders. Confusion is common because different payment types use different codes.
The number printed on a cheque may not be the one the bank wants for a direct deposit, and wire transfers often use a third code again. Always take the number from the bank's own instructions for the specific payment type rather than copying whatever appears on a cheque.
Treat the code as sensitive but not secret. It is printed on every cheque and published in bank directories, so it is not a credential, and the account number and the authorisation around it are what protect the money.
The real control is verifying any change to supplier bank details by calling a known contact, because a convincing email asking you to update a routing number is a standard fraud.
In practice
Real-world examples.
Example
A payroll team onboards 40 new staff and validates every submitted routing number against the checksum rule before the first pay run. Two entries fail, both from the same form, and are corrected by email the same day. Without the check, two people would have missed a pay cycle.
Example
A manufacturer receives an email, apparently from a long-standing supplier, asking for the routing number on file to be changed before the next payment. The accounts payable clerk calls the supplier's switchboard on the number held in the vendor master, discovers the request is fake, and the attempt is logged and reported.
Example
A treasury analyst sets up a same-day wire and uses the code printed on the beneficiary's cheque. The wire is returned two days later because the bank uses a different routing number for wires, and the lesson is written into the payment instructions template.
Formula
Calculation
The checksum test is that 3 x (d1 + d4 + d7) + 7 x (d2 + d5 + d8) + 1 x (d3 + d6 + d9) must divide exactly by 10, where d1 to d9 are the nine digits in order. Test the illustrative routing number 123456780. The first group gives 3 x (1 + 4 + 7) = 3 x 12 = 36. The second gives 7 x (2 + 5 + 8) = 7 x 15 = 105. The third gives 1 x (3 + 6 + 0) = 9. The total is 36 + 105 + 9 = 150, and 150 / 10 = 15 with no remainder, so the number passes. Had a clerk typed 123456781, the total would be 151, which does not divide by 10, and a payment system applying this test would reject the entry immediately.Case study
Seen in the real world.
Cedar Ridge Dental Group is a fictional practice used here as an illustration. It paid a $42,000 equipment invoice after receiving updated bank details in a well-written email that matched the supplier's branding and quoted the correct purchase order number.
The routing number in the email was genuine, because it belonged to a real bank, and it passed the checksum test, so nothing in the file looked wrong. The account behind it belonged to the fraudster, and by the time the real supplier chased payment the funds had been moved on.
The practice recovered only part of the money and changed one thing afterwards, which was that any change to supplier bank details is now confirmed by a call to a contact number already held on file, never to a number supplied in the request itself.
Watch out
Common mistakes.
- Assuming a routing number that passes the checksum must be the right one, when the test only proves the digits are internally consistent.
- Using the code from a cheque for every payment type, when direct deposits and wires often use different codes at the same bank.
- Accepting a change of bank details by email alone, which is the single most common route into a payment fraud.
Questions
People also ask.
Is a routing number the same as a sort code?
They do the same job in different countries, with a nine-digit code in the United States and a six-digit sort code in the United Kingdom.
Does a bank only have one?
No, larger institutions hold several, typically splitting paper items, electronic transfers and wires.
Is it confidential?
Not really, since it appears on every cheque, so controls should focus on verifying account changes rather than on hiding the code.
From the founder's library

Take it further with the book.
Build your financial confidence beyond this definition. Shihan's full-length guide, Accounting Fundamentals, takes the same plain-English approach and turns it into a complete, practical playbook for non-finance managers, business owners and students - with chapter-end quiz answers and presentation slides included.
25% off with code MMHQ25, applied at checkout. Priced in USD - checkout may show the equivalent in your local currency.
View the book and save 25%Related
