United States · Validation

ABA routing number validator.

Verify a US bank's 9-digit ABA / routing transit number against the real weighted mod-10 checksum every bank, payroll processor and ACH network uses. Everything runs in your browser: nothing you type is transmitted anywhere.

Algorithm: 3(d₁+d₄+d₇) + 7(d₂+d₅+d₈) + (d₃+d₆+d₉) ≡ 0 (mod 10) Cross-verified against the open-source python-stdnum library

Advertisement

Inputs

Digits only. Spaces and dashes are ignored.

Result

Enter a routing number and press Validate.

Advertisement

How the routing number checksum works

Every US ABA / routing transit number is 9 digits: a 4-digit Federal Reserve routing symbol, a 4-digit ABA-assigned institution identifier, and a final check digit. The check digit exists so a single mistyped or transposed digit is caught before a wire, ACH transfer or cheque is misrouted.

The published formula weights the nine digits 3, 7, 1, 3, 7, 1, 3, 7, 1 in order and requires the weighted sum to be evenly divisible by 10:

3(d₁+d₄+d₇) + 7(d₂+d₅+d₈) + 1(d₃+d₆+d₉) ≡ 0 (mod 10)

The weights 1, 3 and 7 are each coprime to 10, which is what lets this scheme catch every single-digit error and most digit-transposition errors — the same design goal behind check-digit schemes like ISBN's and the Luhn algorithm.

Verification

This is not a reverse-engineered guess: the formula above was cross-checked in two independent ways before shipping — against the published worked example 111000025 (a real Bank of America, Texas routing number), and against the algebraically-equivalent coefficients used by the independent open-source python-stdnum library, confirmed identical across 2,000 randomized inputs.

What this checker verifies

An ABA routing transit number is the nine-digit code that identifies a US financial institution for cheques, ACH transfers and wires. This tool applies the checksum built into those nine digits. It tells you whether a number you typed could be a genuine routing number, which is useful when you are entering payroll or vendor details and want to catch a typo before a payment goes astray. It does not tell you which bank owns the number or whether that number is active. The Federal Reserve Financial Services publishes an E-Payments Routing Directory for that purpose, with separate details for FedACH and Fedwire participants, and the directory is provided under terms of use for authorised users.

The weighted formula, with every step

Number the digits d1 to d9 from the left. The checksum rule is that 3 times (d1 + d4 + d7), plus 7 times (d2 + d5 + d8), plus (d3 + d6 + d9) must be a multiple of 10. In other words, the weights run 3, 7, 1, 3, 7, 1, 3, 7, 1. Here it is applied to 111000025, a number that also appears as the worked example on Wikipedia’s routing-number page.

To see a failure, swap the last two digits to get 111000052. Now d8 is 5 and d9 is 2, so the totals are 3 + 7 × (1 + 0 + 5) + (1 + 0 + 2) = 3 + 42 + 3 = 48, which is not a multiple of ten, and the number is rejected. The last digit is the check digit, so for any first eight digits exactly one final digit makes the number pass.

What kind of mistakes it catches, and one it cannot

The weights 3, 7 and 1 are all coprime to 10, which means a single wrong digit always changes the total by an amount that is not a multiple of ten. So every single-digit typo is caught. Most swaps of adjacent digits are caught too, but not all. If you swap two neighbouring digits that differ by exactly 5, the weights differ by 2, 4 or 6, and the difference multiplies to a multiple of ten, so the swapped number passes as well. For example 120506785 is valid, and so is 125006785 with the 0 and 5 exchanged, while swapping the first two digits to 210506785 fails. These are arithmetic illustrations, not real institutions. A passing result is therefore a good typo filter and nothing more.

Reading the structure of the number

Wikipedia’s description of the ABA routing number notes that the first two digits must fall in the ranges 00 to 12, 21 to 32, 61 to 72 or 80, and that the first four digits are the Federal Reserve routing symbol. The next four identify the institution and the last is the check digit. This tool applies the checksum only, so it does not enforce those ranges. A nine-digit string that passes the weighted test can still begin with a prefix that is never used.

Searching for a Canadian routing number?

Several of the queries that lead to this page are about routing numbers in Canada, and the answer is that Canada uses a different format. Wikipedia’s summary says a Canadian routing number has a five-digit transit (branch) number and a three-digit financial institution number, written as XXXXX-YYY on cheques and as 0YYYXXXXX, nine digits with a leading zero, for electronic funds transfers. These are regulated by Payments Canada, which publishes a Financial Institutions Branch Directory with routing numbers and addresses for branches of Canadian institutions. The ABA formula on this page is not designed for those numbers, so a Canadian EFT number can pass or fail it by coincidence, and the result means nothing. For a Canadian lookup use the bank institution and transit lookup.

Practical tips before you send money

For other bank and ID formats, see the IBAN validator, the SWIFT and BIC validator and the full list of ID validators.

Frequently asked questions

How do I verify an ABA routing number?

Multiply the nine digits by the weights 3, 7, 1, 3, 7, 1, 3, 7, 1 and add the results. The number is valid if the total is a multiple of ten. For 111000025 the total is 30, so it passes.

Why does my routing number fail the checksum?

The most likely reason is a typo. Every single wrong digit is detected by the formula, as are most swaps of neighbouring digits. It could also be a number from a system that is not an ABA routing number, such as a Canadian transit and institution number.

Does a valid checksum mean the routing number belongs to a real bank?

No. It only proves the nine digits are internally consistent. The Federal Reserve Financial Services E-Payments Routing Directory is the place to confirm participants, and you should also confirm with the recipient.

Is a Canadian transit number an ABA routing number?

No. A Canadian routing number is a five-digit transit number and a three-digit institution number, written XXXXX-YYY on cheques and 0YYYXXXXX for electronic funds transfers. Payments Canada regulates them and publishes a branch directory.

Can two swapped digits still pass the check?

Yes, if they are adjacent and differ by exactly 5. The weights differ by 2, 4 or 6, so the change in the total is a multiple of ten. For example 120506785 and 125006785 both pass.

Where can I look up the bank behind a routing number?

The Federal Reserve Financial Services publishes an E-Payments Routing Directory with FedACH and Fedwire participant details. This tool has no institution list and sends nothing over the network.

Is the routing number the same for ACH and wire transfers?

Not always. The Federal Reserve directory presents FedACH and Fedwire participant information separately, so use the routing number your bank specifies for the type of payment you are making.

Sources

Primary and reference sources used for this page, each opened and checked in October 2026:

What a passing checksum does and doesn’t tell you

A valid check digit only proves the 9 digits are internally consistent — it does not confirm the number was ever actually assigned to a real financial institution. This tool has no institution-name lookup table; for that, use your bank's own documentation or the Federal Reserve's routing directory. Runs entirely in your browser: nothing you type is transmitted, stored, or logged.

Advertisement