Home › Methodology

Methodology

Methodology

This page documents exactly how our Islamic inheritance calculator works: the school of law it follows, the rules it applies, the order of calculation, what it can and cannot handle, and the evidence that its results are correct. We publish this because no calculation you cannot inspect should decide something as important as an inheritance.

Not a fatwa, not legal advice. This calculator is an educational tool implementing Hanafi rules. It does not replace a qualified Islamic scholar or legal professional. For significant estates, unusual family situations, or where civil law applies, have the distribution reviewed by qualified experts. See our full disclaimer.

1. School of law: Hanafi fiqh โ€” with Ahl-e-Hadith and Shia modes

The calculator’s default mode implements the inheritance rules of the Hanafi madhhab, the school followed by the majority of Muslims in South Asia, Turkey, Central Asia, the Balkans and elsewhere. Where the schools differ (for example, on radd, the return of surplus shares), the calculator follows the Hanafi position, which is noted below.

A second Ahl-e-Hadith (beta) mode is available via the “School” selector at the top of the calculator. It implements Hanbali-leaning positions: the paternal grandfather shares with siblings (muqasama โ€” taking the best of 1/6 of the estate, 1/3 of the remainder, or a 2:1 share with them, with the classical Akdariyya solution for that specific case) instead of excluding them, and the father does not block his own mother. All other rules are identical to Hanafi mode. The beta label means: verify important distributions with a qualified scholar of that orientation. See Ahl-e-Hadith inheritance rules for the full comparison.

A third Shia (Ja’fari, beta) mode implements Twelver Ja’fari inheritance law as per Ayatollah Sistani’s rulings โ€” a genuinely different system, not a variation of the Hanafi engine. Key differences: heirs fall into three classes (parents/children โ†’ grandparents/siblings โ†’ uncles/aunts) with the nearer class excluding the remoter; there are no agnatic residuaries; ‘awl is rejected (when fixed shares exceed the estate, the spouse’s and parents’ shares are untouchable and the daughters or sisters absorb the shortfall); radd excludes the spouse while other heirs exist (a sole husband takes everything; a sole wife’s radd is disputed and flagged); there is no Umariyyatain (the mother keeps her full 1/3); and grandparents share with siblings (maternal side 1/3 split equally, paternal side 2/3 at male-double). The mode is in beta: it does not yet cover daughter’s-line descendants or maternal uncles/aunts, and disputed points are flagged rather than silently decided. Verify important distributions with a qualified Ja’fari scholar.

The core rules come from the Quran โ€” principally verses 4:11, 4:12 and 4:176 โ€” as understood in Hanafi jurisprudence, supplemented by established Prophetic traditions on inheritance.

2. How a calculation proceeds, step by step

  1. Funeral expenses and debts are settled first. You enter the total estate value and the total of funeral costs, outstanding debts (including unpaid mahr owed to a widow, loans and religious dues such as unpaid zakat). These are subtracted before any heir receives anything.
  2. A valid bequest (wasiyyah) is paid next โ€” capped at one-third. A bequest to non-heirs may not exceed one-third of what remains after debts. If you enter a larger bequest, the calculator caps it at one-third automatically and tells you it did so. (Bequests to legal heirs are a separate jurisprudential question โ€” see limitations.)
  3. Fixed Quranic shares are assigned. Heirs with fixed shares (ashab al-furud) receive them first โ€” see the table below.
  4. The remainder goes to residuary heirs (asaba). The nearest surviving male agnate takes what is left; sons and daughters share it in a 2:1 ratio.
  5. Adjustments: if the fixed shares exceed 100%, they are scaled down proportionally (‘awl); if they fall short and no residuary heir exists, the surplus returns to the fixed sharers except the spouse (radd).

3. The fixed shares (Hanafi)

HeirShareCondition
Husband1/2No children or grandchildren
Husband1/4With children or grandchildren
Wife (shared equally if more than one)1/4No children or grandchildren
Wife (shared equally if more than one)1/8With children or grandchildren
Father1/6 + remainderWith children; pure residuary without them
Mother1/3No children and fewer than two siblings
Mother1/6With children, or two or more siblings
Mother1/3 of remainderSpecial case Umariyyatain: only spouse + both parents survive
Grandmother(s)1/6 sharedNo parent on that side; both grandmothers share one-sixth
Daughter1/2One daughter, no sons
Daughters2/3 sharedTwo or more, no sons
Son’s daughter(s)1/2 or 2/3; or 1/6As daughters when no nearer descendant; 1/6 alongside exactly one daughter
Full sister1/2One sister, no descendants, no father
Full sisters2/3 sharedTwo or more, no descendants, no father
Paternal sister(s)1/2, 2/3, or 1/6As full sisters when none exist; 1/6 alongside exactly one full sister
Maternal sibling(s)1/6, or 1/3 sharedOne: 1/6; two or more: 1/3 shared equally, male and female alike

“Children” above includes sons, daughters, son’s sons and son’s daughters. “Siblings” counting toward the mother’s reduction includes full, paternal and maternal siblings.

4. Who inherits as residuary (asaba), in order

After fixed shares, the remainder passes to the nearest of: sons (with daughters at 2:1) โ†’ father โ†’ paternal grandfather โ†’ full brothers (with full sisters at 2:1) โ†’ paternal brothers (with paternal sisters at 2:1) โ†’ sons of brothers โ†’ paternal uncles โ†’ sons of paternal uncles. Nearer excludes remoter; a full-blood relative excludes the half-blood equivalent.

5. Exclusion rules (hajb) the calculator applies

  • A son excludes grandchildren through sons, and all siblings, nephews, uncles and cousins.
  • A father excludes the grandfather and all siblings and their descendants.
  • A grandfather (when no father) excludes siblings.
  • Parents exclude grandparents on their side (a mother also excludes the paternal grandmother).
  • Two or more daughters exclude son’s daughters, unless a son’s son is present to inherit alongside them.
  • Two or more full sisters exclude paternal sisters, unless a paternal brother is present.
  • Descendants, a father, or a grandfather exclude maternal siblings entirely.
  • Every excluded heir is listed in the results with the reason, so nothing happens silently.

6. Special adjustments

‘Awl โ€” when fixed shares exceed 100%

Example: a wife (1/8), two daughters (2/3), a father (1/6) and a mother (1/6) total 27/24. Every share is scaled to a denominator of 27: wife 3/27, daughters 16/27, father 4/27, mother 4/27. The calculator detects this automatically and labels it. See a worked example.

Radd โ€” when fixed shares fall short and no residuary heir exists

Example: only a mother (1/6) and one daughter (1/2) survive โ€” 2/3 of the estate. The remainder returns to them proportionally: mother 1/4, daughter 3/4. The spouse, if present, keeps only their fixed share. This is the Hanafi position.

Umariyyatain

When only a spouse and both parents survive, the mother takes one-third of what remains after the spouse’s share (not one-third of the whole estate) โ€” the ruling associated with Umar ibn al-Khattab (RA).

7. Exact arithmetic โ€” no rounding errors

The engine uses exact rational (fractional) arithmetic throughout, not floating-point decimals. Shares are computed as fractions like 7/24 and only converted to amounts at the final step, so a $1,000,000 estate divided among a wife, mother and two sons comes out to the cent, with the parts summing exactly to the whole.

8. What the calculator does not handle (limitations)

  • Other schools of law. Hanafi rules only. Shafi’i, Maliki, Hanbali and Ja’fari inheritance differ in edge cases.
  • Impediments to inheritance. The calculator does not assess disqualifiers such as intentional homicide of the deceased or difference of religion โ€” these require scholarly determination.
  • Complex family situations: pregnancy and unborn children, missing persons, simultaneous deaths, or disputed paternity.
  • Bequests to heirs. Whether a bequest to a legal heir is valid depends on the other heirs’ consent โ€” a jurisprudential matter the tool does not adjudicate.
  • Civil law. Many countries apply their own succession statutes alongside or instead of Islamic rules. The calculator computes the Islamic distribution; it does not model any country’s civil code.
  • Very distant relatives beyond the 23 heir categories (e.g. a cousin’s grandson) are treated as the nearest surviving male agnate for the remainder.
  • Validity of inputs. The calculator trusts the estate, debt and heir details you enter; it cannot verify them.

9. Test evidence

Every rule above is exercised by our public test suite: 134 heir scenarios covering exclusions, ‘awl, radd, Umariyyatain, multiple wives, grandmothers, distant agnates and more โ€” each independently verified to distribute exactly 100% of the estate โ€” plus 9 real-life worked examples with full monetary amounts. Run any scenario in the calculator yourself and compare.

10. Sources

  • Quran 4:11 โ€” shares of children and parents; 4:12 โ€” shares of spouses and maternal siblings; 4:176 โ€” the kalala case (siblings).
  • Hanafi jurisprudence as taught in the standard manuals of ‘ilm al-fara’id (the science of fixed shares).
  • Browse the verses yourself in our Quran search, with Arabic text and translation.

Methodology version 1.0 โ€” October 2026. If you are a scholar of Islamic jurisprudence and spot an inaccuracy, please contact us โ€” corrections are welcomed and credited.