The Hamming Distance of two sequences of equal length is calculated by counting the character positions in which they differ. The Hamming Distance is a distance measure.