What is a check digit?
A check digit is the final digit of an ISBN, calculated mathematically from the preceding digits. Its purpose is to catch transcription errors — if you mistype a single digit or transpose two adjacent digits, the check digit will no longer validate, immediately revealing the error.
The ISBN-10 and ISBN-13 formats use different algorithms, described below.
ISBN-13 Check Digit (EAN-13 MOD-10)
ISBN-13 uses the same algorithm as EAN-13 barcodes. The steps:
- Take the first 12 digits of the ISBN-13
- Multiply alternating digits by 1 and 3 (starting with 1 for the first digit)
- Sum all the products
- Check digit =
(10 − (sum mod 10)) mod 10
Worked example: 978-0-596-51774-?
What errors does the check digit catch?
The ISBN algorithms are designed to catch:
- Single-digit transcription errors: changing any one digit will produce an invalid checksum
- Adjacent transpositions: swapping two neighbouring digits (e.g. 12 → 21) will be caught by both ISBN-10 and ISBN-13 algorithms
Note: the check digit does not guarantee the ISBN was actually assigned or that a book exists with that number. It only confirms the number wasn't garbled in copying. Use Open Library or a bookstore database to verify the book exists.
Check digit calculator
You can validate any ISBN using the decoder tool — it automatically detects whether you entered an ISBN-10 or ISBN-13, calculates the expected check digit, and tells you whether it matches.
Why X in ISBN-10?
The ISBN-10 MOD-11 algorithm produces values from 0–10. Since 10 can't be represented as a single decimal digit, the Roman numeral X (representing 10) is used. This is why you occasionally see ISBNs ending in X, such as 0-9752298-0-X.
The ISBN-13 algorithm uses MOD-10, which always produces 0–9, so X never appears in ISBN-13.