Services & Support > Tools  >  Check Digit Calculator

Check Digit Calculator

Check digit calculator

Check Digit Calculator

The last digit of a bar code number is a computer Check Digit which makes sure the bar code is correctly composed.
This page contains the following information:
  • GTIN Check Digit Calculator
  • SSCC Check Digit Calculator
  • How to calculate a Check Digit manually

GTIN Check Digit Calculator
Item Reference Number:
(without Check Digit)
SSCC Check Digit Calculator
Item Reference Number:
(without Check Digit)

How to calculate a Check Digit manually


ID Key Format Digit Positions
GTIN-8 N1 N2 N3 N4 N5 N6 N7 N8
GTIN-12 N1 N2 N3 N4 N5 N6 N7 N8 N9 N10 N11 N12
GTIN-13 N1 N2 N3 N4 N5 N6 N7 N8 N9 N10 N11 N12 N13
GTIN-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
Step 1: Multiply value of each position by
x3 x1 x3 x1 x3 x1 x3 x1 x3 x1 x3 x1 x3 x1 x3 x1 x3
Step 2: Add results together to create sum
Step 3: Subtract the sum from nearest equal or higher multiple of ten = Check Digit

The following table gives an example to illustrate how a GTIN-13 Check Digit is calculated:
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 results = = = = = = = = = = = = -
to create sum 6 6 9 3 0 12 1 15 0 0 2 3 =57
Step 3: Subtract the sum from nearest equal or higher multiple of ten = 60- 57 = 3 (Check Digit)
Number with Check Digit 6 2 9 1 0 4 1 5 0 0 2 1 3

Disclaimer

In no event shall GS1 Singapore or any of its respective officers, directors, or employees be liable to you or any third party for direct, indirect, or other consequential or incidental damages (including but not limited to any lost profits or revenue, interruption, loss of information, or any other pecuniary loss) arising directly or indirectly from (i) your use of or access to the weCATALOG; website, or any content, or services obtained from the weCATALOG website system, (ii) for any failure or interruption of the generation of the required symbology; whether as a result of errors, omissions, loss of data, defects, interruptions or delays in operations or transmission or any other cause, whether based tort (including negligence) or any other legal theory that have been expressly advised of the possibility of such damages.