Check Data Matrix barcode capacity

Understand the modules, capacity, and error correction of a Data Matrix symbol.

freeworks offlinenothing uploaded
ToolData Matrix Info
Input
Output
Put this on your own site

The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.

Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.

Preview

How it works

Data Matrix places encoded codewords in a square or rectangular module grid with finder patterns, orientation borders, and Reed–Solomon error correction. The symbol size determines capacity and error-correction overhead.

  • Solid finder borders orient the reader while redundant codewords recover damaged data.

Worked example

Part Number
Analyze Data Matrix encoding for a part number
Input
											DMX-2024-ABCDEF
										
Output
												Data Matrix Barcode
===================

Data Matrix is a 2D matrix barcode used in:
  - Electronic component marking
  - Pharmaceutical packaging
  - Postal services
  - Industrial part marking

Input text:
  "DMX-2024-ABCDEF"
  Length: 15 characters

Encoding details:
  Encoding mode: ASCII
  Estimated symbol size: 16x16
  Error correction: Reed-Solomon

Note: Full Data Matrix encoding requires complex Reed-Solomon ECC200 calculation.
For production use, consider a dedicated barcode library.
											

When to use this

Medical devices, parcel labels, and manufacturing marks use Data Matrix.

Edge cases

  • Quiet zones and the L-shaped finder border are necessary for detection.
  • Too much payload forces a larger symbol and smaller modules.
  • Rotation is supported, but a damaged finder pattern can prevent decoding.

References