Hello, you are using an old browser that's unsafe and no longer supported. Please consider updating your browser to a newer version, or downloading a modern browser.
Training Camp • Cybersecurity Glossary
Redundant bits computed from data for error detection or, in RAID, reconstruction of a failed drive using XOR across the remaining disks.
Parity Bits Definition: Redundant bits computed from data for error detection or, in RAID, reconstruction of a failed drive using XOR across the remaining disks.
A parity bit is a redundant bit added to a group of data bits to enable error detection, and, in storage systems like RAID, the reconstruction of lost data. The parity value is calculated from the original data (commonly with an XOR operation) so that a mismatch reveals corruption, or so missing data can be recomputed from the surviving bits.
In its simplest form, even or odd parity sets the extra bit so the total number of 1s is even or odd; if a single bit flips in transit or memory, the parity no longer matches and the error is detected (though basic parity cannot correct it or catch two simultaneous flips). In RAID, parity is far more powerful: RAID 5 distributes parity blocks across all disks, and because parity is the XOR of the data stripes, the array can rebuild a failed drive by XOR-ing the remaining drives' data and parity. RAID 6 adds a second, independent parity to survive two simultaneous failures. Stronger schemes like Hamming and Reed-Solomon codes extend the idea to full error correction.
This matters for the availability and integrity pillars of security. Parity provides fault tolerance so a hardware failure does not become data loss or downtime, and it flags silent corruption in memory (ECC) and transmission before bad data propagates. Without it, a single disk or bit failure could mean unrecoverable loss of critical data.
For example, an enterprise storage array runs RAID 5 across five disks, striping data with distributed parity. When one disk fails, the controller keeps serving requests and rebuilds the failed disk's contents by XOR-ing the data and parity from the four healthy disks onto a hot spare, restoring full redundancy without data loss or service interruption. Related concepts include error correction, data redundancy, and XOR-based fault tolerance.
Turn knowledge into credentials with our instructor-led cybersecurity boot camps.
View All Courses →