How to Get UPC Codes

Learn more about getting UPC codes. Includes information on barcodes, sizing requirements, and a step-by-step guide, as well as FAQs.

Updated on September 1st, 2020

The SMB Guide is reader-supported. When you buy through links on our site, we may earn an affiliate commission. Learn more

Universal Product Codes, or UPC codes, are the 12 digit numbers found under barcodes on any point of sale product. UPCs are given out by Global Standard 1 (GS1), a nonprofit group, and serve as a standardized means of tracking inventory and distinguishing sellers by location. The barcode together with the UPC under it is scanned at the time of a sale.

Why you should get UPC codes:

Unique UPCs are required for every product being sold by retailers, wholesalers, and online marketplaces. If you want to distribute and sell your products, you will need one of these universal, standard codes.

How to Get Your Unique UPC Codes:

1: Calculate how many products need UPC codes.

You will need a different UPC for each product, including different sizes, volumes, flavors, etc. For example, if you have dress pants that come in red, green, and blue, and each color comes in small, medium, and large sizes, you will need 9 UPCs all together: 3 for the red pants, 3 for the green pants, and 3 for the blue pants.

Take inventory of all your products that require UPCs to estimate how many Item Reference Numbers (IRNs) you will need, as well as how many digits your highest IRN will have. The number of digits in your highest IRN will make up part of your 12-digit UPC.

You can then calculate how many digits your company prefix should have by subtracting the number of IRN digits from 11. The twelfth number of your UPC will be the check digit, which is mathematically calculated from the other numbers.

As an example, if you have 9,145 products that need UPCs, your highest IRN will be 9145 (4 numbers). Your company prefix will then be 7 numbers long (11 - 4). Then, your UPC will look like this:

UPC Code

2: Join GS1 US and apply for your GS1 company prefix.

GS1 is the only legitimate producer of UPC codes. GS1 US is the organization that serves American businesses. You will need to apply for membership so that you can be assigned your company prefix, which is a unique set of digits that identifies your company as the manufacturer for your product supply-chain.

Your membership fee, as well as the number of digits in your company prefix, will depend on the number of UPCs you need. See our table below for the GS1 US pricing guide.

You can fill in GS1 US's online application to apply for membership and your company prefix. You will need to fill in your company's contact details and your prefix pricing plan before paying online.

GS1 US Pricing:

Number of Products

Initial Fee

Annual Renewal Fee

1 - 10



11 - 100



101 - 1,000



1,001 - 10,000



10,001 - 100,000



NDC/NHRIC Company Prefix



3: Assign a unique product number.

You will need to create a unique product number for each of your products. This will be based on how many digits are in your IRN.

Using the example above, if you have 9,145 products, you will start assigning product numbers from 0001 all the way through to 9145. These unique product numbers will then be added to your company prefix to form 11 out of the 12 numbers in the UPC.

You can assign the IRNs to each product yourself and use GS1's check digit calculator, available for free as part of your membership, to calculate the twelfth digit of the UPC. However, if you have a large range of products, keeping track of all the IRNs can be a challenge. As part of your GS1 membership, you will have access to their online Data Hub, which will help you to create, track, and double-check your IRNs.

4: Choose a barcode design.

Standard barcodes are vertical black stripes on a white background, but you can also choose blue stripes on a yellow or red background. Choose the color variety that you like and that best suits your products.

Sizing requirements:

The standardized size for a UPC barcode is 1.469 inches wide by 1.02 inches tall. However, the barcode size can range from 1.1875 inches wide by 0.813 inches tall to 2.92 inches wide by 2.04 inches tall. Ensure that the UPC code is at a readable size. There should also be unprinted space to the left and right of the barcode for easy scanning.

5: Determine how to display the barcode.

If you have not yet printed your products' packaging or labels, you can order digital barcodes which can then be incorporated into the package or label design. You will need to place the digital barcode in an area of the packaging or label that will stay flat and unwrinkled for easy scanning. You will also want to double-check the size you need as changing the size of the barcode can affect scanning. Digital barcodes are usually placed in the lower right-hand corner on the back of the packaging.

If you have already printed your products' packaging or labels, you can order printed barcodes in the form of adhesive labels and apply them physically to your packaging or labels. You should place the barcode labels in the same location on all your products.

6: Order your UPC barcodes.

You can order digital barcodes with your unique UPCs from GS1's website. You will receive your UPC barcodes in (eps.) file format which you can then add to your label or packaging design with a program like Adobe Photoshop.

You can also order physical barcodes with your unique UPCs from GS1's website. You will receive adhesive labels with the printed barcodes on them which you can then physically apply to all your products.

Pricing for UPC barcodes ranges from $400.00 to $13,000.00 per batch, depending on how many UPCs you order. This pricing includes your membership fee.

Step 7: Test the printed barcodes.

Once you have ordered your barcodes and included them into your packaging, you will want to test the printed barcodes and verify that they will scan properly. You can use a certified service that will verify your barcodes for a price, or you can buy your own verification equipment through GS1.

Other options for getting UPC codes:

While GS1 is the only legitimate producer of UPC codes, there are third-party internet sources that sell single UPC barcodes at discounted rates. However, most big retailers, such as Amazon, will not accept these barcodes as they were used by other companies but are no longer in use. This means that your product will have another company's prefix attached to it.

While it is cheaper to buy from third-party sources, most retailers require companies to have their own prefix on their UPC barcodes.

Legitimate Third-Party UPC Sellers:

Company Name

Starting Price



$5.00 per UPC code.

Directly buy their UPC codes in bulk from GS1. They also offer a 100% money back guarantee if your UPC code is not accepted by Amazon.

Bar Codes Talk

$5.00 per UPC code.

They buy their UPC codes directly from GS1 in bulk and their customers are not required to pay additional fees. The more barcodes you buy, the bigger your discount.

Nationwide Barcode

$12.00 per UPC barcode.

They sell a subset of the UPCs and EANs that their company owns, so the company prefix will lead back to the manufacturer. They offer certificates of authenticity with purchases, but do state that it may be problematic to use their UPCs on Amazon.

Global Trade Identification Number Data Structures.

Global Trade Identification Numbers (GTINs) are globally unique numbers assigned to retail products and can be used anywhere in the world. GTINs can be used with two different types of barcodes: Universal Product Codes (UPCs) and European Article Numbers (EANs).

UPCs are mainly used in America and Canada and consist of two main types: UPC-A, which is 12 numbers (e.g., 036000291452), and UPC-E, which is also 12 numbers but with all zeros suppressed (e.g., 36291452). Most countries outside of America and Canada will use EANs. There are two main types of EANs: EAN-13, which has 13 numerical digits, and EAN-8, which has 8 numerical digits.

Buying UPCs for Amazon:

Amazon requires all listings to have a UPC code in the Product ID section and will remove your listing if your UPCs don't match the information on GS1 US's database, so it is important that you buy legitimate UPCs for any product that you wish to sell on Amazon. Also, if you go to a third-party reseller to buy a replicated UPC, the code will not link your product with your company.

You can follow the steps above to buy legitimate GS1 UPCs for your Amazon products.


How much does it cost to get UPC codes.

GS1 US will charge between $400.00 and $13,000.00 per batch for printed or digital barcodes, depending on the number you order. This price includes your membership fee to GS1. You can also purchase discontinued or bulk UPCs from third-party resellers at discounted rates.

How do UPC codes work?

UPCs consist of a company prefix, an item reference number (IRN), and a single check digit. The number of digits in your company prefix depends on how many digits are in your highest IRN, but together there should be a total of 11 digits, with the check digit making the 12th number.

The UPC is found under the black vertical lines of the barcode and is scanned together with the barcode at the point of sale. The company prefix will link the product to your company and the IRN will identify the exact product.

What is a UPC number?

UPC codes are the 12 digit numbers found under barcodes on any point of sale product. They are made up of a company prefix, an item reference number, and a check digit.

How long does it take to get UPC codes?

GS1 processes applications daily, so you will normally get your company prefix within 24 hours.

How many UPC codes do I need?

You will need one company prefix and unique IRNs for each of your products and their variations. For example, if you have dress pants that come in red, green, and blue, and each color comes in small, medium, and large sizes, you will need a total of 9 UPCs.

Are barcodes and UPCs the same?

The UPC code is 12 numerical digits that are found under the barcode. The barcode is a machine-readable version of the UPC and is in the form of vertical black lines. UPCs must be purchased from legitimate sources, while barcodes can be generated online.