Parity Bit Calculator

Your details

Choose how you will enter your data word.
The data bits to analyse. In binary mode only 0s and 1s are accepted; in hex mode use 0-9 and A-F; in decimal mode enter a non-negative integer.
Even: total 1-bits in encoded word is even. Odd: total 1-bits is odd. Mark: parity bit is always 1. Space: parity bit is always 0.
Generate appends the correct parity bit to your data. Check tells you whether a word that already includes a parity bit passes the parity test.
Where to insert the parity bit relative to the data bits.
Parity bit
0

The single bit that satisfies the chosen parity scheme

Number of 1-bits in data4
Encoded word10101100
Total 1-bits (incl. parity)4
Data word length7bits
1-bits in data4
1-bits in encoded word4
Data word length (bits)7

Parity bit is 0, encoded word is 10101100.

  • The data word contains 4 one-bits. With even parity the parity bit is 0.
  • The encoded word is 10101100 (8 bits total including the parity bit).
  • Parity detects any single-bit flip during transmission. It cannot locate the flipped bit or detect an even number of simultaneous errors.

Next stepSend the encoded word. The receiver independently recalculates the parity and compares it against the received parity bit to detect any single-bit error.

= Powered by OnlyCalculators