Love Calculator

A just-for-fun compatibility score based on two names. For entertainment only!

Quick answer. A novelty percentage from two names, with no science behind it. Alex and Jordan score 80%. The same pair always gets the same score, and the order of the names does not matter.

Just for fun

This calculator turns two names into a percentage. It is a novelty: the score comes from a simple formula, not from astrology, numerology or any real measure of compatibility. Treat it the way you would a fortune cookie, and use it as a party game or a conversation starter.

Worked example with the default names

The page opens on Alex and Jordan. The score is 80%, with the message “A strong match — the chemistry is there.” The calculator lowercases both names, trims the spaces at the ends, puts them in alphabetical order and joins them with a bar, giving “alex|jordan”.

How the score is made

  • Each name is lowercased and trimmed, so “ALEX” and “ alex ” are the same.
  • The two names are sorted alphabetically and joined as first|second. Sorting is why the order you type them in makes no difference.
  • The letters are run through a simple hashing formula: start at 0, and for each character multiply the running total by 31 and add the character’s code, keeping only the last 32 bits.
  • The final number is divided by 101 and the remainder, from 0 to 100, is the score.

For “alex|jordan” the running total ends at 82,326,594, and 82,326,594 mod 101 = 80.

What the scores mean

ScoreMessage
90 to 100It’s practically written in the stars.
75 to 89A strong match — the chemistry is there.
50 to 74A solid connection, with room to grow.
25 to 49Could go either way — friendship first, maybe?
0 to 24The stars aren’t exactly aligned on this one.
How many of the 101 possible scores fall in each message bandThe top message is the rarest: 11 of 101 scores (about 11%) are 90 or higher, while each of the three lower bands holds 25 of 101.How many of the 101 possible scores fall in each message band90 to 10011 scores75 to 8915 scores50 to 7425 scores25 to 4925 scores0 to 2425 scores
The highest message is the least common one.

Example pairs

NamesScoreMessage
Romeo & Juliet2%The stars aren’t exactly aligned on this one.
Tom & Jerry52%A solid connection, with room to grow.
Sam & Alex71%A solid connection, with room to grow.
Ana & Ben92%It’s practically written in the stars.
Maya & Leo23%The stars aren’t exactly aligned on this one.
Zoe & Max67%A solid connection, with room to grow.
Scores for six example pairs of namesScores jump around with no pattern: names that look alike or that are famous couples have no advantage.Scores for six example pairs of namesRomeo & Juliet2%Tom & Jerry52%Sam & Alex71%Ana & Ben92%Maya & Leo23%Zoe & Max67%
There is no pattern behind the numbers.

Why trying again does not help

The same pair of names always gives the same score, and swapping the order changes nothing, so there is no point in retyping for a better number. Changing a single letter does change the score, because every character feeds the formula: Alex and Jordan give 80%, Alexa and Jordan give 67%, and Alex and Jordann give 65%. That shows how arbitrary the result is.

Please keep it light

The score says nothing real about any relationship. Real compatibility comes from shared values, communication, respect and time spent together. Share the page with friends, but do not base any decision on the number. A conversation with the actual person is worth more than any formula.

Common questions about the score

  • Does it use birthdays or zodiac signs? No, only the two names you type.
  • Does a nickname change the result? Yes. Any change in the letters changes the score.
  • Does it work with any language? It works with any letters, though the value depends on the character codes.
  • Is my data stored? The page works in your browser with the names you type, and it does not need an account.

How to read your result

The large percentage is the score, shown under the two names you entered. The line below it is the message for that band. The result updates when you press the button.

This calculator is for entertainment only. It has no science or psychology behind it.

What to do next

Common questions

Is the love calculator accurate?

No. It is for entertainment only. The score comes from a simple formula applied to the letters of the two names, with no science behind it.

Why does the same pair of names always give the same score?

The formula has no randomness. It combines the two names the same way every time, so identical input gives an identical result.

Does the order of the names matter?

No. The two names are sorted alphabetically before the formula is applied, so swapping them gives the same score.

Does capitalisation matter?

No. Names are converted to lowercase and trimmed before the score is worked out.

Why does one extra letter change the score?

Every character is part of the formula, so any change to a name produces a different number.

What does a high score mean?

Nothing about a real relationship. Real compatibility comes from shared values, communication, respect and time spent together.

Sources: Wikipedia: Hash function; Wikipedia: Modulo operation

More Everyday Calculators

Pick another tool to jump straight to it.