Islamic Inheritance CalculatorBeta
This Islamic inheritance calculator divides an estate among the heirs by Hanafi rules, showing each share as an exact fraction, a percentage and an amount. Funeral costs and debts are paid first, a bequest is limited to one third, and the rest follows the shares in Surah an-Nisa 4:11, 4:12 and 4:176.
Beta: this tool works, but its rules are still waiting for a scholar’s check before it is marked final.
Processed on your device. Nothing is uploaded.
Step 1 of 3
- 1. Estate
- 2. Heirs
- 3. Results
Currency: finding your region…
The deceased and the estate
Optional. Leave empty to see fractions only.
Capped at one third of what is left after debts.
The example is a man who leaves a wife, a son, a daughter and an estate of 1,200,000. It fills in the form and shows the result.
How to use the inheritance calculator
- Step 1, the estate. Choose whether the deceased was a man or a woman. Optionally enter the estate value, funeral costs, debts (including unpaid mahr) and any bequest to non-heirs. To see a worked case first, press Load example.
- Step 2, the heirs. Enter how many of each close relative were alive at the time of death: spouse, sons, daughters, father and mother. Open More relatives for grandparents, grandchildren, brothers and sisters, nephews, uncles and cousins.
- Step 3, the results. Read each heir’s share as a fraction, a percentage and an amount, with the reason for it. Use Back to change something. Print the page or copy the summary to discuss with a scholar.
How the calculation works
The estate is settled in a fixed order before anyone inherits: funeral costs first, then debts, then the bequest, which is capped at one third of what is left (Quran 4:11 and 4:12 repeat “after any bequest or debt”).
The rest is divided in three steps, following the Hanafi school:
- Exclusion (ḥajb): nearer relatives shut out further ones. A son excludes the son’s children; the father excludes the grandfather and all brothers and sisters.
- Fixed shares (furūḍ): spouses, parents, daughters, sisters and maternal siblings take the fractions set in Quran 4:11, 4:12 and 4:176.
- The residue (ʿaṣaba): what is left goes to the nearest male relative on the father’s side, with any sisters or daughters of the same rank taking half a man’s share. The Prophet ﷺ said: “Give the fixed shares to those entitled to them, then whatever remains goes to the closest male relative” (Sahih al-Bukhari 6732).
All fractions are exact. The calculator never rounds a share. Amounts are rounded to the smallest coin last, with the largest-remainder method, so they add up to the net estate exactly.
When the shares do not add up to one
- ʿAwl (increase): if the fixed shares add up to more than the estate, each is reduced in proportion. A woman leaving her husband (1/2) and two full sisters (2/3) gives 7/6, so the husband gets 3/7 and the sisters 4/7.
- Radd (return): if something is left and no residuary heir exists, it goes back to the sharers in proportion to their shares, but not to a husband or wife. A man leaving his wife and one daughter: the wife keeps 1/8 and the daughter gets the other 7/8. Al-Sirājiyya states that the surplus “is returned to the sharers according to their rights, except the husband or the wife” (chapter “On the Return”, p. 37 of Rumsey’s 1890 edition).
Family examples
| Who survives | Shares |
|---|---|
| Wife, 1 son, 1 daughter | Wife 1/8, son 7/12, daughter 7/24 |
| Husband, mother, father | Husband 1/2, mother 1/6, father 1/3 |
| Wife, mother, father | Wife 1/4, mother 1/4, father 1/2 |
| Father, mother, 2 daughters | Daughters 2/3, mother 1/6, father 1/6 |
| Wife, mother, 2 full brothers | Wife 1/4, mother 1/6, brothers 7/12 |
| Father, mother, 2 full brothers | Mother 1/6, father 5/6, brothers nothing |
The second and third rows are the ʿUmariyyatān cases: with a spouse and both parents, the mother takes one third of what remains after the spouse, so the father still receives twice her share. Al-Sirājiyya gives the mother “a third of the residue after the share of the husband or wife” when there are the husband and both parents, or the wife and both parents; with a grandfather instead of the father, she takes a third of the whole (chapter “On Women”, p. 22 of Rumsey’s 1890 edition).
Where the Hanafi school differs
- Grandfather and brothers: in the Hanafi school the paternal grandfather takes the father’s place and excludes the deceased’s brothers and sisters. The other three schools let them share. Al-Sirājiyya reports Abu Bakr’s view that brothers “inherit not with the grandfather” and adds that this is Abu Hanifa’s decision “and the judgments are given conformably to it” (chapter “On the Division of the Paternal Grandfather”, p. 40 of Rumsey’s 1890 edition). Darul Ifta Birmingham gives the same answer today.
- The Ḥimāriyya case: a woman leaves her husband, mother, two or more maternal half-siblings and a full brother. The fixed shares take the whole estate. In the Hanafi view the full brother gets nothing; the Shafi‘i and Maliki schools let him share the maternal siblings’ third. Rumsey’s note to al-Sirājiyya works this exact case: “the sharers take all … and nothing is left for the brother, who is a residuary”, and records that the Shafi‘i lawyers let him share instead (note on p. 17 of Rumsey’s 1890 edition). This is the editor’s note, not al-Sirājiyya’s own text, which states the general rule that a residuary takes only what the sharers leave.
In Pakistan: the Muslim Family Laws Ordinance, 1961
This section applies only in Pakistan. Section 4 of the Muslim Family Laws Ordinance, 1961 gives the children of a son or daughter who died before the grandparent, per stirpes, the share their parent would have received. Classical Islamic law, which this calculator follows, gives them nothing while another son is alive. The Federal Shariat Court held section 4 un-Islamic in 2000, and the matter has been debated since (Law and Policy Review, UMT, 2024). If a grandchild in this position is involved, ask a lawyer how section 4 applies today.
Frequently asked questions
Why does a daughter get half of a son’s share?
The rule is in the Quran: “the share of the male will be twice that of the female” (Quran 4:11). Scholars usually explain it by the duties attached to each share: a man must spend on his wife, children and household, while a woman’s inheritance is hers alone. Islamweb explains it this way: a man must pay mahr and provide for his wife and children, while a woman is not required to do either (fatwa 257614).
Does the wife get anything if there are children?
Yes. A wife gets 1/8 when the deceased left children or son’s children, and 1/4 when there are none. Two to four wives share that same 1/8 or 1/4 equally (Quran 4:12).
Do brothers inherit when there is a son?
No. A son, a son’s son, the father and, in the Hanafi school, the paternal grandfather each exclude the deceased’s brothers and sisters.
Can a person leave more than one third in a will?
A bequest (wasiyyah) is limited to one third of what is left after debts, and it cannot be made to an heir. A larger bequest, or one to an heir, takes effect only if the adult heirs agree after the death. The Prophet ﷺ told Sa‘d ibn Abi Waqqas “one third, and one third is a lot” (Islamweb fatwa 398200, quoting al-Bukhari and Muslim). Darul Uloom Deoband also rules that a will in favour of heirs is void (fatwa 1257/1257/M=1433).
Do grandchildren inherit if their father died before the grandfather?
Not under classical Islamic law when the deceased has a living son. Banuri Town’s fatwa follows this rule and advises the grandparent to leave such grandchildren a bequest within one third (fatwa 144110200330). Pakistan’s law is different; see “In Pakistan” on this page. This calculator follows the classical rules.
What if there is no heir except the spouse?
The spouse takes the fixed share and the rest would pass to distant relatives (dhawū al-arḥām) under Hanafi rules. This calculator does not cover distant kindred, so it tells you to ask a scholar.
Related tools
Sources and review
- Quran 4:11 (Quran.com)
- Quran 4:12 (Quran.com)
- Quran 4:176 (Quran.com)
- Sahih al-Bukhari 6732: the residue goes to the closest male relative (Sunnah.com)
- Al-Sirājiyya, tr. Jones, ed. Rumsey (1890), Library of Congress: pp. 17, 22, 37, 40
- Darul Ifta Birmingham: grandfather excludes siblings (al-Sirājiyya p. 74)
- Banuri Town fatwa 144110200330: grandchildren of a son who died first
- Islamweb fatwa 257614: why a daughter gets half a son’s share
- Muslim Family Laws Ordinance, 1961, section 4 (Pakistan Code)
- Islamweb fatwa 398200: a bequest is limited to one third
- Law and Policy Review (UMT), secondary: MFLO section 4 and orphaned grandchildren
Last reviewed: .