Islamic inheritance calculator for the four schools
Calculate each heir's exact share under the Ḥanafī, Mālikī, Shāfiʿī and Ḥanbalī schools, with every step of the working shown.
On this page
Mīrāth at qurangallery.com/mirath is an Islamic inheritance calculator for the four Sunni schools: Ḥanafī, Mālikī, Shāfiʿī and Ḥanbalī. You say who has passed away and which relatives survive them, and it gives each heir’s share of the estate as a fraction, a percentage and a money amount, with the Qurʾanic basis and every step of the working behind each figure.
Common tasks
- How to calculate Islamic inheritance step by step
- Read your inheritance result: shares and steps
- Awl, radd and the fixed shares explained
- Deduct funeral costs, debts and bequests before shares
- Four Sunni schools on inheritance: key differences
- Learn Islamic inheritance (farāʾiḍ) from scratch
- Islamic inheritance FAQ: awl, radd, debts, wills
- Can you embed the inheritance calculator on a site?
What “mīrāth” and “farāʾiḍ” mean
Mīrāth is the Islamic law of inheritance: the rules by which a person’s wealth passes to their relatives after death. It is also called ʿilm al-farāʾiḍ — “the science of the fixed shares” — because at its heart is a set of precise fractions that the Qurʾan assigns to named relatives. A half, a quarter, an eighth, two thirds, a third, a sixth: each goes to a particular relative depending on who else is alive.
Getting it right matters. An error quietly takes from one heir what belongs to another, which is why the calculator works in exact fractions and always shows its evidence.
What the calculator does and doesn’t do
It does:
- Four Sunni schools — Ḥanafī, Mālikī, Shāfiʿī and Ḥanbalī — chosen with a switch at the top of the result. All four are computed for every family, and when they differ you can compare them side by side.
- 33 relations by name: husband, wife (up to four), son, daughter, son’s son, son’s daughter, son’s son’s son, son’s son’s daughter, father, mother, father’s father, father’s mother, mother’s mother, full / paternal / maternal brother and sister, full and paternal nephew, full and paternal uncle, full and paternal cousin, and the distant relatives (dhawū al-arḥām): a daughter’s son and daughter, a full sister’s son and daughter, the maternal grandfather, the maternal uncle and aunt, and the paternal aunt. Each has its own page under Heirs.
- ʿAwl and radd, and the named cases: al-ʿUmariyyatān, al-Mushtaraka, al-Akdariyya, the grandfather with siblings and al-muʿādda.
- Dhawū al-arḥām per school — by closeness of kinship (qarāba) in the Ḥanafī school, by substitution (tanzīl) in the other three (details).
- Exact fractions. Every share is a fraction of two whole numbers, never a rounded decimal, and the shares always add up to exactly one estate.
- Estate deductions — debts, funeral costs and a bequest (waṣiyya) capped at one third — before anything is divided.
- The working, step by step — “How this was worked out”: the base (aṣl), each fixed share with its daleel and a link to the verse, blocking, ʿawl, radd and any correction of the base (taṣḥīḥ).
- A share mosaic that draws the estate as equal tiles, and a family tree of the deceased with each heir’s share.
- Print / save as PDF, with the working, the tree and, when the schools differ, a compact comparison.
- A shareable link — the address bar always describes the family on screen.
- Special cases with their own pages — the missing heir, the unborn child and the intersex heir; each page explains how the case is solved.
- Saved cases — Save case on the result keeps the case in this browser only; the list is under Saved cases.
- An embed view at
/mirath/embed, the compact version shown inside Quran Gallery chat.
It doesn’t:
- the Jaʿfarī (Shia) school — only the four Sunni schools;
- relatives who died together with the order of death unknown (gharqā, hadmā);
- bayt al-māl distribution — when a school sends a surplus to the public treasury, the calculator marks the case for a scholar’s review instead of dividing it;
- accounts — there is nothing to sign in to, and saved cases stay in this browser only; to carry a case to another device, use its link or a PDF;
- a “compact mode” on the main page — the compact view is the separate embed.
Each of these is listed on the methodology page, with the cases the calculator refers to a scholar.
An educational aid, not a fatwa
The calculator follows the classical Sunni rules and is checked against the answers in the classical books of farāʾiḍ: every test case, with its source, runs live on the validation page. It is built to teach and to estimate — not to issue a binding ruling.
Inheritance is exact and the responsibility is serious. Always confirm a real, binding distribution with a qualified scholar before acting on it. The calculator is here to help you understand and prepare, not to replace that advice.
Where to go next
| If you want to… | Go to |
|---|---|
| Work out a specific family’s shares | The calculator |
| Learn how to enter a family | Using the calculator |
| Understand how to read the results | Understanding the results |
| Read the rules of inheritance in plain language | The rules |
| See what one relative inherits in every situation | Heirs |
| See where the four schools differ | The schools |
| Check the calculator against the classical answers | Validation |
| Browse common questions | FAQ |
Your information
The calculation runs in your own browser, and there is no account and no history kept on the site. The family and the estate value are written into the page address so that the link can be shared — so anyone you send the link to sees them, and, like any page address, it is recorded by the site’s usage analytics. Cases you save with Save case stay in this browser only; they are not sent to the site and do not follow you to another device.
Next steps
Questions
Which schools of Islamic inheritance does the calculator follow?
All four Sunni schools: Ḥanafī, Mālikī, Shāfiʿī and Ḥanbalī. It computes all four for every family and tells you when they differ. The Jaʿfarī (Shia) school is not covered.
Do I need an account to use the inheritance calculator?
No, there is nothing to sign in to. The family is written into the page address so you can share the link. Cases you save stay in this browser only.
Is the result a fatwa?
No. It is an educational aid checked against the classical farāʾiḍ books. Always confirm a real distribution with a qualified scholar before acting on it.
Can I save an inheritance case?
Yes. Press Save case on the result. It is kept in this browser only and listed on the Saved cases page, so use the link or a PDF to carry it to another device.
Does it handle a missing heir, an unborn child or an intersex heir?
Yes. Each has its own page in the calculator that explains how the case is solved: missing-heir, unborn-child and intersex-heir.