Parity Bit Calculator
Find the parity bit for a byte.
A parity bit makes the total number of 1 bits even or odd, for basic error checking.
The math behind it
Count the 1 bits. For even parity, add a 1 if the count is odd; for odd parity, the reverse.
Worked example
156 has four 1 bits, so even parity is 0.
FAQ
What can parity detect?
Any single-bit error (an odd number of flipped bits).