Check digit calculator

Work out or check the last digit of a UPC, EAN, GTIN, SSCC, ISBN or ISSN, and see the sum behind it.

Leave the last digit off and it is worked out. Type it and it is checked. Spaces, hyphens and a label such as ISBN are fine.

Number right?

Putting it on a label for a client? Send the label for client approval and TrulyFinal reads the barcodes on the artwork and checks their numbers on each version. How it works for labels

Runs in your browser; nothing is uploaded and there is nothing to sign up for. A check digit shows a number is well formed. It does not show the number is yours: a GTIN comes from a GS1 company prefix you license, an ISBN from your ISBN agency and an ISSN from an ISSN centre.

Put this tool on your own site

Free to use on a portfolio, blog or client portal. Paste this where the tool should appear.

Questions

How is a UPC, EAN or GTIN check digit worked out?

Start at the digit next to the check digit and work to the left, multiplying by 3, then 1, then 3, and so on. Add the products. The check digit is what you add to the sum to reach the next multiple of 10. GS1's own example is 629104150021: the products add up to 57, the next multiple of 10 is 60, so the check digit is 3. GTIN-8, UPC-A, EAN-13, GTIN-14, SSCC and ISBN-13 all use this rule.

How is an ISBN-10 or ISSN check character worked out?

With weights that count down to 2. An ISBN-10 multiplies its first nine digits by 10, 9, 8 down to 2. An ISSN multiplies its first seven by 8 down to 2. Add the products, divide by 11 and take the remainder away from 11. A result of 10 is written X, and 11 is written 0. That is why an ISBN-10 or ISSN can end in X and a UPC never does.

Why does it say my number could be two things?

Because some lengths have more than one reading. Twelve digits can be a complete UPC-A or an EAN-13 missing its last digit. Thirteen can be a complete EAN-13 or a GTIN-14 missing its last digit. Eight can be a GTIN-8, a UPC-E or an ISSN. The tool works out each reading and tells you which ones pass. Pick the type to settle it.

Does the check digit change when a UPC becomes an EAN-13 or a GTIN-14?

Not when you only add zeros in front. A UPC-A, the EAN-13 made by adding one zero and the GTIN-14 made by adding two all end in the same digit, because the weights are counted from the right. It does change for a case code, where an indicator digit from 1 to 8 goes in front, and when an ISBN-10 becomes an ISBN-13, which gets 978 in front and a check digit by the GS1 rule. The tool gives each of these with the digit worked out again.

What does a wrong check digit usually mean?

A digit was typed wrong, or two neighbouring digits were typed in the wrong order. The tool tries every swap of two neighbours and tells you when exactly one of them makes the number valid. It also says when the last digit matches a known slip: the 3 and 1 weights the wrong way round, the remainder used as the check digit, or an ISBN-13 that kept its ISBN-10 check character. When the digits cannot show the cause, it says so and you compare the number with its source.

Does a valid check digit mean the number is real?

No. It means the digits agree with each other. It cannot tell you who the number belongs to or whether it was ever assigned. A GTIN for a product sold in shops comes from a GS1 company prefix you license, an ISBN from your national ISBN agency and an ISSN from an ISSN centre.

Can I check a whole spreadsheet column?

Yes. Choose A column of numbers and paste it. Each line is completed or checked, and the CSV has the number as pasted, its type, the result, the check digit, the full number and a note. A cell a spreadsheet has turned into scientific notation is reported, since its last digits are already lost. Nothing you paste leaves your browser.

Sources

Checked against these on November 29, 2026.

Chat