Every product on a store shelf carries a barcode with a story inside it a structured sequence of numbers that identifies who made the product and what that specific item is. If you've ever looked at a UPC barcode and wondered why some digits belong to the manufacturer while others describe the product, you're asking exactly the right question. Understanding the difference between UPC manufacturer code and product code in barcode structure helps businesses assign codes correctly, avoid scanning errors, and stay compliant with GS1 standards. Whether you're setting up barcodes for the first time or troubleshooting inventory mismatches, knowing how these two segments work saves time and prevents costly mistakes.
What is the overall structure of a UPC barcode?
A standard UPC-A barcode contains 12 digits. Each section serves a specific purpose:
- Number system digit (1 digit) identifies the type of product (0 is standard, 2 is weighted items, 3 is pharmaceuticals, etc.)
- Manufacturer code (5 digits) assigned by GS1 to the company that produces or distributes the product
- Product code (5 digits) assigned by the manufacturer to identify a specific item
- Check digit (1 digit) calculated mathematically to verify the barcode scans correctly
So the first half of the barcode belongs to the company, and the second half belongs to the individual product. This split is the core of the distinction.
What does the manufacturer code actually identify?
The manufacturer code sometimes called the company prefix or maker identification code is a unique number GS1 assigns when a business registers. It identifies the brand owner or distributor, not the factory location. Two important details:
- GS1 distributes these codes in blocks. A large company might get a short prefix (allowing more product numbers), while a small business gets a longer prefix with fewer available product codes.
- The manufacturer code does not tell you where the product was made. It tells you who holds the license with GS1 for that number range.
If you're a small business looking into GS1 registration, the process of meeting barcode standards and compliance requirements is worth reviewing before you apply.
What does the product code represent?
The product code is the 5-digit segment that the manufacturer assigns to each individual SKU. This means the same manufacturer code paired with different product codes creates distinct barcodes for different items. For example, a 16 oz bottle of shampoo and a 32 oz bottle of the same shampoo would share the same manufacturer code but carry different product codes.
Key points about the product code:
- The manufacturer has full control over which numbers they assign to which products.
- Each unique SKU (size, color, flavor, variant) needs its own product code.
- Once a product code is retired, GS1 recommends not reusing it for at least 48 months to avoid scanning confusion.
Getting this assignment process right matters, and there are structured approaches to assigning product codes within barcode systems that reduce errors.
How are the manufacturer code and product code different in practice?
Here's a side-by-side comparison that makes the distinction clear:
Manufacturer code
- Assigned by GS1 to the business entity
- Same across all products from that company
- Length varies depending on GS1 prefix block (companies with fewer products get longer prefixes and shorter product code space)
- Cannot be chosen by the business it's issued during GS1 registration
Product code
- Assigned by the manufacturer to individual SKUs
- Unique to each product variation
- Length adjusts based on how long the manufacturer code is (the two segments together always total 10 digits)
- Fully controlled by the business they decide the numbering system
This relationship is important: a company with a 7-digit manufacturer prefix only has 3 digits for its product code (limiting it to roughly 1,000 products), while a company with a 5-digit prefix gets 5 product digits (up to 100,000 products).
Can you give a real-world example?
Imagine a company called FreshBrew Coffee. GS1 assigns them the manufacturer code 012345. They sell three products:
- House Blend 12oz product code 00001
- Dark Roast 12oz product code 00002
- Decaf 12oz product code 00003
The full UPC for House Blend (assuming number system 0) would be structured as:
0 (number system) + 012345 (manufacturer) + 00001 (product) + check digit
Notice the manufacturer code stays the same across all three products. Only the product code changes to differentiate one SKU from another.
What mistakes do people commonly make with these codes?
Several errors come up regularly, especially with businesses new to barcoding:
- Using someone else's manufacturer code. Some companies copy barcodes from existing products or buy codes from unauthorized resellers. This creates duplicates in retail databases and can get products rejected at checkout.
- Assigning product codes inconsistently. Without a documented numbering system, teams accidentally reuse numbers or create gaps that complicate inventory tracking.
- Confusing the barcode number with a SKU or internal part number. The UPC is a retail-facing identifier. Internal tracking numbers are separate and should not replace barcode product codes.
- Ignoring the check digit. The final digit isn't random it's a calculated value. Entering it wrong causes scanning failures.
- Reusing retired product codes too soon. As mentioned, GS1 recommends a 48-month buffer before recycling old numbers.
Does the structure differ for EAN-13 barcodes?
EAN-13 barcodes (common outside North America) use 13 digits but follow a similar logic. The manufacturer code and product code still split the barcode into two functional segments. The key difference is that EAN-13 includes a country code prefix rather than a single number system digit, and the split between manufacturer and product digits varies by country. GS1 organizations in each country manage their own prefix allocations.
How should a business assign product codes internally?
There's no single "correct" numbering method, but a few practices work well:
- Start from 00001 and go up sequentially. Simple and hard to mess up.
- Use category groupings if your prefix allows enough digits. For example, codes 00100–00199 for beverages, 00200–00299 for snacks.
- Keep a master spreadsheet or database that maps every product code to its SKU, description, and launch date.
- Never guess at a product code when generating a barcode. Always reference your official list.
Practical checklist for correct UPC code assignment
- Register with GS1 directly get your own manufacturer code rather than buying from resellers.
- Document your numbering system decide how you'll assign product codes and stick to it.
- Assign one unique product code per SKU every size, color, or variant gets its own number.
- Verify your check digit use a free online check digit calculator before printing.
- Audit your barcode database quarterly catch duplicates or retired codes being reused.
- Test scan every new barcode before mass printing, verify it scans to the correct product at a real point-of-sale system.
Getting the manufacturer code and product code right is the foundation of a barcode system that actually works. Take the time to set up your structure correctly from the start it's far easier than fixing problems after products hit the shelf.
Barcode Maker Code Standards Compliance for Small Business Inventory Management
Maker Code Lookup Tool for Retail Barcode Management
How to Assign Maker Codes to Products Using Barcode Systems
Understanding Manufacturer Identification Codes in Gs1 Barcodes
Simple Arduino Sensor Code Snippets for Beginners
Best Arduino Libraries for Robotics Projects