Enter your 12-digit EAN number and the check digit (13th digit) is calculated automatically. The complete 13-digit EAN-13 is shown ready to download as PNG or SVG barcode.
How the EAN-13 Check Digit Works
The check digit (position 13) is calculated from the first 12 digits using the GS1 modulo-10 algorithm. Positions 1,3,5,7,9,11 are multiplied by 1. Positions 2,4,6,8,10,12 are multiplied by 3. Sum all results, find the nearest multiple of 10 above, subtract the sum. That difference is the check digit.
Example Calculation
Digits 1–12: 4 0 0 1 2 3 4 5 6 7 8 9 · Weighted sum: 4×1 + 0×3 + 0×1 + 1×3 + 2×1 + 3×3 + 4×1 + 5×3 + 6×1 + 7×3 + 8×1 + 9×3 = 4+0+0+3+2+9+4+15+6+21+8+27 = 99 · Next multiple of 10: 100 · Check digit: 100−99 = 1. Complete EAN-13: 4001234567891
Wrong Check Digit? Auto-Corrected
If you enter a 13-digit EAN with an incorrect check digit, the generator detects and corrects it automatically. This is useful when importing product data from a spreadsheet with check digit errors.
Frequently Asked Questions
How do I calculate an EAN-13 check digit?
Enter your 12-digit number above. The 13th digit is calculated automatically using the GS1 modulo-10 algorithm.
What if I enter a wrong 13-digit EAN?
The generator detects incorrect check digits and auto-corrects the 13th digit. The correct complete EAN is shown in the input field.
Can I download the barcode after calculating?
Yes. After the check digit is calculated, download PNG, SVG or PDF directly.
Calculate EAN-13 Check Digit — Free
Enter 12 digits, get complete EAN-13 with barcode. No signup.
⬆ Back to Generator