Skip to content

Hamming Distance Calculator

Count the number of positions where two equal-length strings differ. Works for binary strings and any other character sequences.

Compare as

Inputs

Strings

Each character must be 0 or 1.

Results

Enter a value to see results.

Results

%

Embed this calculator

Preview

Paste this code into your page to show the calculator.

Share this calculation

Anyone who opens this link sees your values already filled in.

200+ calculators · 10 languages · 100% free

Was this calculator helpful?

No

How can we improve this calculator?