Understanding UPCs, GTINs, and GS1-128 Labels for Packaged Baked Goods and Confections

Published by

on

Barcodes and UPCs

For emerging and established food brands alike, setting up a clean, scalable barcode system is one of the most important โ€” and most misunderstood โ€” parts of launching retail-ready packaged products. Whether you are selling protein bars, cookies, chocolates, granola, snack mixes, or confectionery products, retailers and distributors expect every product and every case pack to have properly structured barcodes.

Without the correct barcode setup, brands can experience:

  • Chargebacks and retailer fines
  • Warehouse receiving issues
  • Inventory errors
  • Shipping delays
  • Rejected pallet loads
  • EDI mismatches
  • Traceability problems

Understanding UPCs, GTINs, master cases, and GS1-128 labels early can save substantial headaches as your brand grows.


What Is a UPC?

A UPC (Universal Product Code) is the barcode most commonly used on retail products in the United States and Canada. It identifies a specific product configuration for scanning at retail checkout.

A UPC contains:

  • A unique company identifier
  • A unique product number (SKU)
  • A mathematically generated check digit

The most common barcode format used is:

UPC-A Barcode

A diagram explaining UPC barcodes with sections for UPC company prefix, item reference, and check digit, featuring a sample barcode and descriptions.
https://images.openai.com/static-rsc-4/0lxkSlWPjbPLx24fxpJwNWIOrY8YfW1efbZUrX0YnHF5W0RkZLcY-uWYBwaJZjdK8lIaYjfqwdeXe792CP_hoJSYfJRn-Iuu8sRPlUjx9G5g6-py4C1ZvYWgt3fCvUfJCl5-4jWSrsFSJob8IpmQ9a2sjQHXL7Ix0iCMZnM9abK1k1jAZ1jOSReJdgq8tMWf?purpose=fullsize

A UPC is always:

12 Digits Long

Example:
0 12345 67890 5

The structure is typically:

ComponentExampleDescription
Number System Digit0Defines barcode category, typically included in company code by GS1
Company Code12345Assigned by GS1
SKU/Product Code67890Assigned by the brand
Check Digit5Calculated mathematically

What Is a Company Code?

A Company Code is the portion of the UPC assigned to your business by GS1 US.

This number uniquely identifies your company globally.

Companies can be assigned multiple random company codes if they purchase UPC packages.

There is an option to register your company with GS1 and become a full member, but that carries with it an annual membership fee.

If you do register with GS1, you typically will be assigned a 6-digit company code and that will offer you many more UPC’s than you might ever need, but it will reduce your overall cost compared to purchasing UPC packages separately.

It will also make it so that you will only have one company code rather than multiple ones.

For example, here are the total number of UPC’s if you register with GS1:

Company Code LengthApproximate Number of UPCs Available
6 digits100,000 products

What Is a SKU Within a UPC?

The SKU portion is the number you assign internally to identify each unique product.

Every variation requires a unique UPC:

  • Different flavors
  • Different package sizes
  • Different counts
  • Different packaging formats
  • Different retailer-exclusive versions

Examples:

  • Chocolate Chip Cookie 2 oz
  • Chocolate Chip Cookie 6 oz
  • Peanut Butter Cookie 2 oz
  • Holiday Peppermint Chocolate Bar

Each requires its own UPC.


How UPC Check Digits Work

The final digit in a UPC is called the check digit.

It is mathematically calculated from the first 11 digits to verify the barcode scans correctly.

Simplified UPC Check Digit Process

  1. Add odd-position digits
  2. Multiply by 3
  3. Add even-position digits
  4. Add totals together
  5. Round up to nearest multiple of 10
  6. Difference becomes check digit

Example illustration:

Infographic explaining barcode components, including start marker, manufacturer code, product code, check digit, and end marker with visual representation of a barcode.
Infographic explaining how to calculate the checksum for a UPC-A composite barcode generator with steps listed sequentially.

Most barcode software and GS1 tools calculate this automatically.


What Is a GTIN?

A GTIN (Global Trade Item Number) is a broader global identification standard used throughout the supply chain.

Retailers and distributors often require:

  • UPCs for individual retail units
  • GTINs for master cases
  • Additional pallet labels for warehouse logistics

The most common case-level identifier is:

GTIN-14

GTINs are:

14 Digits Long


What Barcode Is Most Commonly Used for GTINs?

The most common barcode type for case-level GTINs is:

ITF-14 Barcode

https://images.openai.com/static-rsc-4/z5Hgd0BlVci8nHyIHp78iLEsM2REd_PZ5ZzoMKe8w3rD7nW2QMe1DYeKEdpIQd6GQUeRE27yEOHuyxhVGc4U_EPe6SLFX-JjG5pI-7sA8xuT0HD46nVkBXuYV4jLM1IrjEp9XbWiddFCbo2iRZCJPqNPhthAnGyYKNVHC8ssdToGfpXSMdpLl1_dwor4SbNJ?purpose=fullsize
Image showing standard case barcodes with a labeled barcode, product details, and shipping information on a cardboard box.

ITF-14 barcodes are designed specifically for:

  • Corrugated shipping cases
  • Warehouse scanning
  • Distribution environments

They are larger and more durable than UPC retail barcodes.


What Is a Master Case?

A master case is the corrugated shipping box that contains multiple retail units.

Examples:

  • 12 individually wrapped protein bars
  • 6 cartons of cookies
  • 24 chocolate bars
  • 8 bags of granola

Retailers and distributors scan the master case at receiving docks and warehouses rather than scanning every retail unit individually.

Because of this:

Every master case requires its own unique GTIN and barcode.


Creating a GTIN from a UPC

One common approach brands use is to build a GTIN-14 from the retail UPC while preserving the same company code and SKU structure.

Example retail UPC:
012345678905

You can create case GTINs by adding:

  • 10 to the front for one case configuration
  • 20 to the front for another configuration

Example:

Packaging LevelNumber
Retail UPC012345678905
12-count case GTIN10012345678902
Club pack GTIN20012345678909

The new leading digits change the overall number and generate a different check digit while retaining the original UPC reference structure.

This makes internal organization much easier because:

  • The company code stays recognizable
  • The SKU stays recognizable
  • Packaging levels remain logically connected

How GTIN-14 Check Digits Work

GTIN-14 check digits are calculated similarly to UPC check digits using weighted multiplication.

The final digit validates the barcode for scanning accuracy.

Illustration:

https://images.openai.com/static-rsc-4/g2CXe4jf6lVCr97sMMPtPOpxfxZzCgB_DX_mIUxF7n6slPBdPPRK_q9eebc79pz7WKbYwYlANidWP-mVdwNR08eXMGVCu2Y_No74LRQxtDWcwlkAHRQPYZhF2XdhkH7fBoT2MSJ0kbIZhDtFHfvAjtM9Zbr-Hg-wavf-zFn_H3J1upCmROtCKuZaIHs4Zp6W?purpose=fullsize
An infographic explaining the GTIN-12 and GTIN-14 product numbering system, featuring a barcode and illustrations of a screwdriver, a box containing screwdrivers, and details about the data structure and packaging indicators.

Again, most barcode software handles this automatically.


Registering with GS1

To obtain official UPCs and GTINs, brands should register directly with:

GS1 US

GS1 is the global standards organization responsible for barcode ownership.

The process typically involves:

  1. Registering your company
  2. Purchasing a company prefix
  3. Receiving your GS1 company code
  4. Creating your product numbering system
  5. Assigning UPCs and GTINs

Avoid purchasing โ€œresoldโ€ UPCs from unofficial websites. Many major retailers now verify barcode ownership against GS1 databases.


Building a Good SKU Assignment System

As your product line grows, organization becomes critical.

A common strategy is creating logical SKU ranges.

Example:

SKU RangeProduct Type
10000โ€“10999Protein Bars
11000โ€“11999Cookies
12000โ€“12999Chocolates
13000โ€“13999Granola
14000โ€“14999Seasonal Items

You can further organize by:

  • Flavor
  • Size
  • Retailer
  • Packaging type
  • Formulation version

A well-designed numbering structure makes:

  • ERP setup easier
  • Warehouse management cleaner
  • Packaging updates simpler
  • Retail onboarding smoother

What Is a GS1-128 Label?

Many retailers and distributors now require a more advanced logistics label called:

GS1-128

A GS1-128 label combines:

  • GTINs
  • Lot codes
  • Expiration dates
  • SSCC pallet identifiers
  • Quantities
  • Shipping data

These labels are commonly used on:

  • Master cases
  • Pallets
  • Distribution shipments
An informative graphic explaining GS1-128 barcodes, including details on vendor and customer information, postal codes, carrier, purchase order numbers, item quantities, store numbers, and serial shipping container codes. The image features a barcode example and bullet points outlining the benefits and functionalities of GS1-128 labeling.
https://images.openai.com/static-rsc-4/5gbqRAKEJIum61VldrEpiNPlFUoFa6ZJtv1oK9wU2v-0iiMsVyrg1SvE_2qoCmI6Pws-Sbl8FXtN95yjeDO5maNTNm-9c1uVaqNa9nBgF_pPwb0j8Cl_9RJaftAfQdc6je3vTvKcfUE4dGhBj-VDRnc-fjaAIpFm8eJobGwg7CtQCdv9nQeXprDtGREyiEya?purpose=fullsize
https://images.openai.com/static-rsc-4/mpVmfI_Lr3ty9mwLl9qnG_0Dvfa2vJ-1zG9AcT22ztNYy7MOrw8GjaTpM8hSVtyvHLR67rNk594pnslK1f5lRoUh8md_yi6ZJLSh8Y4m_m1lG1agJ5IpCvVd8UStvyJxnSj3qrRV2dwYx7ahEEqSCFi4jCw1jkqHECwDvYUOBGBZvVjivSQGgnZ93H2HSDRA?purpose=fullsize
https://images.openai.com/static-rsc-4/26S4xeJcMjcAww-AJDMo2VZkhencNRe3_j56HCb5vclcN_0CtX_RiH7VLmhN_Yd0SxqyKyvL5yIMUjVRg4oaap2Q97jHU0C0x9kOfV9ycG-WU_CAymDU8Wex9hUyxJFLqDkTbeeRsF33AXfBf7AwQzUSn8Ek90GpuHR3iMfmEO0t8kMgvAvd7Xa9hPOdqFej?purpose=fullsize

GS1-128 labels help retailers automate:

  • Receiving
  • Inventory tracking
  • Traceability
  • Recall management
  • Warehouse routing

Many large retailers and distributors now mandate GS1-128 compliance.


Common Barcode Mistakes Food Brands Make

  • Reusing UPCs
    • Every product variation needs a unique UPC.
  • Using Unofficial UPC Sellers
    • Retailers increasingly validate ownership through GS1.
  • Forgetting Case GTINS
    • Retailers increasingly validate ownership through GS1.
  • No Logical SKU System
    • Poor organization creates future inventory and ERP problems.
  • Incorrect Barcode Sizing
    • Improper quiet zones or scaling can cause scanning failures.
  • Missing GS1-128 Compliance
    • Increasingly required for warehouse and pallet logistics.

How World Wide Gourmet Foods Helps Brands Navigate Barcode and Labeling Requirements

Launching a retail-ready food product involves much more than simply making a great product. Proper barcode structure, case labeling, and retailer compliance are critical to scaling successfully.

As an experienced co-manufacturer specializing in packaged baked goods, cereals, granolas, snack mixes, protein bars, cookies, chocolates, and confections, World Wide Gourmet Foods works with brands to help ensure:

  • Proper UPC setup
  • Correct GTIN assignment
  • Retail-compliant master case labels
  • GS1-128 implementation
  • Packaging hierarchy organization
  • Warehouse and distributor compatibility
  • Retailer compliance requirements
  • Reduced chargebacks and receiving issues

From startup brands entering their first retailer to established national brands expanding distribution, proper barcode systems are essential for smooth operations and scalable growth.

Leave a Reply

Discover more from World Wide Gourmet Foods

Subscribe now to keep reading and get access to the full archive.

Continue reading