Retail & Products • 100% Free & Browser-Based

Free UPC-A Barcode Generator

The standard 12-digit point-of-sale barcode for retail products in the United States and Canada.

11. Selected SymbologyGS1 General Specifications / ISO/IEC 15420
UPC-A
UPC-A — Standard retail barcode for North America (12 numeric digits).
VALID ✅
ℹ️ 12 Numeric digits (0-9)
⚙️ Barcode Sizing & Visual Style▼

Instant Barcode Preview

Vector Live Preview
TECHNICAL SPECCHECKSUM PASS
TYPE: UPC-A
LENGTH: 12
DATA: 012345678905

What is UPC-A Barcode?

The standard 12-digit point-of-sale barcode for retail products in the United States and Canada. Defined under standard GS1 General Specifications / ISO/IEC 15420, UPC-A is engineered for fast, reliable optical scanning across industrial and commercial environments.

SpecificationDetails
Standard SymbologyUPC-A (GS1 General Specifications / ISO/IEC 15420)
Character Set12 Numeric digits (0-9)
Checksum AlgorithmModulo 10 check digit (3x odd positions + 1x even positions)
Quiet Zone Margin9 times the X-dimension on left side, 9 times on right side (standard 0.25 inch / 6.35 mm)
Processing Mode100% Client-Side In-Browser (Zero Server Logs)

✅ Key Advantages

  • •Globally recognized standard in North American retail
  • •Built-in Mod 10 checksum prevents scanning errors
  • •Instant scanning compatibility with all retail laser & optical POS scanners

📦 Common Use Cases

  • •Retail point-of-sale checkout in the US and Canada
  • •Consumer packaged goods (CPG) inventory tracking
  • •Ecommerce listings on Amazon, Walmart, and Target
📐Engineering Specification

Deep-Dive: How UPC-A Encodes Data

UPC-A (Universal Product Code) is the foundational 12-digit point-of-sale barcode standardized under GS1 General Specifications and ISO/IEC 15420. Established in 1974 for North American grocery checkout, UPC-A remains the mandatory symbology scanned at commercial retail checkout registers across the United States and Canada. Every UPC-A number uniquely identifies a commercial product packaging unit down to its exact size, color, and packaging configuration.

⚙️ UPC-A 12-Digit Structure & Modulo 10 Checksum Algorithm

A compliant UPC-A barcode is divided into four distinct functional segments:

  • ›Number System Digit (Digit 1): Designates the category of product (0, 1, 6, 7, 8 for standard items; 2 for variable weight meat/produce; 3 for National Drug Code pharmaceutical products; 4 for in-store marked items; 5 for coupons).
  • ›GS1 Company Prefix (Digits 2–6 or 2–10): A unique company identifier licensed directly from GS1 US or GS1 Canada.
  • ›Item Reference Number (Remaining Middle Digits): Assigned by the brand manufacturer to uniquely identify that specific SKU.
  • ›Modulo 10 Check Digit (Final Digit 12): Calculated mathematically: Multiply all digits at odd positions (1st, 3rd, 5th, etc.) by 3; sum them together; add all digits at even positions; find the smallest number needed to round up to the nearest multiple of 10.

🔬 Physical Barcode Anatomy & Zone Breakdown

Left Quiet Zone
Minimum 9 modules (0.25 inches / 6.35 mm) of blank white space before the first guard pattern.
Normal Left Guard Pattern
Bar-space-bar pattern (101) extending slightly below the bars to anchor scanning.
Left 6 Data Characters
Encoded using Odd Parity (Set A) module patterns.
Center Guard Pattern
Space-bar-space-bar-space pattern (01010) dividing the barcode into two scannable halves.
Right 6 Data Characters
Encoded using Even Parity (Set C) module patterns, terminating with the Modulo 10 check digit.
Right Guard Pattern & Quiet Zone
Final bar-space-bar (101) pattern followed by a 9-module blank margin.

🖨️ Production & Printing Best Practices

  • ✔Print at 80% to 200% of nominal GS1 size (100% nominal dimensions are 37.29 mm wide by 25.93 mm tall). Printing smaller than 80% can cause POS rejection at major retailers like Walmart or Target.
  • ✔Ensure high optical contrast: use solid black bars on a pure white or light yellow matte background. Never use red or metallic reflective backgrounds because red laser diodes will read red ink as white space.
  • ✔For cylindrical containers (bottles, cans), orient the bars vertically ("ladder orientation") so curvature does not alter the optical bar widths.
📷
Optical Scanner Compatibility: Decodable by all bi-optic in-counter grocery scanners, supermarket handheld laser readers, self-checkout kiosks, and smartphone inventory camera apps.
⚠️ Official Retail & GS1 Compliance Notice

MakeMyBarcode generates standard-compliant, high-resolution barcode images for free. However, MakeMyBarcode does not assign official company prefixes. If you are selling products in commercial retail stores (Amazon, Walmart, Target), you must license your official company prefix directly from GS1.

Frequently Asked Questions

What is a UPC-A barcode?

UPC-A (Universal Product Code) is the standard 12-digit barcode used to identify consumer items sold at retail checkout in North America. It consists of a GS1 company prefix, item reference number, and a final Modulo 10 check digit.

How is the UPC-A check digit calculated?

The 12th digit is calculated by summing the digits at odd positions multiplied by 3, adding the sum of digits at even positions, and taking the difference between the sum and the next multiple of 10.

Does MakeMyBarcode issue official UPC numbers?

No. MakeMyBarcode generates the high-resolution barcode image file. If you are selling products in major retail stores, you must license your official GS1 Company Prefix directly from GS1.

🔒 100% Private

Zero Server Uploads

All matrix rendering and check-digit calculations run locally inside your browser using client-side JavaScript.

⚡ Exact Compliance

GS1 & ISO Standard

Strict Modulo checksum verification ensures 100% hardware scanner and retail checkout compatibility.

🎉 No Friction

Free Forever

Zero accounts, zero signups, zero watermarks, and zero expiration dates. Free for commercial and personal use.