Numbers in the Islamic World: Letters, Digits and Ciphers

Arabic letters were used as numbers through the abjad system, with values from 1 to 1000. Over time, Indian digits joined the letters, and accountants added special ciphers. This page compares every way numbers were written in Arabic script.

How Were Arabic Letters Used as Numbers?

In the abjad system, the first nine letters stand for 1 to 9. The next nine stand for tens, and the next nine for hundreds. The last letter, ghayn, stands for 1000.

A number is written with its largest part first, and the values add up. So 1446 is غتمو: 1000 + 400 + 40 + 6.

The number to abjad numerals converter writes any number this way. The memory words abjad, hawwaz, hutti help you recall each value.

The number 1446 in four writing systemsAbjad letters add their values. The three digit sets use place value, like 1446 in Western digits.One number, four ways to write it: 1446Abjad lettersغتمو1000 + 400 + 40 + 6Eastern Arabic digits١٤٤٦place valuePersian and Urdu digits۱۴۴۶place valueWestern digits1446place value
Letters add up. Digits use place value.

How Do Abjad Letters Differ From Digits?

The two systems answer different questions. Digits record a number by position, while abjad letters record it by adding fixed values.

Take 47. In digits it is ٤٧, a four in the tens place and a seven in the units place. In abjad it is مز, which is meem (40) plus zay (7).

Swap the digits and the number changes, because ٧٤ is 74. Swap the letters and the total stays 47, because addition ignores order. Writers still put the largest letter first, so readers can see the sum at a glance.

Zero shows the deeper gap. Place value needs a zero to hold an empty place, as in 305. Abjad has no zero, because every unit, ten and hundred already has its own letter.

For example, 365 is شسه, which is sheen (300), seen (60) and heh (5). In digits the same number is ٣٦٥.

Abjad letter numerals compared with Eastern Arabic digits.
FeatureAbjad lettersEastern Arabic digits
How the value is foundAdd the fixed value of each letterMultiply each digit by its place, then add
Does order change the total?NoYes
ZeroNone neededWritten as a dot, ٠
Symbols needed28 letters, from 1 to 1000Ten digits, for any size of number
Can it be read as a word?Yes, so it suits dates hidden in verseNo
Direction in a lineFollows the text, right to leftLargest place on the left

The letters are not in alphabet order, so the value of each one is worth learning once. The guide to Abjad order versus alphabet order explains why. Letters also change shape inside a word, but the value never changes, as the guide to Arabic letter forms shows.

When Did Digits Join the Letters?

Indian digits with place value reached Arabic mathematicians by the 9th century. Al-Khwarizmi and al-Kindi wrote the books that spread them.

Two families of digits followed. The Mashriq kept the Eastern Arabic numerals, while North Africa used a western set that later became the world’s digits. The full story is in where Arabic numerals come from.

The first sign of the new system in Arabic-speaking lands dates to 662. In that year Severus Sebokht, a bishop on the Euphrates, praised Indian calculation with nine signs. Accounts say an Indian visitor brought astronomical methods to Caliph al-Mansur in 776.

Al-Khwarizmi lived from about 780 to about 850 and worked in the House of Wisdom in Baghdad. His Arabic book on the Indian numerals is lost. A Latin version made centuries later survives, and its title gave English the word algorithm.

The oldest surviving Arabic book on the system is by al-Uqlidisi, from the middle of the 10th century. It moved the methods from the dust board to pen and paper, and it treated decimal fractions.

Acceptance was slow.

As-Suli wrote in the first half of the 10th century. He praised the system but noted that official scribes avoided it, since it needed a dust board. Merchants kept using finger reckoning, which was written out in words.

Digit shapes also kept changing. MacTutor notes that between 969 and 1082 the Eastern 2 and 3 were turned on their sides. It suggests scribes did this because they wrote on scrolls read from top to bottom.

Zero belongs to this story too. The earliest dated Indian record of zero that scholars accept is a stone tablet at Gwalior from 876.

Where Did Letter Numerals Appear on Instruments?

Letters kept their place on scientific instruments long after digits spread.

The Museum of the History of Science in Oxford describes an astrolabe made in Toledo in 1068. Its almucantar circles are marked every 5 degrees. Its azimuth lines are marked every 9 degrees.

Both use abjad numerals of the western, or Maghrib, kind.

On a scale like this, one letter is enough for a label. The letter ك stands for 20 and ل for 30. Some western letter values differ from the eastern ones, as the page on Maghribi letter order explains.

MacTutor adds that astronomers used a base-60 form of letter numerals. It shows 43° 21′ 14″ written with three letter pairs. Digits would have crowded such a small scale, while one or two letters fit.

Dates are another place where letters and digits meet. A year such as 1446 can be written in either set. The guide to the Hijri to Gregorian formula shows the arithmetic behind year conversion.

What Other Number Systems Were Used?

Letters and digits were not the only choices. Two specialized systems served particular needs.

Rumi Numerals

Rumi numerals, also called Fez numerals, were used in Fez, Morocco, and elsewhere in North Africa and Spain. They were in use from the 10th to the 17th century.

Siyaq Ciphers

Siyaq was a set of number signs for accounting. Clerks used it in Mughal India from the 17th century and in Ottoman financial records.

Siyaq numbers began as stylized monograms of Arabic number names.

Anshuman Pandey, a linguist at the University of California, Berkeley, wrote the Unicode proposal for the Indian form. He reports that Mughal clerks used it widely by the 17th century. It lasted into the middle of the 20th.

The system is additive and has no character for zero. Unlike Eastern digits, it runs right to left, with the largest value first.

Pandey adds that Francis Gladwin printed the first Siyaq book in metal type. It was a work on Bengal revenue accounts, published in Calcutta in 1790.

Rumi numerals reached Unicode through Azzeddine Lazrek of Cadi Ayyad University in Marrakech. His 2008 proposal covered 31 symbols.

Both systems now have their own Unicode blocks, so historians can type them.

The Rumi block starts at U+10E60. The Indian Siyaq block starts at U+1EC70, and the Ottoman one at U+1ED00. Neither is in everyday use today.

Five ways numbers were written in ArabicAbjad letters, Indian digits, Rumi numerals in Fez, Siyaq accounting ciphers, and the digits used today.Abjadlettersbefore digitsand in datesIndiandigits arriveby the 9th centuryRuminumeralsFez10th to 17th c.SiyaqciphersMughalOttoman accountsDigitstodayEastern and Western
Several systems were used side by side for centuries.

Which Digits Does Your Software Show?

Unicode keeps two digit sets. The Arabic-Indic digits, U+0660 to U+0669, go with Arabic.

The extended set, U+06F0 to U+06F9, goes with Persian, Urdu and Sindhi. Its shapes vary most for four, five, six and seven.

The sets also differ in a hidden property.

The W3C draft on Arabic numerals notes a difference in text direction rules. The extended digits count as European numbers, while the Arabic-Indic digits count as Arabic numbers. This can make mixed sentences look odd.

Software picks a set from your language and region. The CLDR maintainer wrote in 2019 that Arabic defaults to native digits, typical in Egypt and Saudi Arabia. Morocco and Algeria override that with ordinary digits.

The table shows what one common engine prints for the same number. Defaults can change between versions, so treat this as a snapshot.

The number 1234567.89 formatted by Node.js with ICU 77.1 and CLDR 47.
LocaleOutputDigit set
ar-EG (Arabic, Egypt)١٬٢٣٤٬٥٦٧٫٨٩Arabic-Indic
ar-MA (Arabic, Morocco)1.234.567,89Western
fa-IR (Persian, Iran)۱٬۲۳۴٬۵۶۷٫۸۹Extended
ur-IN (Urdu, India)۱٬۲۳۴٬۵۶۷٫۸۹Extended
ur-PK (Urdu, Pakistan)1,234,567.89Western

Software defaults are not the same as daily practice.

The Pakistani result shows this well, because Urdu print still uses the extended digits. A developer can request a set directly. MDN shows the same idea with the nu key in a locale tag.

What Mistakes Do Readers Make With Numerals?

  • Reading the round five, ٥, as zero. Zero is the small dot, ٠.
  • Reversing a number because the script runs right to left. The largest place stays on the left.
  • Looking for an abjad value in a digit. Only letters carry abjad values.
  • Adding a zero to an abjad total. Abjad has no zero, so 300 is one letter.
  • Mixing digit sets inside one number, such as an Arabic-Indic four beside Persian digits.
  • Assuming the terms are clear. Unicode calls “Arabic digits” and “Hindi digits” ambiguous and prefers “Arabic-script digits.”

Check a doubtful number against the chart of Arabic numerals from 1 to 100. For the wider writing system, the Arabic alphabet guides cover letters, forms and styles.

Which System Should You Use Today?

  • For everyday numbers in Arabic text, use Eastern Arabic or Western digits, following local custom.
  • For reading dates in poems and inscriptions, use abjad letters and the chronogram decoder.
  • For numbering lists the traditional way, use the abjad letters أ, ب, ج.

What Does Each Page in This Section Answer?

The pages about numbers and what each one covers.
PageThe question it answers
Eastern Arabic NumeralsWhat do the digits look like, and how do I type them?
Arabic Numerals 1 to 100How do I write any number up to 100?
Where Arabic Numerals Come FromWho invented the digits, and how did they travel?
Number to Abjad NumeralsHow do I turn a number into letters?
Abjad vs Hijai OrderWhy are the letter values not in alphabet order?
Persian and Urdu DigitsHow do the Persian and Urdu digit shapes differ from the Arabic ones?
Eastern and Western Arabic NumeralsWhy are there two digit families, and where is each used?
Why Arabic Numbers Read Left to RightHow do digits behave inside right-to-left text?
How to Date an Arabic or Persian ManuscriptWhat clues date a manuscript, and how do I convert its Hijri date?
Alphabetic Numeral SystemsWhich alphabets have also been used as numbers?
Greek IsopsephyHow do Greek letter values work, and how do they compare to abjad?
KatapayadiHow does the Indian consonant number code work?
Arabizi NumbersWhy does Arabic chat write 3, 7 and 9, and do they count?
Abjad Numerals 1 to 100Which letter or letters write each number up to 100?
Overline on Letters as NumbersWhat do manuscripts show about a line over letters that stand for numbers?
Abjad vs Roman NumeralsHow do letters that add compare with Roman symbols that subtract?
Rumi NumeralsWhat were the North African Fez number symbols and how did they work?
Ottoman Siyaq NumeralsHow was the accounting shorthand built, and how does it differ from abjad?
Abjad Numerals on AstrolabesHow do museum records and scholars show letters marking degrees and dates?
Zij TablesHow did astronomers write numbers in their tables, in letters or digits?
Reading ColophonsHow do you read the date at the end of a manuscript?
Islamic Coin DatesHow does the Hijri year appear on coins, and how do you read it?

Explore Numbers in Arabic Writing

Sources and Further Reading

Frequently Asked Questions

Are abjad numerals still used?

Yes, in a few places. Arabic texts number lists with letters, and poets still write dated verses.

Is zero part of the abjad system?

No. Abjad letters have no zero, so they cannot show an empty place the way digits can.

Which came first, letters or digits?

Letters. Arabic writers used them as numbers before Indian digits spread in the 9th century.

Can I convert digits to abjad letters?

Yes. The number to abjad numerals converter turns any number from 1 to 999,999 into letters.

Author: Shakeel Muzaffar

Reviewer: Moulana Haji Abdul Basit (Islamic Scholar and Mentor)

Last Updated: November 7, 2026

This page explains number systems. It makes no predictions. See the disclaimer.