Love Calculator

Just for fun: the score comes from a fixed calculation on the two names, not from astrology, psychology or any science. The names stay in your browser and are never sent or stored.

Love score

Enter two names to see how well they match. Just for fun!

About this tool

This love calculator gives two names a playful compatibility score from 0 to 100% with a light-hearted message. It is a party game and an icebreaker, not a prediction: there is no scientific way to measure love from names, and the score says nothing about a real relationship.

Use it with friends, for a laugh with your partner, or to test celebrity couples and fictional characters. The result is always the same for the same pair of names, in either order, so you can share it and everyone sees the same score.

How it works

Enter two names and press Calculate love. The calculator first tidies both names: it ignores capital letters, accents, spaces and punctuation, so José, jose and JOSE count as the same name. It then sorts the two names alphabetically, which is why swapping them does not change the result, and turns the pair into a number with the FNV-1a hash function and a final bit-mixing step. The score is that number's remainder after division by 101, written h mod 101h \bmod 101, which gives a value from 0 to 100.

The score is grouped into five bands with a message each, from a tiny spark to off the charts. Entering the same name twice gives a perfect 100% for self-love. Nothing random is involved and nothing is looked up or sent anywhere: the names never leave your browser, unless you share a link, which contains them.

Example

Enter Alex and Sam, then try Sam and Alex: both orders give the same score, because the names are sorted before the calculation. Typing ALEX, alex or Alex makes no difference either.

Names with accents work the same way: Zoë and Zoe, or José and Jose, give identical results. A small change to the spelling, however, such as Alexa instead of Alex, produces a completely different score. That is how hash functions behave, and another reminder that the number is just a bit of fun.

Assumptions and limits

The score has no scientific, psychological or astrological basis and must not be used to make decisions about real relationships. It is a deterministic hash of the two names, so it never changes for the same pair. Names are limited to 60 characters; letters from any alphabet and digits count, and other symbols are ignored. No data is collected or stored.

Frequently asked questions

Is the love calculator accurate?

No. It is just for fun. The score is calculated from the letters of the two names, which say nothing about how two people get along. Treat it as a game, not advice.

Why do I always get the same result?

The calculation is deterministic: the same two names always give the same score, in either order. That makes results shareable and stops anyone from pressing the button until the number looks better.

Does it work for any couple?

Yes. It treats both names the same way, with no assumptions about gender or relationship type, and works for friends, partners, pets and fictional characters alike, in any alphabet.

Are the names I enter saved?

No. The calculation runs entirely in your browser, and the names are not sent to a server or stored. If you use Copy link, the names are written into the link so the recipient can see the same result.

Why does a tiny spelling change give a very different score?

The score comes from a hash function, which is designed to give very different outputs for slightly different inputs. Nicknames and full names therefore score differently. Try both for fun.

Link with your values

Add these parameters to this page’s address to open it with the values filled in, for example to share a calculation or to link to it from an AI assistant. The result is calculated in the browser: the page HTML shows an example for the default values, and the tool sets the data-url-params attribute once the link’s values are applied.

ParameterValueIf omitted
name1Your nametext; your own text; Copy link includes itrequired
name2Their nametext; your own text; Copy link includes itrequired

Examples

  • ?name1=Alex&name2=Sam
  • ?name1=Ren%C3%A9e&name2=Jordan

Write decimals with a point. Encode a space as %20, + as %2B, # as %23 and & as %26.

Result elements: [data-result-block="love"]