Error Correction Code Words and Block Information


QR Code is registered trademark of DENSO WAVE INCORPORATED.

The following table lists the number of error correction code words that you are required to generate for each version and error correction level of QR code. These values can be used to determine how many data bytes and error correction bytes are required for a given Reed-Solomon block. Check back later for more information on how to determine the correct number of bytes for a given block. Return to the main page of the QR Code Tutorial.

Version and EC Level Total Number of Data Codewords for this Version and EC Level EC Codewords Per Block Number of Blocks in Group 1 Number of Data Codewords in Each of Group 1's Blocks Number of Blocks in Group 2 Number of Data Codewords in Each of Group 2's Blocks Total Data Codewords
1-L197119 (19*1) = 19
1-M1610116 (16*1) = 16
1-Q1313113 (13*1) = 13
1-H91719 (9*1) = 9
2-L3410134 (34*1) = 34
2-M2816128 (28*1) = 28
2-Q2222122 (22*1) = 22
2-H1628116 (16*1) = 16
3-L5515155 (55*1) = 55
3-M4426144 (44*1) = 44
3-Q3418217 (17*2) = 34
3-H2622213 (13*2) = 26
4-L8020180 (80*1) = 80
4-M6418232 (32*2) = 64
4-Q4826224 (24*2) = 48
4-H361649 (9*4) = 36
5-L108261108 (108*1) = 108
5-M8624243 (43*2) = 86
5-Q6218215216 (15*2) + (16*2) = 62
5-H4622211212 (11*2) + (12*2) = 46
6-L13618268 (68*2) = 136
6-M10816427 (27*4) = 108
6-Q7624419 (19*4) = 76
6-H6028415 (15*4) = 60
7-L15620278 (78*2) = 156
7-M12418431 (31*4) = 124
7-Q8818214415 (14*2) + (15*4) = 88
7-H6626413114 (13*4) + (14*1) = 66
8-L19424297 (97*2) = 194
8-M15422238239 (38*2) + (39*2) = 154
8-Q11022418219 (18*4) + (19*2) = 110
8-H8626414215 (14*4) + (15*2) = 86
9-L232302116 (116*2) = 232
9-M18222336237 (36*3) + (37*2) = 182
9-Q13220416417 (16*4) + (17*4) = 132
9-H10024412413 (12*4) + (13*4) = 100
10-L27418268269 (68*2) + (69*2) = 274
10-M21626443144 (43*4) + (44*1) = 216
10-Q15424619220 (19*6) + (20*2) = 154
10-H12228615216 (15*6) + (16*2) = 122
11-L32420481 (81*4) = 324
11-M25430150451 (50*1) + (51*4) = 254
11-Q18028422423 (22*4) + (23*4) = 180
11-H14024312813 (12*3) + (13*8) = 140
12-L37024292293 (92*2) + (93*2) = 370
12-M29022636237 (36*6) + (37*2) = 290
12-Q20626420621 (20*4) + (21*6) = 206
12-H15828714415 (14*7) + (15*4) = 158
13-L428264107 (107*4) = 428
13-M33422837138 (37*8) + (38*1) = 334
13-Q24424820421 (20*8) + (21*4) = 244
13-H180221211412 (11*12) + (12*4) = 180
14-L4613031151116 (115*3) + (116*1) = 461
14-M36524440541 (40*4) + (41*5) = 365
14-Q261201116517 (16*11) + (17*5) = 261
14-H197241112513 (12*11) + (13*5) = 197
15-L52322587188 (87*5) + (88*1) = 523
15-M41524541542 (41*5) + (42*5) = 415
15-Q29530524725 (24*5) + (25*7) = 295
15-H223241112713 (12*11) + (13*7) = 223
16-L58924598199 (98*5) + (99*1) = 589
16-M45328745346 (45*7) + (46*3) = 453
16-Q325241519220 (19*15) + (20*2) = 325
16-H253303151316 (15*3) + (16*13) = 253
17-L6472811075108 (107*1) + (108*5) = 647
17-M507281046147 (46*10) + (47*1) = 507
17-Q367281221523 (22*1) + (23*15) = 367
17-H283282141715 (14*2) + (15*17) = 283
18-L7213051201121 (120*5) + (121*1) = 721
18-M56326943444 (43*9) + (44*4) = 563
18-Q397281722123 (22*17) + (23*1) = 397
18-H313282141915 (14*2) + (15*19) = 313
19-L7952831134114 (113*3) + (114*4) = 795
19-M627263441145 (44*3) + (45*11) = 627
19-Q445261721422 (21*17) + (22*4) = 445
19-H341269131614 (13*9) + (14*16) = 341
20-L8612831075108 (107*3) + (108*5) = 861
20-M669263411342 (41*3) + (42*13) = 669
20-Q485301524525 (24*15) + (25*5) = 485
20-H3852815151016 (15*15) + (16*10) = 385
21-L9322841164117 (116*4) + (117*4) = 932
21-M714261742 (42*17) = 714
21-Q512281722623 (22*17) + (23*6) = 512
21-H406301916617 (16*19) + (17*6) = 406
22-L10062821117112 (111*2) + (112*7) = 1006
22-M782281746 (46*17) = 782
22-Q568307241625 (24*7) + (25*16) = 568
22-H442243413 (13*34) = 442
23-L10943041215122 (121*4) + (122*5) = 1094
23-M860284471448 (47*4) + (48*14) = 860
23-Q6143011241425 (24*11) + (25*14) = 614
23-H4643016151416 (15*16) + (16*14) = 464
24-L11743061174118 (117*6) + (118*4) = 1174
24-M914286451446 (45*6) + (46*14) = 914
24-Q6643011241625 (24*11) + (25*16) = 664
24-H514303016217 (16*30) + (17*2) = 514
25-L12762681064107 (106*8) + (107*4) = 1276
25-M1000288471348 (47*8) + (48*13) = 1000
25-Q718307242225 (24*7) + (25*22) = 718
25-H5383022151316 (15*22) + (16*13) = 538
26-L137028101142115 (114*10) + (115*2) = 1370
26-M1062281946447 (46*19) + (47*4) = 1062
26-Q754282822623 (22*28) + (23*6) = 754
26-H596303316417 (16*33) + (17*4) = 596
27-L14683081224123 (122*8) + (123*4) = 1468
27-M1128282245346 (45*22) + (46*3) = 1128
27-Q808308232624 (23*8) + (24*26) = 808
27-H6283012152816 (15*12) + (16*28) = 628
28-L153130311710118 (117*3) + (118*10) = 1531
28-M1193283452346 (45*3) + (46*23) = 1193
28-Q871304243125 (24*4) + (25*31) = 871
28-H6613011153116 (15*11) + (16*31) = 661
29-L16313071167117 (116*7) + (117*7) = 1631
29-M1267282145746 (45*21) + (46*7) = 1267
29-Q911301233724 (23*1) + (24*37) = 911
29-H7013019152616 (15*19) + (16*26) = 701
30-L173530511510116 (115*5) + (116*10) = 1735
30-M13732819471048 (47*19) + (48*10) = 1373
30-Q9853015242525 (24*15) + (25*25) = 985
30-H7453023152516 (15*23) + (16*25) = 745
31-L184330131153116 (115*13) + (116*3) = 1843
31-M1455282462947 (46*2) + (47*29) = 1455
31-Q1033304224125 (24*42) + (25*1) = 1033
31-H7933023152816 (15*23) + (16*28) = 793
32-L19553017115 (115*17) = 1955
32-M15412810462347 (46*10) + (47*23) = 1541
32-Q11153010243525 (24*10) + (25*35) = 1115
32-H8453019153516 (15*19) + (16*35) = 845
33-L207130171151116 (115*17) + (116*1) = 2071
33-M16312814462147 (46*14) + (47*21) = 1631
33-Q11713029241925 (24*29) + (25*19) = 1171
33-H9013011154616 (15*11) + (16*46) = 901
34-L219130131156116 (115*13) + (116*6) = 2191
34-M17252814462347 (46*14) + (47*23) = 1725
34-Q1231304424725 (24*44) + (25*7) = 1231
34-H961305916117 (16*59) + (17*1) = 961
35-L230630121217122 (121*12) + (122*7) = 2306
35-M18122812472648 (47*12) + (48*26) = 1812
35-Q12863039241425 (24*39) + (25*14) = 1286
35-H9863022154116 (15*22) + (16*41) = 986
36-L243430612114122 (121*6) + (122*14) = 2434
36-M1914286473448 (47*6) + (48*34) = 1914
36-Q13543046241025 (24*46) + (25*10) = 1354
36-H1054302156416 (15*2) + (16*64) = 1054
37-L256630171224123 (122*17) + (123*4) = 2566
37-M19922829461447 (46*29) + (47*14) = 1992
37-Q14263049241025 (24*49) + (25*10) = 1426
37-H10963024154616 (15*24) + (16*46) = 1096
38-L270230412218123 (122*4) + (123*18) = 2702
38-M21022813463247 (46*13) + (47*32) = 2102
38-Q15023048241425 (24*48) + (25*14) = 1502
38-H11423042153216 (15*42) + (16*32) = 1142
39-L281230201174118 (117*20) + (118*4) = 2812
39-M2216284047748 (47*40) + (48*7) = 2216
39-Q15823043242225 (24*43) + (25*22) = 1582
39-H12223010156716 (15*10) + (16*67) = 1222
40-L295630191186119 (118*19) + (119*6) = 2956
40-M23342818473148 (47*18) + (48*31) = 2334
40-Q16663034243425 (24*34) + (25*34) = 1666
40-H12763020156116 (15*20) + (16*61) = 1276




Page last updated 2013-06-12T00:54:31-05:00