Love Calculator
- Updated
- Formula shown
- Free, no sign-up
Results
Romeo and Juliet: 73% compatibility, for fun only
Just for fun: this is a game with no scientific basis. The score comes from a hash of the two names, so it says nothing about real feelings or how a relationship will go.
How to use the love calculator
- Enter two names: first names, full names or nicknames all work.
- Read the score and the message. The same two names always give the same score, in either order.
- Share the link if you like; the names are in the page address so a friend sees the same result. Nothing is stored on our server.
How the score is made
hash = FNV-1a (32-bit) of the key
score = 50 + (hash mod 51)
The calculator does not measure anything about the people. It turns the names into a number with FNV-1a, a simple, well-known hash function that scrambles text into a 32-bit number. A hash is deterministic: the same text always gives the same number, but changing a single letter gives a completely different one. Sorting the names first means the order doesn't matter. The final step maps the hash onto 50% to 100%, so every pair gets a friendly result and nobody is told they are a bad match.
Worked example
For Romeo and Juliet, the names become juliet and romeo; sorted and joined, the key is juliet+romeo. Its FNV-1a hash is
174,137,891. Dividing by 51 leaves a remainder of 23, so the score is 50 + 23 =
73%. Entering "Juliet" and "Romeo" gives 73% too, and so does " ROMÉO " with "juliet!" (73%),
because capitals, accents, spaces and punctuation are removed first.
Scores for famous couples from literature and myth
| Names | Key | Score |
|---|---|---|
| Romeo + Juliet | juliet+romeo | 73% |
| Elizabeth + Darcy | darcy+elizabeth | 65% |
| Jane + Rochester | jane+rochester | 54% |
| Anne + Gilbert | anne+gilbert | 66% |
| Penelope + Odysseus | odysseus+penelope | 58% |
| Orpheus + Eurydice | eurydice+orpheus | 51% |
| Tristan + Isolde | isolde+tristan | 92% |
| Pyramus + Thisbe | pyramus+thisbe | 62% |
The numbers have nothing to do with the stories. Some of these couples end happily and some tragically, and the hash doesn't know the difference, which is exactly the point: it is a game of chance that happens to repeat itself.
Why it's just for fun
- No science. There is no evidence that names, letters or numbers say anything about compatibility. Real relationships depend on things like trust, communication, shared values and time together.
- Same names, same answer. Because the result comes from a hash rather than a random draw, you can't "reroll" it by pressing the button again. Try nicknames or full names for a different number.
- Be kind. Use it with people who are in on the joke, and never to tease someone or to make a real decision.
Other letter-counting love games work by counting shared letters or the letters of words such as "love" in both names. They are just as unscientific, and different methods give different answers for the same pair.
Looking for more games of chance? Roll some dice with the dice roller, or pick a random number with the random number generator. To count the days until a date night, use the day counter.
Frequently asked questions
Is the love calculator accurate?
No. It is a game for entertainment with no scientific basis. The score comes from a hash of the two names, a fixed mathematical scramble of the letters, so it cannot know anything about real feelings or how a relationship will go.
Why do I always get the same result for the same names?
The score is deterministic: the names are cleaned up, sorted and hashed with FNV-1a, and the hash always gives the same number for the same text. Romeo and Juliet get the same score whichever order you type them in, and with or without capitals or accents.
How is the percentage calculated?
Both names are lowercased, stripped of accents, spaces and punctuation, sorted and joined (for example juliet+romeo). The 32-bit FNV-1a hash of that text is divided by 51, and the remainder is added to 50, so every pair scores from 50% to 100%.
Why is the lowest score 50%?
Because it is meant to be fun and kind. A game should not tell anyone they are a bad match, so the scale runs from 50% to 100% and every result comes with a friendly message.
Are the names I enter saved?
No. The score is worked out in your browser. The names appear in the page address so you can share the result, but they are not sent to or stored on our server, and you can clear them with Reset.