Fizz Barcode Labels

Fizz Barcode Labels / Tools

Barcode check digit calculator

Type a barcode number. Get its check digit, see the working, and download the bars.

Your number

Examples:

How is a barcode check digit calculated?

The last digit of an EAN or UPC number is worked out from all the others, so a scanner can catch a misread or a typo. GS1 US puts it simply: "The last digit of a barcode number is a calculated check digit" (GS1 US).

  1. Starting from the digit just left of the check digit, multiply the digits alternately by 3 and 1.
  2. Add the results.
  3. The check digit is what you add to reach the next multiple of 10 (0 if the sum already ends in 0).

That's the same rule for EAN-13, UPC-A, EAN-8 and GTIN-14: it's computed modulo 10, with weights that "alternate between 3 and 1" (International Article Number). For 400638133393 the sum is 89, so the check digit is 1 and the full EAN-13 is 4006381333931.

Where do I get a barcode number?

A product you resell usually has one from its maker, printed on the pack. For your own products sold through other retailers or marketplaces, you license numbers from GS1; GS1 US, for example, sells a single GTIN for with no annual fee (GS1 US, checked 28 November 2026). If a barcode only has to scan in your own shop, an in-store number starting 200–299 works and costs nothing. Our guide How do I add barcodes to Shopify products that don't have one? explains the choice.

The calculator runs in your browser and sends nothing anywhere. GTIN-14 numbers go on cartons as ITF-14 bars, which this page doesn't draw; it still works out their check digit.