Máy tính chữ số kiểm tra
Tính toán và xác minh chữ số kiểm tra cho EAN-13, UPC-A, ISBN và nhiều hơn nữa. Xem tính toán Modulo 10 từng bước.
Chữ số kiểm tra của mã vạch này là gì?
?
Chữ số kiểm tra:
Mã vạch đầy đủ:
Kỳ vọng:
Tính toán từng bước
| Vị trí | Chữ số | Trọng số | Tích số |
|---|---|---|---|
| Tổng | |||
How to Use
-
1
Enter your barcode digits
Type the barcode number into the input field, omitting the final check digit. For EAN-13, enter the first 12 digits; for UPC-A, enter the first 11.
-
2
Select the barcode standard
Choose the correct symbology — EAN-13, UPC-A, ISBN-13, or ISBN-10 — to apply the right calculation algorithm. Each standard uses its own weighting pattern.
-
3
Verify or generate the result
The calculator displays the computed check digit. Paste it at the end of your barcode to complete the number, or enter a full barcode to confirm the existing check digit is correct.
About
Check digits are the final safeguard in any barcode numbering system, providing a mathematical guarantee that the digits preceding them form a valid, consistent sequence. The most widely used algorithm in retail and logistics is Modulo 10, standardized by GS1 and described in ISO/IEC 15420. Each digit in the barcode payload is multiplied by an alternating weight — typically 1 and 3 for EAN and UPC symbols — and the results are summed. The check digit is whichever value, when added to this sum, brings the total to the next multiple of 10. Scanners perform this calculation on every decode, rejecting barcodes whose check digit does not match.
Different standards adopt different algorithms suited to their error profiles. ISBN-10 uses Modulo 11 with descending weights from 10 to 1, allowing the character 'X' to represent a check value of 10. This scheme was chosen because it detects all single-digit errors and all adjacent transpositions — two of the most common human transcription mistakes. When ISBN-13 was introduced to unify book identification with the EAN retail system, the Modulo 10 algorithm was adopted instead, sacrificing the transposition-detection guarantee of Modulo 11 in exchange for full compatibility with GS1-compliant scanners worldwide.
Understanding check-digit arithmetic is essential for anyone generating, printing, or validating barcodes programmatically. Systems that bypass check-digit validation risk writing incorrect GTINs, ISBNs, or ISSNs into databases, leading to misidentification at point of sale, in library catalogs, or across supply chains. GS1 publishes the authoritative specification for EAN/UPC check-digit calculation, while the International ISBN Agency governs the ISBN-10 and ISBN-13 standards.