How to Calculate a Modulo 10 Check Character. Modulo 10 check characters are used with various barcode symbologies. They are always used with UPC-A and EAN-13 barcodes. We get quite a number of inquiries as to how to calculate this digit. So here is the procedure.
- For this process the right most digit is the first digit in the code. (The 11th digit from the left for UPC, the 12th digit from the left for EAN).
- From right to left add all the odd digits (first, third, etc.) and multiply the total by 3.
- To this total add the total of the even digits.
- Subtract the resulting total from the next highest multiple of ten. (If the total was 74, subtract it from 80.)
- The resulting character is the check digit.
Try this on a few UPC or EAN symbols that have the check digit already printed with the symbol, just to make sure you've got the process correct. If you've got a code with the digit already printed, make sure not to include it in your calculations. Remember, with UPC there should be eleven digits involved in the calculation. Twelve with EAN. Copyright(c) Custom Sensors, Inc.. Created: 11/11/96 Updated: 9/10/97 |