Find checksum-compatible missing digits.
Initialising algorithm engine for Missing Digit Solver...
How Missing Digit Solver Works?
The Missing Digit Solver works by trying all 10 digits in the unknown position and keeping only the candidates that make the identifier pass its checksum. Most schemes leave exactly 1 candidate.
- 1Enter the identifier with ? in place of the unreadable digit.
- 2Select the checksum scheme.
- 3Replace ? with 0, 1, 2 … 9 in turn.
- 4Validate each candidate with the scheme.
- 5List every candidate that passes.
Missing Digit Solver Formula
The solver formula is Solutions = { d ∈ 0…9 : valid(code with ? = d) }.
Solutions = { d ∈ {0,…,9} | valid_scheme(code[? := d]) }code[? := d]is the code with digit d in the unknown position.
Try ? = 0: invalid Try ? = 1: invalid Try ? = 2: valid Try ? = 3: invalid Try ? = 4: invalid Try ? = 5: invalid Try ? = 6: invalid Try ? = 7: invalid Try ? = 8: invalid Try ? = 9: invalid Solution = 2 → 5901234123457
Missing Digit Solver Conversion Table
The Missing Digit Solver table lists codes with 1 unknown digit and the solutions per scheme.
| Scheme | Code with gap | Solutions | Count |
|---|---|---|---|
| EAN-13 | 5901?34123457 | 2 | 1 |
| EAN-13 | 590123412?457 | 3 | 1 |
| Luhn | 799?7398713 | 2 | 1 |
| ISBN-10 | 03064?6152 | 0 | 1 |
| Verhoeff | 23?3 | 6 | 1 |
| Damm | 5?24 | 7 | 1 |
| Simple sum mod 10 | 12?4 | 1 | 1 |
A scheme with weights that share a factor with the modulus leaves 2 or more candidates. The simple sum example shows the opposite case: exactly 1 candidate, but no transposition protection.
What is Missing Digit Solver?
A Missing Digit Solver is a tool that recovers 1 unreadable digit of an identifier by testing which values satisfy the checksum. Any scheme that detects all single-digit errors gives exactly 1 solution.
The solver needs the check digit itself to be readable; a missing check digit is a generation task, not a solving task.
What are the uses of Missing Digit Solver?
There are 3 main uses of the Missing Digit Solver, including damaged labels, faded documents, and partial records.
- Damaged labels: Warehouse staff recover digits from torn barcodes.
- Faded documents: Archivists complete numbers on old paperwork.
- Partial records: Data teams repair records with 1 lost digit.