We use cookies to provide you with the best experience and functionality on our website. By continuing to use the site, you are agreeing to our use of cookies.   

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

 



Product info
Manuals
Barcode generator
Barcode object
Web component
Licences

| Home | Shop | Email | Datenschutz | Impressum | Version 6.0.0 | Web Design
Copyright
Frank HornActiveBarcode Generator App
Web design
Documentation
Copyright Frank Horn
&
Lars SchenkActiveBarcode Object
Web- & server component
Command line
Copyright Lars Schenk

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