Odd Parity Bit Calculator

Your details

Generate: supply the original data bits and get the parity bit to append. Check: supply a complete message (data + parity bit already included) to verify it.
Odd parity: the total number of 1s in the transmitted message (data + parity bit) must be odd. Even parity: that count must be even.
A string of 0s and 1s. In Generate mode enter only your data bits. In Check mode enter the complete message including the existing parity bit.
Where to insert the parity bit in the transmitted codeword (1 = first position, 0 or blank = append to the end). Only used in Generate mode.
Parity bit
1

The parity bit value to add (Generate) or that was received (Check)

Count of 1s4 (even)
Transmitted codeword10101101
1s in full codeword5 (odd)
One-bits5
Zero-bits3

Parity bit is 1 - the codeword has 5 ones (odd parity satisfied).

  • Your data "1010110" contains 4 one-bits.
  • Appending parity bit 1 gives codeword "10101101" with 5 ones total, making the count odd as required.
  • The receiver will count all the 1s in the codeword: if the count is not odd, it flags a transmission error.
  • A single parity bit catches all single-bit errors but cannot locate them or detect two simultaneous flips.

Next stepTo send this message, transmit the full codeword "10101101". The receiver applies the same parity rule to verify integrity.

= Powered by OnlyCalculators