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

Quick facts
- Domain
- Mathematics and computation
- Kind
- Method
- First attested
- between 813 and 833 CE (derived)
- Era
- Abbasid age
- Where
- Baghdad
- Described in
- al-Kitab al-mukhtasar fi Hisab al-Jabr wal-Muqabala (The Algebra of al-Khwarizmi)
- Attribution
- Improvement
Who made it
- al-Khwarizmi Improver
The claim and its basis
Al-Khwarizmi set out a calculation method for interlocking bequest problems in the Book of Bequests, applying al-jabr and al-muqabala to an unknown from which both estate and bequest come out; he did not thereby invent algebra or the legal rules of bequest, which he takes as given.
In the Cairo edition, under the heading 'circular reckoning' before the problems of marriage in illness, the Book of Bequests opens with problems in which every unknown depends on another; for example a man marries a woman in his final illness for one hundred dirhams, all his wealth, whose mahr mithl is ten dirhams, then the woman dies leaving a bequest of a third of her wealth and the husband dies — he makes her bequest a 'thing', applies al-jabr and al-muqabala, and obtains thirty-five dirhams. Under the headings 'manumission in illness', 'the acknowledgement in the cycle' and 'the salam in illness' come problems of slave-girls, manumission and sales, and the whole book closes with a problem from this chapter.
Sources: al-Khwarizmi, Kitab al-Jabr wal-Muqabala, ed. Mosharafa and Ahmad (Cairo, 1939)
Before it
- Algebra (al-jabr wal-muqabala as a discipline in al-Khwarizmi's work)
- The jurists' rules of bequest and of transactions in terminal illness before al-Khwarizmi
How it works
Summary
Hisab al-dawr — "circular reckoning" — is a chapter of the Book of Bequests in Muhammad ibn Musa al-Khwarizmi's al-Jabr wal-muqabala, treating problems in which the amount of the bequest depends on the size of the estate and the size of the estate depends on the bequest, so the reckoning turns between them and never settles while one side is ignored 1. Al-Khwarizmi solves them by making the unknown a "thing", tracing what reaches the hands of the two parties — spouses and heirs — and then applying al-jabr and al-muqabala until the wanted number comes out 1 5. Its sections in the Cairo edition are marriage in terminal illness, manumission in illness, the acknowledged gift in the cycle, and the salam contract in illness, and the whole book closes with a problem from this chapter 1 2 3 4 6. The museum records this chapter as an improved calculation method inside the standing science of algebra — not as the invention of algebra or of the legal rules of bequest.
What it is
"Hisab al-dawr" is the name the editors of the Cairo edition give a set of problems in the Book of Bequests, before the problems of marriage in illness, saying that in them every unknown depends on another so the reckoning turns between them 1. The difficulty is that a bequest may not exceed one third of the dead person's wealth, and when the bequest itself is computed from wealth that changes with the dead person's transactions before death — marriage, gift, manumission in the death-illness — then both the estate and the bequest change together, and the wanted answer is a number that cannot be reached while one side is ignored. Al-Khwarizmi makes the unknown a "thing" — the same name his algebra gives its unknowns — then traces what is added to each party's hands and what is taken away until the hands are settled, and applies al-jabr and al-muqabala to the result 1 5. The method is not an independent invention beside the book: it is a chapter of the application of the algebra al-Khwarizmi gathered for people's inheritances, bequests, trades and land measurement 7.
The world before it
Before al-Khwarizmi, the reckoning of inheritances and bequests was the craft of accountants, judges and inheritance specialists, applying the detailed legal rules of inheritance and bequest to particular estates, and interlocking problems were solved by reasoning and bookkeeping rather than by equations 1. The jurists had long held the rule that a person dying of illness who gives, manumits or sells is treated as making a bequest, so his dispositions are allowed only within one third of his wealth — and that rule is what creates the computational knot, because it makes the estate depend on the bequest 1 4. In people's lives such cases were common: a sick man manumitting his slaves, gifting his slave-girl to his wife or son, or selling goods on credit, all of which enter the inheritance calculation at his death 2 8 3 4. On the mathematical side, solving equations is older than al-Khwarizmi: the edition's editors survey equations among the Egyptians and Babylonians, geometric solutions among the Greeks, analytic solutions in Heron and Diophantus, and Brahmagupta's rule among the Indians 9; but nothing documented shows a systematic method making a single unknown stand for the bequest from which both estate and bequest come out.
The story
Al-Khwarizmi wrote his book al-Jabr wal-muqabala in Baghdad in the reign of al-Ma'mun, and in its preface he says he was encouraged to compose it by al-Ma'mun's love of learning, his closeness to the learned and his help to them in making clear what had been obscure 7. The edition's editors, quoting Ibn al-Nadim's Fihrist, record that al-Khwarizmi was attached to al-Ma'mun's treasury of wisdom 10. After the chapters applying algebra to inheritances, bequests, trades and land measurement, the book places the Book of Bequests with its problems of inheritance, among them the set of "circular reckoning" problems in which every side depends on another 7 1. Al-Khwarizmi closes the whole book with a problem from this chapter, as if the tangled inheritance problems were, for him at least, the final test of his book 6. No exact composition date is preserved; the editors bound the book's range by al-Ma'mun's reign, 813 to 833 CE 10.
The maker(s)
The documented maker is Muhammad ibn Musa al-Khwarizmi, author of al-Jabr wal-muqabala, a Muslim in his own words: in the book's preface he invokes God, asks blessing on the Prophet ﷺ and on all the prophets and messengers, and names al-Ma'mun the imam and commander of the faithful 7. He worked in the Abbasid Baghdad context of the treasury of wisdom, in an age of translation, observation and astronomy under al-Ma'mun 10. His role in this record is "improver" rather than absolute "inventor": he is the one who documented this applied method in its chapter, while solving equations is much older than him among earlier nations, and the rules of bequest are older than his book among the jurists 9 1.
How it works
Al-Khwarizmi begins with marriage in terminal illness: a man marries a woman while dying for one hundred dirhams, all his wealth, her mahr mithl being ten dirhams; then the woman dies leaving a bequest of a third of her wealth, and the husband dies 1. Here the reckoning turns: what exceeds the mahr mithl of the hundred is a bequest to her from the dying husband, what reaches her hands partly returns to the husband as inheritance after her bequest, which increases what is in his heirs' hands — and that in turn changes what may be allowed to her 1. He makes her bequest a "thing", traces what reaches the two parties' hands, sets what is in the husband's heirs' hands equal to twice her bequest because a bequest is allowed only within a third, applies al-jabr and al-muqabala, and obtains thirty-five dirhams 1 5. He then varies the problem — a ten-dirham debt on the woman, or the husband also bequeathing a third of his wealth to a man — and repeats the reckoning on the same rule 5.
Next comes the chapter on manumission in illness, with problems of a man who manumits two slaves while dying and then one of them dies leaving wealth 2, and problems of slave-girls gifted in illness whom the recipient has intercourse with, incurring the 'uqr payment counted within the bequest 8 11. Under the heading "the acknowledgement in the cycle" is the problem of a man who gifts a slave-girl while dying, having no wealth but her, and then has intercourse with her, so the 'uqr falls on him 3 12. Finally "the salam in illness": a man pays thirty dirhams in his illness for a kor of grain worth ten dirhams, then dies; the excess over the just price is twenty dirhams, and what is allowed of it by al-jabr comes to ten dirhams 4.
The spread
Hisab al-dawr did not spread as an independent treatise or a documented school of reckoning: it stayed inside the Book of Bequests of al-Jabr wal-muqabala 1. The sources read document no one applying these problems outside students of the book itself; the book travelled through Arabic copies and then the Latin translations that made "algebra" a European science, but the applied inheritance chapters were not, on the evidence consulted, read separately in later tradition 10. Its real spread is the spread of its book, which was wide — not the spread of its method as an independent technique.
What it was built on
The chapter rests on two foundations: the jurists' rules of bequest and of transactions in terminal illness, including the rule that a person dying of illness is treated as making a bequest only within a third 1 4; and al-jabr and al-muqabala as al-Khwarizmi organized it, in its three kinds of term and six types 13 14. The book does not discuss or prove the legal rules; it takes them as given and supplies only the calculation 1.
What was built on it
Nothing documented in the sources read was built directly on these hisab al-dawr problems 1. The whole book — this chapter included — entered the tradition of algebra through copies and translations, but no documentation shows a later work explaining al-Khwarizmi's method on the cycle problems outside the book 10. Its known end is that it survives as the earliest witness to organized algebra used in real estate-and-bequest reckoning.
Impact on daily life
In the chancery of a judge or an inheritance accountant, these were the hardest cases that arose: a sick man manumitting, gifting or marrying in his illness, so the bequest and the estate interlock and no ordinary inheritance table answers 1. Al-Khwarizmi made each problem's unknowns into "things" and solved them by equations, turning a calculation that needed an accountant's instinct into a rule: write the unknown, trace the hands, apply al-jabr and al-muqabala 1 5. The practical effect is not a new tool but a demonstration that algebra — at root the science of unknown quantities — suits inheritance and bequests, the everyday transactions from which no state and no household is free.
How it changed history
Inside its parent book, the chapter changed what "algebra" meant: from an abstract calculating craft into a tool used in daily transactions — inheritances, bequests, trades, land measurement 7. It is also the test on which al-Khwarizmi closed his book, suggesting he saw in solving the tangled inheritance problems a proof of his method's power 6. From this angle, hisab al-dawr is not a marginal chapter in the history of algebra but an early witness that the new science left the treasury of wisdom for the judge's chancery 10.
Who invented it?
The hisab al-dawr method is documented in al-Khwarizmi's book under its own name and worked problems, so he is its author in this record 1. Two bounds must be kept: solving equations is far older than him among the nations the edition's editors survey 9, and the rules of bequest in terminal illness are older than his book among the jurists 1. What is new in him — within what is claimed — is gathering this into one documented calculation method: making the bequest a thing and an unknown, tracing what reaches the hands, then applying al-jabr and al-muqabala.
Today
There is no physical object for this chapter; it survives as solved problems inside al-Jabr wal-muqabala 1. Today, interlocking bequest problems — when they arise — are settled by inheritance tables, legal accounting and computer calculation rather than by a classical algebra book 1. But the idea itself — expressing mutually dependent unknowns as equations and solving them — is the heart of every computing program today.
Surviving examples
The only documented witness is the text of the Book of Bequests in the Arabic copies of al-Jabr wal-muqabala, read in the 1939 Cairo edition at pages 108 to 122 1 6. No independent manuscript titled "hisab al-dawr" is documented in the sources read; the name is the edition editors' label for the set, not a separate book's title 1. The book itself is among the most widely transmitted works of mathematics, its copies surviving in libraries across the world, but this chapter needs an Arabic reader who knows bequest law to be appreciated.
In culture
Al-Jabr is a legendary book: from it came the word "algebra" in the languages of the world, and from its author's Latinized name, Algoritmi, came the word "algorithm" 10 7. Hisab al-dawr is the chapter that shows the book was not abstract theory but answered the questions of inheritance and money that troubled every Muslim household; when al-Khwarizmi closed his book with a problem from this chapter, he was saying implicitly that this science solves your daily problem 6. These pages remain a witness that the noblest mathematical science in history was born from the tax and inheritance chancery, not from a tower of solitude.
For young readers
More than twelve hundred years ago, an Iraqi scholar named al-Khwarizmi wrote a book to teach people how to solve puzzles with an unknown number. In one of its chapters there were very strange problems: a man married while dying, his wife died and left a bequest, and the money he owned changed with the bequest while the bequest changed with the money — like a ball passing between two hands. He solved them by putting a mark on the unknown number and writing it out until everything came clear. That is how people first learned that "algebra" — a word from his book's name — is not strange letters but a way of thinking.
And so hisab al-dawr remains a witness that real science begins when we use it for people's everyday questions — in this chapter, the inheritance question that mattered to every family. Al-Khwarizmi did not invent the puzzles; he invented the way to solve them, and that is the beginning of the algebra that students learn everywhere today.
References
Connections
People and things also explored
Algebra (al-jabr wal-muqabala as a discipline in al-Khwarizmi's work)· Arabic scientific words in European languages· Abd Allah al-Ma'mun ibn Harun al-Rashid· Abu Kamil Shuja ibn Aslam· Ali Mustafa Mosharafa· al-Khwarizmi· al-Kitab al-mukhtasar fi Hisab al-Jabr wal-Muqabala (The Algebra of al-Khwarizmi)· The six types of equation (al-Khwarizmi)
Sources
- al-Khwarizmi, Kitab al-Jabr wal-Muqabala, ed. Mosharafa and Ahmad (Cairo, 1939) , p.108
- al-Khwarizmi, Kitab al-Jabr wal-Muqabala, ed. Mosharafa and Ahmad (Cairo, 1939) , p.110
- al-Khwarizmi, Kitab al-Jabr wal-Muqabala, ed. Mosharafa and Ahmad (Cairo, 1939) , p.118
- al-Khwarizmi, Kitab al-Jabr wal-Muqabala, ed. Mosharafa and Ahmad (Cairo, 1939) , p.121
- al-Khwarizmi, Kitab al-Jabr wal-Muqabala, ed. Mosharafa and Ahmad (Cairo, 1939) , p.109
- al-Khwarizmi, Kitab al-Jabr wal-Muqabala, ed. Mosharafa and Ahmad (Cairo, 1939) , p.122
- al-Khwarizmi, Kitab al-Jabr wal-Muqabala, ed. Mosharafa and Ahmad (Cairo, 1939) , p.29
- al-Khwarizmi, Kitab al-Jabr wal-Muqabala, ed. Mosharafa and Ahmad (Cairo, 1939) , p.116
- al-Khwarizmi, Kitab al-Jabr wal-Muqabala, ed. Mosharafa and Ahmad (Cairo, 1939) , pp.13-21
- 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.117
- al-Khwarizmi, Kitab al-Jabr wal-Muqabala, ed. Mosharafa and Ahmad (Cairo, 1939) , p.119
- al-Khwarizmi, Kitab al-Jabr wal-Muqabala, ed. Mosharafa and Ahmad (Cairo, 1939) , p.30
- al-Khwarizmi, Kitab al-Jabr wal-Muqabala, ed. Mosharafa and Ahmad (Cairo, 1939) , p.43
Cite this page
islam.museum contributors. “Hisab al-dawr: circular reckoning for bequests”. islam.museum, https://islam.museum/en/invention/hisab-al-dawr/. CC BY-SA 4.0. Last updated 2026-11-15.
Improve this page on GitHub · Report an error · Help complete it · JSON