NDC number converter and format
The NDC number is behind the barcode on every medicine. Type one to see its parts and its 11-digit billing format, then practice where the zero goes.
NDC, 10 to 11 digits
On the label: 5-3-2
The second part is one digit short of 4, so the zero goes in front of it.
On the claim: 5-4-2
This changes the form only. Which product it is, see FDA's NDC directory (opens another site).
Tap the part that needs the zero
The numbers are made up.
For practice only. Do not use it to fill or bill a real prescription; ask the pharmacist.
Use it on a real shift
Pharmacy Technician simulator: Read prescriptions, catch the dangerous ones, count pills and get the right bottle to the right person.
What the three parts of an NDC mean
Labeler
The company that makes the product or puts its label on it. FDA assigns this part.
Product
The drug, its strength and its form. The company assigns it.
Package
The size and kind of package: a bottle of 30, a bottle of 500, a box of 10 pens.
Where the zero goes
A label has 10 digits in one of three forms. Claims use 11 digits, always 5-4-2, because hyphens are left out on the wire.
| On the label | Short part | Example | On the claim |
|---|---|---|---|
| 4-4-2 | Labeler | 1234-5678-90 | 01234-5678-90 |
| 5-3-2 | Product | 10010-001-01 | 10010-0001-01 |
| 5-4-1 | Package | 12345-6789-0 | 12345-6789-00 |
- Going back from 11 to 10 digits is not a calculation: more than one zero may be there. Look at the label.
- On March 7, 2033 FDA changes to one form with 12 digits, 6-4-2. The billing form is a separate rule and stays 11 digits until that rule is changed. FDA explains the change (opens another site).
Questions people ask
What do the three parts of an NDC number mean?
The first part is the labeler (the company), the second the product (drug, strength and form), the third the package size.
How do you convert a 10-digit NDC to 11 digits?
Add one leading zero to the part that is short, so that the parts become 5-4-2: 4-4-2 gets it in front of the first part, 5-3-2 in front of the second, 5-4-1 in front of the third.
Why can a 10-digit NDC without hyphens not be converted?
Because the hyphens say which part is short. The same ten digits can stand for three different 11-digit numbers.
Where do I find the NDC on a medicine?
On the manufacturer's label or box, near the barcode, usually after the letters NDC. A pharmacy's own label on an amber bottle often does not show it.
Where this comes from
- FDA, National Drug Code format and the 12-digit rule
- Federal Register, March 5, 2026, the NDC rule
- 21 CFR 207.33, the parts of an NDC
- FDA, National Drug Code Directory
Last changed . Rules change, and states and employers add their own: at work, follow theirs. Found a mistake? How we check, and how to tell us.
More pharmacy technician practice
- PTCB practice test20 new questions each time, close to the exam's mix
- Sig codesRead the shorthand on prescriptions
- Days' supply calculatorTablets, insulin, drops and inhalers
- Pharmacy mathDoses by weight, IV flow, conversions, alligation
- Top drugs quizBrand, generic and class, with flashcards
- DEA number checkThe arithmetic test, controlled drug schedules
- DAW and reject codesWhat the insurance answer means
- Look-alike drugsTell the dangerous twins apart
- Controlled drug schedulesSort medicines into II, III, IV and V
- USP 795, 797 and 800Compounding rules in plain words
Like this kind of game? See code and memory quizzes.