tool

check digitcalculator.

Type the code without its last digit and we work it out. Type the full code and we tell you if the last digit is right. A check digit generator for EAN-13, UPC-A, EAN-8, GTIN-14 and SSCC.

Start typing. Spaces and dashes are ignored.0 digits
The working×3×1

Each digit is multiplied by 3 or 1, starting with 3 on the digit next to the check digit. The check digit is what you add to the total to reach the next multiple of 10.

Waiting for digits
Check digitappears here
—
Make this barcode
Bulk check

a whole list, at once.

Paste codes from Excel, one per line. Short codes get their check digit added; full codes are checked.

Your codes
0 lines
0Correct
0Digit added
0Wrong or unreadable
Results show up here.
Copied results paste straight into Excel columns.
How it works

simple maths, big job.

Every GS1 code uses the same rule. It catches almost every single-digit typo and most swapped neighbours.

89012…
Weigh each digit

Going from right to left, multiply digits by 3, 1, 3, 1… The digit next to the check digit always gets 3.

8+27+…=103
Add them up

Add all the results together. For 890123456780 the total is 103.

7103 → 110
Round up to 10

The check digit is what takes the total to the next multiple of 10. 103 needs 7 to reach 110, so the full code is 8901234567807.

Related answers

still stuck?

All answers

number ready? make the barcode.

EAN-13, UPC-A, Code 128 and more. PNG or SVG, sized for your label.

Open the generator
Copied