Barcode Tools · UPC-A

UPC-A generator.

Enter your 11-digit code and we'll auto-calculate the check digit, then produce a scannable 12-digit UPC-A barcode for retail products in the US and Canada.

Inputs

UPC code (11 digits)
The 12th digit is calculated automatically.
Check digit (auto) ?
Optional metadata
Used in the download filename only.

UPC-A barcode

Enter 11 digits and press Generate.

How the UPC-A check digit is calculated

  1. Sum the digits in odd positions (1, 3, 5, 7, 9, 11) and multiply by 3.
  2. Sum the digits in even positions (2, 4, 6, 8, 10).
  3. Add both sums together.
  4. The check digit is the smallest number that, added to the total, makes a multiple of 10.

UPC-A facts