When you need a check digit
- You are making your own barcodes for loose goods or house-brand packs.
- A barcode on a product will not scan and you want to see if the number was copied wrongly.
- A supplier sent a product list with 12-digit codes and the 13th is missing.
Using it
- Type the first 12 digits of the barcode, spaces allowed.
- Read the check digit and the full EAN-13 barcode.
- Compare the 13th digit with the one printed on the product. If they differ, a digit was mistyped somewhere.
How the check digit is calculated
- Add the digits in the 1st, 3rd, 5th, 7th, 9th and 11th places.
- Add the digits in the 2nd, 4th, 6th, 8th, 10th and 12th places and multiply that sum by 3.
- Add the two results.
- The check digit is the number that brings that total up to the next multiple of 10 (0 if it is already one).
Example: for 890123456789, odd places give 8+0+2+4+6+8 = 28, even places give (9+1+3+5+7+9) × 3 = 102. 28 + 102 = 130, already a multiple of 10, so the check digit is 0 and the barcode is 8901234567890.
Mistakes with homemade barcodes
- Making up a 13-digit number without a correct check digit. Scanners reject it.
- Using a number that clashes with a real brand's barcode.
- Printing barcodes too small or too pale for the scanner to read.
- Assuming a correct check digit means the number is registered. Registered numbers come from GS1, not from this sum.
Barcodes in Galladar
For items with no maker's barcode, Galladar can generate a barcode and print it on a TSPL label printer, for example on 50×25 mm labels. See barcode labels and barcode billing, and the label printers guide for setting up the printer.
Questions shopkeepers ask
Does a correct check digit mean my barcode is official?
No. It only means the number is well formed. Officially registered numbers are issued by GS1.
Why does my scanner reject a barcode I made?
A wrong check digit is the most common reason. Print size and contrast are the next ones to check.
Can I use this for 8-digit barcodes?
No. This calculator is for EAN-13 only.
Last reviewed
