The amount of space required for a 2D code depends on the type of barcode used, how much data is encoded and whether any changes need to be made due to the material or shape of the packaging.
Section 5.12.3.1 of the GS1 General Specifications specifies the minimum and maximum allowable sizes for 2D codes on products. The table below shows barcodes in their minimum and maximum sizes based on the standards defined in GS1 General Specifications (note: depending on screen resolution, actual size below may differ from physical size)
Barcode type | Coded data | Minimum size | Maximum size |
GS1 DataMatrix | GTIN | | |
GS1 DataMatrix | GTIN, sell- by date, batch/lot nummer | | |
QR-kod | GTIN | | |
Since the size of the barcode is determined by the type of barcode and the amount of data, there is not just an answer to exactly what size you should plan for. The recommendation is to involve trading partners to ensure that the barcode’s design, size and quality serve the purpose.
To ensure that the barcode meets quality requirements, it is strongly recommended to have it verified. Verification means that the barcode is graded based on standardized parameters on how likely it is that it will be scanned correctly. Verification can be helpful in finding out the quality of your barcodes, if your trading partner can scan them and what needs to be done to improve them.