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.
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.
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
1Type
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
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
The Mashriqi and Maghribi orders give different values to six letters. One tap shows the other total.
Guide
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 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.
| Letter | Name | Mashriqi | Maghribi |
|---|---|---|---|
| ا | Alif | 1 | 1 |
| ب | Ba | 2 | 2 |
| ج | Jim | 3 | 3 |
| د | Dal | 4 | 4 |
| ه | Ha | 5 | 5 |
| و | Waw | 6 | 6 |
| ز | Zay | 7 | 7 |
| ح | Ḥa | 8 | 8 |
| ط | Ṭa | 9 | 9 |
| ي | Ya | 10 | 10 |
| ك | Kaf | 20 | 20 |
| ل | Lam | 30 | 30 |
| م | Mim | 40 | 40 |
| ن | Nun | 50 | 50 |
| س | Sin | 60 | 300 |
| ع | ʿAyn | 70 | 70 |
| ف | Fa | 80 | 80 |
| ص | Ṣad | 90 | 60 |
| ق | Qaf | 100 | 100 |
| ر | Ra | 200 | 200 |
| ش | Shin | 300 | 1000 |
| ت | Ta | 400 | 400 |
| ث | Tha | 500 | 500 |
| خ | Kha | 600 | 600 |
| ذ | Dhal | 700 | 700 |
| ض | Ḍad | 800 | 90 |
| ظ | Ẓa | 900 | 800 |
| غ | Ghayn | 1000 | 900 |
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.
| Word | Letters (Mashriqi) | Total |
|---|---|---|
| الله | 1 + 30 + 30 + 5 | 66 |
| محمد | 40 + 8 + 40 + 4 | 92 |
| بسم | 2 + 60 + 40 | 102 |
| الله | 66 | 66 |
| الرحمن | 1 + 30 + 200 + 8 + 40 + 50 | 329 |
| الرحيم | 1 + 30 + 200 + 8 + 10 + 40 | 289 |
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.
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.
قُل لَّا يَعْلَمُ مَن فِى ٱلسَّمَٰوَٰتِ وَٱلْأَرْضِ ٱلْغَيْبَ إِلَّا ٱللَّهُ ۚ وَمَا يَشْعُرُونَ أَيَّانَ يُبْعَثُونَ ﴿٦٥﴾
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.
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
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.
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.
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.
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.
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.
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.