What Is a GTIN?

GTIN stands for Global Trade Item Number, the number inside UPC, EAN and ITF-14 barcodes. Here's how the four lengths relate and how the check digit is calculated.

i
We make barcode images, not barcode numbers. Amazon and Walmart check every UPC against the GS1 database, so retail numbers must come from GS1 US (or your country's GS1). For your own SKUs, inventory and asset tags, any number works with Code 128. Do I need GS1? →

One idea, four lengths

GTINDigitsBarcodeTypical use
GTIN-1212UPC-ARetail, US & Canada
GTIN-1313EAN-13Retail, worldwide; books (ISBN)
GTIN-88EAN-8Very small packs
GTIN-1414ITF-14, GS1-128Cases and cartons

All GTINs can be written as 14 digits by adding leading zeros. That's how databases store them: the UPC 036000291452 is the GTIN-14 00036000291452. Adding zeros on the left doesn't change the product or the check digit.

How the check digit works

The last digit is calculated from the others with the GS1 mod-10 rule:

  1. Starting from the right (excluding the check digit), multiply digits alternately by 3 and 1.
  2. Add up the results.
  3. The check digit is whatever brings the total up to the next multiple of 10.

Example for UPC 03600029145_: from the right, 5×3 + 4×1 + 1×3 + 9×1 + 2×3 + 0×1 + 0×3 + 0×1 + 6×3 + 3×1 + 0×3 = 58. The next multiple of 10 is 60, so the check digit is 2 → 036000291452. Our generators do this automatically and warn you if a full number's check digit is wrong.

GTIN vs UPC vs EAN vs SKU

  • GTIN is the number; UPC and EAN are barcode formats that carry it.
  • A SKU is your own internal stock code. It can be anything and only means something inside your business.
  • An ASIN is Amazon's catalogue ID; an FNSKU is Amazon's warehouse label code.

Where GTINs come from

GTINs are issued through GS1 member organisations. Marketplaces like Amazon and Google check them against GS1's registry. Read how to get a barcode for your product before buying.

FAQ

What is a GTIN: common questions

Is a GTIN the same as a UPC?

A UPC barcode carries a 12-digit GTIN (GTIN-12). GTIN is the number; UPC is the barcode format.

How do I convert a UPC to a GTIN-14?

Add two zeros to the front: 036000291452 becomes 00036000291452. The check digit stays the same.

Where do I find my product's GTIN?

It's the number under the barcode on the package, or in your GS1 account if it's your product.

Make your first barcode in 10 seconds.

Free, no sign-up, and it's ready to print.

Start generating ↑