Skip to content
In the news TRM Labs × Finray: audit-ready crypto transaction monitoring for banking
Finray

Check the format and check digit of a US routing number

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.

Spaces and hyphens are fine. Up to 1,000 lines for a list.

Type or paste a routing number to start.

The check-digit rule here is the one widely published for ABA routing numbers. We did not find it stated on a primary page from Nacha, the ABA or the Federal Reserve.

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.

First two digits, according to Regulation CC Appendix A and the ABA routing number policy.

Routing number

First two digits
1 to 2
Digits 3 to 8
3 to 8
Check digit (9th)
9
  1. Digits 1, 4, 7
  2. Digits 2, 5, 8
  3. Digits 3, 6, 9
  4. Total
  5. Remainder

Checks

  1. Not checked yet: Nine digits Spaces and hyphens are removed first.
  2. Not checked yet: Check digit Weights 3, 7, 1, repeated: the total is a multiple of 10.
  3. Not checked yet: First two digits 01 to 12 and 21 to 32 are read; others are not judged.

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.

CheckRuleWhere 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 digitsWhat the tool saysAccording to
01 to 12Federal Reserve district 1 to 12Federal Reserve, Regulation CC Appendix A
21 to 32Thrift series, district 1 to 12 (the prefix minus 20). New numbers in this series were discontinued in 1985.Regulation CC Appendix A; ABA
Anything elseThis 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

    Made up for this page to satisfy the rule

    Routing number
    123456780

    Nine digits. The weighted total is 150, a multiple of 10. The first two digits are 12.

  • Last digit wrong

    The example above with its 9th digit changed

    Routing number
    123456789

    Nine digits, but the weighted total is 159. The 9th digit that the first eight need is 0.

  • Thrift series prefix

    Made up for this page to satisfy the rule

    Routing number
    210000007

    Well formed. The prefix 21 is read as the thrift series, district 1, discontinued for new numbers in 1985.

  • Prefix not judged

    Made up for this page to satisfy the rule

    Routing number
    400000008

    Well formed. The tool does not judge the prefix 40.

Where Finray does this for you

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.

Sources

Last verified

  1. 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
  2. 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

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.

A team member will respond within one business day with availability windows.

Book a Corebanq briefing
Certificate of Registration NQA · UKAS Management Systems
ISO/IEC 27001:2022 Certificate of Registration issued by NQA to Finray Technologies Ltd, certificate number 215646, valid 21 October 2025 to 21 October 2028
Search
Type to search across Finray, products, company, and journal.

    Press Esc to close · ↵ to open the highlighted result.

    Book a briefing Step 1 of 3

    What you need

    Which platforms are in scope.

    For example a licence application, an audit or a ledger build-out.

    Prefer email? Write to partnership@finray.tech

    What happens after you book

    • A team member will respond within one business day with availability windows.
    • Corebanq runs as Cloud SaaS, Private SaaS or an Enterprise Licence.
    • After the briefing, the full Corebanq and XZiel API references are issued with test-environment access.
    • Due-diligence documents, such as a summary of the April 2026 independent penetration test, are available under NDA.