The calculation of the number of total bits (Model 2)
The kind of each character is calculated as follows, and the number of total bits is calculated.
The number of total data bits
=
Indicator mode*1
4
+
Indicator of character number
*2
Number10 Alphanumeric9 Binary8 Kanji8
+
Data
Number 10
x
(Quotient that divides digit number by three
)
+
Odd=0 0
Odd=1 4
Odd=2 7
Alphanumeric
11
x
(Quotient that divides digit number by two)
+
Odd=0 0
Odd=1 6
Binary
8xCharacter digits
Kanji
13xCharacter digits
*1 : Be defined by as which mode the following data is encoded.
*2 : The character number indicator is different according to the version.
Please see the table in detail page below.
Example
When you make data that 35 alphanumeric character digits follow
50 figure digits QR code (The error correction level: L)
Generated by mixed mode
50 figure digits 4+10+10x16+7=181
35 alphanumeric
character digits 4+9+11x17+6=206
Number of data bits 181+206=387
Generated by alphanumeric mode
35 alphanumeric character digits
Number of data bits
4+9+11x42+6=481
*This is one example. It is likely not to become as a result when the calculation of the different kind of character in software or the printer used.
*Please see the detail about the number of maximum input characters in each version.