Love Calculator
The Love Calculator is a fun, lighthearted tool that generates a compatibility score between two people based on their names. It uses a deterministic character-code hashing algorithm, so the same pair of names always produces the same percentage — making it a playful party game rather than a serious relationship assessment.
Enter any two names to instantly see your compatibility score from 0% to 100%, along with a playful message that matches your result. Whether you're testing celebrity couples, fictional characters, or your own crushes, this calculator is purely for entertainment and a good laugh.
How it works
Both names are lowercased, alphabetically sorted, and concatenated. A DJB2-variant hash iterates over each character's Unicode code point (hash = ((hash << 5) + hash) XOR charCode), keeping a 32-bit unsigned result. The final score is hash modulo 101 to yield an integer from 0 to 100.
Use cases
- Testing compatibility between celebrity couples just for fun
- Settling playful debates about fictional character pairings
- Breaking the ice at parties or social gatherings
- Entertaining kids and teenagers with name-based games
- Adding a fun element to Valentine's Day cards or messages