ISBN & EAN-13 Barcode
Validate ISBN-10/13, convert between them and render the EAN-13 barcode symbol.
Loading sheet…
Validate ISBN-10/13, convert between them and render the EAN-13 barcode symbol.
Loading sheet…
| Digit | 9 | 7 | 8 | 0 | 3 | 0 | 6 | 4 | 0 | 6 | 1 | 5 | 7 | Σ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Weight | 1 | 3 | 1 | 3 | 1 | 3 | 1 | 3 | 1 | 3 | 1 | 3 | 1 | |
| Product | 9 | 21 | 8 | 0 | 3 | 0 | 6 | 12 | 0 | 18 | 1 | 15 | 7 | 100 |
10101110110001001010011101111010100111010111101010101110011100101010000110011010011101000100101
Parity for first digit 9: LGGLGL
ISO 2108 defines the International Standard Book Number: a GS1 prefix (978 or 979), registration group, registrant, publication element and a check digit. The ISBN-13 is identical to the EAN-13 product code, using weights alternating 1 and 3:
\sum_{i=1}^{13} w_i d_i \equiv 0 \pmod{10},\qquad w_i = 1, 3, 1, 3, \dotsd_{13} = \left(10 - \left(\sum_{i=1}^{12} w_i d_i \bmod 10\right)\right) \bmod 10The older ten-digit form uses descending weights and modulus 11, so the check “digit” may be X (= 10):
\sum_{i=1}^{10} (11 - i)\,d_i \equiv 0 \pmod{11}Modulus 11 (prime) detects all single errors and all transpositions; modulus 10 with weights 1/3 misses transpositions of digits differing by 5. Conversion to ISBN-13 prefixes 978, drops the old check digit and recomputes.
The symbol has 95 modules: start guard 101, six left digits (7 modules each, L or G code), centre guard 01010, six right digits (R code), end guard 101. The first digit is not drawn as bars but implied by the L/G parity pattern of the left half.