Data Matrix: High-Density 2D for Manufacturing

<\/script>\n
'; }, get iframeSnippet() { const domain = 'barcodefyi.com'; const type = 'guide'; const slug = 'data-matrix-deep-dive'; return ''; }, get activeSnippet() { return this.method === 'script' ? this.scriptSnippet : this.iframeSnippet; }, copySnippet() { navigator.clipboard.writeText(this.activeSnippet).then(() => { this.copied = true; setTimeout(() => { this.copied = false; }, 2000); }); } }" @keydown.escape.window="open = false" @click.outside="open = false">

Embed This Widget

Theme


      
    

Widget powered by . Free, no account required.

Complete Data Matrix reference: ECC 200 error correction, size configurations from 10x10 to 144x144, direct part marking, and GS1 DataMatrix usage.

Data Matrix: High-Density 2D for Manufacturing

Data Matrix is a two-dimensional barcode symbology defined by ISO/IEC 16022 that excels in high-density encoding, small-size printing, and industrial applications. It is the dominant symbology for direct part marking, healthcare serialization, and electronics manufacturing.

ECC 200: The Modern Standard

The current standard is Data Matrix ECC 200, which uses Reed-Solomon error correction. Older versions (ECC 000-140) used convolutional error correction and are considered obsolete. When people refer to Data Matrix today, they mean ECC 200.

Symbol Structure

A Data Matrix symbol consists of:

  • Finder pattern (L-shape): Two solid borders (bottom and left) that help the scanner locate and orient the symbol
  • Timing pattern: Alternating dark/light modules on the top and right edges for bar or space; the basic unit of barcode width." data-category="Barcode Anatomy & Structure">module counting
  • Data region: The interior cells that contain encoded data and error correction

Size Configurations

Data Matrix supports square symbols from 10x10 to 144x144 modules and rectangular symbols from 8x18 to 16x48. Each size has a fixed data capacity:

Size (modules) Numeric capacity Alphanumeric Binary bytes
10x10 6 3 1
20x20 44 31 20
32x32 124 91 60
52x52 288 214 142
144x144 3,116 2,335 1,556

Encoding Modes

Data Matrix automatically selects the most efficient encoding mode:

  • ASCII: One byte per character for ASCII 0-127
  • C40: Optimized for uppercase letters and digits (3 chars per 2 bytes)
  • Text: Optimized for lowercase (3 chars per 2 bytes)
  • Base 256: Raw binary data
  • EDIFACT: 4 chars per 3 bytes for EDIFACT character set
  • X12: Optimized for ANSI X12 EDI data

GS1 DataMatrix

When a Data Matrix symbol starts with GS1-formatted data in barcodes." data-category="GS1 Standards & Identifiers">FNC1, it becomes a GS1 DataMatrix, meaning its contents follow GS1 GS1-128 barcodes." data-category="GS1 Standards & Identifiers">Application Identifier syntax. This format is required by the FDA for Unique Device Identification (UDI) on medical devices and by DSCSA for pharmaceutical serialization.

Direct Part Marking (DPM)

Data Matrix's small minimum size and robust error correction make it ideal for permanent marking on metal, glass, and plastic parts. Methods include:

  • Laser etching: Highest precision, used for electronics and surgical instruments
  • Dot peen: Mechanical marking, used for automotive and aerospace parts
  • Chemical etching: Acid-resistant marking for steel components
  • Inkjet: High-speed marking on production lines

ISO/IEC TR 29158 defines quality grading for DPM Data Matrix symbols.

Best Practices

  • Always use ECC 200 (never legacy ECC versions)
  • Choose the smallest symbol size that fits your data plus adequate error correction margin
  • For DPM applications, test with actual marked parts under real scanning conditions
  • When encoding GS1 data, verify FNC1 placement and AI formatting
  • Data Matrix does not require a quiet zone by specification, but 1-2 modules of clear space improves scanning reliability