All tools

Abjad calculator, the number value of Arabic letters

Type or paste Arabic text and see the abjad value of every letter and the total, as you type. Works for Arabic, Persian and Urdu letters, and for English names in our names list. Known in Urdu as ilm-e-abjad.

Abjad valueType or paste Arabic text

Or an English name from our names list, such as Aisha or Yusuf.

Letter order

Mashriqi is the common order, used in the Middle East, Turkey and South Asia. Maghribi is used in North and West Africa. Six letters differ.

Try an example

A counting tool for curiosity and history. It does not tell fortune or luck.

What you type stays on this device. Nothing is sent anywhere.

How it works

Three steps, no sign-up

1Type

Add your text

Type or paste Arabic, Persian or Urdu letters. Or type an English name, and we look up its Arabic spelling in our names list.

2Read

See the total

The total shows at the top as you type, with a table of every letter, and every word if you typed more than one.

3Compare

Switch the order

The Mashriqi and Maghribi orders give different values to six letters. One tap shows the other total.

Guide

What the abjad is, and how to read the number

The abjad (hisab al-jummal, "the reckoning of the sum") gives each of the 28 Arabic letters a number from 1 to 1000. Add up the letters of a word and you have its abjad value. The word Allah (الله) totals 66, Muhammad (محمد) totals 92, and the full Bismillah (بسم الله الرحمن الرحيم) totals 786. Before Arabic borrowed the Hindu-Arabic digits, these letter-numbers were how numbers were written, and later poets and historians used them to hide a year inside a phrase, called a chronogram. In Urdu and Persian the subject is called ilm-e-abjad.

The 28 letters and their values

The order of the letters is remembered by a rhyme of eight made-up words. In the Mashriqi (Eastern) order it is أبجد هوز حطي كلمن سعفص قرشت ثخذ ضظغ. In the Maghribi (Western) order it is أبجد هوز حطي كلمن صعفض قرست ثخذ ظغش. The shaded rows are the six letters whose value is different.

LetterNameMashriqiMaghribi
اAlif11
بBa22
جJim33
دDal44
هHa55
وWaw66
زZay77
حḤa88
طṬa99
يYa1010
كKaf2020
لLam3030
مMim4040
نNun5050
سSin60300
عʿAyn7070
فFa8080
صṢad9060
قQaf100100
رRa200200
شShin3001000
تTa400400
ثTha500500
خKha600600
ذDhal700700
ضḌad80090
ظẒa900800
غGhayn1000900

How this calculator counts

  • Vowel marks, shadda and the small dagger alif are not counted. They are not letters. A doubled letter written with a shadda is counted once, as in the usual rule for names.
  • Hamza forms (أ إ آ ٱ ء) count as alif, 1. ؤ counts as waw, 6, and ئ as ya, 10.
  • Ta marbuta (ة) counts as ha, 5. Alif maqsura (ى) counts as ya, 10. Some writers count these differently, so a spelling such as موسى can total 116 here and 107 elsewhere.
  • Persian and Urdu letters count as the Arabic letter they are built on: پ as ba, چ as jim, ژ as zay, گ and ک as kaf, ٹ as ta, ڈ as dal, ڑ as ra, ں as nun, and the Urdu ya and ha forms as ya and ha.
  • English names are not turned into Arabic letter by letter, because that would be guessing. We look the name up in our own list of Islamic names, which has one Arabic spelling for each. If your name is not there, or is spelt another way, type it in Arabic.

Mashriqi and Maghribi

The two orders agree on 22 letters and differ on six: sin (60 or 300), sad (90 or 60), shin (300 or 1000), dad (800 or 90), za (900 or 800) and ghayn (1000 or 900). The Mashriqi order is the standard in most of the Muslim world and is our default. The Maghribi order is the traditional one in Morocco, Algeria, Tunisia and the Sahel. When your text has none of the six letters, such as Allah or Muhammad, both orders give the same total. The tool tells you when the other order would give a different number.

Worked examples

WordLetters (Mashriqi)Total
الله1 + 30 + 30 + 566
محمد40 + 8 + 40 + 492
بسم2 + 60 + 40102
الله6666
الرحمن1 + 30 + 200 + 8 + 40 + 50329
الرحيم1 + 30 + 200 + 8 + 10 + 40289

Bismillah in full is four words: بسم is 102, الله is 66, الرحمن is 329 and الرحيم is 289, and 102 + 66 + 329 + 289 = 786. That is where the number 786 comes from in South Asia. It is only a total of the letters. Some scholars advise writing the words of the Bismillah in full, instead of the number.

What it is for, and what it is not

This is a counting tool. It is good for curiosity, for reading old chronograms on buildings and tombstones, for puzzles, and for studying how earlier writers used letters as numbers. It is not a way to learn your luck, your future or whether two people are a good match to marry. Nothing in the Quran or the Sunnah gives letter-numbers that power, and Allah alone knows the unseen. If someone tells you a name is "unlucky" because of its total, you can kindly set the claim aside: choose a name for its meaning and for how it sounds in your family.

Surah An-Naml, 27:65Read in context

قُل لَّا يَعْلَمُ مَن فِى ٱلسَّمَٰوَٰتِ وَٱلْأَرْضِ ٱلْغَيْبَ إِلَّا ٱللَّهُ ۚ وَمَا يَشْعُرُونَ أَيَّانَ يُبْعَثُونَ ﴿٦٥﴾

Qul laa ya'lamu mman fis sammaawaati wal ardil ghaiba illal laah; wa maa yash'uroona aiyaana yub'asoon

"Say, "None in the heavens and earth knows the unseen except Allah, and they do not perceive when they will be resurrected.""

Quran 27:65. Allah alone knows the unseen. Translation: Sahih International.

The Prophet ﷺ warned against going to fortune-tellers and believing them.1 Counting letters for fun or history is a different thing from asking them for what only Allah knows, and we ask you to keep it on the right side of that line. For your own name, our Islamic names pages give the meaning, which is the part that matters.

  1. Sahih Muslim, from one of the wives of the Prophet ﷺ: whoever goes to a fortune-teller (arraf) and asks him about something, his prayer is not accepted for forty nights. The Quran, 27:65, is given above with the Sahih International translation.
  2. Letter values: the Mashriqi and Maghribi abjad tables as listed in the reference article on abjad numerals (Wikipedia), checked on 3 November 2026.

Reviewed by Hafez Mawlana Abu Darda and Mawlana Akramul Haque Fenwi, Islamic scholars. For a more accurate answer to your own situation, consult a scholar.

Questions

Good to know

What is the abjad value of Allah?

66. In the Mashriqi and Maghribi orders alike: alif 1, lam 30, lam 30, ha 5. The small dagger alif written above the lam in some copies is a mark, not a letter, so it adds nothing.

What is the abjad value of Muhammad?

92: mim 40, ha 8, mim 40, dal 4. The shadda on the second mim is not counted twice. Ahmad (أحمد) is 53: alif 1, ha 8, mim 40, dal 4.

How do I use this ilm-e-abjad calculator online?

Type or paste Arabic, Persian or Urdu letters in the box. The total and a letter-by-letter table show as you type. If you type an English name, the tool looks it up in our list of Islamic names and shows the Arabic spelling it used.

What is the difference between the Mashriqi and Maghribi abjad?

Six letters have different values: sin, sad, shin, dad, za and ghayn. The other 22 are the same. Mashriqi is the common order in the Middle East, Turkey and South Asia, and Maghribi is the traditional order in North and West Africa.

Can the abjad predict my luck, fortune or marriage match?

No. Counting the letters of a name is arithmetic, not knowledge of the unseen. Islam teaches that only Allah knows what is hidden, and the Prophet ﷺ warned against believing fortune-tellers. Use the abjad for history and curiosity only.

Why do people write 786?

It is the abjad total of the full Bismillah in the Mashriqi order. It became a custom in South Asia. Some scholars say it is better to write the words of the Bismillah themselves.

Not answered here? Ask our team.