What is EAN-13? Structure, Uses & Seller Guide

What is an EAN-13 Barcode? Structure, Uses, and 2026 Seller Guide

Quick answer: An EAN-13 (European Article Number) is a 13-digit barcode standard used globally to identify products in retail and e-commerce. It consists of a country-specific prefix, a manufacturer code, a product reference, and a check digit. It is the international standard for physical goods sold in stores and online marketplaces like Amazon and Walmart.

  • EAN-13 is a 13-digit GTIN used for product identification worldwide.
  • The first two or three digits indicate the country where the GS1 member organization is located, not necessarily where the product is made.
  • The 13th digit is a check digit calculated using a specific algorithm to prevent scanning errors.
  • EAN-13 is the standard for physical retail, while UPC-A (12 digits) is common in North America but is essentially a subset of EAN-13.
  • Marketplaces like Amazon, Walmart, and eBay require valid EAN-13 or UPC codes for listing products.

An EAN-13 (European Article Number) barcode is a 13-digit numeric identifier that serves as the global standard for retail product identification. Managed by GS1, this code is the dominant format for physical goods, appearing on over 90% of retail products worldwide. Unlike internal SKUs, which are arbitrary and company-specific, the EAN-13 is a universal key that links a physical item to a specific record in global trade databases. For sellers, mastering this standard is not optional; it is the prerequisite for listing products on major platforms like Amazon, Walmart, and eBay, and for ensuring seamless data exchange across international supply chains.

Anatomical Breakdown of the 13-Digit Structure

Anatomical Breakdown of the 13-Digit Structure

The EAN-13 code is not a random string of numbers; it is a structured data field where each segment serves a distinct functional purpose within the Global Trade Item Number (GTIN) system. Understanding this hierarchy is essential for troubleshooting listing errors and managing inventory at scale. The structure is defined by GS1 General Specifications, which dictate how the digits are allocated to ensure global uniqueness.

  • GS1 Prefix (Digits 1-3 or 1-7): These initial digits identify the GS1 Member Organization where the company is registered. For instance, prefixes 000–019 are assigned to the US and Canada, while 460–469 are assigned to Russia. A critical distinction is that this prefix indicates the country of *company registration*, not the country of *manufacture*. A product manufactured in Vietnam by a German company will carry a German prefix (400–440), not a Vietnamese one.
  • Item Reference (Digits 4-12): This section is split into two parts: the manufacturer code and the product code. The manufacturer code is assigned by the GS1 Member Organization and varies in length (typically 4 to 8 digits) based on the company’s scale. Large corporations with millions of SKUs receive shorter manufacturer codes to allow for longer product reference numbers. The remaining digits are assigned by the manufacturer to distinguish specific product variants, such as different sizes, flavors, or packaging configurations.
  • Check Digit (Digit 13): This final digit is a calculated value derived from the preceding 12 digits. It acts as an error-detection mechanism. Barcode scanners use this digit to verify that the code was read correctly. If the calculated check digit does not match the scanned digit, the scanner rejects the input, preventing data corruption in the Point of Sale (POS) system.

Mathematical Verification: The Check Digit Algorithm

Mathematical Verification: The Check Digit Algorithm

The integrity of the EAN-13 system relies on a specific modulo-10 algorithm that calculates the check digit. This process ensures that single-digit errors or transpositions of adjacent digits are detected with high probability. The algorithm follows a strict sequence of weighting and summation.

  1. Assign Weights: Starting from the rightmost digit of the first 12 digits (excluding the check digit), assign a weight of 3 to every second digit and a weight of 1 to the remaining digits. In a 13-digit code, the digit in position 12 (second from right) is multiplied by 3, position 11 by 1, position 10 by 3, and so on.
  2. Calculate Weighted Sum: Multiply each of the first 12 digits by its assigned weight (1 or 3) and sum the results. For example, if the first 12 digits are 400638133393, the calculation is: (4×3) + (0×1) + (0×3) + (6×1) + (3×3) + (8×1) + (1×3) + (3×1) + (3×3) + (3×1) + (9×3) + (3×1) = 12 + 0 + 0 + 6 + 9 + 8 + 3 + 3 + 9 + 3 + 27 + 3 = 83.
  3. Determine the Check Digit: Find the smallest number that, when added to the weighted sum, results in a multiple of 10. In the example above, the sum is 83. The next multiple of 10 is 90. The difference is 7 (90 – 83 = 7). Therefore, the check digit is 7, making the full EAN-13 code 4006381333937.
  4. Edge Case: If the weighted sum is already a multiple of 10 (e.g., 80), the check digit is 0.

This mathematical constraint means that 90% of single-digit errors and 100% of transposition errors (swapping two adjacent digits) are detectable by standard scanners. Sellers who generate codes manually without this verification risk creating invalid barcodes that will be rejected by marketplace algorithms and physical scanners alike.

EAN-13 vs. UPC-A: Technical Interoperability

In North America, the UPC-A (Universal Product Code) standard is prevalent. However, UPC-A is technically a subset of the EAN-13 standard. The two formats are interoperable, but their structural differences create specific compliance challenges for international sellers. The table below outlines the critical distinctions that affect marketplace acceptance and inventory management.

Feature EAN-13 UPC-A
Digit Count 13 digits 12 digits
Prefix Structure 2-7 digits (GS1 Member ID) 1 digit (National Prefix)
Geographic Scope Global Standard Primarily North America
Conversion Logic UPC-A + leading zero = EAN-13 EAN-13 (starting with 0) – leading zero = UPC-A
Marketplace Default Amazon Global, eBay, Shopify Walmart US, Target, Amazon US
Barcode Rendering 13 bars + quiet zone 12 bars + guard bars

When a UPC-A code (12 digits) is used in a global context, it is represented as an EAN-13 by prepending a zero. For example, a UPC-A code 012345678901 becomes the EAN-13 0012345678901. This interoperability allows sellers to maintain a single identifier for both domestic and international markets. However, not all EAN-13 codes can be converted to UPC-A. Only EAN-13 codes that begin with a zero (indicating a US/Canada prefix) can be truncated to a valid 12-digit UPC-A. Sellers targeting both US and European markets must ensure their codes are compatible with both formats to avoid duplicate listings or inventory mismatches.

Primary Application Domains

The EAN-13 barcode is the foundational data point for retail operations. Its usage extends beyond simple checkout scanning to encompass complex supply chain logistics and digital catalog management. The following contexts define where EAN-13 compliance is mandatory.

  • Physical Retail Point of Sale: Supermarkets, department stores, and convenience stores rely on EAN-13 barcodes to retrieve price and product data from local or cloud-based POS systems. The barcode is typically printed on the back or bottom of the packaging, adhering to GS1 placement guidelines to ensure readability. In high-volume environments, the speed of EAN-13 scanning (typically under 100ms) is critical for reducing queue times.
  • Online Marketplace Catalogs: Platforms like Amazon, Walmart, and eBay use EAN-13/UPC codes as the primary key for product identification. When a seller lists a product, the marketplace matches the EAN-13 against its existing catalog. If a match is found, the seller is linked to the existing product page, inheriting its reviews and ranking. If no match is found, a new product node is created. This mechanism prevents duplicate listings and ensures that customer reviews are aggregated correctly.
  • Wholesale and Distribution: In B2B transactions, EAN-13 codes are embedded in Electronic Data Interchange (EDI) messages. This allows distributors to track inventory as it moves from manufacturer to warehouse to retailer. The code ensures that the physical item received matches the digital order, reducing shrinkage and mis-shipments.
  • Logistics and Shipping Verification: While shipping labels often use Code 128 or QR codes for tracking, the product identifier (EAN-13) is included in the shipping manifest. This allows fulfillment centers to verify that the item being packed matches the item ordered, a critical step in preventing returns due to incorrect item fulfillment.

High-Impact Seller Errors and Compliance Risks

Even experienced sellers encounter critical errors when handling EAN-13 codes. These mistakes often result in listing suppression, inventory discrepancies, and financial losses. The following are the most common pitfalls and their operational consequences.

  • Variant Code Reuse: Each distinct product variant (size, color, flavor, packaging) must have a unique EAN-13 code. Reusing a code for multiple variants causes the marketplace to merge the listings, leading to inventory confusion. For example, if a seller uses the same EAN-13 for a “Small Red T-Shirt” and a “Large Blue T-Shirt,” the marketplace will treat them as the same item. This results in incorrect stock levels, where selling one variant depletes the inventory of the other, leading to out-of-stock errors and customer complaints.
  • Invalid Check Digits: Manually generated codes often fail the check digit algorithm. If the check digit is incorrect, the barcode is invalid. Marketplaces like Amazon automatically reject listings with invalid barcodes, and physical scanners will not read them. Sellers must use GS1-compliant software to generate and verify codes, ensuring the mathematical integrity of the identifier.
  • Prefix Misinterpretation: Sellers frequently assume that the EAN-13 prefix indicates the country of origin. This is incorrect. The prefix indicates the country where the company is registered with GS1. A US company manufacturing in China will use a US prefix (00-13). Misunderstanding this can lead to compliance issues in markets with strict country-of-origin labeling laws, such as the EU or US, where mislabeling can result in fines or product seizure.
  • Unregistered GS1 Codes: For Amazon Brand Registry and other premium benefits, sellers must be the registered owner of the EAN-13 codes. Resold EAN-13 codes may work for standard listings but do not qualify for Brand Registry. If a seller uses a resold code that is not registered to their company, Amazon may suspend the listing or remove the brand from the registry. Sellers must verify that the GS1 registration matches their legal entity name.

Acquisition Strategies: GS1 Membership vs. Resold Codes

Obtaining valid EAN-13 codes involves a trade-off between cost, control, and compliance. The two primary methods are direct GS1 membership and purchasing resold codes. Each approach has distinct implications for long-term business operations.

GS1 Membership: Registering with GS1 provides a unique company prefix and the right to generate as many EAN-13 codes as needed. This is the most robust solution for brands seeking full control over their product identification. GS1 membership involves an annual fee (typically ranging from $250 to $1,000+ depending on the country and company size) and provides access to GS1 tools for managing barcodes. This method is mandatory for Amazon Brand Registry and ensures that the codes are legally owned by the seller. It also allows for the creation of new product variants without additional per-code fees.

Resold EAN-13 Codes: Many sellers purchase resold EAN-13 codes from third-party providers. These codes are GS1-format and were originally issued by GS1, but they are resold to new owners. Resold codes are significantly more affordable (often $10-$30 per code) and do not require a GS1 membership. However, they do not provide the same level of control or eligibility for Brand Registry. The seller does not own the code; they are merely licensed to use it. If the original owner reclaims the code or if the code is flagged as invalid, the seller’s listings may be suppressed. Sellers must ensure that the resold codes are valid, unique, and not already in use by another product.

For sellers looking to expand their catalog, purchasing valid EAN-13 codes from a reputable provider can save time and money. It is essential to verify that the codes are unique and not associated with existing products to avoid listing conflicts. Reputable providers offer verification services to confirm that the codes are not currently registered to another active product.

Operational Best Practices for Barcode Integrity

To maximize the effectiveness of EAN-13 barcodes, sellers must adhere to strict operational standards. These practices ensure that the barcodes are readable, compliant, and maintainable over time.

  • Adhere to GS1 Printing Standards: Barcodes must be printed with high contrast and appropriate size. The minimum height for an EAN-13 barcode is 21mm, and the quiet zone (the white space on either side) must be at least 11mm. Printing on curved surfaces or near other text can interfere with scanning. Use high-resolution images (300 DPI minimum) and avoid stretching or distorting the barcode, which alters the bar widths and renders the code unreadable.
  • Maintain a Centralized Code Registry: Keep a detailed database of all EAN-13 codes owned, including the product variant, GS1 registration status, and date of issuance. This registry is critical for managing inventory, resolving disputes, and auditing compliance. It allows sellers to quickly identify which codes are associated with which products, preventing accidental reuse or misassignment.
  • Conduct Pre-Listing Scanning Tests: Before listing products on marketplaces, test the barcodes with a physical scanner or a mobile scanning app. This verifies that the barcode is readable and that the check digit is correct. It also ensures that the barcode is not damaged or distorted during the printing process. This step prevents issues at the point of sale or during marketplace verification, where invalid barcodes can lead to listing rejection.
  • Monitor GS1 Standard Updates: GS1 periodically updates its standards, including changes to barcode formats, data carriers, and compliance requirements. Sellers should stay informed about these changes to ensure that their barcodes remain compliant. For example, GS1 has introduced new data carriers like DataMatrix for smaller packages, which may become mandatory in certain regions. Staying updated prevents non-compliance and ensures smooth operations across global markets.

By understanding the structure, acquisition, and operational requirements of EAN-13 barcodes, sellers can ensure smooth operations across physical and digital retail channels. Accurate product identification is the foundation of efficient commerce, enabling precise inventory management, seamless customer experiences, and global market access.

Frequently asked questions

Is EAN-13 the same as UPC?
EAN-13 is a 13-digit code, while UPC-A is a 12-digit code. UPC-A is a subset of EAN-13, and a UPC-A code can be converted to EAN-13 by adding a leading zero. They are interoperable but have different structures.

Can I use a resold EAN-13 code for Amazon Brand Registry?
No, Amazon Brand Registry requires a GS1-issued prefix registered to the brand. Resold EAN-13 codes work for standard listings but do not qualify for Brand Registry.

Does the prefix in an EAN-13 code indicate where the product is made?
No, the prefix indicates the country where the GS1 member organization (the company) is registered, not the country of origin of the product.

How do I calculate the check digit for an EAN-13 code?
Multiply the digits in odd positions by 3 and even positions by 1 (excluding the check digit), sum the results, and find the smallest number that makes the sum a multiple of 10.

Are EAN-13 codes required for all products?
Most retail products require an EAN-13 or UPC code for listing on major marketplaces and for scanning in physical stores. Some digital goods or services may not require a physical barcode.

We are an independent reseller of barcode numbers and are not affiliated with, endorsed by, or a member of GS1. The barcode numbers we sell were originally issued by UCC/GS1 prior to August 28, 2002, and are unique, authentic, and never previously used.