Proofs · Chapter 20

Check Digit Calculator

A check digit is a small proof machine: every single wrong digit is caught. Work out an ISBN or Luhn check digit and see which swaps would slip through.

Home › Calculators › Proofs › Check Digit Calculator

Opens on Chapter 20’s example: the invented book number 978-1-60825-738.

Enter your own case, then press Work it out.

How it works

Each scheme multiplies the digits by weights and adds them; the check digit makes the total a multiple of 10 (or 11). The chapter proves which typos each catches. The tool applies the rule to your number and checks every single typo and every swap of two neighbors exhaustively. Use invented numbers: the examples are not real books or cards.

From the book, Chapter 20. 978-1-60825-738 totals 114, so its check digit is 6. Typed with a 1 for the 7 its total is 102: caught. Of the 90 swaps of different neighbors, ISBN-13 misses 10. The ISBN-10 1-60825-738 needs X. The card 8420 1735 0926 441 needs 2, a total of 70, and Luhn misses only 2 swaps (09 and 90). The book and every chapter’s tool →

Tests and proofs. When a tool tries cases, it tells you how many: a test of a million cases is still evidence, not a proof, because it says nothing about the cases it didn’t try. When an answer is proved (a count, a check digit, a complete list of every case, an algebra step that holds for every value), the page says so and why. Numbers can be typed as 1,200, −7, 3/4 or 0.05; formulas as 2^n − 1, n(n + 1)/2, n², C(n, 4) (choices of 4 from n), n! or sum(2k − 1) (the terms for k = 1 to n). Everything stays in your browser: no sign-up, nothing stored or sent.