 |
|
GS1 Check Digit
Calculator |
 |
|
Calculation of the Check Digit: GS1
Identification
Numbers |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GTIN-8 below is for International
use only |
|
|
|
|
|
|
|
GTIN-12 (U.P.C.)
The Check Digit for a GTIN-12 (U.P.C.) ID Number
is figured using the standard modulo calculation. Here
is how it works: |
|
|
|
 |
 |
|
|
 |
 |
|
|
|
|
Step One: |
Suppose you want to find the
Check Digit for the GTIN-12 (U.P.C.) Number
61414121022. Set up a table with 12 columns, and
put the number 61414121022 into Positions One
through Eleven. Position Twelve will be blank
because it is reserved for the Check Digit.
|
|
Step Two: |
Add the numbers in Positions
One, Three, Five, Seven, Nine, and Eleven:
(6 + 4 + 4 + 2 + 0 + 2 = 18). |
|
Step
Three: |
Multiply the result of Step
Two by three:
(18 x 3 = 54). |
|
Step Four: |
Add the numbers in Positions
Two, Four, Six, Eight, and Ten:
(1 + 1 + 1 + 1 + 2 = 6). |
|
Step Five:
|
Add the results of Step
Three and Step Four:
(54 + 6 = 60). |
|
Step Six: |
The Check Digit is the
smallest number needed to round the result of Step
Five up to a multiple of 10. In this example, the
Check Digit is
0. | |
|
|
[back to
top] |
|
|
|
GTIN-13
The
Check Digit for a GTIN-13 or GLN ID Number is figured
using the standard modulo calculation. Here is how it
works: |
|
|
|
 |
 |
|
|
 |
 |
|
|
|
|
Step One: |
Suppose you want to find the Check Digit
for the GTIN-13 or GLN ID Number 101454121022. Set
up a table with 13 columns, and put the number
101454121022 into Positions One through Twelve.
Position Thirteen will be blank because it is
reserved for the Check Digit. |
|
Step Two: |
Add the numbers in Positions Two, Four,
Six, Eight, Ten, and Twelve:
(0 + 4 + 4 + 2 + 0 + 2 =
12). |
|
Step Three: |
Multiply the result of Step Two by
three:
(12 x 3 = 36). |
|
Step Four: |
Add the numbers in Positions One, Three,
Five, Seven, Nine, and Eleven:
(1 + 1 + 5 + 1 + 1 + 2 =
11). |
|
Step Five: |
Add the results of Step Three and Step
Four:
(36 + 11 = 47). |
|
Step Six: |
The Check Digit is the smallest number
needed to round the result of Step Five up to a
multiple of 10. In this example, the Check Digit
is 3. | |
|
|
[back to
top] |
|
|
|
GTIN-14
The
Check Digit for a GTIN-14 ID Number is figured using the
standard modulo calculation. Here is how it
works: |
|
|
|
 |
 |
|
|
 |
 |
|
|
|
|
Step One: |
Suppose you want to find the Check Digit
for the GTIN-14 ID Number 9101454121022. Set up a
table with 14 columns, and put the number
9101454121022 into Positions One through Thirteen.
Position Fourteen will be blank because it is
reserved for the Check Digit. |
|
Step Two: |
Add the numbers in Positions One, Three,
Five, Seven, Nine, Eleven, and Thirteen:
(9 + 0 + 4 + 4 + 2 + 0 + 2 =
21). |
|
Step Three: |
Multiply the result of Step Two by
three:
(21 x 3 = 63). |
|
Step Four: |
Add the numbers in Positions Two, Four,
Six, Eight, Ten, and Twelve:
(1 + 1 + 5 + 1 + 1 + 2 =
11). |
|
Step Five: |
Add the results of Step Three and Step
Four:
(63 + 11 = 74). |
|
Step Six: |
The Check Digit is the smallest number
needed to round the result of Step Five up to a
multiple of 10. In this example, the Check Digit
is 6. | |
|
|
[back to
top] |
|
|
|
SSCC
The
Check Digit for a Serial Shipping Container Code (SSCC)
Number is figured using the standard modulo calculation.
Here is how it works: |
|
|
|
 |
 |
|
|
 |
 |
|
|
|
|
Step One: |
Suppose you want to find the Check Digit
for the SSCC ID Number 10614141192837465. Set up a
table with 18 columns, and put the number
10614141192837465 into Positions One through
Seventeen. Position Eighteen will be blank because
it is reserved for the Check Digit.
|
|
Step Two: |
Add the numbers in Positions One, Three,
Five, Seven, Nine, Eleven, Thirteen, Fifteen, and
Seventeen:
(1 + 6 + 4 + 4 + 1 + 2 + 3 + 4 + 5 =
30). |
|
Step Three: |
Multiply the result of Step Two by
three:
(30 x 3 = 90). |
|
Step Four: |
Add the numbers in Positions Two, Four,
Six, Eight, Ten, Twelve, Fourteen, and Sixteen:
(0 + 1 + 1 + 1 + 9 + 8 + 7 + 6 =
33). |
|
Step Five: |
Add the results of Step Three and Step
Four:
(90 + 33 = 123). |
|
Step Six: |
The Check Digit is the smallest number
needed to round the result of Step Five up to a
multiple of 10. In this example, the Check Digit
is 7. | |
|
|
[back to
top] |
|
|
|
Shipment ID
(Bill of Lading) Number
The
Check Digit for a Shipment ID (Bill of Lading) Number is
figured using the standard modulo calculation. This is
the format described in the VICS Standard Bill of Lading
(BOL) document. Here is how it works: |
|
|
|
 |
 |
|
|
 |
 |
|
|
|
|
Step One: |
Suppose you want to find the Check Digit
for the Shipment ID Number 0614141192837465. Set
up a table with 17 columns and put the number
0614141192837465 into Positions One through
Sixteen. Position Seventeen will be blank because
it is reserved for the Check Digit.
|
|
Step Two: |
Add the numbers in Positions Two, Four,
Six, Eight, Ten, Twelve, Fourteen, and
Sixteen:
(6 + 4 + 4 + 1 + 2 + 3 + 4 + 5 =
29). |
|
Step Three: |
Multiply the result of Step Two by
three:
(29 x 3 = 87). |
|
Step Four: |
Add the numbers in Positions One, Three,
Five, Seven, Nine, Eleven, Thirteen, and
Fifteen:
(0 + 1 + 1 + 1 + 9 + 8 + 7 + 6 =
33). |
|
Step Five: |
Add the results of Step Three and Step
Four:
(87 + 33 = 120). |
|
Step Six: |
The Check Digit is the smallest number
needed to round the result of Step Five up to a
multiple of 10. In this example, the Check Digit
is 0. | |
|
|
[back to
top] |
|
|
|
Price Check
Digit (North American POS Product Sold by
Weight/Measure) |
|
|
|
The Price Check Digit is used only for random
weight or variable measure products sold at the retail
POS (see Section 3.1 of the Guidelines for
Supply Chain Identification). These products are
identified with VMN-12 where the U.P.C. Prefix is 2
(Position One is Number 2). Here is how to calculate the
Price Check Digit: |
|
|
|
|
Step One: |
Convert the four digits (numbers) in the
four-digit price to new numbers by finding their
new value in the tables below: (NOTE: These "new
numbers" never appear in the bar code or human
readable text. They are only used for Price Check
Digit calculation.)
For the first two digits:
|
If the digit is: |
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
|
The new digit will be: |
0 |
2 |
4 |
6 |
8 |
9 |
1 |
3 |
5 |
7 | | For the third digit:
|
If the digit is: |
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
|
The new digit will be: |
0 |
3 |
6 |
9 |
2 |
5 |
8 |
1 |
4 |
7 | | For the fourth digit:
|
If the digit is: |
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
|
The new digit will be: |
0 |
5 |
9 |
4 |
8 |
3 |
7 |
2 |
6 |
1 | | Say, for example, the four
digits in the price are 0512. By using the tables
above, new values would be assigned to each of the
four numbers before using them in Step Two. For
example the value of 0 (first digit) would remain
0, the value of 5 (second digit) would change to
9, the value of 1 (third digit) would change to 3,
and the value of 2 (fourth digit) would change to
9. This means the new values would be represented
as 0939. |
|
Step Two: |
Add the four new digit values:
(0 + 9 + 3 + 9 = 21). |
|
Step Three: |
Multiply the result of Step Two by 3:
(21 x 3 = 63). |
|
Step Four: |
The Price Check Digit is always the number
in the units position (right-most digit) of the
result of Step Three. For example, because the
result in Step Three is 63, the Price Check Digit
in our example is 3, because 3 is the right-most
digit.
Additional Information: For further details on
this subject, see Guideline 11 (Random
Weight) in the GTIN-12 (U.P.C.)
Guidelines. | |
|
|
[back to
top] |
|
|
|
GTIN-8 (For
International Use Only)
The
Check Digit for a GTIN-8 ID Number is figured using the
standard modulo calculation. Here is how it
works: |
|
|
|
 |
 |
|
|
 |
 |
|
|
|
|
Step One: |
Suppose you want to find the Check Digit
for the GTIN-8 ID Number 4321012. Set up a table
with eight columns, and put the number 4321012
into Positions One through Seven. Position Eight
will be blank because it is reserved for the Check
Digit. |
|
Step Two: |
Add the numbers in Positions One, Three,
Five, and Seven:
(4 + 2 + 0 + 2 = 8). |
|
Step Three: |
Multiply the result of Step Two by three:
(8 x 3 = 24). |
|
Step Four: |
Add the numbers in Positions Two, Four,
and Six:
(3 + 1 + 1 = 5). |
|
Step Five: |
Add the results of Step Three and Step
Four:
(24 + 5 = 29). |
|
Step Six: |
The Check Digit is the smallest number
needed to round the result of Step Five up to a
multiple of 10. In this example, the Check Digit
is 1. | |
|
|
[back to
top] |
|
|
|
Definitions |
|
|
|
|
GTIN |
Trade Items,
i.e. (products and services), Global Trade Item
Number (GTIN)
The GS1 System identifier for trade items,
which encompasses both products and services.
GTINs provide the capability to deliver unique
identification worldwide. The most recognized and
used GTIN is the U.P.C. [[back to top]]
|
|
GLN |
Locations,
i.e. (legal, functional, and physical entities),
Global Location Number (GLN)
Certain distributors/retailers/trading
partners may require a company to identify
LOCATIONS with GLN identification numbers. (This
would be specifically requested of your company.)
These are SEPARATE and DIFFERENT numbers than the
U.P.C. numbers. When your company becomes a member
of GS1 US, you will have the capacity to create
GLN identification numbers when this is requested
of you. Click on "Learn more about GS1 Identification Numbers." [[back to top]] | |
| |
|
|