Photo by Christian Wiediger on Unsplash

Computer Systems Structure

Hamming Code

The simplest of the error-correcting codes is the Hamming code devised by Richard Hamming at Bell Laboratories. To clarify the concept involved, the calculator was developed that can detect and correct single-bit errors in 8-bit words. Please use your mouse to set bit position in the received data word.

Hamming Error Correction Code Calculator
Bit position 12 11 10 09 08 07 06 05 04 03 02 01
Data(M) or Parity(C) M8 M7 M6 M5 C8 M4 M3 M2 C4 M1 C2 C1
Data Received
Hamming Code for Received Data
Error Position

Useful resources

  1. Two's complement the article from the Wikipedia
  2. Hamming code the article from the Wikipedia
  3. Digital Works Software the circuits simulator for Windows
  4. EasyEDA the online circuits simulator