Method & accuracy

Last reviewed November 29, 2026.

Prayer times

For each city and day we calculate the sun's position: its declination and the equation of time. We use the standard low-precision solar formulas published by NOAA, based on Jean Meeus's Astronomical Algorithms. From that we find when the sun reaches each angle:

MethodFajrIshaOther rules
Muslim World League18°17°dhuhr +1 min
Islamic Society of North America (ISNA)15°15°dhuhr +1 min
Egyptian General Authority of Survey19.5°17.5°dhuhr +1 min
Umm al-Qura University, Makkah18.5°90 min after Maghrib (120 in Ramadan)—
University of Islamic Sciences, Karachi18°18°dhuhr +1 min
Institute of Geophysics, University of Tehran17.7°14°Maghrib 4.5°
Shia Ithna-Ashari, Leva Institute, Qum16°14°Maghrib 4°
General Authority of Islamic Affairs & Endowments, UAE18.2°18.2°sunrise -3 min, dhuhr +3 min, asr +3 min, maghrib +3 min
Ministry of Awqaf, Kuwait18°17.5°—
Ministry of Awqaf, Qatar18°90 min after Maghrib—
Majlis Ugama Islam Singapura (MUIS)20°18°dhuhr +1 min; rounded up
Department of Islamic Development Malaysia (JAKIM)20°18°dhuhr +1 min; rounded up
Ministry of Religious Affairs, Indonesia (Kemenag)20°18°dhuhr +1 min; rounded up
Presidency of Religious Affairs, Turkey (Diyanet), approximation18°17°sunrise -7 min, dhuhr +5 min, asr +4 min, maghrib +7 min
Union des Organisations Islamiques de France (UOIF, 12°)12°12°—
Spiritual Administration of Muslims of Russia16°15°—

The offsets in minutes match each authority's published timetables. The Diyanet (Turkey) method is an approximation. Diyanet publishes its own tables, and our times can differ from them by a minute or two.

High latitudes

In summer, far from the equator, the sun may never get low enough for the Fajr or Isha angle. Cities at 48° latitude or higher use a high-latitude rule by default, which limits how far Fajr and Isha can sit from sunrise and sunset. You can pick one of these:

Where the sun doesn't rise or set at all (polar day or night), we use the nearest latitude where it does, and say so on the page.

Accuracy

Our tests compare the calculated times with official timetables for Makkah (Umm al-Qura), Dubai, Singapore (a full year), Ankara (Diyanet), Tehran, Doha and Kuwait City. All times fall within 2 minutes of the official tables, and most match to the minute. Times are calculated at sea level. In mountains, or where the horizon is blocked, actual sunrise and sunset can differ by a few minutes.

Qibla

The Qibla is the initial great-circle bearing from the city to the Kaaba (21.4225° N, 39.8262° E), measured clockwise from true north.

Shabbat times

Candle lighting is 18 minutes before Friday's sunset by default. Jerusalem uses 40 minutes and Haifa 30, following local custom. Havdalah is shown when the sun is 8.5° below the horizon (nightfall, when three small stars appear). You can choose 42, 50 or 72 minutes after sunset instead. Customs differ, so follow your community.

Holy-day dates