home / check digit calculator

Check digit calculator

Calculate or verify the check digit for UPC, EAN-13, GTIN-14, SSCC, ISBN-10, ISSN and VIN, with every step of the working shown.

With the check digit included, the tool verifies it. Spaces and dashes are ignored.

What it is

A check digit is the last digit of a code, worked out from the others, so a scanner can catch a mistyped or misread number. GS1 numbers use mod 10; ISBN-10, ISSN and VIN use mod 11.

When to use it

Paste a number without its check digit to calculate it, or with it to verify. The table below the result shows each digit, its weight and the sum.

How to use it

Pick the number type, then type or paste the number. Leave the last digit off to calculate it, or include it to check it. Open the working to see each digit, its weight and the sum.

Good to know

A correct check digit only proves the number is well-formed. It does not prove the number is licensed to you.

Specification

GS1 keys (GTIN-8/12/13/14, SSCC)mod 10, weights 3 and 1 from the right
ISBN-10mod 11, weights 10 to 2, remainder 10 = X
ISSNmod 11, weights 8 to 2, remainder 10 = X
VIN (North America)position 9, mod 11 with transliteration table, 10 = X

Source: GS1 General Specifications, EAN/UPC symbol table (GSCN 22-031); 49 CFR § 565.15 (eCFR); ISSN International Centre: barcodes for serials.

Frequently asked questions

Why does the ISBN-13 check digit differ from the ISBN-10 one?
ISBN-13 is an EAN-13 and uses GS1 mod 10. ISBN-10 used mod 11. Converting between them always means recalculating.
What does an X check digit mean?
In mod 11 schemes the remainder can be 10, which is written as X.

Free & private

This generator is free, requires no account, adds no watermark, and runs entirely in your browser. The data you enter is never uploaded. Codes are static — they don’t expire and don’t depend on our servers.

Related generators

Need a different format or a related tool?

Which barcode do I need? All barcode formats QR code generator Bulk barcodes GS1 Digital Link More free tools