Seller Margin

UPC and EAN barcode labels to print

You have a product number: type it, the tool checks or calculates the last digit, draws the barcode and prepares a sheet of labels.

One line per product: a UPC-A with a 0 in front of its 12 digits (13 digits in all), or an EAN-13 (13 digits, or 12 to have the last digit calculated; 7 or 8 for an EAN-8), then a label if you want one. Example: 0036000291452 Spiral notebook

labels
%

Width of one module at 100%: 0.33 mm. Test the scan with a barcode scanner before a production run.

What this tool is for

A barcode is a number drawn as bars that a scanner reads. In the United States and Canada, products sold in stores carry a UPC-A, a 12-digit code; the rest of the world uses the EAN-13, with 13 digits, and the EAN-8 as a short version for small items. To label stock or prepare a shipment to a warehouse or a store, you need the picture of the code with its readable number underneath. The tool draws the picture from the number, checks the last digit or calculates it, and lays the labels out in a grid.

UPC-A: type a 0 in front

A UPC-A has 12 digits and already includes its check digit. It is the same as an EAN-13 with a 0 added in front, and prints as identical bars. So to check or print a UPC-A, type a 0 before its 12 digits, which makes 13: the tool then verifies the check digit instead of calculating a new one. If you type the 12 digits without the 0, the tool takes them as the start of an EAN-13 and adds a digit, which is not what you want. The pre-filled example uses 0036000291452, the UPC-A 036000291452 with its 0.

The check digit

The last digit is not free: it is calculated from the others so that a typing mistake is caught. The digits are multiplied by 3 and by 1 in turn starting from the right, the results are added up, and the check digit is what must be added to reach the next multiple of ten. Type 12 digits (or 7 for an EAN-8) and the tool adds it; type the whole code and it checks it, telling you the right digit if there is a mistake. For the published example 400638133393, the digit is 1: the full code is 4006381333931.

What the tool does not do

It does not issue numbers. A product number for sale in stores comes from GS1, the organization that manages barcodes (GS1 US in the United States); it cannot be made up, because a number taken at random may already belong to another product. The tool is for laying out a number you own, or an internal number for private use. Always try a printed label with a scanner before a production run: the size, the contrast and the blank margin around the code all matter. The size setting lets you shrink or enlarge the code, from 60 to 200%.

Formula used and sources

Check digit = (10 − (weighted sum mod 10)) mod 10, weights 3 and 1 in turn starting from the rightmost of the first 12 (or 7) digits.

EAN-13: 95 modules = guard 101, six left digits coded L or G depending on the first digit, center guard 01010, six right digits coded R, guard 101.

Other tools on this site