Barcode Calculator

Barcode Calculator


Chars: 0Words: 0Lines: 0Sentences: 0

How to Use the Barcode Calculator

To calculate barcodes, paste barcodes without their check digits into the input field. You can paste multiple barcodes at once. Separate each barcode with a new line.

  1. Paste your barcodes into the input field
  2. The calculation happens automatically
  3. In the results table, you can see both the incomplete and complete barcodes side by side.
  4. Copy, download and take additional actions like generating barcode images on all or some of the results.

How to calculate a barcode

A barcode is calculated by calculating the last digit (known as check digit) from the other digits.

  1. Input is without check-digit:
    0 4 9 0 0 0 0 8 1 3 8
  2. Add all of the digits in the odd positions (starting from the left)
    0 + 9 + 0 + 0 + 1 + 8 = 18
  3. Multiply the sum by 3
    18 x 3 = 54
  4. Add all of the digits in the even positions
      4 + 0 + 0 + 8 + 3 = 15
  5. Add the odd position result and the even position result
    54 + 15 = 69
  6. Find the number that, when added to the result, makes the total a multiple of 10
    69 + ? = 70
  7. The check digit is 1
    69 + 1 = 70

Supported barcode types

This tool supports the following 4 barcode types:

12 digits


Universal Product Code (UPC) with 12 digits

UPC is a 12-digit barcode used extensively for retail packaging in the United States. UPC codes are also used in Canada, the UK, Australia, and other countries. UPC codes always have exactly 12 digits.

13 digits


Global Trade Item Number (GTIN) or European Article Number (EAN) with 13 digits

GTIN-13 is used for products sold in Europe and other countries. EAN-13 is essentially the same thing, but specifically an EU standard. GTIN-13 codes are used in the US and Canada for products sold at retail point of sale. GTIN-13 codes always have exactly 13 digits.

14 digits


Global Trade Item Number (GTIN) with 14 digits

GTIN-14 is used for products sold at retail point of sale. Typically this format is used for multiple product packaging, cases and pallets. GTIN-14 codes always have exactly 14 digits.

8 digits


Global Trade Item Number (GTIN) or European Article Number (EAN) with 8 digits

GTIN-8 is used for products sold at retail point of sale. EAN-8 is essentially the same thing, but specifically an EU standard. Typically this format is used only for smaller products where space to print the barcode is limited. GTIN-8 codes always have exactly 8 digits.

Mastering this tool

  • Learn about check digit calculation - If you click on a barcode in the results table, you can choose to see the full calculation process. This is a great was to learn yourself how to calculate barcodes.
  • Barcode lookup - In the same row context menu, choose to lookup more information on the barcode or generate a barcode image.
  • Share your results - Share your results with your friends and colleagues. Click
    and share a link to this tool and optionally include your input and settings as well.
  • Contribute - We are always looking to improve. If you have any feedback or suggestions, please use the feedback button
    to let us know. We read every feedback and use it to improve this tool.

The Best Barcode Calculator

Our Barcode Calculator is simple to use, yet still uniquely powerful.

  • Easy - Sometimes you just need a simple tool with no fuss. Our Barcode Calculator is just that. But for those times when you need more, it also has powerful features such as bulk processing, additional barcode information and automatic barcode type detection.
  • Fast - Our Barcode Calculator is fast. Start now and instantly get calculated. No waiting, just instant results.
  • Ad free - Our Barcode Calculator is free from ads. Many other tools are cluttered with ads, but not this one.


We are Lime Convert

Lime Convert was created after we found ourselves wanting something more out of the free conversion tools that we were using online. The tools were either too simple or too cluttered and convoluted. We wanted something that was highly functional and simple on the surface, yet customizable and powerful underneath. We wanted a tool that was extremely easy to use but still had all the features we needed and more.

Less Is More Expanded. Lime Convert is designed around these principles. We hope you ❤️ it.