What Is a Data Matrix Rectangular Barcode?
Data Matrix ECC 200, defined in ISO/IEC 16022, is usually square, but the standard also includes rectangular sizes. Rectangular Data Matrix keeps the same L-shaped finder pattern and error correction while making the symbol long and low, so it fits narrow labels, component edges and tube or cable markings.
Rectangular sizes hold less data than the larger square ones, so they suit short IDs, part numbers or serial numbers. For more data, use square Data Matrix. For even longer, thinner shapes, see Data Matrix Rectangular Extension (DMRE).
What Data Can Data Matrix Rectangular Hold?
Short text, numbers or IDs, up to 98 characters depending on content. We warn you as you get close to the limit.
Recommended Size
Keep a quiet zone of at least one module on every side, and make sure each module is large enough for your printer and scanner. Test on the real surface, especially for direct part marking.
The Six Rectangular Data Matrix Sizes
ISO/IEC 16022 defines six rectangular sizes, written as rows by columns. Each size has a fixed capacity, so the amount of data decides which one you get.
- 8 x 18 and 8 x 32: the lowest forms, for strips only a few millimetres tall
- 12 x 26 and 12 x 36: a middle height for short part numbers
- 16 x 36 and 16 x 48: the largest rectangles, holding the most data
Choosing Between Rectangular and Square Data Matrix
The deciding factor is usually the height available. An 8-row rectangle can be printed far lower than any square symbol with the same module size, which is why it suits component edges, small tubes and the spine of a label.
If the height allows it, a square symbol often prints with larger modules in the same area and is easier to read on rough surfaces. GS1 users who need application identifiers can use the GS1 rectangular version instead.
More 2D Codes barcodes
How to Create a Barcode in 3 Steps
Choose a barcode type
Select a category on the left (e.g. Linear Codes), then the exact type like Code-128.
Enter data & customise
Type your data — we check it live and add check digits. Adjust size, font and colors.
Download or print
Get PNG, JPG, SVG, PDF or EPS, or print a full sheet of labels in one click.
Why Use QRCodeChamp Barcode Generator
125+ barcode types
Linear, 2D, GS1, postal, healthcare and payment codes.
Live validation
Friendly errors with one-click fixes and automatic check digits.
Print-ready PDF
Exact mm sizes, label sheets (Avery, A4, 4×6 thermal).
Bulk barcodes
Paste a list or generate number sequences.
Choose the Type of Barcode You Need
Not sure which barcode to use? Start with what you need it for — we’ll pick the right type.
Data Matrix Rectangular FAQs
Rectangular sizes are part of the standard ECC 200 specification, so scanners that read Data Matrix generally read them too.
When you have more data or the space is roughly square. Square sizes go much larger than rectangular ones.
DMRE adds extra rectangular sizes that are longer or taller. Standard rectangular sizes are more widely supported by older scanners.
Six, from 8 x 18 to 16 x 48 modules, as defined in ISO/IEC 16022. DMRE adds further rectangular sizes beyond these.
Yes. Data Matrix scanners read the symbol at any rotation, so you can rotate it 90 degrees to run up the side of a part or label. The generator has a rotation setting for this.
