.NET Barcode for WinForms          ASP.NET Barcode          .NET Barcode Reader          Java Barcode          Java Barcode Reader
Avapose > EAN-13 Barcode Introduction > EAN-13 Barcode Size Setting

EAN-13 Size Setting

EAN-13 Generator Size Setting, Generate & Create EAN-13 in C#, ASP.NET, VB.NET applications

Size setting overview
This page is on size setting of EAN-13, emphasizing 2 important factors: barcode width and height.

Barcode structure
The components of EAN-13 barcode include a left quiet zone, a normal guard bar pattern, twelve symbol characters separated by a center guard bar pattern, another normal guard bar pattern and a right quiet zone.


EAN-13 Size Setting

Barcode Width:
The EAN-13 barcode width, W (measured in pixel), including quiet zones, can be calculated from the following expression:


EAN-13



W = ( 7C + 11 )X + 2Q


*Note: If a two-digit add-on symbol is used, an extra 25X should be added to the formula, then W=135X+15. For a five-digit add-on, 52X should be added, then W=162X+15.

W: width of EAN-13 barcode image (including quiet zones)
X: width of EAN-13 narrowest bar; (X min = 1 pixel)
C: the number of encoded data chars for EAN-13, including the check digit; C =12.
Q: width of the quiet zone; Q > = 7X; Q (L) = 11X, Q (R) = 7X. For Avapose, default Q=10X.


Barcode Height::

The EAN-13 barcode width, W (measured in pixel), including quiet zones, can be calculated from the following expression:


EAN-13



According to GS1 standard, the nominal height of an EAN-13 bar code symbol, including the human readable information, is 25.9 millimeters (1.0 inch).
Please note that when a two-digit or five-digit add-on symbol is used, including the human readable information, the height of the add-on should not extend outside of the primary symbol height. Avapose will automatically adjust the height for you according to the specification.

For more details on EAN-13 size setting, please go through the below guide: