Project · 2026
Mirath
Islamic inheritance shares, calculated and explained line by line

Enter who was alive at the time of death and what there is to share. Mirath gives each heir's share as a fraction and in CFA francs, explains each step with the Quran, the Sunnah and the matching article of Senegal's Family Code, and includes a zakat calculator. Maliki by default, as in Senegal; the other three schools can be switched on. Everything runs in the browser.
What's interesting about it
- Pure TypeScript engine on exact bigint fractions, with the classical special cases (mushtaraka, akdariyya, the two 'umariyyatan, radd) handled the way the Family Code writes them.
- Checked against 65 solved cases from the Risala, Khalil's Mukhtasar and the Sirajiyya, plus invariant checks on 4,000 random families; the build runs them, so a broken case blocks the deploy.
- No server and no account: a shared case travels in the URL after the #, which browsers never send.
- French first, with English and Arabic (right-to-left).