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: 20210203 Tag: 20210913
12 L N/A N/A
13 L N/A N/A
13 M N/A N/A
14 L N/A N/A
14 M N/A N/A
15 L N/A N/A
15 M N/A N/A
16 L N/A N/A
16 M N/A N/A
17 L N/A N/A
17 M N/A N/A
18 L 7 7
18 M N/A N/A
19 L 81 81
19 M N/A N/A
20 L 147 147
21 L 218 218
21 M N/A N/A
22 L 292 292
22 M 68 68
23 L 380 380
23 M 146 146
24 L 460 460
24 M 200 200
25 L 562 562
25 M 286 286
25 Q 4 4
26 L 656 656
26 M 348 348
26 Q 40 40
27 L 754 754
27 M 414 414
27 Q 94 94
28 L 817 817
28 M 479 479
28 Q 157 157
29 L 917 917
29 M 553 553
29 Q 197 197
30 L 1021 1021
30 M 659 659
30 Q 271 271
30 H 31 31
31 L 1129 1129
31 M 741 741
31 Q 319 319
31 H 79 79
32 L 1241 1241
32 M 827 827
32 Q 401 401
32 H 131 131

For ISO/IEC 9796-2 algorithm

QR version and error correction level Max. length of contextual data (bytes)
Tag: 20210203 Tag: 20210913
12 L N/A N/A
13 L N/A N/A
13 M N/A N/A
14 L N/A N/A
14 M N/A N/A
15 L N/A N/A
15 M N/A N/A
16 L N/A N/A
16 M N/A N/A
17 L N/A N/A
17 M N/A N/A
18 L 14 14
18 M N/A N/A
19 L 88 88
20 L 154 154
21 L 225 225
21 M 7 7
22 L 299 299
22 M 75 75
23 L 387 387
23 M 153 153
24 L 467 467
24 M 207 207
25 L 569 569
25 M 293 293
25 Q 11 11
26 L 663 663
26 M 355 355
26 Q 47 47
27 L 761 761
27 M 421 421
27 Q 101 101
28 L 824 824
28 M 486 486
28 Q 164 164
29 L 924 924
29 M 560 560
29 Q 204 204
30 L 1028 1028
30 M 666 666
30 Q 278 278
30 H 38 38
31 L 1136 1136
31 M 748 748
31 Q 326 326
31 H 86 86
32 L 1248 1248
32 M 834 834
32 Q 408 408
32 H 138 138