আরামবাগ, পশ্চিমবঙ্গ · 2020 থেকে +91 7699462154 |
BullishBrush logo BULLISHBRUSHLearn Today, Lead Tomorrow

EAN-13 Barcode Explained: Structure, Check Digit and How to Get One

· BullishBrush · 3 মিনিটে পড়া

Look at almost any packaged product — biscuits, shampoo, books — and you will see an EAN-13 barcode: black bars over thirteen digits. It is the global standard that lets shops, warehouses and marketplaces identify products instantly.

What the 13 digits mean

An EAN-13 number has four parts:

  1. GS1 prefix (2–3 digits): identifies the GS1 member organisation that issued the number (for example, India's GS1 prefix is 890). It does not necessarily mean the product was made in that country.
  2. Company number: assigned to your business by GS1.
  3. Item reference: the number you assign to each product variant (size, colour, flavour).
  4. Check digit (1 digit): calculated from the other twelve digits to detect scanning errors.

The length of the company and item parts depends on how many numbers your GS1 licence includes.

How the check digit is calculated

  1. Take the first 12 digits.
  2. Multiply digits in even positions (2nd, 4th, …) by 3 and odd positions by 1, counting from the left. (Equivalently, from the right-most of the 12 digits, alternate weights 3 and 1.)
  3. Add the results.
  4. The check digit is the number needed to reach the next multiple of 10.

Example: for 890123456789, the weighted sum is 109 → next multiple of 10 is 110 → check digit = 1 → full code 8901234567891.

Our barcode generator adds the check digit automatically when you type 12 digits.

EAN-13 vs UPC-A vs EAN-8

EAN-13 UPC-A EAN-8
Digits 13 12 8
Used Worldwide Mainly USA/Canada Very small packages
Compatibility Global scanners read both EAN and UPC

How to get valid EAN-13 numbers

For products sold in retail stores and on major marketplaces, barcode numbers must be licensed to your brand by GS1 (GS1 India for Indian businesses). Buying cheap "barcodes" from unofficial resellers can cause problems: the numbers may already be registered to another company, and marketplaces increasingly verify ownership through GS1 databases.

Steps:

  1. Apply for GS1 membership in your country.
  2. Receive your company prefix and number range.
  3. Assign numbers to each product variant.
  4. Generate barcode images and print them on packaging.

Generating and printing EAN-13

Once you have your numbers, our free barcode generator creates EAN-13 (and UPC-A, Code 128 and more) as high-resolution PNG or SVG. Pro users can generate hundreds at once from a CSV and print them on A4 label sheets.

Printing tips:

  • Print at 100% of nominal size (about 37.3 × 25.9 mm) or slightly larger; avoid shrinking.
  • Black bars on a white background give the best contrast.
  • Keep the quiet zone (blank margins) on both sides.
  • Test-scan with two different scanners or phones before printing in bulk.

Key takeaways

  • EAN-13 = GS1 prefix + company number + item reference + check digit.
  • The check digit catches scanning errors; generators add it automatically.
  • Retail barcodes must be licensed by GS1 to your company.
  • Print at proper size with good contrast and test before bulk printing.

Frequently asked questions

Does 890 mean the product is made in India?

It means the number was issued by GS1 India to an Indian company, not necessarily where the product was made.

Can I make my own EAN-13 numbers?

You can generate images for any number, but for retail sale the number must be assigned to your company by GS1.

What is the difference between EAN and UPC?

UPC-A has 12 digits and is common in North America; EAN-13 has 13 digits and is used globally. Modern scanners read both.

Where can I generate an EAN-13 barcode for free?

Use our barcode generator.

Learn it properly — with a mentorLive classes in Bengali, Hindi and English since 2020. Join a free demo class and ask your questions.
Book a free demo class

BullishBrush শুধুমাত্র শেয়ার বাজারের শিক্ষা দেয়। আমরা SEBI-রেজিস্টার্ড ইনভেস্টমেন্ট অ্যাডভাইজার বা রিসার্চ অ্যানালিস্ট নই এবং কোনো কেনা-বেচার পরামর্শ বা টিপস দিই না। শেয়ার বাজারে বিনিয়োগ বাজারের ঝুঁকির অধীন; বিনিয়োগের আগে সব নথি মনোযোগ দিয়ে পড়ুন। অতীতের ফলাফল ভবিষ্যতের নিশ্চয়তা নয়।

এরপর পড়ুন → ব্যবসার টুলRent Receipt Format: What It Must Include (With a Free Generator)A proper rent receipt protects both tenant and landlord. Here is the exact format to use, when PAN and a revenue stamp are needed, and how to generat…

আরও লেখা