Bar Code
Introduction
Bar Coding in-depth
Check Digit Calculators
GS1 Worldwide Sites
Electronic Data Interchange
Basic Definition of EDI
The Components of an EDI System
The Cost and Benefits of EDI
GS1 EANCOM
Basic of XML
XML & Standards
B2B Standards
ebXML FAQ



Calculation of the Check Digit:
EAN.UCC Identification numbers 

Field 14 digits(*)

EAN.UCC-8
UCC-12
EAN.UCC-13
EAN.UCC-14

(*) In databases EAN identification numbers must be placed right justified in a 14 digit field

Serial Shipping Container Code (SSCC)

SSCC    




How is the check digit calculated?
Example of a check digit calculation for the 13 digit field

Detailed explanation on how the check digit is calculated:

 

Digit positions

EAN.UCC-8

 

 

 

 

 

 

 

 

 

 

N1

N2

N3

N4

N5

N6

N7

N8

UCC-12

 

 

 

 

 

 

N1

N2

N3

N4

N5

N6

N7

N8

N9

N10

N11

N12

EAN.UCC-13

 

 

 

 

 

N1

N2

N3

N4

N5

N6

N7

N8

N9

N10

N11

N12

N13

EAN.UCC-14

 

 

 

 

N1

N2

N3

N4

N5

N6

N7

N8

N9

N10

N11

N12

N13

N14

SSCC

N1

N2

N3

N4

N5

N6

N7

N8

N9

N10

N11

N12

N13

N14

N15

N16

N17

N18

Multiply value of each position by

 

x3

x1

x3

x1

x3

x1

x3

x1

x3

x1

x3

x1

x3

x1

x3

x1

x3

 

Accumulated results = Sum

Subtract sum from the next highest multiple of ten = Check digit


Example of a check digit calculation for the 13 digit field

Positions

N1

N2

N3

N4

N5

N6

N7

N8

N9

N10

N11

N12

N13

Number without check digit


6


2


9


1


0


4


1


5


0


0


2


1

Step 1: Multiply

x

x

x

x

x

x

x

x

x

x

x

x

by

1

3

1

3

1

3

1

3

1

3

1

3

Step 2: Add up

=

=

=

=

=

=

=

=

=

=

=

=

results to sum

6

6

9

3

0

12

1

15

0

0

2

3

= 57

Step 3: Subtract sum from nearest multiple of ten (60) = Check digit (3)

Number with check digit

6

2

9

1

0

4

1

5

0

0

2

1

3

For further information please contact your numbering organisation or send us an e-mail


Go top