GS1 guide

GS1-128 and SSCC-18: what goes on a pallet label

How a GS1-128 barcode differs from plain Code 128, what the 18 digits of an SSCC mean, how its check digit is worked out, and where each piece of information sits on a logistics label.

GS is the GS1 General Specifications and LLG the GS1 Logistic Label Guideline. Gray references point to their sections; see Sources.

Code 128 and GS1-128

GS1-128 is not a separate kind of barcode. It is a subset of Code 128 with strict rules about what goes inside. Every GS1-128 symbol is a Code 128 symbol, but only some Code 128 symbols are GS1-128. GS 5.4

The difference is one function character, FNC1, straight after the start character. A Code 128 symbol that begins with that double start pattern is always GS1-128; one that does not is never GS1-128. Scanners should have symbology identifiers switched on so your software can tell the two apart. GS 5.4.3.7, 5.4.7.4; LLG 6-9

What the pattern announces is structure. Each data field begins with an application identifier (AI), a number of two or more digits that says what the field means and what shape it takes. AI 00 is an SSCC followed by exactly 18 digits; AI 10 is a batch or lot number of up to 20 characters. GS 3.2 Table 3-1; LLG 6-10

Several fields can share one symbol. A field whose length is not predefined must end with an FNC1 separator unless it is last. An SSCC has a predefined length (20 characters with its AI), so it needs none. One symbol holds at most 48 data characters. GS 1.4.2, 7.8.3, 7.8.4, 5.4.4.3

In ZPL, Code 128 is written with the ^BC command.

What an SSCC is

SSCC stands for Serial Shipping Container Code. It identifies one logistic unit: an item of any composition, such as a pallet, put together for transport or storage and managed through the supply chain. Scanning it lets a warehouse or carrier match the physical unit with the electronic messages about it. GS 2.2.1; LLG 1.2.1

The SSCC element string: AI 00, then 18 digits. The AI is not one of the 18.
  • Extension digit. Any digit from 0 to 9, chosen by the company building the SSCC, to give the serial reference more room. GS 3.3.1
  • GS1 Company Prefix. Issued by a GS1 member organization to the company that allocates the SSCC; its length varies. It makes the number unique worldwide but does not say where the unit came from. GS 3.3.1; LLG 3.1
  • Serial reference. Chosen freely by the prefix owner; counting up is simplest. Prefix and serial reference together fill positions 2 to 17. GS 3.3.1; LLG 3.1
  • Check digit. The last digit, calculated from the other 17. GS 3.3.1

An SSCC stays with its unit for life and must not be reused within one year of the shipment date, though regulations or industry rules may ask for longer. The company that builds the unit, or owns its brand, allocates it. GS 4.3.1.1, 4.3.1.2

The check digit

The last digit of an SSCC lets software reject a number that was mistyped or misread. GS1 uses one method for every fixed-length numeric key that has a check digit, GTINs and GLNs included, and the check must run in the application that reads the number. GS 7.9.1, 1.3.4, 3.3.1

  1. Take the 17 digits before the check digit.

  2. Multiply them by 3 and 1 in turn, from the right. The digit next to the check digit is multiplied by 3.

  3. Add the products.

  4. Subtract the sum from the nearest multiple of ten that is equal or higher. The result, 0 to 9, is the check digit.

GS1's own example

37610425002123456

  1. 3 × 3 = 9
  2. 7 × 1 = 7
  3. 6 × 3 = 18
  4. 1 × 1 = 1
  5. 0 × 3 = 0
  6. 4 × 1 = 4
  7. 2 × 3 = 6
  8. 5 × 1 = 5
  9. 0 × 3 = 0
  10. 0 × 1 = 0
  11. 2 × 3 = 6
  12. 1 × 1 = 1
  13. 2 × 3 = 6
  14. 3 × 1 = 3
  15. 4 × 3 = 12
  16. 5 × 1 = 5
  17. 6 × 3 = 18

The products add up to 101. The nearest multiple of ten that is equal or higher is 110, and 110 − 101 = 9, so the SSCC is:

376104250021234569

GS 7.9.1, Table 7-9

GS1's label checks include the check digit of every key on the label. LLG A.2.2, A.2.3

Try your own number in the calculator

What the label carries

The SSCC is the only mandatory element on a GS1 logistic label. A label has three building blocks, and only the bottom one is required. GS 6.6.3, 6.6.3.1; LLG 3-1, 2.2

The three building blocks, top to bottom.
  • Top. Free text and graphics. Text must be at least 3 mm high. GS 6.6.4.4
  • Middle. Every barcoded value repeated as text with its data title, such as SSCC, preferably in capitals. Titles are in English unless partners agree otherwise; data should be at least 7 mm high. GS 6.6.4.2; LLG 6-2, 6-6, 6-7
  • Bottom. The barcodes with their human-readable text, at least 3 mm high. The SSCC barcode goes in the lowest part of the label. GS 6.6.4.1.1; LLG 6-13, 6-22

A label can be split into up to three segments filled in at different times: supplier (SSCC, batch, dates), customer (ship-to, purchase order) and carrier (postal code, routing). Usually they run carrier, customer, supplier from top to bottom. The segment with the SSCC is always present and lowest, and an SSCC already on a unit is never replaced or changed. GS 6.6.3.2; LLG 2.3, 6-25

A pallet of one product can add its contents with AI 02 and a count in AI 37, a batch in AI 10 and one date. AI 01 and AI 02 never appear together, and each AI appears once. LLG 4-1, 4-4, 4-13, 4-20, 6-23

A GS1 Data Matrix or GS1 QR Code may sit beside the GS1-128 but must repeat all its element strings. GS 2.2.1

GS1 names A6 or 4 × 6 inches for an SSCC with little else, and A5 or 6 × 8 inches for more data, as on pallet labels. On a pallet, barcodes go between 400 and 800 mm above the base and at least 50 mm from any vertical edge, quiet zones included. Two identical labels on adjacent sides are recommended. GS 6.6.4.5, 6.7.1.1, 6.7.2; LLG 7

Quiet zones and size

For a GS1-128 on a logistic unit scanned in general distribution, GS1 sets these limits. The X-dimension is the width of the narrowest bar.

GS1-128 limits on a logistic unit
ItemLimitReference
X-dimension0.495 mm (0.0195 in) minimum and target, 0.94 mm (0.0370 in) maximumGS 5.12.3.5, Table 5-51
Bar heightAt least 31.75 mm (1.250 in), bars only, without the textGS 5.12.3.5, Table 5-51
Quiet zonesAt least 10 X on the left and on the rightGS 5.4.4.2
LengthAt most 165.10 mm (6.500 in), quiet zones includedGS 5.4.4.3

A symbol is 11N + 66 modules wide with its quiet zones, where N is the number of symbol characters between the leading FNC1 and the check character. Character set C packs two digits into one. A module is one X-dimension. GS 5.4.7.2

For a label holding only an SSCC, that is 20 digits with the AI, so 10 symbol characters and 11 × 10 + 66 = 176 modules. At 0.495 mm that is about 87 mm. At the 0.94 mm maximum it would be 165.4 mm, just over the length limit, so the widest module that fits is about 0.938 mm. This is our arithmetic from GS1's formula, not a figure GS1 prints.

On a 203 dpi printer one dot is about 0.125 mm, so a module of 4 dots (about 0.50 mm) clears the minimum and 3 dots (0.375 mm) does not. At 300 dpi, 6 dots is about 0.51 mm and 5 dots is 0.42 mm, too narrow. Again, our arithmetic. Print black bars on white, upright like a picket fence. GS 6.6.4.1.1; LLG 6-20, 9-9

Common mistakes

  • Plain Code 128 where GS1-128 is meant. Without FNC1 after the start character the symbol is not GS1-128. GS 5.4.3.7
  • Encoding the parentheses. They belong in the human-readable line only. LLG 6-21
  • A wrong or unchecked check digit. Verification belongs in the application, and GS1's label checks look at it. GS 3.3.1; LLG A.2.2
  • Someone else's company prefix. Build SSCCs from your own. A software provider's prefix may weaken traceability, and GS1 calls it incorrect use. LLG 9-5
  • Reusing or losing SSCCs. Do not reuse one within a year of shipment, and archive those you create. GS 4.3.1.1; LLG 9-6
  • Clipped quiet zones or short bars. At least 10 X of white each side, and bars of at least 31.75 mm. GS 5.4.4.2, Table 5-51
  • The SSCC in the wrong place. It goes in the lowest barcode, in the lowest segment. GS 6.6.4.1.1; LLG 6-13, 6-25
  • Stock and application. GS1 says heat-sensitive material or ink is not acceptable, and names thermal paper that changes color in heat or sun as one to avoid. Wrinkled and overwrapped labels are other faults. LLG 9-8, 9-15
  • Stacked pallets. Each pallet keeps its SSCC. A stack wrapped as one unit gets an extra SSCC on a master label. LLG 8-7, 8-8

BarcoderX

BarcoderX is a .NET SDK for thermal labels and barcodes, designed to meet GS1's rules for GS1-128 and SSCC-18, including check digits and quiet zones. The barcodes page lists the symbologies. The pallet labels use case covers this label with the data it needs and how it prints. Other labels that can carry GS1 data have their own pages: catch-weight labels, food labels, patient wristbands and specimen labels.

Sources

Every statement above was checked against both documents on November 14, 2026. This page is our own explanation in our own words, not a GS1 publication, and the documents above are the authority. GS1 publishes new releases; check the current one before you rely on a limit.