Skip to content

International wholesale beauty distribution

Search

product knowledge

Understanding GTIN and EAN identifiers in beauty wholesale

What GTIN-8, GTIN-12, GTIN-13 and GTIN-14 mean, how the check digit works, and why spreadsheets so often break barcode numbers — a practical guide for purchasing teams.

COSMAVANTA Editorial · Last reviewed: 14 Nov 2026

Every branded cosmetic product on a retail shelf carries a barcode. Behind that barcode is a number — the Global Trade Item Number (GTIN) — that identifies exactly one trade item worldwide. For wholesale buyers, the GTIN is the single most useful piece of product data: it removes ambiguity between sizes, shades and editions and makes large purchase lists machine-readable. This guide explains how GTINs work and how to avoid the most common mistakes.

What a GTIN is

GTINs are issued under the GS1 system. A company that joins GS1 receives a GS1 Company Prefix and uses it to number its products. Each distinct trade item gets its own GTIN. In practice that means a separate GTIN for:

  • each size (50 ml and 100 ml are different items),
  • each shade or colour,
  • each concentration of a fragrance (eau de toilette versus eau de parfum),
  • each pack (single unit, multipack, gift set),
  • other variants the brand owner treats as different trade items.

"EAN" is the older European name for the 13-digit barcode format; today the number is formally a GTIN-13, but buyers and suppliers still commonly say EAN.

The four GTIN formats

Format Digits Typical use
GTIN-8 8 Very small consumer items with little space for a barcode
GTIN-12 12 Consumer items numbered under UPC (common in North America)
GTIN-13 13 Consumer items in most of the world (EAN-13 barcode)
GTIN-14 14 Trade units such as cartons, often printed as an ITF-14 barcode

All four can be written in a 14-digit field by adding leading zeros on the left. A GTIN-12 012345678905 and the GTIN-13 0012345678905 refer to the same item, because leading zeros do not change the number. Databases that store every GTIN as 14 digits can therefore match items regardless of the format a supplier uses.

How the check digit works

The last digit of every GTIN is a check digit calculated from the other digits. It catches most typing and scanning errors. The calculation:

  1. Starting from the digit immediately left of the check digit and moving left, multiply the digits alternately by 3 and 1.
  2. Add up the results.
  3. The check digit is the number you must add to reach the next multiple of 10.

Example for the first twelve digits 400638133393: the weighted sum is 89, the next multiple of ten is 90, so the check digit is 1 and the full GTIN-13 is 4006381333931. GS1 offers an online check-digit calculator if you want to verify numbers by hand.

A number with a wrong check digit is not a valid GTIN. In our purchase-list matching, such lines are reported as invalid identifiers rather than as items we cannot find.

What the prefix tells you — and what it doesn't

The first digits of a GTIN-13 identify the GS1 member organisation that issued the company prefix. For example, prefixes beginning 400–440 are issued by GS1 Germany and 869 by GS1 Turkey. This tells you where the company prefix was licensed, not where the product was made. A brand headquartered in one country can manufacture anywhere.

Some prefix ranges have special meanings — for example 977 for periodicals, 978–979 for books, and 020–029, 040–049 and 200–299 for numbers used only within a company or market (restricted circulation). Such numbers are not unique worldwide and should be treated with care in wholesale data.

When a new GTIN is needed

GS1's rules require a new GTIN when the trade item changes in a way that matters to trading partners or consumers — for example a change of net content, a new pack configuration, or a significant change to the product's declared characteristics. In practice this is why last year's gift set and this year's gift set usually have different GTINs, and why a quantity change from 100 ml to 90 ml normally produces a new number. Always confirm the current GTIN when you reorder seasonal or reformulated products.

The spreadsheet problem

Most purchase lists live in spreadsheets, and spreadsheets treat long digit strings as numbers. Two problems follow:

Leading zeros disappear

A GTIN such as 0817891024950 becomes 817891024950 as soon as it is stored as a number. A system that compares 13-digit strings will then fail to match it. Good matching systems re-pad numbers to 14 digits and validate the check digit, which recovers most of these cases — but it is better not to lose the zeros in the first place.

Scientific notation destroys digits

Long numbers in a General-formatted column are displayed in scientific notation, for example 8.41106E+12. When such a column is exported to CSV, copied as displayed text or retyped, the hidden digits are lost: 8.41106E+12 could stand for thousands of different GTINs. There is no way to reconstruct the original number. Our matcher reports these lines as invalid identifiers.

How to avoid both

  • Format the GTIN column as Text before entering or pasting numbers.
  • When importing a CSV into a spreadsheet, set the GTIN column type to text in the import dialog.
  • Keep a separate column for your own SKUs; never reuse the GTIN column for internal codes.
  • Spot-check a few numbers with a check-digit calculator after editing.

Using GTINs in wholesale

With clean GTINs, a purchasing workflow becomes much faster:

  • A supplier can match hundreds of lines automatically and flag only real exceptions.
  • Quotations and deliveries can be compared line by line without guessing.
  • Variant mistakes — the wrong size, shade or edition — become visible before goods ship.

When you send a list to COSMAVANTA, each line is classified as an exact match, a possible match, no match or an invalid identifier, so you can see immediately which lines need attention. Try it with a purchase-list upload, or read about how to buy wholesale cosmetics.

This article is general information based on the GS1 standards. For authoritative rules, refer to GS1 and your national GS1 member organisation.

Sources

General information for trade buyers — not legal or regulatory advice.

Loading…