If you work with retail products, inventory systems, or barcode generation, understanding the EAN-13 check digit is important.
The check digit is the last number in an EAN-13 barcode. It helps verify that the barcode is valid and scannable.
In this guide, you'll learn what the EAN-13 check digit is, how it is calculated, how to check an EAN number, and why it matters in real-world barcode systems.
An EAN-13 check digit is the final (13th) digit in an EAN-13 barcode.
Its purpose is error detection.
It helps barcode scanners verify whether the barcode data was entered or scanned correctly.
An EAN-13 barcode contains:
Example:
Barcode Number: 4006381333931
4006381333931Without the correct check digit, the barcode may fail validation.
Skip manual calculation. Use our free EAN-13 Check Digit Calculator to generate and verify barcode check digits instantly.
Use Free Check Digit Calculator →The check digit EAN 13 system helps prevent common barcode errors such as:
This improves:
A wrong check digit can make a product barcode invalid.
Let's validate the barcode 5901234123457. Take the first 12 digits: 590123412345 and apply the same formula.
| Position | Digit | Odd / Even | Multiplier | Result |
|---|---|---|---|---|
| 1 | 5 | Odd | × 1 | 5 |
| 2 | 9 | Even | × 3 | 27 |
| 3 | 0 | Odd | × 1 | 0 |
| 4 | 1 | Even | × 3 | 3 |
| 5 | 2 | Odd | × 1 | 2 |
| 6 | 3 | Even | × 3 | 9 |
| 7 | 4 | Odd | × 1 | 4 |
| 8 | 1 | Even | × 3 | 3 |
| 9 | 2 | Odd | × 1 | 2 |
| 10 | 3 | Even | × 3 | 9 |
| 11 | 4 | Odd | × 1 | 4 |
| 12 | 5 | Even | × 3 | 15 |
| Total sum | 83 | |||
| Check digit = (10 − (83 mod 10)) mod 10 | 7 | |||
8383 mod 10 = 310 − 3 = 77 — the barcode 5901234123457 is valid ✓
EAN-13 and UPC use similar check digit logic.
EAN is used globally, while UPC is more common in North America. Check our complete guide on EAN vs UPC Barcodes.
You should run an EAN barcode check when:
Skip manual calculation. Use our free EAN-13 Check Digit Calculator to generate and verify barcode check digits instantly.
Use Free Check Digit Calculator →
The EAN-13 check digit is a critical part of barcode validation.
It helps detect errors, improve scanning reliability, and maintain accurate product data across retail, logistics, and inventory systems.
Whether you create or verify barcodes, understanding the EAN 13 check digit system helps prevent costly mistakes and ensures barcode accuracy.