An ISBN-13 is the 13-digit book identifier used worldwide for titles published from 2007 onward. It is structurally an EAN-13 barcode number, so it uses the same mod-10 check digit. This free validator runs that exact check and can also compute the missing check digit from the first twelve digits.
How it works
ISBN-13 uses the EAN-13 weighted modulus-10 algorithm:
- Strip hyphens and spaces, leaving 13 digits.
- Multiply each digit by an alternating weight, starting with
1for the first digit,3for the second,1for the third, and so on (so odd positions get weight 1 and even positions get weight 3). - Add the products together. The ISBN is valid if the total is divisible by 10.
To generate the check digit from the first 12 digits, compute the weighted sum of those 12, then check = (10 - (sum mod 10)) mod 10.
Example
For 978-0-306-40615-7, weighting the first 12 digits as 9×1 + 7×3 + 8×1 + 0×3 + 3×1 + 0×3 + 6×1 + 4×3 + 0×1 + 6×3 + 1×1 + 5×3 = 93. Then check = (10 - (93 mod 10)) mod 10 = (10 - 3) mod 10 = 7, which matches the given digit, so the ISBN is valid.
The tool also flags whether the prefix is the expected 978 or 979. All processing is local to your browser.