This name compatibility calculator turns two names into a repeatable fun percentage. It is entertainment only. It does not measure attraction, commitment, or relationship success.
Defaults Alex and Sam return 32%. The same spelling pair always returns the same score because the method is a fixed string hash.
How the score is built
Each name is trimmed and lowercased, then joined as name1:name2. A running hash multiplies by 31 and adds each character code. The unsigned hash modulo 101 is the percentage from 0 to 100.
Worked example
name1 = Alex, name2 = Sam. After lowercasing the joined string is alex:sam. The deterministic hash modulo 101 equals 32.
Order and spelling matter
Because the join is name1:name2, swapping the fields can change the score. Nicknames and spaces also change the character sequence.
What this tool is not
- Not a psychology test.
- Not relationship advice.
- Not scientific evidence of compatibility.
For real percentage math on measured numbers, use the percentage calculator. For age based fun facts, try the age calculator.