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.

The deceased and the estate

The deceased was a

Optional. Leave empty to see fractions only.

Capped at one third of what is left after debts.

Heirs who are alive

Enter how many of each relative were alive at the time of death. Leave the rest empty.

Spouse and parents

0 to 4

0 or 1

0 or 1

Children and grandchildren
Grandparents

0 or 1

0 or 1

0 or 1

Brothers and sisters
Nephews, uncles and cousins

How the estate is divided

Add at least one heir above to see the shares.

Please verify this with a qualified scholar too. This result is a calculation from the details you entered. It is not a fatwa. Before you act on it, check it with a qualified scholar or Darul Ifta you trust.

How to use the inheritance calculator

  1. Choose whether the deceased was a man or a woman.
  2. Optionally enter the estate value, then funeral costs, debts (including unpaid mahr) and any bequest to non-heirs.
  3. Enter how many of each relative were alive at the time of death. Leave the rest empty.
  4. Read each heir’s share as a fraction, a percentage and an amount, with the reason for it. Print it 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:

  1. 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.
  2. Fixed shares (furūḍ): spouses, parents, daughters, sisters and maternal siblings take the fractions set in Quran 4:11, 4:12 and 4:176.
  3. 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.

These results have not been checked against a fiqh text by a scholar yet. Treat them as a starting point for a conversation with a mufti, not as a final division.

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. Pakistan’s Muslim Family Laws Ordinance 1961, section 4, gives such orphaned grandchildren, per stirpes, the share their parent would have received (text on Pakistan Code). Banuri Town’s fatwa follows the classical rule that they have no share while another son is alive, and advises the grandparent to leave them a bequest within one third (fatwa 144110200330). The Federal Shariat Court held this section un-Islamic in 2000, and the matter has been debated since (Law and Policy Review, UMT, 2024). This calculator follows the classical rules, so ask a lawyer about section 4.

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.

See all Islamic Tools →

Sources and review

Last reviewed: . This page has not yet been reviewed by a named scholar.

Please verify this with a qualified scholar too. This result is a calculation from the details you entered. It is not a fatwa. Before you act on it, check it with a qualified scholar or Darul Ifta you trust.