Our Method

How we build Hesbat's calculators, where the rules come from, and how we keep them right and up to date.

1. We start from the official text

Every calculator rests on an official law, regulation or decision: labour laws, social insurance, tax, the Umm al-Qura calendar and so on. We never use other calculator sites as a source. Each tool page has an "Official sources" box naming the law and article, with a link to the authority's site wherever a working one exists.

Pure arithmetic tools (such as percentages and unit conversion) don't depend on any law, and their pages say so.

2. We spell out rules and assumptions

  • Each calculator explains how the result is worked out, with examples, so you can check it yourself.
  • Where the law leaves a detail open (like how to work out a day's wage), we say which assumption we used.
  • Where scholars or authorities differ (such as paying zakat al-fitr in cash), we show the view your country follows and mention the difference.

3. We test before we publish

Each calculator has examples worked out by hand from the law, and all of them run automatically before every site update. If a single result changes, the update doesn't go out.

4. We review on a schedule

  • Under each calculator's title is its last review date: the last time we checked it against its sources.
  • We review every calculator at least every six months, and straight away when a law changes.
  • We track the yearly updates: new-year rates, zakat al-fitr amounts before Ramadan, and Ramadan working-hours decisions.

5. We fix mistakes in the open

Under each calculator is a "Report a mistake" link. We check every report, aim to fix a confirmed error within 48 hours, and log every fix and rule update in the changelog.

6. We use AI, and we check what it produces

We use AI tools to build Hesbat: to write the calculators' code and design the pages, to gather and analyse information from laws and official sources, and to draft explanations and articles. Nothing is published just because an AI said so:

  • Every rule is tied to its official source (the law, the article and the authority), listed under each calculator.
  • Automatic tests recalculate known examples before every release, and we compare with official figures where we can (prayer times against reference timetables, for example).
  • The result you see comes from fixed formulas running in your browser; it is not generated by AI when you use the calculator.
  • If you find a mistake, tell us: we fix it and record it in the changelog.

What we don't do

  • We are not a government body. Results are estimates and don't replace the relevant authority or a qualified adviser.
  • We never send the numbers you enter to a server; everything is calculated in your browser. See the privacy policy.