Skip to content
Calcrivo

Love Calculator

A light-hearted compatibility score from two names — strictly for fun, no predictive validity.

Inputs

Compatibility Score

81

0–100. Purely a hash of the two names. Completely meaningless as a compatibility predictor.

Reading

Off the charts! (In a hash-function sense only.)

Step by step

  1. Pair

    = "Alice" + "Bob"

  2. Normalise (lowercase, sort alphabetically)

    = "alice" + "bob"

  3. djb2 hash of combined key

    = 1104657185

  4. XOR with individual name hashes for spread

    = result XOR 253185475 XOR 193487480

  5. Score = (result mod 101)

    = 81 / 100

    This is a hash function output. It has no relationship to actual compatibility.

How it works

This is an entertainment calculator with absolutely no scientific or predictive validity. The 'compatibility score' is produced by a deterministic hash function (djb2) applied to the two names. A hash function maps any input to a fixed-range number in a way that appears random but is completely reproducible — the same two names will always produce the same score. This is why the result feels personal (it's unique to your names) while actually being meaningless (it could have been any other number). There is no algorithm, AI model, astrological chart, or psychological theory behind it. Please do not make relationship decisions based on this calculator.

Formula

djb2 hash

hash = 5381; for each character c: hash = hash × 33 XOR charCode(c)

h_n
Hash after processing n characters
c_n
Character code of the nth character
Bitwise XOR

This calculator is for entertainment purposes only. The score is produced by a hash function applied to the names and has no predictive validity whatsoever. It cannot measure, predict or quantify romantic compatibility, attraction, or relationship success. Do not make relationship decisions based on this output.

Frequently Asked Questions

Is this calculator scientifically accurate?

No — not at all. The score is generated by a hash function (djb2) applied to the letters in the two names. It has no relationship to personality, psychology, astrology, or any other theory of compatibility. It is purely for amusement.

Why do the same two names always give the same score?

Because the calculator uses a deterministic hash — a function that always maps the same input to the same output. This is intentional: it means the calculator behaves consistently and you can share a result. It does not mean the score is meaningful.

Can changing the order of names change the score?

No. We sort the two names alphabetically before hashing, so Alice+Bob and Bob+Alice always produce the same result. The score depends only on the letters, not who typed whose name first.

What actually predicts relationship compatibility?

Research in relationship psychology identifies shared values, communication quality, mutual respect, and emotional maturity as the most reliable predictors of long-term relationship satisfaction. None of these can be inferred from a name hash.

You might also need