Skip to content

Identifiers

Validate a US routing number

Check the 9-digit ABA routing transit number of a US bank account: its check digit, what its first two digits mean and which Federal Reserve district they point to.

Try an example

How to read the result

Field What it tells you
Routing number The 9 digits, without spaces or dashes
Check digit The ninth digit and the one the first eight require
Prefix The kind of number its first two digits stand for
Federal Reserve district The district of the prefix, such as 2 (New York)
Processing center The third digit, which identifies the Federal Reserve check processing center
Bank name Not given: the check does not use a directory

The status is valid when the format, the prefix and the check digit are all right, and invalid otherwise, with the reason.

How the check works

  1. Spaces and dashes are removed. The number must have exactly 9 digits.
  2. The first two digits must be in a range in use: 00, 01 to 12, 21 to 32, 61 to 72 or 80. Ranges tied to a district give its number and name.
  3. The first eight digits are weighted 3, 7, 1, 3, 7, 1, 3, 7 and added; the ninth digit must bring the total to a multiple of 10.

Limits

The validator catches typos and invented numbers, not numbers that are well formed but unassigned, retired or tied to another bank than the one you expect. It does not tell whether an account exists. For international transfers, check the account with the IBAN validator.

Check banks from your code

The routing check is plain arithmetic you can run anywhere. To read an institution's insurance status, regulator, financials and history, the FDIC bank data API looks it up by FDIC certificate or name for 1 credit. See the API reference.

Same check through the API

One HTTPS call, one credit. The response below is the real schema returned by the API.

cURL
curl https://api.qelka.com/v1/bank \
  -H "Authorization: Bearer sk_test_your_key" \
  -H "Content-Type: application/json" \
  -d '{"cert":59017}'
JavaScript
const response = await fetch("https://api.qelka.com/v1/bank", {
  method: "POST",
  headers: {
    Authorization: "Bearer sk_test_your_key",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    cert: 59017,
  }),
});
const result = await response.json();
{
  "id": "lkp_01M8CFQ9KC0H6N8AXA7VD3AVHX",
  "object": "bank",
  "input": "59017",
  "query": "cert",
  "status": "found",
  "institution": {
    "cert": 59017,
    "name": "First Republic Bank",
    "active": false,
    "insured": false,
    "charter_class": {
      "code": "NM",
      "description": "Commercial bank, state charter, Federal Reserve non-member, supervised by the FDIC"
    },
    "regulator": "FDIC",
    "chartering_agency": "STATE",
    "holding_company": null,
    "fed_rssd": "4114567",
    "lei": "YWC0TIKBQM2JV8L4IV08",
    "website": null,
    "address": {
      "street": "111 Pine St",
      "city": "San Francisco",
      "county": "San Francisco",
      "state": "CA",
      "zip": "94111"
    },
    "established_on": "2010-07-01",
    "insured_since": "2010-07-01",
    "closed_on": "2023-05-01",
    "successor_cert": 628,
    "financials": {
      "report_date": "2023-03-31",
      "total_assets": 232944161000,
      "total_deposits": 104473959000,
      "domestic_deposits": 104473959000,
      "equity": 17989836000,
      "net_income": 269102000,
      "return_on_assets": 0.48,
      "return_on_equity": 6.08
    },
    "offices": {
      "total": null,
      "domestic": 89,
      "foreign": 0
    },
    "prior_names": [],
    "failure": {
      "date": "2023-05-01",
      "resolution": "Purchase and assumption",
      "acquirer": "JPMORGAN CHASE BANK, N.A.",
      "estimated_loss": 15495761533,
      "total_deposits": 176436706000,
      "total_assets": 212638872000
    },
    "history": [
      {
        "date": "2023-05-01",
        "code": 211,
        "description": "Failure - Whole Institution",
        "other_institution": "JPMorgan Chase Bank, National Association"
      },
      {
        "date": "2023-05-01",
        "code": 811,
        "description": "Participated in FDIC Assisted Merger",
        "other_institution": "JPMorgan Chase Bank, National Association"
      },
      {
        "date": "2010-07-01",
        "code": 110,
        "description": "New Institution",
        "other_institution": null
      },
      {
        "date": "2010-07-01",
        "code": 712,
        "description": "Branch Purchased",
        "other_institution": "Bank of America, National Association"
      },
      {
        "date": "2010-07-01",
        "code": 712,
        "description": "Branch Purchased",
        "other_institution": "Bank of America, National Association"
      }
    ]
  },
  "matches": null,
  "credits_used": 1,
  "cached": false
}

Frequently asked questions

What is an ABA routing number?
The 9-digit routing transit number that identifies a US financial institution on checks, ACH transfers and wires. It is printed at the bottom left of a check, before the account number. The American Bankers Association created the system, and its registrar assigns the numbers.
How does the check digit work?
The first eight digits are multiplied by the weights 3, 7, 1, 3, 7, 1, 3 and 7, and the products are added. The ninth digit is the number that brings that sum up to the next multiple of 10. A single mistyped digit always fails the check.
Does a valid routing number mean the bank exists?
No. A valid number has the right length, a prefix in a range the Federal Reserve uses and a correct check digit. Plenty of well-formed numbers are not assigned to any institution, and others belong to institutions that merged or closed. Confirm the number with the bank or the account holder before you send money.
Why does the tool not show the bank name?
The check is computed from the number itself, with no directory behind it, so it does not name the bank. To check a bank you already know, use the FDIC bank lookup.
What do the first two digits mean?
They tell what kind of number it is. 01 to 12 are banks in the twelve Federal Reserve districts, 21 to 32 thrift institutions in the same districts, 61 to 72 numbers used for electronic transactions, 00 the United States government and 80 traveler's checks. Other prefixes are not in use, so a number starting with one is invalid.
Is the number I type sent anywhere?
The check is arithmetic on the digits: no bank, registry or other service is asked.

Put this check in your product

Get an API key in under a minute. 100 free credits every month, no card required.

  • 100 free credits a month
  • No card
  • Test keys spend nothing
  • Cancel any time