# Check the format and check digit of a US routing number

> Check a US ABA routing number for 9 digits and its check digit, or paste a list of up to 1,000 and download the result. Runs in your browser.

Canonical page: https://finray.tech/tools/us-routing-number-check/
Publisher: Finray Technologies Ltd (finray.tech), unrelated to finray.io
Markets: United States
Sources last verified: 2026-11-25

Type or paste one routing number, or a list with one per line. You see whether it has 9 digits and whether the check digit adds up, with the arithmetic shown. It does not tell you the number belongs to a bank.

Checked in your browser. Nothing you type is sent, stored or put in the address bar.

## How it works

Three checks, in this order. The first two decide the verdict. The third only reads the first two digits and never changes the verdict.

| Check | Rule | Where it is written |
| --- | --- | --- |
| Nine digits | Spaces and hyphens are removed, and the tool says how many. What is left must be exactly 9 digits. A letter, a dot or any other character fails, and the tool points at its position. | Nacha ACH guide (the check digit is the 9th digit) |
| Check digit | Multiply the digits by 3, 7, 1, 3, 7, 1, 3, 7, 1 and add them up: 3(d1 + d4 + d7) + 7(d2 + d5 + d8) + (d3 + d6 + d9). The total must be a multiple of 10. The 9th digit is the check digit, and it is part of the sum. This is the widely published rule. We did not find the weights on a Nacha, ABA or Federal Reserve page. | Nacha ACH guide (position of the check digit); Apache Commons Validator (weights, secondary source) |
| First two digits | 01 to 12: Federal Reserve district, with its number. 21 to 32: thrift series (district plus 20), which the ABA says was discontinued for new numbers in 1985. Any other prefix: this tool does not judge it. | Regulation CC Appendix A and ABA routing number policy, search snippets only (see the note on sources) |

### The arithmetic, by hand

Take 123456780. The digits in positions 1, 4 and 7 are 1, 4 and 7, so 3 × (1 + 4 + 7) = 3 × 12 = 36. Positions 2, 5 and 8 are 2, 5 and 8, so 7 × (2 + 5 + 8) = 7 × 15 = 105. Positions 3, 6 and 9 are 3, 6 and 0, so 1 × (3 + 6 + 0) = 9.

The total is 36 + 105 + 9 = 150, a multiple of 10, so the number is well formed. Change any one digit and the total is no longer a multiple of 10, because 3, 7 and 1 never share a factor with 10.

## What the first two digits say

According to the Federal Reserve's Regulation CC Appendix A, the first two digits of a number from 01 to 12 name a Federal Reserve district. According to the same appendix, 21 to 32 are the thrift series: the district number plus 20. According to the ABA, assigning new numbers in the 21 to 32 series was discontinued in 1985. Both statements reach us as search snippets, not as pages we could read in full.

This tool does not judge any other prefix, and it says nothing about what an unlisted prefix means.

| First two digits | What the tool says | According to |
| --- | --- | --- |
| 01 to 12 | Federal Reserve district 1 to 12 | Federal Reserve, Regulation CC Appendix A |
| 21 to 32 | Thrift series, district 1 to 12 (the prefix minus 20). New numbers in this series were discontinued in 1985. | Regulation CC Appendix A; ABA |
| Anything else | This tool does not judge other prefixes. | None |

## What a pass does not tell you

A pass means the number is well formed. It does not tell you the number is assigned to a bank, which bank it is, or that an account exists.

To find out whether a number is assigned and to which bank, ask the bank that gave it to you. This tool has no list of banks and makes no network request.

## Examples

These numbers were made up to satisfy the rule, for this page. They are not published examples, and they are not claims about any bank.

### Well formed, Federal Reserve district 12 prefix

- Routing number: `123456780`
- Result: Nine digits. The weighted total is 150, a multiple of 10. The first two digits are 12.
- Published in: Made up for this page to satisfy the rule

### Last digit wrong

- Routing number: `123456789`
- Result: Nine digits, but the weighted total is 159. The 9th digit that the first eight need is 0.
- Published in: The example above with its 9th digit changed

### Thrift series prefix

- Routing number: `210000007`
- Result: Well formed. The prefix 21 is read as the thrift series, district 1, discontinued for new numbers in 1985.
- Published in: Made up for this page to satisfy the rule

### Prefix not judged

- Routing number: `400000008`
- Result: Well formed. The tool does not judge the prefix 40.
- Published in: Made up for this page to satisfy the rule

## Where Finray does this for you

[Corebanq](https://finray.tech/platforms/corebanq/)

The ledger checks every posting when it is written and rejects any posting whose debits and credits do not balance, so integrity does not depend on reconciliation.

[Corebanq](https://finray.tech/platforms/corebanq/) · [Core banking for US fintechs](https://finray.tech/united-states/core-banking-for-fintechs/)

## Related

- [ISO 20022 file viewer](https://finray.tech/tools/iso-20022-file-viewer/): Open a camt, pain or pacs file and read it as a statement or payment list.
- [ISO 20022 reason code explorer](https://finray.tech/tools/iso-20022-reason-codes/): Look up why a payment was returned or rejected, with the networks that list the code.
- [FedNow and Fedwire: limits, hours and ISO 20022 messages](https://finray.tech/notes/fednow-fedwire-limits-hours-iso-20022/): A dated comparison of the two US rails by limit, hours and message standard.
- [Finray for the United States](https://finray.tech/united-states/): Software for US fintechs and banks, with the notes on sponsor banks, OFAC and stablecoins.
- [Core banking for US fintechs](https://finray.tech/united-states/core-banking-for-fintechs/): How the ledger sits beside a sponsor bank, and what Corebanq does there.
- [All Finray tools](https://finray.tech/tools/)

## Sources

Last verified 2026-11-25.

- [Nacha: ACH developer guide, ACH file details (the check digit is the 9th digit of the receiving bank's routing and transit number); opened 25.11.2026](https://achdevguide.nacha.org/ach-file-details)
- [Apache Commons Validator: ABANumberCheckDigit (3(d1+d4+d7) + 7(d2+d5+d8) + (d3+d6+d9) is a multiple of 10); a secondary source, opened 25.11.2026](https://commons.apache.org/validator/apidocs/org/apache/commons/validator/routines/checkdigit/ABANumberCheckDigit.html)

Not opened in full: the Federal Reserve's Regulation CC Appendix A (federalreserve.gov, appendix-a-routing-number-guide-to-next-day-availability-checks-and-local-checks) and the ABA's routing number policy page (aba.com, routing-number-policy-procedures returned an access error). The statements about the first two digits come from search snippets of those pages. Not stated anywhere here because we found no primary page: what other prefixes mean.
