US Routing Number Validator Guide: The Nine Digits Explained
Every bank account in the United States has a routing number, a nine-digit code that identifies the bank or credit union holding the account. It appears on cheques, on direct deposit forms, and in online banking, usually alongside the account number. It looks like an arbitrary string of digits, but it is not arbitrary at all: the nine digits encode the bank, the Federal Reserve district, and a check digit that catches most typing errors.
This guide explains the structure of a routing number, shows how to verify its checksum with pencil and paper, and explains what a validator can and cannot tell you. The examples use publicly known sample numbers for illustration of the checksum arithmetic; they are not an instruction to use any particular bank's number for a payment.
What a routing number does
A routing number, also called an ABA routing number after the American Bankers Association, tells the payment system which financial institution should receive or send the money. The account number then identifies the individual account at that institution. The two numbers work as a pair, just as a sort code and account number do in the United Kingdom.
Routing numbers are used for direct deposits, such as salary payments, for electronic transfers through the Automated Clearing House system, for wire transfers within the United States, and for cheque processing. A wire transfer from outside the United States usually uses a SWIFT code instead, though the routing number may still be requested as additional information.
A single bank may have several routing numbers. Large banks often have different numbers for different states or regions, and separate numbers for cheques, electronic transfers, and wire transfers. That is why the routing number printed on a cheque is not always the same as the number shown in a bank's online portal for electronic deposits. When a form asks for a routing number, use the number specified for that type of transaction, not simply the first number you find.
The structure of the nine digits
The nine digits fall into three groups. The first two digits identify the Federal Reserve district and the type of institution, broadly speaking. The next two digits identify the specific Federal Reserve processing centre, and the following four digits identify the bank itself within that system. The ninth digit is a check digit, calculated from the first eight by a formula designed to catch common errors.
That structure means a routing number is not just an identifier; it carries a small amount of redundancy. The check digit is the redundancy. If you mistype a single digit, the check digit will almost always fail, and a validator will flag the number as invalid. That is a valuable safety net, because a routing number with a transposed pair of digits could otherwise route a payment to a different bank.
It is worth noting that not every nine-digit string that passes the checksum is a real routing number. The checksum is a mathematical property, not a directory lookup. A number can satisfy the formula by coincidence, or by construction, without belonging to any bank. A thorough validator therefore checks both the checksum and whether the number appears in a directory of known routing numbers, where such a directory is available. Even then, a directory check confirms that the bank exists, not that the account number paired with it is valid.
A worked example: verifying the checksum by hand
The checksum formula weights the digits and checks that the total is a multiple of ten. Label the nine digits d1 through d9, from left to right. Multiply the sum of the first, fourth, and seventh digits by 3; multiply the sum of the second, fifth, and eighth digits by 7; add the sum of the third, sixth, and ninth digits multiplied by 1; and check whether the total is divisible by 10. In symbols: 3 times (d1 plus d4 plus d7) plus 7 times (d2 plus d5 plus d8) plus (d3 plus d6 plus d9), and the result modulo 10 should be zero.
Take the sample routing number 021000021, a widely published example used in documentation. Its digits are 0, 2, 1, 0, 0, 0, 0, 2, and 1. The first group, d1 plus d4 plus d7, is 0 plus 0 plus 0, which equals 0, and 3 times 0 is 0. The second group, d2 plus d5 plus d8, is 2 plus 0 plus 2, which equals 4, and 7 times 4 is 28. The third group, d3 plus d6 plus d9, is 1 plus 0 plus 1, which equals 2, and 1 times 2 is 2. The total is 0 plus 28 plus 2, which equals 30, and 30 modulo 10 is 0. The checksum passes.
Now change one digit to see the check fail. If the last digit is mistyped as 2 instead of 1, the third group becomes 1 plus 0 plus 2, which equals 3, and the total becomes 31. Since 31 modulo 10 is 1, not 0, the checksum fails, and a validator would reject the number. That is exactly the kind of single-digit error the check digit is designed to catch.
A US Routing Number Validator performs this calculation instantly and can also check the number against a known list. Doing it by hand once, as above, is worthwhile because it shows why the validator's verdict is trustworthy for format errors, and where its limits lie.
Where to find your routing number
The most reliable source is your bank's official website or mobile app, in the account details section, where the routing number for electronic transfers is usually labelled separately from the number for wire transfers. The number printed on a cheque is also reliable for cheque-related transactions, and it is found at the bottom left of the cheque, as a nine-digit number.
Be careful with routing numbers found through a general web search. Search results may show a bank's number for a different state, a different transaction type, or an outdated number. Always confirm with the bank itself, especially for a salary direct deposit or a large transfer, where an error can delay payment by days.
If you have accounts at more than one bank, do not assume the routing numbers are the same, and do not copy a routing number from one account's form onto another's. Label your records clearly, and check the bank name alongside the number before submitting any form.
Common problems
A routing number that fails the checksum is almost always a typing error. Re-enter it digit by digit, paying attention to leading zeros: a routing number beginning with 0 is still nine digits, and dropping the leading zero leaves eight digits, which will fail every check. Similarly, a number with ten digits usually means an extra digit was pasted in, often the first digit of the account number.
A number that passes the checksum but is rejected by a payment form may be the wrong type of routing number for that transaction, for example a cheque routing number used for a wire transfer, or a number for a different region. Contact the bank and ask which number to use for that specific purpose.
A number that belongs to a bank that has merged or closed may still work for a time, because routing numbers are often retained after mergers for existing accounts. Eventually, however, the bank may consolidate numbers, so an old number on an old form should be re-checked before reuse.
Routing numbers and fraud
A routing number on its own is not secret. It is printed on every cheque a bank issues, and it is widely published. What makes a payment possible is the combination of a routing number and an account number, plus authorisation. You should still be cautious about sharing account numbers, and you should never share online banking passwords or one-time codes with anyone, but the routing number itself is not a password.
Fraud involving routing numbers usually takes the form of a fake invoice or a fake direct deposit form that substitutes the fraudster's bank details for the genuine payee's. The defence is the same as for any payment detail: verify a change of bank details through a trusted channel, and be suspicious of urgent requests to change payment instructions. A validator cannot detect that kind of fraud, because the fraudulent number is itself valid.
Disclaimer and limits
Routing-number tools check format and checksum, and where a directory is available, whether the number is recognised. They do not verify that an account exists at that bank, that the account belongs to a named person, or that a payment to that account will succeed. Those questions can only be answered by the bank concerned. This guide is general information about the US payment system, not financial advice. For a payment that matters, confirm the routing number and account number with the bank or the payee directly, and use any confirmation service your bank offers.
The IBAN Validator covers the international equivalent of this check, and the Percentage Calculator is useful for working out amounts once the payment details are confirmed. The Loan EMI Calculator Guide shows how the same discipline of verifying numbers before acting applies to borrowing. Nine digits may look unremarkable, but the checksum inside them is a small piece of engineering that prevents a large number of expensive mistakes, provided you actually run the check before you press send.