Product labels

A mathematically valid UPC is not a licensed one

A UPC-A can pass its check-digit test without being assigned or licensed to your product. The test checks whether the digits add up correctly under the UPC-A rule. Whether the code is assigned to your product is a separate check against your identifier and product records. The label generator completes or validates digits and draws labels; it does not issue or register identifiers.

For this worked example, enter the 11-digit body 03600029145. Keep the leading zero. The generator appends 2 to produce 036000291452. This number illustrates the calculation only. Do not put the example code on your own product.

Worked example: a passing number is not an assignment
Input or checkResult
03600029145Completes with check digit 2
036000291452Passes the digit check
036000291453Fails the digit check
Product assignmentNot checked by this tool

How to read a passing result

For 03600029145, the odd-position digits sum to 14 and the even-position digits sum to 16. Weighting the odd positions by 3 gives 14 x 3 + 16 = 58. The check digit 2 brings that total to 60, a multiple of 10. Replacing only the final digit with 3 makes the full code fail.

A pass confirms that calculation, not who can use the number. It does not look up a company, match a product description or confirm a license. Keep the identifier from your product record and compare every digit, even after the tool reports a pass.

What to do with a code you were given

If you receive all 12 digits, validate the full code first. A failure is a reason to compare it with the original record or ask the supplier to confirm it. It does not identify which digit was copied incorrectly. Changing the last digit can make a mistyped body pass while leaving you with the wrong identifier.

If the supplied record intentionally contains an 11-digit UPC-A body, the tool can calculate digit 12. That completion still needs to match the product record. Printing another label for another unit of the same product is different from assigning that identifier to a different product. Do not assume a product variation can reuse the same identifier. Check the issuer's rules first.

Common assignment and validity mistakes

  • Treating a passing check digit as proof that the code belongs to your product. Check the assignment separately.
  • Generating a random body and calculating its last digit. This creates a number that passes arithmetic, not an issued identifier.
  • Repairing a failing final digit without comparing the whole number with its source. The body may be mistyped.
  • Dropping leading zeros in a spreadsheet. Store UPCs as text so the exported digits stay intact.
  • Assuming a scan proves assignment or retailer acceptance. A scanner reading the bars is a different check.

Print quality and product data are separate checks

The retail preset uses a 0.330 mm X-dimension, at least 2.97 mm of quiet zone on each side at that size, and a 22.85 mm main bar height. Those are preset dimensions, not certification of your printer, sheet or finished label. GS1 US warns against cropping or changing barcode proportions. Measure and test the printed output.

A barcode can scan while the retailer still lacks the product record. GS1 US explains that trading partners need the product and GTIN data in their own databases to retrieve the item at checkout. The label generator does not send that data or guarantee marketplace acceptance.

Sources and tools