How a US routing number is built
An ABA routing transit number (RTN) has 9 digits. The first two show the Federal Reserve district and the type of institution, the next ones identify the Fed processing center and the bank, and the last digit is a check digit.
| First two digits | Meaning |
|---|---|
00 | U.S. Government |
01–12 | Banks — Federal Reserve district 1–12 |
21–32 | Thrift institutions and credit unions (district = prefix − 20) |
61–72 | Electronic (ACH) transactions (district = prefix − 60) |
80 | Traveler’s cheques |
01 Boston · 02 New York · 03 Philadelphia · 04 Cleveland · 05 Richmond · 06 Atlanta · 07 Chicago · 08 St. Louis · 09 Minneapolis · 10 Kansas City · 11 Dallas · 12 San Francisco
The 3-7-1 check digit
Multiply the digits by 3, 7, 1, 3, 7, 1, 3, 7, 1 and add them up. The total must be divisible by 10. Example for 021000021: 0·3 + 2·7 + 1·1 + 0·3 + 0·7 + 0·1 + 0·3 + 2·7 + 1·1 = 30 → valid. One wrong digit or two swapped neighbours almost always break the sum, so the check catches most typos before an ACH return (R03/R04).
More test data for United States
United States phone numbers · United States addresses · ABA routing numbers
FAQ
Where is the routing number on a check?
In the MICR line at the bottom left, between the ⑆ symbols. You can paste the whole MICR line here — the tool finds the 9 digits.
Does “valid” mean the bank exists?
No. The tool checks the format and check digit offline. To confirm the bank, use the Federal Reserve E-Payments Routing Directory or ask the bank.
ACH vs wire routing number?
Many banks use different numbers for ACH and wire transfers. Both use the same format and check digit.
Is there a routing number for testing?
Stripe uses 110000000 in test mode. More test numbers: routing number generator.