This calculator will compute the length of a Code 128 barcode given the total number of data characters and X dimension.


L = (11C + 35)X


L = (5.5C + 35)X


Note that if numeric only is selected, the number of characters must be an even number.

# of Characters (C)
x Dimension in mils (X
Code Type alphanumeric
numeric only
Total Length in mils (includes quiet zones)