Canadian · Validation

CAS Registry Number validator.

Check that a CAS RN is well-formed and that its check digit adds up, with every step of the sum shown.

The rule: a CAS RN is up to 10 digits in three hyphen-separated groups: 2 to 7 digits, then 2 digits, then 1 check digit. Multiply each digit before the check digit by its position counted from the right (the digit next to the check digit is 1), add them up, and the last digit of the total must equal the check digit.

Source: CAS check digit documentationVerified 30 September 2026

Advertisement

Inputs

Include the hyphens, for example 7732-18-5.

Result

Enter a CAS Registry Number and press Check.

Advertisement

How the CAS check digit works

A CAS Registry Number (CAS RN) is the identifier CAS assigns to a chemical substance. The last digit is a check digit, so most typing mistakes and transposed digits are caught by arithmetic alone.

  1. Split the number. Drop the hyphens and set the last digit aside as the check digit. For 7732-18-5 that leaves 773218 and a check digit of 5.
  2. Weight from the right. The digit next to the check digit gets weight 1, the next 2, and so on: 8×1, 1×2, 2×3, 3×4, 7×5, 7×6.
  3. Add. 8 + 2 + 6 + 12 + 35 + 42 = 105.
  4. Take the last digit. 105 mod 10 = 5, which matches the check digit, so the number passes.

Source and date: the format and check-digit calculation are from the CAS documentation Check digit verification of CAS Registry numbers, read 30 September 2026. The worked example is our own arithmetic on that rule.

Format and checksum only — not a CAS lookup

This tool checks the number's shape and check digit entirely in your browser. It does not contact CAS, so a pass does not confirm the number was issued or what substance it names. Nothing you type is transmitted, stored, or logged.

What a CAS Registry Number is

A CAS Registry Number (CAS RN) is, in CAS’s words, a unique and unambiguous identifier for a specific substance. CAS assigns the numbers in sequential order to unique new substances identified by its scientists, either when a substance appears in literature indexed for the CAS Content Collection or when an organisation requests one from CAS Registry Services. Because a CAS RN does not depend on any naming system, it lets a catalogue, a safety data sheet and a regulation refer to the same substance even when each uses a different name. CAS says its REGISTRY database holds more than 290 million unique substances, covering organic and inorganic compounds, metals and alloys, minerals, polymers, proteins and more.

Searches for “cas registry number lookup” or “cas checker” often want the name of the chemical. This page does not do that: it checks the structure and the check digit, which tells you whether a number was copied correctly, not what it refers to. For the substance itself you need a CAS lookup service or a supplier’s safety data sheet.

The format

A CAS RN has up to 10 digits, split into three groups by hyphens. The first group has 2 to 7 digits, the second has exactly 2, and the last is a single check digit. The first group is not padded, which is why 50-00-0 is complete as written and a leading zero would be wrong. The hyphens are part of the format, because they show where each group ends.

More worked examples

The rule: drop the hyphens, set the last digit aside, multiply each remaining digit by its position counted from the right (the digit next to the check digit has weight 1), add the products and compare the last digit of the sum with the check digit.

CAS RNDigits before check digit, weighted from the rightSumLast digitResult
107-07-37×1 + 0×2 + 7×3 + 0×4 + 1×5333Matches 3: valid (the number CAS itself uses to illustrate the check)
64-17-57×1 + 1×2 + 4×3 + 6×4455Matches 5: valid
50-00-00×1 + 0×2 + 0×3 + 5×4200Matches 0: valid
64-17-6same body as 64-17-5455Check digit 6 does not match 5: invalid

The last row shows the typical failure: change one digit and the sum no longer lands on the check digit. A swap of two neighbouring digits is caught unless the digits differ in a way that leaves the sum unchanged mod 10, so the check is strong against typos but not infallible.

Common mistakes and limits

  • Counting the weights from the left. The weights run from the right, starting at 1 next to the check digit. Weighting from the left gives the wrong answer for most numbers.
  • Dropping hyphens and expecting the tool to guess the groups. The groups matter, so enter the number with its hyphens.
  • Assuming a pass means the number is registered. As this page’s FAQ says, about one in ten random wrong check digits is accepted, and only CAS decides which numbers are actually assigned.
  • Using a CAS number as a product code. A CAS RN names a substance, not a supplier’s grade, concentration or mixture. Safety data sheets for mixtures often list the CAS RNs of each component rather than one for the whole product.

Similar weighted check digits protect books (ISBN), journals (ISSN) and securities (ISIN).

Frequently asked questions

Does a pass mean the substance exists?

No. It only means the digits are internally consistent. Many invalid numbers also pass by chance (about 1 in 10 random wrong check digits is accepted), and CAS decides which numbers are actually assigned.

How long can a CAS RN be?

Up to 10 digits: 2 to 7 in the first group, 2 in the second, 1 check digit. The first group is not fixed-width, so a leading zero is not added.

Do I need the hyphens?

Yes here. They mark where the groups end, which is how the format is defined.

What is a CAS Registry Number used for?

It gives a substance a single identifier that does not depend on any naming system, so scientists, suppliers and regulators can refer to the same chemical regardless of the name used.

How do I verify a CAS number?

Remove the hyphens, set the last digit aside as the check digit, multiply each remaining digit by its position counted from the right starting at 1, add the products and compare the last digit of the sum with the check digit. This tool shows every step.

Why does my CAS number pass but return nothing in a search?

The check digit proves the digits are internally consistent, not that CAS assigned the number. Random numbers pass about one time in ten, so an unassigned number can still validate.

Can I find the chemical name from the CAS number here?

No. This tool does not contact CAS and has no substance database. Use a CAS lookup service or the supplier’s safety data sheet to find what a number refers to.

How many digits can a CAS number have?

Up to 10, in three hyphen-separated groups: 2 to 7 digits, then 2 digits, then 1 check digit.

Does a CAS number say anything about the chemistry?

CAS says its numbers are not dependent upon any system of chemical nomenclature, and they are assigned in sequence as new substances are identified, so the digits themselves carry no chemical meaning.

Who assigns CAS numbers?

CAS does. Numbers are assigned when a substance appears in literature indexed for the CAS Content Collection or on request through CAS Registry Services.

Advertisement