Skip to main content

DEA Number Validator (USA)

Validate the structural compliance, registrant category, and checksum formula of US Drug Enforcement Administration registration numbers.

About DEA Number Validation

DEA Number validation checks whether an identifier adheres to the federal specifications codified in the Controlled Substances Act (21 CFR Part 1301).

The validator checks if the first letter represents an active registrant class (A, B, C, F, M, P, R, X), whether the second character is an initial letter or digit, and calculates the weighted checksum over the digits.

Anatomy & Structure of the DEA Number (9 Characters)

Official structure regulated by the Controlled Substances Act (21 CFR Part 1301):

PositionFieldLengthMeaning & RuleExample
1Registrant Type1 letterRegistrant category (A/B/F/C for Practitioners, M for Mid-Level, P/R for Distributors)A
2Registrant Initial1 letter/digitFirst letter of legal last name or business entity (or 9 if beginning with a digit)B
3 to 8Sequential Identifier6 digitsUnique numeric identifier assigned by the DEA123456
9Check Digit1 digitChecksum digit calculated via (Odd Sum + 2 * Even Sum) mod 103

DEA Checksum Algorithm

Proprietary official formula applied to the 6 central sequential digits:

Total = (d1 + d3 + d5) + 2 * (d2 + d4 + d6) | Check Digit = Total % 10
  1. 1. Sum the 1st, 3rd, and 5th digits (Sum 1).
  2. 2. Sum the 2nd, 4th, and 6th digits and multiply the result by 2 (Sum 2).
  3. 3. Add both partial sums together (Total = Sum 1 + Sum 2).
  4. 4. The check digit is the last digit of the total (Total mod 10).

Frequently Asked Questions & Technical Specifications