NDC Converter and Drug Code Crosswalk
Every drug package in the US has a National Drug Code, but FDA writes it with 10 digits and pharmacy and Medicare claims use 11, so the same box has several spellings. Paste them in any form to see what the drug is, how Medicare Part B bills it and what pharmacies pay.
Paste National Drug Codes in any format, one or hundreds. Each comes back as the 11-digit billing code and FDA's 10-digit code, with the product and labeler from FDA's NDC directory, the Medicare Part B billing code and payment limit, and what pharmacies pay (NADAC).
- NDCs with a Part B code: 7,402
- Part B billing codes: 918
- NDCs priced by NADAC: 30,211
Product details come from FDA's NDC directory as openFDA serves it, kept here for up to a day. The October 2026 crosswalk and payment limits are in effect October 1, 2026 through December 31, 2026. NADAC is the survey of Nov 18, 2026. FDA NDC directory (openFDA), CMS ASP NDC-HCPCS crosswalk and payment limits, CMS NADAC ยท Updated Nov 18, 2026
About this data
NDC formats
An NDC has three parts: the labeler (the company), the product (strength and dosage form) and the package (size and type). FDA assigns the labeler code; the labeler assigns the rest. FDA writes NDCs with 10 digits in one of three shapes, and billing systems pad them to 11.
| FDA format | Example | 11-digit (5-4-2) |
|---|---|---|
| 4-4-2 | 0002-1433-80 | 00002-1433-80 |
| 5-3-2 | 50242-040-62 | 50242-0040-62 |
| 5-4-1 | 60505-2583-8 | 60505-2583-08 |
The lookup also reads 11 digits with or without dashes, codes whose leading zeros a spreadsheet dropped, an asterisk standing in for the padded zero, and the 12-digit UPC barcode number (3, then the 10-digit NDC, then a check digit). FDA has proposed one 12-digit format for all NDCs; until a final rule takes effect, these are the forms in use.
Where the numbers come from
- Product, labeler, package and marketing dates: FDA's NDC directory through openFDA, asked once for every 50 codes.
- HCPCS codes and billing units: CMS's October 2026 ASP NDC-HCPCS crosswalk; payment limits from the October 2026 payment limit file, both from the ASP pricing files page. Checked weekly; CMS publishes a new quarter four times a year.
- Pharmacy prices: NADAC for the survey week of Nov 18, 2026, refreshed weekly. Prices are per unit and before rebates.
Payment limits are not what Medicare covers: coverage is decided by the local Medicare contractor. NADAC is not what a patient pays.
Frequently asked questions
- How do I convert a 10-digit NDC to 11 digits?
- Add a leading zero to the part that is short. A 4-4-2 code gets a zero before the labeler (0002-1433-80 becomes 00002-1433-80), a 5-3-2 code before the product (50242-040-62 becomes 50242-0040-62), and a 5-4-1 code before the package (60505-2583-8 becomes 60505-2583-08). The result is always 5-4-2.
- Why does a 10-digit NDC without dashes have more than one answer?
- Without dashes you cannot tell where the parts break. 5024204062 could be 5024-2040-62, 50242-040-62 or 50242-0406-2, and each pads to a different 11-digit code. A code that starts with 0 has only one reading, because five-digit labeler codes never start with 0. The tool shows every reading and which one FDA lists.
- How do I convert an 11-digit NDC back to 10 digits?
- Remove the zero that was added. If the labeler starts with 0, it is a four-digit labeler and the code is 4-4-2. Otherwise the zero is at the start of the product (5-3-2) or the package (5-4-1); when both start with 0, only FDA's directory says which code exists.
- What is the NDC to HCPCS crosswalk?
- CMS's quarterly list of which drug packages are billed under which HCPCS code for Medicare Part B, with how many billing units each package holds. Drugs given in a clinic or infusion center are billed by HCPCS code (J9271 for pembrolizumab, per 1 mg), not by NDC.
- What is the ASP payment limit?
- What Medicare Part B pays per billing unit of a drug for the quarter, generally 106% of the manufacturer's average sales price two quarters earlier. The tool multiplies it by the package's billing units to give a payment limit per package.
- What is NADAC?
- The National Average Drug Acquisition Cost: CMS's weekly survey of what retail pharmacies pay for drugs, per tablet, millilitre or gram, before rebates. State Medicaid programs use it to pay pharmacies. Drugs given in clinics, such as most infused biologics, are usually not in it.
- Why is my NDC not found?
- FDA's NDC directory lists packages currently listed by their labeler. A discontinued package, a repackager's code that has lapsed, or a typo will not be there. CMS's crosswalk and NADAC are checked separately, so an older code can still show a billing code or price.