Free UPC and EAN check digit calculator

Use this UPC and EAN check digit calculator to finish a number you already have. Paste the digits without the last one. It does not issue a GTIN or a company prefix. No signup. Copy the full code into the barcode generator when you are ready to print. Then generate the barcode on a label and print a scan test.

Calculator

Retail barcodes end with a check digit so a mis-scan fails instead of ringing up the wrong SKU. Paste the digits you have. This calculator does not issue GTIN or UPC numbers. It only computes the last digit using the standard modulo-10 method.

Barcode type

Type the digits, then read the full number here.

Generate barcode

How to finish a check digit

  1. Open this calculator on the page. It stays in the browser. No signup. It does not open a label until you choose Generate barcode.
  2. Pick UPC-A (11 digits in), EAN-13 (12 in), EAN-8 (7 in), or ITF-14 (13 in). 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 matching barcode generator. Do not drop the new digit.

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

The box walks the digits you typed from the right. It multiplies the rightmost one by 3, the next by 1, then 3 again. The check digit is what brings that sum up to the next multiple of 10. On UPC-A, EAN-8, and ITF-14, odd places of the finished code are times 3. On EAN-13, odd places are times 1 and even places are times 3.

Try 01234567890. Odd places times 3 add to 60. Even places add to 25. The total is 85, and 90 minus 85 is 5, so the UPC-A is 012345678905. EAN-13 flips the weights: 590123412345 finishes as 5901234123457. Do not reuse the UPC rule on a 12-digit EAN body.

What this calculator will not do

It does not sell a company prefix, and it does not turn an internal SKU into a legal retail GTIN. It only finishes a number you already have. UPC-E is not in the list, because a compressed code is not this same pad-and-check. When the full number looks right, print it from the UPC-A, EAN-13, EAN-8, or ITF-14 generator and scan a sample. The barcode label maker is where that number becomes a label, not just a digit.

Other tools

Questions

What does the check digit catch?

A single-digit slip or a swapped pair, often enough that the scanner rejects the code instead of ringing the wrong item. It does not 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 appends the last digit to a number you already have. A GS1 company prefix still has to come from GS1.