At a glance
- Era
- The Early Abbasid Caliphate
- Region
- Levant & Iraq

Quick facts
- Domain
- Mathematics and computation
- Kind
- Method
- First attested
- between 813 and 847 CE (derived)
- Era
- Abbasid age
- Where
- Baghdad
- Described in
- al-Khwarizmi's Book of Arithmetic (Algorismus)
- Attribution
- Transmission
Who made it
- al-Khwarizmi Transmitter
The claim and its basis
Al-Khwarizmi did not invent the Indian numerals or the decimal system; he wrote the book through which they entered the Islamic world and, in its Latin translation, reached the West, so that his name became the name of the method of reckoning with them.
TDV says the Indian numerals and the decimal system entered the Islamic world through al-Khwarizmi's book on Indian reckoning; that its Arabic original is lost; that a twelfth-century Latin translation was found in Cambridge and published by B. Boncompagni as 'Algoritmi de numero indorum' (Rome 1857); that Kurt Vogel then published a facsimile of the same manuscript (Aalen 1963); and that André Allard published a critical edition with a French translation (Paris 1992). The Cairo editors say the Indian method of reckoning, the use of zero included, reached the West through al-Khwarizmi's book of arithmetic. The numerals themselves are Indian, as their name says, and Indian reckoning had come to Baghdad before him with Brahmagupta's Siddhanta; al-Khwarizmi's work was to transmit and teach, not to invent.
Sources: HÂRİZMÎ, Muhammed b. Mûsâ — TDV İslâm Ansiklopedisi (İhsan Fazlıoğlu) · al-Khwarizmi, Kitab al-Jabr wal-Muqabala, ed. Mosharafa and Ahmad (Cairo, 1939) · Muqaddimat Ibn Khaldun · Wikimedia Commons (file pages, CC BY-SA and CC BY licences)
Before it
- The Indian numerals and the decimal place-value system with zero
- Brahmagupta's Siddhanta, brought to Baghdad by an Indian delegation around 154 AH
Built on it
- The twelfth-century Latin translation, 'Algoritmi de numero Indorum'
- Alexander de Villa Dei's Carmen de Algorismo (about 1220)
- John of Halifax's Algorismus vulgaris (about 1250)
- The Latin name 'Algorismus' for the numerals and the Spanish word 'guarismo'
- The word 'algorithm' for an ordered method of solving problems
How it works
Summary
Algorism is a way of writing and working numbers with nine numerals and a zero, in which each place takes its value from its position: units, then tens, then hundreds, then thousands. Muhammad ibn Musa al-Khwarizmi wrote a book on it in Baghdad, the Book of Indian Reckoning, through which the Indian numerals and the decimal system entered the Islamic world 1. Its Arabic original is lost, but a twelfth-century Latin translation survives that opens "Dixit Algorizmi", "al-Khwarizmi said" 1. From it the West learned arithmetic; al-Khwarizmi's Latin name, "Algorismus", became a name for the numerals themselves, and from it comes the word "algorithm" in the world's languages 2.
What it is
It is the arithmetic we know today: numbers written with ten symbols, and added, subtracted, multiplied and divided in writing by ordered steps. The Cairo editors of al-Khwarizmi's algebra say that "the Indian method of reckoning, including the use of zero" reached the West through his book of arithmetic 2, and the TDV encyclopaedia says that the Indian numerals and the decimal system entered the Islamic world through the same book 1.
Ibn Khaldun defines the craft of arithmetic as "a practical craft of reckoning numbers by joining and separating". Joining one by one is addition and joining by multiples is multiplication; separating one by one is subtraction and separating into equal parts is division, whether in whole numbers, fractions or roots 3. Indian reckoning is the doing of these four operations with numerals written in their places.
The world before it
The numerals themselves are Indian, as their name says. Indian reckoning had already come to Baghdad before al-Khwarizmi, in astronomy. TDV records that an Indian delegation came to Baghdad around 154 AH (770–771 CE), under the caliph Abu Ja'far al-Mansur, bringing Brahmagupta's Siddhanta, or a work of the same name derived from it, and that the Arabic word "Sindhind" is a corruption of the Sanskrit "siddhanta" 1. On that book rest the Sindhind tables that al-Khwarizmi himself later made 1.
The story
Al-Khwarizmi lived in Baghdad in the time of al-Ma'mun. The Cairo editors quote Ibn al-Nadim's Fihrist: he came from Khwarazm, devoted himself to al-Ma'mun's treasury of wisdom, was one of the astronomers, and people relied on his two tables known as the Sindhind 4. From the Fihrist and the preface of the algebra they show that he was al-Ma'mun's contemporary, though the years of his birth and death cannot be fixed 5. TDV adds that al-Tabari mentions him among the events of 210 AH, and that he was among the astrologers whom the caliph al-Wathiq called to his sickbed in 232 AH, so he died after 232 AH (847 CE) 1.
In this setting al-Khwarizmi wrote his book on Indian reckoning. The Cairo editors list a "Book of Arithmetic" among four books of his that Ibn al-Nadim does not mention 5. TDV says its Arabic original is lost. A twelfth-century Latin translation was found in the Cambridge library: B. Boncompagni published it as "Algoritmi de numero indorum" (Rome 1857), Kurt Vogel then published a facsimile of the same manuscript (Aalen 1963), and André Allard published a critical edition with a French translation, "Le calcul indien" (Paris 1992) 1. TDV also names another lost book of his, the "Book of Adding and Subtracting", which Abd al-Qahir ibn Tahir al-Baghdadi quotes in his "al-Takmila fi al-hisab"; the quotation shows that it dealt with finger reckoning 1.
The maker(s)
Al-Khwarizmi did not invent the Indian numerals; he transmitted them and taught reckoning with them. The museum's record therefore names him the "transmitter" of the method: the author of the book through which it entered the Islamic world 1 and, in its Latin translation, the West 2. He opens the preface of his algebra by praising God and asking blessings on the Prophet ﷺ Muhammad and his family, calls al-Ma'mun "the imam al-Ma'mun, commander of the faithful", and closes by asking blessings on all the prophets and messengers 6. TDV notes that the historian Toomer took this preface to show that he was a Sunni. It also rejects what Toomer built on a phrase in al-Tabari that calls him "al-Majusi al-Qutrabbulli": that reading confuses two men because the "and" between their names dropped out 1.
How it works
In the preface of his algebra al-Khwarizmi describes the decimal build of numbers himself. He found, he says, that everything people need of reckoning is number, and that all numbers are composed of one. The spoken numbers from one to ten follow the pattern of one; then ten is doubled and tripled as one was, giving twenty and thirty up to a hundred; then a hundred is doubled and tripled up to a thousand; and so the thousand is repeated at every order, to the furthest number that can be grasped 7. TDV describes this passage as a short account of how number is expressed in a positional system with base ten 1.
The Indian numerals put this build on paper: nine signs for the units, a zero to keep an empty place, and each numeral taking its value from its position, so that the same numeral means one, ten or a hundred according to its place. The four operations Ibn Khaldun lists, addition, multiplication, subtraction and division 3, then become steps repeated place by place. TDV says al-Khwarizmi applied to algebra a method like the one he applied to Indian arithmetic, setting the operations in an ordered sequence, and that this method was later called "algoritma" after him: an ordered technique of calculation 1.
The spread
Without the Arabic original we cannot trace its copies in the Islamic world, but TDV makes this book the road by which the Indian numerals and the decimal system entered the Islamic world 1. Ibn Khaldun says the craft of arithmetic arose from the need of reckoning in dealings, that people wrote much on it, and that it was passed on in the cities by teaching it to children 8. In the twelfth century al-Khwarizmi's book was translated into Latin 1, and Westerners learned arithmetic from it and from books built on it 2.
What it was built on
- The Indian numerals and the decimal place-value system with zero: they entered the Islamic world through al-Khwarizmi's book 1, and through it the Indian method, zero included, reached the West 2.
- Brahmagupta's Siddhanta: brought to Baghdad by an Indian delegation around 154 AH; al-Khwarizmi's Sindhind tables rest on it 1.
What was built on it
- The Latin translation, "Algoritmi de numero Indorum", of the twelfth century, and its editions by Boncompagni, Vogel and Allard 1.
- The "Carmen de Algorismo" of Alexander de Villa Dei, about 1220, and the "Algorismus vulgaris" of John of Halifax, about 1250: both rest on Muhammad ibn Musa's book of arithmetic, and both remained references for teaching arithmetic for centuries 9.
- "Algorismus" as the Latin name of the numerals until the early eighteenth century, and the Spanish word "guarismo" for a digit 2.
- The word "algorithm" for an ordered way of solving problems 2.
Impact on daily life
Arithmetic is an everyday need. Ibn Khaldun says the craft of arithmetic arose because reckoning was needed in dealings, that it was taught to children in the cities, and that starting with it is among the best ways to teach, because its knowledge is clear and its proofs are orderly 8. Among the books on it in the Maghrib of his time he names al-Hassar's small book and the summary by Ibn al-Banna al-Marrakushi with his commentary "Raf' al-hijab" 8. It is the same need al-Khwarizmi names when he says he wrote his algebra for the reckoning people require in their inheritances, bequests, trade and the measuring of land 7.
How it changed history
The Cairo editors say Westerners learned arithmetic from the Latin translation of al-Khwarizmi's book and from books built on it, and that the books of Alexander de Villa Dei and John of Halifax remained references for teaching it for centuries 9. They conclude that al-Khwarizmi "founded algebra and taught it, and taught arithmetic, to all people" 10. The numerals the world writes today passed from India to Baghdad, and from Baghdad to Europe, through a book that carries his name.
Who invented it?
The museum records al-Khwarizmi's work here as transmission, not invention. The numerals and the decimal system are Indian, and Indian reckoning was in Baghdad before him with Brahmagupta's Siddhanta 1. What is al-Khwarizmi's is a book teaching reckoning with these numerals, through which they entered the Islamic world 1 and reached the West 2, until his name became theirs.
Today
Most of the world today writes numbers with the ten decimal numerals and calculates with them by the same ordered steps. The word "algorithm", a corruption of al-Khwarizmi's name 2, has become the name of every ordered set of steps a computer follows. The Latin translation of his book is in print in the editions of Boncompagni (1857), Vogel (1963) and Allard (1992) 1.
Surviving examples
In culture
Al-Khwarizmi's name became a word in the dictionaries of most of the world's languages. English has "algorithm" for a set way of solving problems, and the English poet Chaucer used "augrim" for zero; the numerals were called "Algorismus" in Latin until the early eighteenth century, and Spanish calls a digit "guarismo" 2. TDV notes that Latin sources write his name as Alkarismi, Algoritmi, Algorismi and Algorism 1.
For young readers
About twelve hundred years ago a scholar in Baghdad named al-Khwarizmi wrote a book teaching people to calculate with nine numerals that came from India, together with zero. With these numerals you only need to move a digit to change its value: a one can mean one, ten or a hundred! His book was translated into Latin, people in Europe learned to calculate from it, and his name became a word we use today: "algorithm", the ordered steps a computer follows 1 2.
References
- İhsan Fazlıoğlu, "HÂRİZMÎ, Muhammed b. Mûsâ", TDV Encyclopedia of Islam, vol. 16 (Istanbul 1997), pp. 224–227, online edition. 1
- Muhammad ibn Musa al-Khwarizmi, Kitab al-Jabr wal-Muqabala, ed. Ali Mustafa Mosharafa and Muhammad Mursi Ahmad, Cairo 1939: editors' introduction, scan pp. 22–26; author's preface, scan pp. 29–30. 12
- Abd al-Rahman ibn Khaldun, al-Muqaddima, pp. 494–495, section "The science of arithmetic". 13
- Wikimedia Commons, "Dixit algorizmi.png", public domain, Cambridge University Library Ii.6.5. 11
Connections
- Transmitted by
- al-Khwarizmi
- Described by
- al-Khwarizmi's Book of Arithmetic (Algorismus)
People and things also explored
The Algebra composed· The meridian measurement at Sinjār· Ṣūrat al-arḍ composed· Algebra (al-jabr wal-muqabala as a discipline in al-Khwarizmi's work)· Abd Allah al-Ma'mun ibn Harun al-Rashid· Abu Kamil Shuja ibn Aslam· Ali Mustafa Mosharafa· Baghdad
Sources
- HÂRİZMÎ, Muhammed b. Mûsâ — TDV İslâm Ansiklopedisi (İhsan Fazlıoğlu) , pp. 224–227
- al-Khwarizmi, Kitab al-Jabr wal-Muqabala, ed. Mosharafa and Ahmad (Cairo, 1939) , p. 25
- Muqaddimat Ibn Khaldun , p. 494
- al-Khwarizmi, Kitab al-Jabr wal-Muqabala, ed. Mosharafa and Ahmad (Cairo, 1939) , p. 22
- al-Khwarizmi, Kitab al-Jabr wal-Muqabala, ed. Mosharafa and Ahmad (Cairo, 1939) , p. 23
- al-Khwarizmi, Kitab al-Jabr wal-Muqabala, ed. Mosharafa and Ahmad (Cairo, 1939) , pp. 29–30
- al-Khwarizmi, Kitab al-Jabr wal-Muqabala, ed. Mosharafa and Ahmad (Cairo, 1939) , p. 30
- Muqaddimat Ibn Khaldun , p. 495
- al-Khwarizmi, Kitab al-Jabr wal-Muqabala, ed. Mosharafa and Ahmad (Cairo, 1939) , pp. 25–26
- al-Khwarizmi, Kitab al-Jabr wal-Muqabala, ed. Mosharafa and Ahmad (Cairo, 1939) , p. 26
- Wikimedia Commons (file pages, CC BY-SA and CC BY licences)
- al-Khwarizmi, Kitab al-Jabr wal-Muqabala, ed. Mosharafa and Ahmad (Cairo, 1939) , pp. 22–30
- Muqaddimat Ibn Khaldun , pp. 494–495
Cite this page
islam.museum contributors. “Algorism (reckoning with Indian decimal numerals in al-Khwarizmi's book of arithmetic)”. islam.museum, https://islam.museum/en/invention/algorism/. CC BY-SA 4.0. Last updated 2026-11-05.
Improve this page on GitHub · Report an error · Help complete it · JSON