UPC-A Barcode Generator
Retail products USA/Canada
To sell in retail stores you need a GS1 company prefix. Get one from GS1 (opens in a new tab)
Live preview
What Is a UPC-A Barcode?
UPC-A is the standard retail barcode in the United States and Canada. It holds a 12-digit GTIN that identifies one product and is scanned at checkout, in warehouses and by online marketplaces.
The number is made of a GS1 company prefix, an item reference and a check digit at the end. The check digit is calculated from the first 11 digits: digits in odd positions are multiplied by 3, and the check digit brings the total to the next multiple of 10. A UPC-A is the same as an EAN-13 that starts with 0.
What Data Can UPC-A Hold?
11 digits, and we add the 12th check digit; or all 12 digits, and we verify it. Only digits are allowed, and if you enter 13 digits we suggest EAN-13.
Recommended Size
At 100% size a UPC-A is about 37.29 x 25.91 mm with an X-dimension of 0.33 mm, and it can be scaled from 80% to 200%. Keep a blank margin of at least 9 times the narrowest bar on each side.
Reading the First Digit of a UPC-A
The leading digit, called the number system character, says what kind of number follows. It is printed smaller, outside the bars on the left, with the check digit outside on the right.
- 0, 1, 6, 7, 8: regular product numbers
- 2: random-weight items such as meat and cheese, priced in store
- 3: drug and health products using the US National Drug Code
- 4: in-store use, such as loyalty cards or store brands
- 5: coupons
Inside the UPC-A Symbol
A UPC-A is 95 modules wide with 30 bars. Six digits sit to the left of the center guard and six to the right, and the two halves use mirror-image patterns. That is what lets a checkout scanner read the code from either direction and still put the digits back in order.
In GS1 terms a UPC-A number is a GTIN-12. Systems that expect 13 or 14 digits store it with leading zeros, so the same product can show up as 012345678905 or 0012345678905.
More EAN / UPC (Retail) barcodes
How to Create a Barcode in 3 Steps
Choose a barcode type
Select a category on the left (e.g. Linear Codes), then the exact type like Code-128.
Enter data & customise
Type your data — we check it live and add check digits. Adjust size, font and colors.
Download or print
Get PNG, JPG, SVG, PDF or EPS, or print a full sheet of labels in one click.
Why Use QRCodeChamp Barcode Generator
125+ barcode types
Linear, 2D, GS1, postal, healthcare and payment codes.
Live validation
Friendly errors with one-click fixes and automatic check digits.
Print-ready PDF
Exact mm sizes, label sheets (Avery, A4, 4×6 thermal).
Bulk barcodes
Paste a list or generate number sequences.
Choose the Type of Barcode You Need
Not sure which barcode to use? Start with what you need it for — we’ll pick the right type.
UPC-A FAQs
Yes, if you sell in stores or on most marketplaces. GS1 US and GS1 Canada issue company prefixes and single GTINs.
Yes. Checkout scanners around the world read a UPC-A as an EAN-13 with a 0 in front.
It is the check digit. Enter 11 digits and we calculate it; if you type all 12, we check that the last one is correct.
Only for very small packs, and only if your UPC-A number can be compressed. Otherwise use UPC-A.
It is the UPC-A convention for human-readable text: the number system digit sits to the left and the check digit to the right, in a smaller font.
GTIN-12 is GS1's name for the 12-digit number in a UPC-A barcode. It is the same number, just named as part of the GTIN family.
