Calculate the symbol check value.
Initialising algorithm engine for Code 128 Checksum Calculator...
How Code 128 Checksum Calculator Works?
The Code 128 Checksum Calculator works by adding the start character value to the sum of each data symbol value multiplied by its position, and taking the remainder modulo 103. The check symbol is mandatory and never appears in scanned output.
- 1Pick the start code: A (103), B (104), or C (105).
- 2Convert each symbol to its Code 128 value (Code B: ASCII − 32; Code C: each digit pair 00–99).
- 3Multiply each symbol value by its position (1, 2, 3…).
- 4Add the start value and all products.
- 5Take the remainder modulo 103 as the check symbol value.
Code 128 Checksum Calculator Formula
The Code 128 formula is Check = (start + Σ i·vᵢ) mod 103.
Check value = (Start + Σ i × vᵢ) mod 103
Startis 103, 104, or 105.vᵢis the value of symbol i.iis the position after the start code.
Pairs: 12 34 56 78 90 105 + 12×1 + 34×2 + 56×3 + 78×4 + 90×5 = 1115 1115 mod 103 = 85
Code 128 Checksum Calculator Conversion Table
The Code 128 conversion table lists start codes and sample data with their check values.
| Start code | Start value | Sample data | Weighted total | Check value |
|---|---|---|---|---|
| C | 105 | 1234567890 | 1115 | 85 |
| B | 104 | Code 128 | 1197 | 64 |
| B | 104 | PJJ123C | 879 | 55 |
| C | 105 | 00123456 | 455 | 43 |
| B | 104 | Hello | 1209 | 76 |
What is Code 128 Checksum Calculator?
A Code 128 Checksum Calculator is a tool that computes the mandatory modulus 103 check symbol of a Code 128 barcode. Code 128 encodes all 128 ASCII characters through 3 code sets.
Code set C packs 2 digits into 1 symbol, so numeric data prints at about half the width of Code B.
What are the uses of Code 128 Checksum Calculator?
There are 3 main uses of the Code 128 Checksum Calculator, including shipping labels, barcode software checks, and print troubleshooting.
- Shipping labels: Carriers encode tracking numbers in Code 128.
- Barcode software checks: Developers test encoder output symbol by symbol.
- Print troubleshooting: Technicians confirm check symbols when scanners reject labels.