Calculates on this device. File exports run online.
Barcode Validator
Type a barcode number to see whether its last digit, the check digit, is right, or type it without the last digit to work the check digit out. The page shows each step of the calculation.
Barcode number or list
Check these values
Your values are worked out in this browser. They are not sent to a server.
Check digit and calculation
Enter the digits printed below a barcode and select Check. To calculate a missing check digit, leave it off the end.
Barcode check
How it was worked out
How to check a barcode number
- Type the number under the barcode, such as 5901234123457.
- Leave Kind of number on Find out from the length, or choose it (for example UPC-E or ISBN-10).
- Press Check. The page says whether the check digit is right, shows the right one, and the calculation.
- To get a check digit, type the number without its last digit: 12 digits for an EAN-13, 11 for a UPC-A, 13 for a GTIN-14.
How the check digit is worked out (GTIN, EAN, UPC, SSCC, GLN)
Starting from the right, the digits are multiplied by 3, 1, 3, 1 and so on, and added up. The check digit is what you add to that sum to reach the next multiple of 10. For 590123412345: 5×3 + 4×1 + 3×3 + 2×1 + 1×3 + 4×1 + 3×3 + 2×1 + 1×3 + 0×1 + 9×3 + 5×1 = 83, and 90 − 83 = 7, so the EAN-13 is 5901234123457.
Other kinds of numbers
- ISBN-10 and ISSN use weights 10 (or 8) down to 2 and modulo 11; a check value of 10 is written X.
- ISBN-13 is an EAN-13 starting with 978 or 979. UPC-E is checked through the UPC-A number it stands for.
- Code 39 (modulo 43), Code 128 (modulo 103) and Codabar (modulo 16): the page works out the check character from the text.
- GS1 data such as (01)09521234543213(17)261231(10)ABC123 is split into its fields; GTINs and dates are checked.
Making GTINs
GTINs are your GS1 company prefix, an item reference and a check digit. Choose Make GTINs from a company prefix, type the prefix GS1 gave you and the first item reference, and the page lists the numbers with their check digits. Only GS1 (or your country’s GS1 office) can give you a prefix; numbers made with someone else’s prefix are not yours to use.
Limits you should know
- A right check digit shows that the number was typed or printed without the most common mistakes. It does not show that the number belongs to a real product: that is in the GS1 registry (Verified by GS1), not in the number.
- Product names and prices are not looked up.