Love Calculator
A fun name-based match score calculator for sharing with friends.
Written by Anil Gautam · Updated
How does the love calculator work out a score?
Each score comes from a few lines of arithmetic on the letters you type. The tool joins the two names with a separator, converts everything to lowercase and walks through the characters one at a time. At each step it multiplies a running number by 31, adds the character's code and keeps the remainder after dividing by 101. A final value below 35 is raised to 35, so every score falls between 35% and 100%.
Since the 35 remainders from 0 to 34 are all lifted to 35, a score of exactly 35% turns up far more often than any other. The separator is part of the text, so moving letters from one name to the other changes the result: Aman and Neha get 46%, while Ama and Nneha, with the same letters in the same order, get 82%. The verdict follows fixed bands: above 75 reads Great match, 56 to 75 reads Promising, and 55 or below reads Needs coffee first.
Why does swapping the names change the result?
The formula depends on the order of the characters, so the same pair can score very differently when the names are swapped. Aarav and Anaya, the names filled in when the page opens, score 48% with the verdict Needs coffee first. Put Anaya first and Aarav second and the score jumps to 85%, a Great match.
Capital letters make no difference, because everything is lowercased first: aarav and ANAYA still give 48%. Spaces do count. A single space after Aarav turns the same pair into 98%, so an extra space added by a phone keyboard can change the result. Names typed in Devanagari, Tamil or any other script work too, since every character has a numeric code.
Will the same names always give the same score?
Yes, as long as they are typed the same way. Nothing random is involved, so the same two names in the same order give the same score on any phone or computer. Change one letter, add a surname or swap the order and you get an unrelated number, because each character affects every step that follows it. Adding the surname Sharma to Rahul moves Rahul and Priya from 35% to 85%.
Your browser does the calculation as you type. The names are not sent to a server or stored, and closing the tab clears them. If you want a result that changes on every try, for picking partners in a party game for example, the Random Name Picker fits better.