How we calculate prayer times
Every time on this site is computed from the sun's position for a city's own coordinates and timezone. Fajr and Isha are defined by how far the sun sits below the horizon, and that angle differs between conventions — which is the single biggest reason two prayer-time sites disagree.
What is actually computed
Dhuhr is solar noon at the city's longitude. Sunrise and Maghrib are the moments the sun's disc crosses the horizon. Asr is defined by shadow length, which is where the schools differ — the Shafi'i, Maliki and Hanbali position uses a shadow equal to the object's length, the Hanafi position uses twice that, so Hanafi Asr falls later.
Fajr and Isha have no observable disc crossing. They are defined by twilight, as an angle of the sun below the horizon, and each authority publishes its own angle. We apply the angle published for the country, not a single global default.
Conventions, angles and the documents that state them
Each row below is the convention we apply for that set of countries, the angles it specifies, and the source document we cite for those angles. Where an authority publishes no public specification, the row says so rather than pointing at a substitute.
| Country | Convention | Angles | Source document |
|---|---|---|---|
| Egypt | Egyptian General Authority | Fajr 19.5°, Isha 17.5° | Egyptian General Authority of Survey |
| Saudi Arabia | Umm al-Qura | Fajr 18.5°, Isha = Maghrib + 90 min (120 in Ramadan) | Umm al-Qura University, Makkah |
| Algeria | Muslim World League | Fajr 18°, Isha 17° | Muslim World League |
| Qatar | Qatar | Fajr 18°, Isha = Maghrib + 90 min | Qatar Ministry of Awqaf |
| Morocco | Muslim World League | Fajr 18°, Isha 17° | Moroccan Ministry of Endowments and Islamic Affairs |
| Libya | Muslim World League | Fajr 18°, Isha 17° | Libyan General Authority of Endowments and Islamic Affairs |
| Jordan | Muslim World League | Fajr 18°, Isha 17° | Jordanian Ministry of Awqaf and Islamic Affairs and Holy Places |
| Kuwait | Kuwait | Fajr 18°, Isha 17.5° | Kuwait Ministry of Awqaf |
| Iraq | Muslim World League | Fajr 18°, Isha 17° | Muslim World League |
| Tunisia | Muslim World League | Fajr 18°, Isha 17° | Tunisian Ministry of Religious Affairs |
| Syria | Muslim World League | Fajr 18°, Isha 17° | Muslim World League |
| United Arab Emirates | Dubai | Fajr 18.2°, Isha 18.2° | General Authority of Islamic Affairs and Endowments |
| Yemen | Muslim World League | Fajr 18°, Isha 17° | Yemeni Ministry of Endowments and Guidance |
| Sudan | Muslim World League | Fajr 18°, Isha 17° | Muslim World League |
| Mauritania | Muslim World League | Fajr 18°, Isha 17° | Muslim World League |
| Bahrain | Muslim World League | Fajr 18°, Isha 17° | Bahraini Ministry of Justice, Islamic Affairs and Endowments |
| Oman | Muslim World League | Fajr 18°, Isha 17° | Omani Ministry of Endowments and Religious Affairs |
| Lebanon | Muslim World League | Fajr 18°, Isha 17° | Dar al-Fatwa of Lebanon |
| Palestine | Muslim World League | Fajr 18°, Isha 17° | Palestinian Ministry of Awqaf and Religious Affairs |
| Comoros | Muslim World League | Fajr 18°, Isha 17° | Muslim World League |
| Somalia | Muslim World League | Fajr 18°, Isha 17° | Muslim World League |
| Djibouti | Muslim World League | Fajr 18°, Isha 17° | Muslim World League |
| Turkey | Diyanet | Fajr 18°, Isha 17° - identical angles to MWL; Diyanet is the issuing body | Diyanet İşleri Başkanlığı |
| Canada | ISNA | ISNA: Fajr 15°, Isha 15° | Islamic Society of North America |
| France | UOIF | Fajr 12°, Isha 12° - NOT MWL. French users expect UOIF. | Grand Mosque of Paris |
| United States | ISNA | ISNA: Fajr 15°, Isha 15° | Islamic Society of North America |
| United Kingdom | Muslim World League | Fajr 18°, Isha 17° | Muslim World League |
| Belgium | Muslim World League | Fajr 18°, Isha 17° | Executive of the Muslims of Belgium |
| Italy | Muslim World League | Fajr 18°, Isha 17° | Union of Islamic Communities of Italy |
| Netherlands | Muslim World League | Fajr 18°, Isha 17° | Contact Body for Muslims and Government (CMO) |
| Germany | Muslim World League | Fajr 18°, Isha 17° | Central Council of Muslims in Germany |
| Indonesia | Kemenag | Fajr 20°, Isha 18° - identical angles to the JAKIM/MUIS pair; Kemenag is the issuing body | Ministry of Religious Affairs of Indonesia |
| Pakistan | Karachi | Fajr 18°, Isha 18° | University of Karachi |
| India | Karachi | Fajr 18°, Isha 18° | University of Islamic Sciences, Karachi |
| Bangladesh | Karachi | Fajr 18°, Isha 18° | Islamic Foundation Bangladesh |
| Malaysia | JAKIM | Fajr 20°, Isha 18° - closest adhanpy match to JAKIM / MUIS | Jabatan Kemajuan Islam Malaysia |
| Nigeria | Muslim World League | Fajr 18°, Isha 17° | Muslim World League |
| Spain | Muslim World League | Fajr 18°, Isha 17° | Islamic Union of Spain (UCIDE) |
| Sweden | Muslim World League | Fajr 18°, Isha 17° | Muslim World League |
| Switzerland | Muslim World League | Fajr 18°, Isha 17° | Federation of Islamic Organisations in Switzerland |
| Australia | Muslim World League | Fajr 18°, Isha 17° | Australian National Imams Council |
| Russia | Muslim World League | Fajr 18°, Isha 17° | Spiritual Administration of Muslims of Russia |
| South Africa | Muslim World League | Fajr 18°, Isha 17° | Muslim Judicial Council of South Africa |
| Philippines | JAKIM | Fajr 20°, Isha 18° - closest adhanpy match to JAKIM / MUIS | Jabatan Kemajuan Islam Malaysia |
| Singapore | JAKIM | Fajr 20°, Isha 18° - closest adhanpy match to JAKIM / MUIS | Islamic Religious Council of Singapore (MUIS) |
| Azerbaijan | Muslim World League | Fajr 18°, Isha 17° | Muslim World League |
| Kazakhstan | Muslim World League | Fajr 18°, Isha 17° | Spiritual Administration of Muslims of Kazakhstan |
| Albania | Muslim World League | Fajr 18°, Isha 17° | Muslim Community of Albania |
| China | Muslim World League | Fajr 18°, Isha 17° | China Islamic Association |
A high-latitude rule is applied in: Belgium, Canada, France, Germany, Kazakhstan, Netherlands, Russia, Sweden, Switzerland, Turkey, United Kingdom, United States
Above 48° north
North of roughly 48° latitude, there are nights in summer when twilight never reaches the Fajr or Isha angle at all. The angle-based definition then produces no time, or an absurd one — without a high-latitude rule, Edinburgh on 21 June 2027 computes Fajr at 01:14 and Isha at 01:15.
For those countries we apply a high-latitude rule, which partitions the night between Maghrib and sunrise instead of waiting for an angle that never arrives. The countries where this applies are marked in the table above. This is a real area of scholarly disagreement, and local authorities in northern Europe differ on it.
Coordinates, timezones and the library
City coordinates come from GeoNames, used under CC BY 4.0. Timezones come from the IANA time zone database, which is how daylight saving is handled correctly — including places like Arizona that do not observe it. The astronomical calculation uses the open-source Adhan library.
Nothing is fetched at page load. Every time on this site was computed at build time and written into a static file, which is why the pages work with JavaScript disabled and why the numbers are reproducible.
Why your mosque may differ
Three ordinary reasons, none of which means either timetable is wrong: your mosque may add a precautionary margin of a few minutes; it may follow a different convention from the national authority; and Fajr and Isha onset is not scientifically deterministic — it varies with season, latitude, altitude and air clarity, which is why authorities genuinely disagree about the angle.
Where our time and your mosque's differ, follow your mosque.
Cite this page
Copy this to cite this page:
Prayer Times. "How we calculate prayer times". https://prayertime.info/en/methodology/