Free UPC and EAN check digit calculator

Use this UPC and EAN check digit calculator to finish a number you already have. Type the digits without the last one, and the full number shows up right under the box. It works for UPC-A, EAN-13, EAN-8 and ITF-14. It doesn't hand out a GTIN or a company prefix. No signup.

Calculator

A retail barcode ends with a check digit, so a bad scan fails instead of ringing up the wrong item. Type the digits you have. This calculator doesn't hand out UPC or GTIN numbers. It only works out the last digit with the standard modulo-10 method.

Barcode type

Type the digits, then read the full number here.

Generate barcode

How it works

Times 3, times 1, and up to the next ten

The calculator weights your digits from the right, 3, 1, 3, 1, then picks the digit that brings the total up to a multiple of 10.

1One digit short

Eleven digits on a sticky note

Here's a common one. Your supplier sent the product number in an email, but the last digit got cut off. Or you wrote down eleven digits of a UPC and the barcode needs twelve.

That last digit isn't random. It's worked out from the others. Pick the barcode type above, type the digits you have, and the full number appears under the box.

When it looks right, click Generate barcode. mylabelmaker opens with that barcode on a label, ready to print.

2Examples

UPC and EAN labels to start from

Each one opens in mylabelmaker. Paste your full number into the barcode.

3Use it

How to finish a check digit

The calculator works right on this page. Nothing opens until you ask for it.

  1. Pick UPC-A (11 digits in), EAN-13 (12 in), EAN-8 (7 in) or ITF-14 (13 in).
  2. Type only the digits you have, without the check digit.
  3. Read the full number under the box. The last digit is the one the math produced.
  4. Open a 2 by 1 barcode label and paste the full code into the barcode. Don't drop the new digit.

4The math

How this UPC and EAN check digit calculator gets the last digit

The calculator starts at the rightmost digit you typed. It multiplies that one by 3, the next one by 1, then 3 again, all the way to the left. The check digit is whatever brings the total up to the next multiple of 10.

On UPC-A, EAN-8 and ITF-14, the odd places of the finished code are times 3. On EAN-13 it flips: odd places are times 1 and even places are times 3. So 590123412345 finishes as 5901234123457. Don't reuse the UPC rule on a 12-digit EAN.

StepFor 01234567890
Odd places, times 360
Even places, times 125
Total85
Up to 905, so the UPC-A is 012345678905

5Will not do

What this calculator won't do

It doesn't sell a company prefix. It doesn't turn your own SKU into a real retail GTIN either. It only finishes a number you already have.

UPC-E isn't in the list, because a short UPC-E code doesn't follow this same rule. When the full number looks right, print it from the UPC-A, EAN-13, EAN-8 or ITF-14 generator and scan a test. The barcode label maker is where that number becomes a label, not just a digit.

UPC and EAN check digit calculator questions

What does the check digit catch?

A single wrong digit or two digits swapped, often enough that the scanner rejects the code instead of ringing up the wrong item. It doesn't prove you own the number.

Why is 012345678905 the result for 01234567890?

Odd places times 3 add to 60, even places add to 25, the total is 85, and 90 minus 85 is 5. The 12th digit is 5.

Does EAN-13 use the same odd-times-3 rule?

No. On a 13-digit code the odd places are times 1 and the even places are times 3. The calculator still starts at the rightmost digit you typed and multiplies that one by 3.

Can this give me a new UPC?

No. This UPC and EAN check digit calculator only adds the last digit to a number you already have. A GS1 company prefix still has to come from GS1.

Is this also an EAN check digit calculator?

Yes. Pick EAN-13 or EAN-8 and type 12 or 7 digits. It also finishes a 13-digit ITF-14 case code.