Check Digits and Checksums

Check digits and checksums help detect errors in data. A check digit is calculated from a number and added to it, while a checksum is a value calculated from a block of data and compared after it has been sent.

Key terms

Error detection
Finding out that data has been corrupted or entered wrongly. It does not fix the error.
Check digit
A digit calculated from the other digits in a number and added at the end to detect data entry errors. Used in ISBNs and barcodes.
Checksum
A value calculated from a block of data. If the checksum recalculated at the receiver does not match the one sent, an error has occurred.
Limitation
These methods can miss some errors, so they are not a guarantee that the data is correct.

Part of Data Transmission.