QR Tools

Barcode Check Digit Calculator

Calculate or validate the final digit of EAN-8, UPC-A, EAN-13 and GTIN-14 numbers. See every step of the calculation, entirely in your browser.

Your content stays on your device Free, with no account
Check the digit that ties it together Calculated on your device

01   Choose your number type

Enter exactly 12 digits. Leading zeros are preserved.
YOUR RESULT

One digit. A useful check.

Complete a number or check its final digit.
No barcode image is needed.

Your result will appear here.

A FEW SIMPLE STEPS

How to use Barcode Check Digit Calculator

  1. Choose EAN-8, UPC-A, EAN-13 or GTIN-14 and select Calculate or Validate.
  2. For calculation, enter the number without its final digit. For validation, enter the complete number. Use digits 0–9 with no separators.
  3. Run the calculation to see the expected check digit and complete number. A mismatch shows the expected number for the same base digits.
  4. Review the weighted calculation, copy the number, or download a TXT report.
PRIVATE BY DESIGN

Why use this tool?

Your number and calculation stay on your device. This tool needs no external libraries, uploads, account or product database. Leading zeros remain intact, and the calculation is shown so you can inspect the result.

Tool inputs stay in your browser. Only your theme preference is saved on this device.

A few things worth knowing

How is the check digit calculated?

Starting at the rightmost base digit, multiply digits alternately by 3 and 1, then add the products. The check digit is the amount needed to reach the next multiple of 10. If the sum is already a multiple of 10, the check digit is zero.

Does a matching check digit verify a product?

No. A match confirms the arithmetic only. It does not verify GS1 assignment, ownership, product details or barcode print quality. If the digit does not match, the suggested number assumes all base digits were entered correctly.

Are leading zeros preserved?

Yes. Numbers are handled as text, so leading zeros are kept. Outer whitespace is trimmed. Embedded spaces, hyphens and digits outside 0–9 are rejected.

Can I check Code 128 or UPC-E here?

This tool supports only the GS1 modulo-10 check digit used by EAN-8, UPC-A, EAN-13 and GTIN-14. Code 128 uses a different checksum. UPC-E expansion and other barcode formats are not supported.