Hamming Distance Calculator
Count the differing bits between two numbers.
The Hamming distance is the number of bit positions where two values differ.
The math behind it
XOR the two numbers and count the 1 bits in the result.
Worked example
156 (10011100) vs 99 (01100011) differ in 8 bits.
FAQ
Where is it used?
Error detection and correction, and comparing binary codes.