Skip to content

Supported QR versions and maximum contextual data lengths

The following two tables show the maximum length of contextual data that can be stored for each QR code version and redundancy level. All these values have been calculated supposing a selfie has also been sent, and hence a biometric vector is also stored in the QR code (which takes up additional space). Those combinations that cannot be used (such as 12 M) because they don’t have enough capacity for just the biometric vector, have been omitted from the tables.

Tags information is available at das-Face documentation.

For ed25519 algorithm

QR version and error correction level Max. length of contextual data (bytes)
Tag: 20200514 Tag: 20210203 Tag: 20210913
12 L 40 N/A N/A
13 L 98 N/A N/A
13 M 4 N/A N/A
14 L 131 N/A N/A
14 M 35 N/A N/A
15 L 193 N/A N/A
15 M 85 N/A N/A
16 L 259 N/A N/A
16 M 123 N/A N/A
17 L 317 N/A N/A
17 M 177 N/A N/A
18 L 391 7 7
18 M 233 N/A N/A
19 L 465 81 81
19 M 297 N/A N/A
20 L 531 147 147
21 L 602 218 218
21 M 384 N/A N/A
22 L 676 292 292
22 M 452 68 68
23 L 764 380 380
23 M 530 146 146
24 L 844 460 460
24 M 584 200 200
25 L 946 562 562
25 M 670 286 286
25 Q 388 4 4
26 L 1040 656 656
26 M 732 348 348
26 Q 424 40 40
27 L 1138 754 754
27 M 798 414 414
27 Q 478 94 94
28 L 1201 817 817
28 M 863 479 479
28 Q 541 157 157
29 L 1301 917 917
29 M 937 553 553
29 Q 581 197 197
30 L 1405 1021 1021
30 M 1043 659 659
30 Q 655 271 271
30 H 415 31 31
31 L 1513 1129 1129
31 M 1125 741 741
31 Q 703 319 319
31 H 463 79 79
32 L 1625 1241 1241
32 M 1211 827 827
32 Q 785 401 401
32 H 515 131 131

For ISO/IEC 9796-2 algorithm

QR version and error correction level Max. length of contextual data (bytes)
Tag: 20200514 Tag: 20210203 Tag: 20210913
12 L 47 N/A N/A
13 L 105 N/A N/A
13 M 11 N/A N/A
14 L 138 N/A N/A
14 M 42 N/A N/A
15 L 200 N/A N/A
15 M 92 N/A N/A
16 L 266 N/A N/A
16 M 130 N/A N/A
17 L 324 N/A N/A
17 M 184 N/A N/A
18 L 398 14 14
18 M 240 N/A N/A
19 L 472 88 88
20 L 538 154 154
21 L 609 225 225
21 M 391 7 7
22 L 683 299 299
22 M 459 75 75
23 L 771 387 387
23 M 537 153 153
24 L 851 467 467
24 M 591 207 207
25 L 953 569 569
25 M 677 293 293
25 Q 395 11 11
26 L 1047 663 663
26 M 739 355 355
26 Q 431 47 47
27 L 1145 761 761
27 M 805 421 421
27 Q 485 101 101
28 L 1208 824 824
28 M 870 486 486
28 Q 548 164 164
29 L 1308 924 924
29 M 944 560 560
29 Q 588 204 204
30 L 1412 1028 1028
30 M 1050 666 666
30 Q 662 278 278
30 H 422 38 38
31 L 1520 1136 1136
31 M 1132 748 748
31 Q 710 326 326
31 H 470 86 86
32 L 1632 1248 1248
32 M 1218 834 834
32 Q 792 408 408
32 H 522 138 138