← All text tools

Barcode Check Digit Calculator

Calculate or verify the last digit of EAN-13, EAN-8, UPC-A, GTIN-14 and ISBN-13 codes, with the weighted sum shown step by step.

  • Free
  • No sign-up
  • Works on any device

About Barcode Check Digit Calculator

The last digit of an EAN-13, EAN-8, UPC-A, GTIN-14 or ISBN-13 number is a check digit that catches typing mistakes. To work it out, multiply the other digits alternately by 3 and 1, starting with 3 next to the check digit, add the products, and take the amount needed to reach the next multiple of 10. For the EAN-13 400638133393 the sum is 89 and the check digit is 1. Type the code without its last digit to calculate it, or type the whole code to see whether it is valid.

How to use Barcode Check Digit Calculator

  1. Choose the code type, such as EAN-13 or UPC-A.
  2. Type the digits without the check digit to calculate it, or all of the digits to verify them.
  3. Read the check digit and the step-by-step table of weights.

Why use this tool?

Also known as

Frequently asked questions

Which weights are used for the check digit?

The digit next to the check digit is multiplied by 3, the next by 1, and so on alternately to the left. EAN-13 and ISBN-13 therefore start with weight 1 at the left.

Can the check digit prove a code is real?

No. It only shows that the digits are consistent, so a valid check digit does not mean the product exists or is registered.

Why does ISBN-13 mention the 978 prefix?

Book numbers begin with 978 or 979. A code that fits the arithmetic but starts differently is a valid EAN, not a valid ISBN.

Is Barcode Check Digit Calculator free?

Yes. Barcode Check Digit Calculator on Toolipedia is free to use, with no sign-up and no watermark.

Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

Can I put Barcode Check Digit Calculator on my own website?

Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.

Related tools