Friendship calculator

A friendship calculator turns two names into a percentage out of 100, the way classroom games always have. This page shows its math: the full formula is published below, every factor appears next to the result, and the same pair of names always produces the same score. Nothing is stored, and nothing is sent anywhere — the calculation runs inside this page.

Everything is calculated in your browser. What you type never leaves this page.

How to use it

  1. Enter the first name

    Type one of the two names. A first name or nickname is fine, and spaces or hyphens are ignored when letters are counted.

  2. Enter the second name

    Add the other person's name. The two fields can use different scripts — for example, Arjun and Иван is a valid pair.

  3. Press Calculate

    The friendship score appears immediately. The number is a whole percentage from 0 to 100, with no hidden steps.

  4. Read the breakdown

    Every factor that fed into the result is shown separately, so you can see exactly where the number came from.

  5. Share the card

    Build an image with your result and send it on. The names stay inside that picture and never travel through a link.

How the friendship score is calculated

Both names are prepared the same way first. Case is folded, unusual apostrophes and dashes become plain ones, and accents inside Latin names are reduced, so José and Jose are treated as the same spelling. The two names are then sorted into a fixed order, which is why typing them in reverse gives the same result.

Four factors are measured. Shared letters carries the most weight at 40 percent: it compares the multiset of letters in each name, counting how many they share against the total pool of letters across both. Initial closeness adds 25 percent: the absolute difference between the alphabetical positions of the two first letters is divided by 8 to give that factor.

Vowel balance adds 20 percent: the difference in the proportion of vowels in each name is measured. Name lengths adds the final 15 percent: the shorter name is divided by the longer one. Each factor is rounded to four decimal places before it is used, then the four weighted numbers are added together, multiplied by 100, and rounded once more into a whole number between 0 and 100.

There is no random element and no hidden term. The result screen shows each factor separately, so you can check the arithmetic yourself.

How the calculator handles different alphabets

Three writing systems are accepted: Latin, Cyrillic, and Devanagari. Each name field must stay within one of those scripts, but the two fields can be different — a pair like Arjun and Иван is scored normally. Letters are counted as full grapheme clusters, not raw code points, so in Devanagari a conjunct such as क्षि counts as one letter, not three.

Transliteration is not attempted. Meera and मीरा are different spellings to this calculator, and they will not produce the same score. The tool does not guess across alphabets because a wrong guess would change the result without asking.

If a name uses characters outside the three supported scripts, or if either field has more than 64 graphemes, the form shows a clear error instead of returning a misleading zero.

What the score does and doesn't tell you

The number is arithmetic on two spellings, not a judgement about anyone. A high score means the names have more letters in common, closer initials, a similar vowel mix, and lengths that fit together; a low score means those spelling features match less. The calculator does not know whether two people are actually friends, and it asks nothing about their relationship.

It also uses no dates, no birth information, and nothing beyond the two names. Because the arithmetic is the same as the one used by a love calculator on this site, entering the same pair of names in both tools will show the same number; the interpretations and wording around that number are different. Both are games, and a game is more honest when its rules are visible.

Questions people ask

How does the friendship calculator work?

It compares the spellings of the two names. Four things are measured and weighted: letters the names share (40 percent), how close the two first letters are in the alphabet (25 percent), the balance of vowels (20 percent), and the ratio of the two lengths (15 percent). The weighted parts are combined into a single number from 0 to 100. The full formula is published above, and the result screen shows each factor separately.

Why does it give the same number as the love calculator?

Both tools use the same arithmetic. Friendship and love calculators on this site share the same four factors and the same weights, so the raw score for a given pair of names is identical. The difference is in how the number is presented: a friendship page talks about pals, a love page talks about couples. If you enter the same names in both, expect the same number.

Does the order of the two names matter?

No. After you type two names, the calculator sorts them into a fixed order before measuring anything. Swapping the fields produces the same score. That is deliberate: the rule should not depend on which box you happened to use first. You can enter either name in either field and the result will be unchanged.

Can I use nicknames instead of full names?

Yes. A nickname, a full name, a surname, or even a made-up word is accepted as long as it uses letters from one of the three supported scripts. The calculator does not know what a name means or whether it is real; it only looks at the letters. Using a nickname will usually change the score, because the spelling is different.

Are the names we type saved anywhere?

Nothing is saved and nothing is sent anywhere. The calculation runs entirely inside your browser, and there is no server to receive the names. They are not written into the address bar, stored in cookies, or added to any database. When you close the tab, the names are gone. The share card draws the picture locally, and the names stay inside that image.

What does a low friendship score actually mean?

It means the two names have fewer shared letters, initials that are farther apart in the alphabet, a larger difference in vowel balance, and lengths that don't divide neatly. That is all. It does not mean the two people are bad friends or that they won't get along; the calculator has no information about people. A low score is just a spelling mismatch, useful for a laugh, not for advice.

What if a name is longer than 64 letters or uses an unsupported script?

The form will show an error and ask you to shorten or change the input. The limit exists to keep the calculation fast and to avoid meaningless results from enormous strings of characters. If a name uses a script outside Latin, Cyrillic, or Devanagari, the tool cannot score it fairly, so it says so instead of returning a zero. Transliteration is not automatic; type the name as you want it compared.

Tools