Before you type a 9-digit routing number into a direct-deposit form, a wire form, or a bill-pay setup, it's worth knowing that most of those digits aren't random — the last one is a built-in check digit that catches typos automatically. Here's how the math works, what a "valid" result actually proves, and where it falls short.
What a routing number actually is
Short answerA US routing number (also called an ABA number or routing transit number) is a 9-digit code that identifies the specific bank or credit union in a transaction — used on checks, direct deposit, and ACH transfers, and sometimes a separate number for wires.
The format was standardized by the American Bankers Association back in 1910 so payments could be sorted automatically instead of by hand. Today it shows up in three places most people actually deal with: the bottom-left of a printed check, the direct-deposit section of a payroll or benefits form, and the "bank details" screen when you're setting up a bill-pay or ACH transfer.
Structurally, the 9 digits break down into three parts: the first 4 digits are a Federal Reserve routing symbol, the next 4 identify the specific bank, and the 9th digit is a check digit mathematically derived from the first eight.
A worked example
Short answerFor the publicly published routing number 021000021, the weighted sum works out to 30 — and since 30 ÷ 10 = 3 with no remainder, it passes.
Walking through it: positions 1, 4, 7 are 0, 0, 0 × 3 = 0. Positions 2, 5, 8 are 2, 0, 2 × 7 = 28. Positions 3, 6, 9 are 1, 0, 1 × 1 = 2. Add those three subtotals — 0 + 28 + 2 = 30 — and 30 is evenly divisible by 10, so the checksum passes.
💡Try it yourself: change any single digit in a valid routing number — say the example above — and run the same math again. In almost every case the new total won't divide evenly by 10 anymore, which is exactly the kind of typo the check digit exists to catch.
What a passing checksum does — and doesn't — prove
Short answerA passing checksum confirms the 9 digits are mathematically well-formed, the way real routing numbers are constructed. It does not confirm the number belongs to a real, currently active bank — that still requires checking a bank statement, a voided check, or the bank's own website.
This distinction matters most when someone hands you a routing number verbally, or you're double-checking a number before setting up payroll direct deposit. A checker that runs the ABA formula will tell you instantly whether the digits are internally consistent — but it can't tell you whether that specific 9-digit combination is currently assigned to an operating institution, since routing numbers are also occasionally retired or reassigned as banks merge.
It's also worth remembering that many banks use more than one routing number — often a different one by state, and frequently a separate number for wire transfers than the one printed on your checks (which is usually for ACH and direct deposit). Always confirm which type of transfer you're making before relying on a single number.
Check a routing number in seconds
Run the free ToolPico checker — it verifies the 9-digit ABA checksum instantly, shows every step of the math, and never sends your data to a server.
Try the free Routing Number Checker →
Frequently asked questions
How do I check if a routing number is valid?
Enter the 9 digits into a routing number checker. It runs the public ABA checksum formula — 3x(d1+d4+d7) + 7x(d2+d5+d8) + 1x(d3+d6+d9) — and the number is considered validly formatted if that total is evenly divisible by 10 (remainder 0). A good checker shows every step of the math so you can verify it by hand too.
Does a valid checksum mean the bank is real?
No. A passing checksum only means the 9 digits are mathematically self-consistent with how real routing numbers are constructed — it is a format check, not a bank lookup. It does not confirm the number is currently assigned to an active, operating bank. To confirm ownership, check a real bank statement, a voided check, or the bank's official website.
Where do I find my routing number on a check?
It's the first group of numbers printed along the bottom-left of a check, in the MICR (magnetic ink character recognition) line. The 9-digit routing number comes first, followed by your account number, and then the check number.
Do banks have more than one routing number?
Often, yes. Many banks use different routing numbers by state or region, and some use a separate routing number for wire transfers than the one printed on checks, which is typically used for ACH and direct deposit. Always check which type of transfer you're making before using a routing number.
What's the difference between a routing number and a SWIFT/BIC code?
A routing number is a 9-digit, US-only code used for domestic transfers such as ACH, checks, and direct deposit. A SWIFT/BIC code is an 8-11 character alphanumeric code used to identify banks for international wire transfers. The two are not interchangeable, and the ABA checksum only applies to the 9-digit domestic format.
Related guides
A note on this guide: This article explains the publicly documented ABA routing-number checksum formula for informational purposes only. It is not financial advice, and it is not a bank-verification, KYC, or account-lookup service. Always confirm a specific routing number using an official bank statement, a voided check, or your bank's own website before relying on it for a real transfer.