# Inheritance (Mīrāth): Islamic inheritance calculator for the four schools

Source: https://qurangallery.com/docs/mirath/overview

> Calculate each heir's exact share under the Ḥanafī, Mālikī, Shāfiʿī and Ḥanbalī schools, with every step of the working shown.

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](https://qurangallery.com/docs/mirath/using-the-calculator)
- [Read your inheritance result: shares and steps](https://qurangallery.com/docs/mirath/understanding-the-results)
- [Awl, radd and the fixed shares explained](https://qurangallery.com/docs/mirath/inheritance-rules)
- [Deduct funeral costs, debts and bequests before shares](https://qurangallery.com/docs/mirath/debts-and-bequests-first)
- [Four Sunni schools on inheritance: key differences](https://qurangallery.com/docs/mirath/four-schools)
- [Learn Islamic inheritance (farāʾiḍ) from scratch](https://qurangallery.com/docs/mirath/learn)
- [Islamic inheritance FAQ: awl, radd, debts, wills](https://qurangallery.com/docs/mirath/faq)
- [Can you embed the inheritance calculator on a site?](https://qurangallery.com/docs/mirath/embedding-the-calculator)

## 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](https://qurangallery.com/docs/mirath/understanding-the-results#comparing-the-four-schools).
- **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](https://qurangallery.com/mirath/heirs).
- **ʿAwl and radd**, and the named cases: [al-ʿUmariyyatān](https://qurangallery.com/mirath/rules/umariyyatan), [al-Mushtaraka](https://qurangallery.com/mirath/rules/mushtaraka), [al-Akdariyya](https://qurangallery.com/mirath/rules/akdariyya), [the grandfather with siblings](https://qurangallery.com/mirath/rules/grandfather-and-siblings) and [al-muʿādda](https://qurangallery.com/mirath/rules/muadda).
- **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](https://qurangallery.com/mirath/rules/dhawu-al-arham)).
- **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](https://qurangallery.com/mirath/missing-heir), the [unborn child](https://qurangallery.com/mirath/unborn-child) and the [intersex heir](https://qurangallery.com/mirath/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](https://qurangallery.com/mirath/saved).
- **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](https://qurangallery.com/docs/mirath/embedding-the-calculator).

Each of these is listed on the [methodology page](https://qurangallery.com/mirath/methodology), 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](https://qurangallery.com/mirath/test-cases). 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](https://qurangallery.com/mirath)        |
| Learn how to enter a family                        | [Using the calculator](https://qurangallery.com/docs/mirath/using-the-calculator)           |
| Understand how to read the results                 | [Understanding the results](https://qurangallery.com/docs/mirath/understanding-the-results) |
| Read the rules of inheritance in plain language    | [The rules](https://qurangallery.com/mirath/rules)       |
| See what one relative inherits in every situation  | [Heirs](https://qurangallery.com/mirath/heirs)           |
| See where the four schools differ                  | [The schools](https://qurangallery.com/mirath/schools)   |
| Check the calculator against the classical answers | [Validation](https://qurangallery.com/mirath/test-cases) |
| Browse common questions                            | [FAQ](https://qurangallery.com/mirath/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

- [Open inheritance calculator](https://qurangallery.com/mirath)
- [How to calculate Islamic inheritance step by step](https://qurangallery.com/docs/mirath/using-the-calculator)
- [Read your inheritance result: shares and steps](https://qurangallery.com/docs/mirath/understanding-the-results)
