Free UPC-A Barcode Generator
Generate UPC-A barcodes — the universal product code used at every checkout in the United States and Canada. Create, customize, and download in seconds.
Enter your data
Live preview
Start typing and your code appears here
This is exactly how the code looks in your wallet. Sign in or use the WearSocials app to keep it on your phone and watch.
What Is a UPC-A Barcode?
UPC-A (Universal Product Code, version A) is the 12-digit barcode symbology that dominates retail product identification in the United States and Canada. Introduced in 1974 when a pack of Wrigley's gum became the first product scanned at a supermarket checkout, UPC-A remains the backbone of North American point-of-sale systems.
The 12 digits consist of a single number-system digit, a five-digit manufacturer code assigned by GS1 US, a five-digit product code assigned by the manufacturer, and a modulo-10 check digit. This structure guarantees that every UPC-A number is globally unique when obtained through the official GS1 registration process.
UPC-A is technically a subset of the EAN-13 standard — every UPC-A barcode is equivalent to an EAN-13 with a leading zero. This interoperability means products bearing UPC-A codes scan successfully at retail terminals worldwide, not just in North America.
How the 12 digits are structured
UPC-A is the barcode on products sold in the US and Canada. Its 12 digits are a GTIN-12, and adding a leading 0 turns it into the matching EAN-13:
N CCCCC IIIII K
- Number system (N)
- The first digit says what the number is: 0, 1, 6, 7, 8 and 9 for regular products, 2 for random-weight items priced in store, 3 for drugs (NDC), 5 for coupons.
- Company prefix (C)
- Licensed from GS1 US together with the first digit. Its length varies, and so does the number of item references it leaves you.
- Item reference (I)
- Your own number per product variant — every size, flavour and pack count gets one.
- Check digit (K)
- Calculated from the first 11 digits; scanners reject the code when it does not match.
Sample UPC-A barcode
Starts with 2, the range for items weighed and priced in store, so it matches no real product. The first and last digits are printed outside the bars.
212345678992UPC-A check digit calculator
Enter the first 11 digits to get the check digit, or all 12 to verify an existing code. It uses the same GS1 rule as every retail barcode: from the right, multiply the digits alternately by 3 and 1, add them up, and the check digit brings the sum to the next multiple of 10 (or is 0 if it already is one).
11 digits to calculate, 12 digits to verify
Print size and quiet zone
UPC-A uses the same module width as EAN-13. Scale width and height together, within the allowed range.
| Module width (X) at 100 % | 0.330 mm |
|---|---|
| Allowed scaling | 80 % – 200 % (0.264 – 0.660 mm) |
| Symbol at 100 %, incl. quiet zones | 37.29 × 25.91 mm |
| Bar height at 100 % | 22.85 mm |
| Quiet zone | 9X left and right (2.97 mm) |
Truncated bars and cropped margins cause most checkout failures. Keep the quiet zone clear of text and packaging edges.
Where UPC-A scans
UPC-A belongs to the EAN/UPC family that every retail scanner is built for.
Checkout scanners
Laser and image scanners at the till read EAN-13, EAN-8, UPC-A and UPC-E interchangeably, in any direction.
Phone cameras
Google Lens and barcode scanner apps decode it and can look the number up. The iPhone Camera app focuses on QR codes, so use a scanner app there.
Inventory imagers
Warehouse and stock-taking imagers read it next to QR and Data Matrix codes.
How to Create Your UPC-A Barcode
- 1
Enter 11 Digits
Input the first 11 digits of your UPC-A number. The generator will compute and append the 12th check digit automatically.
- 2
Choose UPC-A Format
Select 'UPC-A' from the barcode type menu to apply the correct encoding, guard patterns, and check-digit calculation.
- 3
Style Your Barcode
Customize foreground and background colors to complement your packaging while ensuring sufficient contrast for all scanner types.
- 4
Inspect the Preview
Verify the live preview against your intended UPC number. Confirm the human-readable digits and overall barcode dimensions are correct.
- 5
Export and Print
Download the barcode as a print-ready PNG or SVG and place it on your product packaging, hang tags, or shelf labels.
Key Features
North American Retail Standard
UPC-A is required on virtually every consumer product sold in the US and Canada, making it essential for any brand entering these markets.
Automatic Check Digit
The generator handles the modulo-10 check-digit calculation so every barcode you create passes scanner validation on the first try.
EAN-13 Interoperability
Your UPC-A barcode scans at international registers because it maps directly to an EAN-13 with a leading zero, ensuring global reach.
Print-Quality Output
Export at resolutions that satisfy GS1 print-quality standards, ensuring crisp bars and reliable scans at any checkout counter.
Use Cases
Grocery and Supermarket Products
Food and beverage manufacturers print UPC-A barcodes on every package to enable high-speed checkout lane scanning and automated price lookup.
Consumer Electronics Retail
Electronics brands place UPC-A codes on product boxes and blister packs so big-box retailers can scan items during stocking, sales, and returns.
Health and Beauty Products
Cosmetic and personal-care companies use UPC-A barcodes to list products in pharmacy and drug-store point-of-sale systems across North America.
Amazon and E-Commerce Listings
Online marketplaces require a valid UPC (GTIN-12) to create product listings, match buyer searches, and prevent duplicate catalog entries.
Retail Inventory Replenishment
Store employees scan UPC-A barcodes during shelf counts and receiving to feed automatic reorder algorithms and keep shelves stocked.
Coupon and Promotion Tracking
Retailers and coupon clearinghouses encode promotional offers with UPC-prefixed codes that link discounts to specific products at the register.
Tips & Best Practices
- Register for a GS1 Company Prefix through GS1 US before generating UPC-A codes intended for retail sale — marketplaces and retailers require official GTINs.
- Print the barcode at a magnification between 80% and 200% of the 25.91 mm nominal width to stay within GS1 symbol-specification tolerances.
- Avoid placing barcodes over seams, folds, or perforations that might distort the bars during packaging.
- Use a minimum bar height of 22.85 mm (at 100% magnification) so omnidirectional checkout scanners can read the code from any angle.
- Request a barcode verification report (ISO/IEC 15416 grade) from your printer before approving a production run to catch quality issues early.
Frequently Asked Questions
How many digits are in a UPC-A barcode?
A UPC-A barcode contains exactly 12 digits: one number-system digit, five manufacturer-code digits, five product-code digits, and one check digit. The check digit is calculated automatically using a modulo-10 algorithm.
Is UPC-A the same as EAN-13?
UPC-A is a subset of EAN-13. Prepending a zero to a 12-digit UPC-A number converts it to a valid 13-digit EAN-13. All EAN-13-capable scanners read UPC-A codes natively, which is why products barcoded with UPC-A can be sold globally.
Do I need a GS1 prefix to create a UPC-A?
For products sold through retail channels or listed on major online marketplaces, yes — a GS1 Company Prefix is required to ensure global uniqueness. For internal inventory or testing purposes, you can generate UPC-A barcodes without an official prefix.
Can I use a UPC-A barcode outside the United States?
Yes. Because UPC-A maps to EAN-13 with a leading zero, retail systems worldwide recognize it. Since 2005, all GS1-compliant point-of-sale scanners are required to accept both 12-digit UPC-A and 13-digit EAN-13 formats.
What is the difference between UPC-A and UPC-E?
UPC-E is a zero-suppressed, 8-digit version of UPC-A designed for very small packages. It encodes the same data by compressing certain digit patterns. Not all UPC-A numbers can be converted to UPC-E — only those with specific zero-digit configurations qualify.
Create Your Free UPC-A Barcode Now
No registration required. No watermarks. No limits. Completely free.