Advertisement
728 x 90
🔍

NDC lookup & decoder

Free

Decode any NDC number into its labeler, product and package segments. Convert between 10-digit and 11-digit formats for billing. Understand what each segment means and how NDC formats differ across products.

Enter with or without hyphens. Accepts 10-digit (FDA format) or 11-digit (billing format).

Examples:

Advertisement
728 x 90
NDC decode result

NDC format reference

4-4-2 format (FDA, 10 digits)

4-digit labeler + 4-digit product + 2-digit package. Example: 0071-0155-23. To convert to 11-digit billing: pad labeler to 5 → 00071-0155-23.

5-3-2 format (FDA, 10 digits)

5-digit labeler + 3-digit product + 2-digit package. Example: 00093-058-01. To convert to 11-digit billing: pad product to 4 → 00093-0058-01.

5-4-1 format (FDA, 10 digits)

5-digit labeler + 4-digit product + 1-digit package. Example: 00002-3227-1. To convert to 11-digit billing: pad package to 2 → 00002-3227-01.

5-4-2 format (NCPDP billing, 11 digits)

Standard for all insurance claims and HIPAA transactions. Always 11 digits: 5-digit labeler + 4-digit product + 2-digit package. Achieved by padding the shortest segment of a 10-digit NDC with a leading zero.

Advertisement
728 x 90

National Drug Codes (NDC): what every pharmacist needs to know

The NDC is the universal product identifier for human drug products in the United States. Every finished drug product must have an NDC. The FDA maintains the NDC directory as a public database updated daily. Understanding NDC structure is essential for billing, drug verification and inventory management.

The 3 segments explained

The labeler code identifies the company that manufactures, repacks or distributes the product. The FDA assigns labeler codes. The product code identifies the specific drug, strength, dosage form and formulation within a labeler's portfolio. The package code identifies the specific package type and size. A labeler can have many products. Each product can have multiple package configurations.

Why 10-digit NDCs cause billing errors

The FDA uses 3 different 10-digit formats (4-4-2, 5-3-2, 5-4-1). HIPAA requires 11-digit NDCs (5-4-2) for all pharmacy claims. Pharmacies must know which format a specific NDC uses to correctly add the leading zero to the right segment. Adding the zero to the wrong segment creates a different (usually invalid) NDC and results in a claim rejection. Our Days Supply Calculator uses NDC quantities for accurate billing. For sig code interpretation that pairs with NDC billing, see the SIG Code Decoder.

NDC vs UPC vs GTIN

NDC is US-specific and applies to finished drug products. The Universal Product Code (UPC) appears on retail packaging and is used for point-of-sale scanning. GTIN (Global Trade Item Number) is an international standard that encompasses both. Many pharmacy dispensing systems use NDC as the primary identifier. NDC data is freely available from the FDA NDC directory at accessdata.fda.gov.

Frequently asked questions

A National Drug Code (NDC) is a unique 10-digit or 11-digit numeric identifier assigned to every drug product in the United States. It has 3 segments: the labeler code (identifying the manufacturer), the product code (identifying the specific drug strength and formulation), and the package code (identifying the package size and type).
The FDA assigns 10-digit NDCs in 3 configurations: 4-4-2, 5-3-2, or 5-4-1. For billing and claims (NCPDP/HIPAA), an 11-digit NDC in 5-4-2 format is required by padding the shortest segment with a leading zero. Adding the zero to the wrong segment creates an invalid NDC and causes claim rejections.
Identify the format of the 10-digit NDC then add a leading zero to the shortest segment. For 4-4-2: add 0 to labeler → 5-4-2. For 5-3-2: add 0 to product → 5-4-2. For 5-4-1: add 0 to package → 5-4-2. The result is always 11 digits in 5-4-2 format.