# Check digit calculation of Modulo 10

## Modulo 10

This is a description of calculating check digits according to Modulo 10. ActiveBarcode calculates this check digits for most codes automatically.

Calculating a check digit according to Modulo 10:
Modulo 10 is used by many barcode symbologies like EAN-13. Here are some examples of how to calculate the check digit according to Modulo 10:

An example of calculation the check digit for an EAN-13 code:

 EAN-Number: 4 007630 00011 check digit: unknown at this time Digits: 4 0 0 7 6 3 0 0 0 0 1 1 Multiply with 1 3 1 3 1 3 1 3 1 3 1 3 Results 4 0 0 21 6 9 0 0 0 0 1 3 Total = 44 Check digit: Check digit = the addition to the next multiples of 10 (here 50), thus 6

The check digit of Code 25/25I is calculated according to Modulo 10 with a weigthing of 3 from the left. An Example:

 code : 1 2 3 4 5 weighting : 3 1 3 1 3 product : 3 2 9 4 15 sum of products : 33 check digit Check digit = the addition to the next multiples of 10 (here 40), thus 7

The check digits of Ident- and Leitcode are also calculated according to Modulo 10, but with a different weighting. An Example:

 code : 2 3 6 6 9 0 1 2 0 1 2 3 0 weighting : 4 9 4 9 4 9 4 9 4 9 4 9 4 product : 8 27 24 54 36 0 4 18 0 9 8 27 0 sum of products : 215 check digit : The addition to the next multiples of 10 (here 220), thus 5

One more example of the Modulo 10 check digit. This time for EAN-14 / ITF-14 / SCC-14 / DUN-14 Codes:

 DUN-Number: 0400763000011 Check digit:: unknown at this time Digits: 0 4 0 0 7 6 3 0 0 0 0 1 1 Multiplicator 3 1 3 1 3 1 3 1 3 1 3 1 3 Results 0 4 0 0 21 6 9 0 0 0 0 1 3 Total = 44 Check digit: The addition to the next multiples of 10 (here 50), thus 6

 Index Examples Barcode types Control / OCX Application Internet/ASP/PHP Licences

| Home | Shop | Email | Datenschutz | Sitemap | Print preview | Version 5.60 | | © Lars Schenk & Frank Horn

All trademarks and product names mentioned are the property of their respective owners.