Error detection identifies data that has been corrupted; error correction uses added information to work out the intended data and repair some errors without retransmission. Both rely on redundancy—extra bits or symbols that make valid data follow predictable rules. Their capabilities are limited: the code’s structure determines how many errors it can reliably detect or correct.
How error detection and correction work
A sender or storage system encodes information together with check bits or symbols. Those additions do not change the information an application means to convey, but they create a structured codeword. A receiver checks whether the received data still satisfies the code’s rules. A failed check indicates corruption; a decoder with enough information may also identify or reconstruct the intended codeword.
| # | Preview | Product | Price | |
|---|---|---|---|---|
| 1 |
|
Error Correction Coding: Mathematical Methods and Algorithms | $114.00 | Buy on Amazon |
| 2 |
|
Fundamentals of Error-Correcting Codes | $107.00 | Buy on Amazon |
| 3 |
|
Error Correction Coding: Mathematical Methods And Algorithms | $119.93 | Buy on Amazon |
| 4 |
|
A Course in Algebraic Error-Correcting Codes (Compact Textbooks in Mathematics) | $54.99 | Buy on Amazon |
| 5 |
|
Error Control Coding | $305.84 | Buy on Amazon |
As an Amazon Associate I earn from qualifying purchases.
The key distinction is what happens after corruption is noticed. A detector can report that data appears wrong without knowing how to repair it. A correcting code adds enough structure for a receiver to infer some errors locally. If local correction is unavailable or insufficient, a system may instead request another copy.
Windows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallOutdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchWhat the code’s distance tells you
In a binary code, Hamming distance is the number of bit positions that differ between two codewords. The code’s minimum distance, d, is the smallest such distance between any pair of valid codewords. Greater separation makes it easier to distinguish a valid message from a corrupted one.
#1 Best Overall
- A code with minimum distance d can guarantee detection of up to d − 1 bit errors in a codeword.
- It can guarantee correction of up to floor((d − 1)/2) bit errors in a codeword.
These are guarantees within the stated limits, not promises about every corruption. Beyond the correction limit, a decoder may fail or choose a different valid codeword; a detected error is not automatically a corrected error. [IEEE Technology Navigator: Error correction]
Parity, CRC, and common error-correction codes
| Method | Main role | What it does and does not do |
|---|---|---|
| Parity | Detects some errors | A parity bit makes the total number of 1 bits even or odd, according to the chosen rule. A single parity check detects any single-bit flip, but cannot identify which bit changed; it can also miss an even number of flips. [IEEE Technology Navigator: Parity check codes] [MIT OpenCourseWare: Principles of Computer System Design] |
| CRC | Detects corruption | A cyclic redundancy check tests data against a computed check value. It signals corruption but is not itself the repair or retransmission step. In PCIe 6.0, CRC is used after forward error correction to check the protected data. [PCI-SIG: PCIe 6.0 Specification Webinar Q&A] |
| Hamming code | Corrects a limited number of bit errors | Arranged parity constraints help locate an error. MIT’s textbook excerpt describes a 7-bit code representing 4 data bits that can correct a one-bit error. [MIT OpenCourseWare: Principles of Computer System Design] |
| Reed–Solomon | Corrects suitable symbol errors or erasures | Its usefulness depends on the configuration and error model. RFC 5510 specifies schemes for packet-erasure channels: a packet is received without corruption or discarded, and recovery is possible from a sufficient set of received symbols. [RFC 5510: Reed-Solomon Forward Error Correction (FEC) Schemes] |
| LDPC | Supports error correction in communication links | Low-density parity-check codes use iterative decoding. IEEE identifies their use in Wi-Fi 802.11n/ac/ax, 5G NR, and DVB-S2. [IEEE Technology Navigator: Parity check codes] |
Correction, retransmission, and combined recovery
Codes are also used as part of a recovery strategy. The method depends on whether the receiver can correct data on its own and whether the system can send data again.
- Forward error correction (FEC): Adds redundancy so a receiver can correct some errors without feedback or a retransmission request.
- Automatic repeat request (ARQ): Detects a problem and asks the sender to retransmit data.
- Hybrid ARQ (HARQ): Combines FEC with retransmission, using both local correction and additional transmissions.
These approaches suit different constraints, including latency, channel conditions, and whether feedback is available. [IEEE Technology Navigator: Error correction]
Recommended Free Tools
Why real links may layer checks and repair
A system can apply more than one safeguard because correction and detection have different jobs. PCI-SIG’s September 27, 2020 description of PCIe 6.0 provides one specific example: FEC is applied to a FLIT, CRC checks it, and the link layer can retry if the CRC check fails. In that design, FEC attempts local correction; CRC helps identify remaining corruption; retry supplies another recovery route.
The same PCI-SIG Q&A describes a PCIe 6.0 FLIT as having 242 bytes of payload protected by 8 bytes of CRC, with the resulting 250 bytes protected by 6 bytes of FEC. Those are figures for that PCIe 6.0 arrangement, not a general overhead rule for error-control systems. [PCI-SIG: PCIe 6.0 Specification Webinar Q&A]
Where these techniques are used
Error-control methods appear wherever digital data may be corrupted, lost, or need protection during storage or transmission. IEEE identifies digital communications such as Wi-Fi, 5G, and satellite links, ECC memory, storage systems, and deep-space telemetry as application areas. Specific codes are chosen for the system’s error model and requirements; no one method is best for every case. [IEEE Technology Navigator: Error correction] [IEEE Technology Navigator: Parity check codes]
Quantum error correction is related in purpose but not simply classical error correction applied to quantum data. IEEE notes that quantum codes protect logical qubits through encoding and syndrome measurements rather than directly correcting an unknown quantum state as if it were an ordinary classical bit string. [IEEE Technology Navigator: Error correction]
Free tools Windows power users keep installed
One-click scans. No signup required.
How to choose or understand an error-control method
The right method depends on the problem the system must handle. When comparing designs, consider:
Best Value
- Error model: Is the concern isolated bit flips, bursts of errors, or packets that are lost or discarded?
- Required capability: Must the receiver only detect corruption, or should it correct some errors locally?
- Redundancy: How much extra data can the system carry or store?
- Recovery conditions: Is retransmission possible, and is feedback available?
- Failure behavior: What happens when corruption exceeds the code’s guaranteed correction capacity?
The answers determine the trade-offs among redundancy, latency, and recovery. A code’s name alone does not establish how well it fits a particular system.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




