Al Faraid Method and sources

The calculation

The calculator applies the rules of the four Sunni schools: Hanafi, Maliki, Shafi'i and Hanbali. Every share shown carries the rule that gives it and its proofs: a verse of the Qur'an, a hadith with its collection and number, a decision of the Companions, or the article of the law that codifies the school.

Shares are exact fractions, never rounded. Amounts are computed to the cent: funeral costs first, then debts, then bequests up to one third, then the division of the rest.

Everything is computed in your browser, with the same code that passes the test cases.

References for each school

Hanafi
al-Sajāwandī, al-Sirājiyya; Ibn ʿĀbidīn, Radd al-Muḥtār. For relatives through women, the opinion of Muḥammad al-Shaybānī, adopted for fatwa; that of Abū Yūsuf, followed by the Egyptian inheritance law 77/1943, is shown alongside.
Maliki
Moroccan Family Code (2004), arts. 348 to 368; al-Dasūqī, Ḥāshiya, for the opinion of the later scholars.
Shafiʿi
al-Nawawī, Minhāj al-Ṭālibīn; al-Khaṭīb al-Shirbīnī, Mughnī al-Muḥtāj.
Hanbali
al-Ḥajjāwī, Zād al-Mustaqniʿ; Ibn Qudāma, al-Mughnī; Saudi Personal Status Law (1443).

For all four: Muḥammad ʿAlī al-Ṣābūnī, al-Mawārīth fī l-sharīʿa al-islāmiyya; the Dorar encyclopedia of fiqh (dorar.net).

Rules and proofs

Spouses

  • The husband receives one half when the deceased leaves no inheriting descendant.

    Qur'an 4:12

  • The husband receives one quarter when the deceased leaves an inheriting descendant.

    Qur'an 4:12

  • The wife receives one quarter when the deceased leaves no inheriting descendant; several wives share it.

    Qur'an 4:12

  • The wife receives one eighth when the deceased leaves an inheriting descendant; several wives share it.

    Qur'an 4:12

Descendants

  • A single daughter, with no son, receives one half.

    Qur'an 4:11

  • Two or more daughters, with no son, share two thirds.

    Qur'an 4:11

  • A single son's daughter, with no daughter and no nearer male descendant, receives one half, like a daughter.

    Qur'an 4:11 · Consensus of the scholars (ijmāʿ)

  • Two or more son's daughters, with no daughter and no nearer male descendant, share two thirds.

    Qur'an 4:11 · Consensus of the scholars (ijmāʿ)

  • With a single daughter, the son's daughter receives one sixth, completing two thirds (takmila).

    al-Bukhārī 6736: Ibn Masʿūd: the daughter one half, the son's daughter one sixth to complete two thirds, the rest to the sister

  • The children inherit the remainder as ʿasaba: a son receives the share of two daughters.

    Qur'an 4:11

  • al-qarīb al-mubārak: the daughters have taken the two thirds, so the son's daughter has no fixed share left; a male descendant lower than her makes her ʿasaba with him (two shares for him, one for her); without him she would not inherit.

    Qur'an 4:11

Father, mother and grandparents

  • The mother receives one third: no inheriting descendant and fewer than two siblings.

    Qur'an 4:11

  • The mother receives one sixth when there is an inheriting descendant.

    Qur'an 4:11

  • The mother receives one sixth when there are two or more siblings, even if they are themselves excluded.

    Qur'an 4:11

  • ʿUmariyya: with the father and a spouse, the mother receives one third of what remains after the spouse's share.

    Ruling of ʿUmar ibn al-Khaṭṭāb, approved by the Companions

  • The father receives one sixth when there is a male descendant.

    Qur'an 4:11

  • With female descendants only, the father receives one sixth and then the remainder as ʿasaba.

    Qur'an 4:11 · al-Bukhārī 6732: "Give the fixed shares to those entitled to them; what remains goes to the nearest man" (also Muslim 1615)

  • The paternal grandfather takes the place of the absent father: one sixth with a male descendant.

    Consensus of the scholars (ijmāʿ) · Abū Dāwūd 2896: The Prophet ﷺ gives the grandfather one sixth (also al-Tirmidhī 2099, who grades it ḥasan ṣaḥīḥ; chain graded weak by al-Albānī)

  • The grandfather takes the father's place: one sixth, then the remainder as ʿasaba.

    Consensus of the scholars (ijmāʿ) · Abū Dāwūd 2896: The Prophet ﷺ gives the grandfather one sixth (also al-Tirmidhī 2099, who grades it ḥasan ṣaḥīḥ; chain graded weak by al-Albānī) · al-Bukhārī 6732: "Give the fixed shares to those entitled to them; what remains goes to the nearest man" (also Muslim 1615)

  • The grandmother receives one sixth when the mother is absent.

    Consensus of the scholars (ijmāʿ) · Abū Dāwūd 2894: Abū Bakr then ʿUmar give the grandmother one sixth, shared when there are two (also al-Tirmidhī 2101, Ibn Mājah 2724; chain broken according to al-Albānī)

  • The two grandmothers share the same sixth.

    Consensus of the scholars (ijmāʿ) · Abū Dāwūd 2894: Abū Bakr then ʿUmar give the grandmother one sixth, shared when there are two (also al-Tirmidhī 2101, Ibn Mājah 2724; chain broken according to al-Albānī)

  • Hanbali school: the father's mother inherits even while the father is alive.

    Reported from ʿUmar and Ibn Masʿūd; position of the Hanbali school (Zād al-Mustaqniʿ) · al-Tirmidhī 2102: Ibn Masʿūd: the first grandmother to whom the Prophet ﷺ gave one sixth received it while her son was alive (weak chain)

  • The father (or grandfather) receives the whole remainder as ʿasaba.

    Qur'an 4:11 · al-Bukhārī 6732: "Give the fixed shares to those entitled to them; what remains goes to the nearest man" (also Muslim 1615)

  • After his sixth, the father (or grandfather) receives the remainder as ʿasaba.

    Qur'an 4:11 · al-Bukhārī 6732: "Give the fixed shares to those entitled to them; what remains goes to the nearest man" (also Muslim 1615)

Siblings, nephews, uncles and cousins

  • A single maternal half-sibling receives one sixth.

    Qur'an 4:12

  • Maternal half-siblings share one third equally, men and women alike.

    Qur'an 4:12

  • A single full sister receives one half.

    Qur'an 4:176

  • Two or more full sisters share two thirds.

    Qur'an 4:176

  • A single paternal half-sister, with no full sister, receives one half.

    Qur'an 4:176

  • Two or more paternal half-sisters, with no full sister, share two thirds.

    Qur'an 4:176

  • With a single full sister, the paternal half-sister receives one sixth, completing two thirds.

    al-Bukhārī 6736: Ibn Masʿūd: the daughter one half, the son's daughter one sixth to complete two thirds, the rest to the sister · Consensus of the scholars (ijmāʿ)

  • Full brothers and sisters inherit the remainder: a brother receives the share of two sisters.

    Qur'an 4:176

  • Paternal half-brothers and half-sisters inherit the remainder: a brother receives the share of two sisters.

    Qur'an 4:176 · al-Tirmidhī 2094: ʿAlī: brothers by the same father and mother inherit before those by the same father only (also Ibn Mājah 2739; ḥasan through corroboration)

  • With daughters, the sister becomes ʿasaba (maʿa l-ghayr) and takes the remainder.

    al-Bukhārī 6736: Ibn Masʿūd: the daughter one half, the son's daughter one sixth to complete two thirds, the rest to the sister · al-Bukhārī 6741: Muʿādh: the daughter one half, the sister one half

  • The nearest male relative through males receives the remainder as ʿasaba.

    al-Bukhārī 6732: "Give the fixed shares to those entitled to them; what remains goes to the nearest man" (also Muslim 1615)

  • al-Mushtaraka: the full siblings share the maternal half-siblings' third, per head, men and women equally.

    Ruling of ʿUmar ibn al-Khaṭṭāb (al-Ḥimāriyya), with Zayd ibn Thābit · Moroccan Family Code, art. 365

Grandfather with siblings

  • al-Akdariyya: the grandfather and the sister pool their shares and divide them two to one.

    Doctrine of Zayd ibn Thābit on the grandfather and the siblings · Moroccan Family Code, art. 361

  • al-Mālikiyya (Maliki school): the grandfather takes the whole remainder; the paternal half-brothers receive nothing.

    Mālik ibn Anas · Moroccan Family Code, art. 362

  • Case resembling the Mālikiyya (Maliki school): the grandfather takes the whole remainder; the full brothers receive nothing.

    Mālik ibn Anas · Moroccan Family Code, art. 363

  • The grandfather shares with the siblings as a brother (muqāsama), which is most favourable to him.

    Doctrine of Zayd ibn Thābit on the grandfather and the siblings · Moroccan Family Code (2004), art. 354

  • The grandfather receives one third of the estate, more favourable than sharing.

    Doctrine of Zayd ibn Thābit on the grandfather and the siblings · Moroccan Family Code (2004), art. 354

  • Sharing and one third give the grandfather the same share.

    Doctrine of Zayd ibn Thābit on the grandfather and the siblings · Moroccan Family Code (2004), art. 354

  • The grandfather receives one third of what remains after the fixed shares, more favourable than sharing.

    Doctrine of Zayd ibn Thābit on the grandfather and the siblings · Moroccan Family Code (2004), art. 354

  • The grandfather receives one sixth of the estate, more favourable than sharing or a third of the remainder.

    Doctrine of Zayd ibn Thābit on the grandfather and the siblings · Moroccan Family Code (2004), art. 354

  • Grandfather with siblings: the method of Zayd ibn Thābit (the best of several options for the grandfather).

    Doctrine of Zayd ibn Thābit on the grandfather and the siblings · Moroccan Family Code (2004), art. 354

  • The siblings share what remains after the grandfather: a brother receives the share of two sisters.

    Doctrine of Zayd ibn Thābit on the grandfather and the siblings · Moroccan Family Code (2004), art. 354

  • muʿādda: the paternal half-siblings are counted against the grandfather, then the full siblings take back their share.

    Doctrine of Zayd ibn Thābit on the grandfather and the siblings · Moroccan Family Code, art. 360

  • muʿādda: the full sister takes back up to her fixed share from the siblings' portion.

    Doctrine of Zayd ibn Thābit on the grandfather and the siblings · Moroccan Family Code, art. 360

  • muʿādda: the paternal half-siblings receive what the full sister leaves.

    Doctrine of Zayd ibn Thābit on the grandfather and the siblings · Moroccan Family Code, art. 360

Adjustments (ʿawl and radd)

  • A remainder is left with no ʿasaba: it returns to the fixed-share heirs in proportion (radd), never to spouses.

    Qur'an 8:75 · Qur'an 33:6

  • The fixed shares exceed the whole: each is reduced in the same proportion (ʿawl).

    Ruling of ʿUmar ibn al-Khaṭṭāb with the Companions; Ibn ʿAbbās disagreed

  • The fixed shares exhaust the estate: nothing remains for the ʿasaba.

    al-Bukhārī 6732: "Give the fixed shares to those entitled to them; what remains goes to the nearest man" (also Muslim 1615)

  • No share in this case.

Exclusions (ḥajb)

  • Excluded by a nearer male descendant.

    al-Bukhārī 6732: "Give the fixed shares to those entitled to them; what remains goes to the nearest man" (also Muslim 1615)

  • Excluded: the daughters' two thirds are complete and no male of her level makes her ʿasaba.

    al-Bukhārī 6736: Ibn Masʿūd: the daughter one half, the son's daughter one sixth to complete two thirds, the rest to the sister · Consensus of the scholars (ijmāʿ)

  • Excluded by the father.

    Consensus of the scholars (ijmāʿ)

  • Excluded by the mother.

    Consensus of the scholars (ijmāʿ)

  • Excluded by the father (Hanafi, Maliki and Shafiʿi schools).

    Moroccan Family Code, art. 358

  • Excluded: maternal half-siblings inherit only when there is no inheriting descendant, father or grandfather.

    Qur'an 4:12

  • Excluded by a male descendant or by the father.

    Qur'an 4:176 · Consensus of the scholars (ijmāʿ)

  • Hanafi school: the grandfather excludes the siblings, like the father.

    Abū Bakr: the grandfather stands in the place of the father (reported by al-Bukhārī, Book of Shares, chapter on the grandfather)

  • Excluded by the full brother.

    al-Tirmidhī 2094: ʿAlī: brothers by the same father and mother inherit before those by the same father only (also Ibn Mājah 2739; ḥasan through corroboration)

  • Excluded by the full sister, who became ʿasaba with the daughters.

    al-Bukhārī 6736: Ibn Masʿūd: the daughter one half, the son's daughter one sixth to complete two thirds, the rest to the sister

  • Excluded: the two full sisters completed two thirds, with no paternal half-brother.

    Qur'an 4:176 · Consensus of the scholars (ijmāʿ)

  • Excluded by a nearer ʿasaba.

    al-Bukhārī 6732: "Give the fixed shares to those entitled to them; what remains goes to the nearest man" (also Muslim 1615)

  • Nothing remains after the grandfather's sixth.

    Doctrine of Zayd ibn Thābit on the grandfather and the siblings

Relatives through women (dhawū l-arḥām)

  • Relatives through women, 1st class (descendants through daughters): the nearest in degree inherits, then sons take twice as much as daughters.

    Qur'an 8:75 · Qur'an 33:6 · Hanafi doctrine of kinship (qarāba): al-Sirājiyya, Ibn ʿĀbidīn (Radd al-Muḥtār), opinion of Muḥammad al-Shaybānī adopted for fatwa

  • Relatives through women, 2nd class (maternal grandfather): comes before the 3rd class (order followed for Hanafi fatwa).

    Qur'an 8:75 · Hanafi doctrine of kinship (qarāba): al-Sirājiyya, Ibn ʿĀbidīn (Radd al-Muḥtār), opinion of Muḥammad al-Shaybānī adopted for fatwa

  • Children of siblings (3rd class): according to Muḥammad, the opinion used for Hanafi fatwa, the estate is shared among the siblings themselves, each counted once per child, then each sibling's share passes to his or her children, two to one.

    Qur'an 8:75 · Hanafi doctrine of kinship (qarāba): al-Sirājiyya, Ibn ʿĀbidīn (Radd al-Muḥtār), opinion of Muḥammad al-Shaybānī adopted for fatwa

  • Non-heir aunts and uncles (4th class): father's side 2/3, mother's side 1/3; within a side, the strongest tie first (full, then paternal, then maternal half), then two to one.

    Qur'an 8:75 · Agreement of the Companions: two thirds to the paternal aunt, one third to the maternal aunt (reported by Muḥammad al-Shaybānī; al-Mughnī) · Hanafi doctrine of kinship (qarāba): al-Sirājiyya, Ibn ʿĀbidīn (Radd al-Muḥtār), opinion of Muḥammad al-Shaybānī adopted for fatwa

  • Children of aunts and uncles: come after them; the strongest tie first.

    Qur'an 8:75 · Hanafi doctrine of kinship (qarāba): al-Sirājiyya, Ibn ʿĀbidīn (Radd al-Muḥtār), opinion of Muḥammad al-Shaybānī adopted for fatwa

  • Children of maternal half-siblings: equal shares for men and women.

    Qur'an 4:12

  • Tanzīl method: each relative takes the place of the heir through whom he or she is related to the deceased, and receives that heir's share.

    Qur'an 8:75 · Qur'an 33:6 · al-Tirmidhī 2103: ʿUmar wrote to Abū ʿUbayda that the Prophet ﷺ said: "The maternal uncle is the heir of one who has no heir" (graded ḥasan ṣaḥīḥ by al-Tirmidhī; also Ibn Mājah 2737) · Abū Dāwūd 2899: al-Miqdām: "I am the heir of one who has no heir […] and the maternal uncle is the heir of one who has no heir" (also Ibn Mājah 2738; ḥasan ṣaḥīḥ according to al-Albānī) · Reported from ʿUmar, ʿAlī and Ibn Masʿūd: the daughter's daughter in the daughter's place, the paternal aunt in the father's place, the maternal aunt in the mother's place (Ibn Qudāma, al-Mughnī)

  • Hanbali school: men and women take equal shares among arḥām born of the same parents.

    Saudi Personal Status Law (1443), art. 235

  • The intermediate heir's share is divided among his or her children as if he or she had died leaving them: two to one.

    Qur'an 4:11

  • In the father's place: his share is divided among them as among his own heirs.

    Reported from ʿUmar, ʿAlī and Ibn Masʿūd: the daughter's daughter in the daughter's place, the paternal aunt in the father's place, the maternal aunt in the mother's place (Ibn Qudāma, al-Mughnī) · Agreement of the Companions: two thirds to the paternal aunt, one third to the maternal aunt (reported by Muḥammad al-Shaybānī; al-Mughnī)

  • In the mother's place: her share is divided among them as among her own heirs.

    Reported from ʿUmar, ʿAlī and Ibn Masʿūd: the daughter's daughter in the daughter's place, the paternal aunt in the father's place, the maternal aunt in the mother's place (Ibn Qudāma, al-Mughnī) · al-Tirmidhī 2103: ʿUmar wrote to Abū ʿUbayda that the Prophet ﷺ said: "The maternal uncle is the heir of one who has no heir" (graded ḥasan ṣaḥīḥ by al-Tirmidhī; also Ibn Mājah 2737)

  • Share not calculated: refer the case to a scholar.

  • Nothing: relatives through women inherit only when there is no heir other than the spouse.

    Saudi Personal Status Law (1443), art. 234 · Egyptian Inheritance Law 77/1943, arts. 31-38

  • Excluded by a closer relative through women (class, degree or strength of tie).

    Qur'an 8:75 · Hanafi doctrine of kinship (qarāba): al-Sirājiyya, Ibn ʿĀbidīn (Radd al-Muḥtār), opinion of Muḥammad al-Shaybānī adopted for fatwa

  • Excluded: the heir in whose place he or she stands would be excluded.

    Reported from ʿUmar, ʿAlī and Ibn Masʿūd: the daughter's daughter in the daughter's place, the paternal aunt in the father's place, the maternal aunt in the mother's place (Ibn Qudāma, al-Mughnī)

Choices between opinions

When a school holds several opinions, the calculator follows the one its scholars adopt for fatwa and states it under the result. Differences taken into account:

  • The two ʿUmariyya cases: Ruling of ʿUmar ibn al-Khaṭṭāb, followed by all four schools. Ibn ʿAbbās gave the mother one third of the whole estate.
  • Radd among the Malikis and Shafiʿis: Original doctrine of the Maliki and Shafiʿi schools: the remainder goes to the public treasury (bayt al-māl). Later scholars of both schools return it to the heirs (radd) when that treasury is not run according to the Sharia; this is the view applied here and in the Moroccan Family Code (art. 349).
  • Radd to a lone spouse (Hanafis): Later Hanafi scholars return the remainder to a sole spouse when there is no other heir (no radd, no dhawū l-arḥām).
  • Grandfather and siblings (Hanafis): Abū Ḥanīfa, following Abū Bakr: the grandfather excludes all siblings. His students Abū Yūsuf and Muḥammad, like the other three schools, have them share with him (Zayd's method).
  • al-Akdariyya: The only case in which the sister receives a fixed share alongside the grandfather (Zayd ibn Thābit). The Hanafi school excludes the sister.
  • al-Mālikiyya: A solution specific to the Maliki school; the other schools apply Zayd's sharing or the Hanafi exclusion here.
  • al-Mushtaraka (ḥimāriyya): Ruling of ʿUmar in the ḥimāriyya case, followed by the Malikis and Shafiʿis. Hanafis and Hanbalis give the full siblings nothing.
  • Father's mother with the father (Hanbalis): Hanbali school: the father's mother inherits alongside the father.
  • Father's mother with the father (other three schools): Hanafi, Maliki and Shafiʿi schools: the father's mother is excluded by the father.
  • Relatives through women, Hanafi school: Hanafi school: method of kinship (qarāba), by classes: descendants through daughters, then maternal grandfather, then children of siblings, then aunts and uncles (Ibn ʿĀbidīn, "wa ʿalayhi l-fatwā").
  • Relatives through women, opinion of Abū Yūsuf: According to Abū Yūsuf, followed by the Egyptian law of 1943 (arts. 34 and 38), the division differs: the strongest tie alone inherits, then two to one between the persons. That result is shown alongside.
  • Relatives through women, Maliki school: Original doctrine of the Maliki school, followed by the Moroccan code (art. 349): arḥām do not inherit, the remainder goes to the public treasury. Later scholars (al-Dasūqī) let them inherit by tanzīl when the treasury is not run according to the Sharia.
  • Relatives through women, Saudi law: Method codified by the Saudi Personal Status Law (1443), art. 235: tanzīl, with no difference between men and women.

Limits

The calculator does not decide these situations:

  • An heir of undetermined sex (khunthā mushkil): refer the case to a scholar.
  • A missing heir (mafqūd): refer the case to a scholar; a share may need to be reserved.
  • An unborn child (ḥaml): refer the case to a scholar; a share must be reserved until the birth.
  • Another relative through women than those offered here (a more distant dhawū l-arḥām): refer the case to a scholar.
  • A great-grandmother or a more distant ancestor: refer the case to a scholar.
  • Children of a daughter together with children of a son's daughter: al-Mughnī lets all of them inherit by tanzīl, while the Saudi law (art. 236) excludes the one further from the deceased. Refer the case to a scholar.

The calculator assumes that no heir is barred from inheriting (killing the deceased, difference of religion) and does not handle simultaneous deaths. It applies the schools, not the law of a country that departs from them. It replaces neither a scholar's opinion on a particular case, nor a notary or court for the legal division.

Verification

138 sourced cases (books of farāʾiḍ, codes, a published study), computed in the four schools: 552 of 552 results match their source. The site is not built if a single one differs.

Comparison with two public calculators: the first on 1,284 results (one family in one school) drawn from 420 families, the second on 142 results drawn from 91 families. Every difference is explained: a difference of doctrine (for example Abū Ḥanīfa's opinion on the grandfather and siblings) or an error of the other calculator. Neither handles relatives through women: those cases rest on the sourced cases of the test set.

200,000 random families, computed in the four schools to check the consistency of the calculation (not its agreement with a source, which the cases above check): no calculation interrupted, no negative share, the shares always add up to one, the amounts are exact to the cent.

The cases, which you can rerun in your browser

Versions and corrections

Rules version in use: 1.0, of December 3, 2026. Every result carries its version. Every corrected error is listed here, with the version that corrects it.

1.0 · December 3, 2026
First publication.

Who makes this site

Al Faraid is an independent project. The software was written with the help of artificial intelligence, and every rule points to its sources so that scholars can check it.

It is free, with no advertising, no account and nothing to sell.

Report an error

If a share looks wrong, the "Report an error" link under each result prepares a message with the calculation. Every report is checked against the sources; if it holds, the correction is published here.

contact@alfaraid.org