UPC-A Barcode Generator
UPC-A is the 12-digit barcode on retail products in the United States and Canada. Generate one below — type 11 digits and the check digit is added for you.
Enter a value to see the barcode.
What the 12 digits mean
Reading left to right: the first digit is the number system (0 for ordinary grocery and retail items, 3 for drugs and health items, 2 for items sold by weight, 4–5 for coupons and store use); the next five digits are the manufacturer code assigned by GS1 US; the next five are the product code you assign; the last digit is the check digit. The number system digit is part of the number — a UPC-A starting with 2 is not the same product as the same digits starting with 0.
UPC-A check digit
The check digit uses the same modulo-10 calculation as EAN-13: from the right, multiply the digits
alternately by 3 and 1, add them, and take the amount to the next multiple of 10. For the classic example
03600029145 the weighted sum is 58, so the check digit is 2 and the full number is
036000291452. This tool corrects a wrong 12th digit instead of drawing an invalid barcode.
See the check digit calculator for the step-by-step maths.
Print size
UPC-A uses the same nominal dimensions as EAN-13 under the GS1 symbol specification: 37.29 mm wide at 100% magnification, bars 22.85 mm high, narrowest bar 0.33 mm, allowed range 80–200%. The quiet zones are 9 modules on each side (EAN-13 uses 11 on the left and 7 on the right). Full tables are in the barcode label sizes & printing guide.
UPC-A vs EAN-13
A UPC-A number is an EAN-13 number with a leading 0 — 036000291452 is
0036000291452 as an EAN-13. If you sell only in the US and Canada, print UPC-A; if you sell
internationally, your GS1 prefix gives you EAN-13 numbers, and most tills outside North America expect
them. Generate the 13-digit form on the EAN-13 generator.
Related
- EAN-13 barcode generator
- UPC-E barcode generator
- ITF-14 barcode generator (cases)
- How to get a barcode for Amazon / retail
Frequently asked questions
How many digits is a UPC-A?
12 digits: number system, manufacturer code, product code and one check digit. Type 11 digits here and the check digit is added.
What is the difference between UPC-A and UPC-E?
UPC-E is a compressed 8-digit form of UPC-A for very small packages. It only works for certain UPC-A numbers (number systems 0 and 1) and it encodes the same product. See the UPC-E generator.
Can I use a UPC-A outside the US and Canada?
Most modern scanners read it, but retailers outside North America normally require EAN-13. The same number with a leading 0 is the EAN-13 form.
Do I need GS1 for a UPC-A?
Yes, for a number retailers will accept. GS1 US allocates the manufacturer code that makes your UPC-A numbers unique. A barcode generator cannot allocate one.