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:
- Fajr: the sun is a set angle below the eastern horizon, depending on the method.
- Sunrise and Maghrib: the top of the sun's disc is on the horizon, allowing for refraction (0.833° below). Some methods add a few minutes or use an angle for Maghrib.
- Dhuhr: just after solar noon.
- Asr: an object's shadow equals its length plus its noon shadow (Shafi'i, Maliki and Hanbali), or twice its length plus its noon shadow (Hanafi).
- Isha: the sun is a set angle below the western horizon, or a fixed time after Maghrib.
| Method | Fajr | Isha | Other rules |
|---|---|---|---|
| Muslim World League | 18° | 17° | dhuhr +1 min |
| Islamic Society of North America (ISNA) | 15° | 15° | dhuhr +1 min |
| Egyptian General Authority of Survey | 19.5° | 17.5° | dhuhr +1 min |
| Umm al-Qura University, Makkah | 18.5° | 90 min after Maghrib (120 in Ramadan) | — |
| University of Islamic Sciences, Karachi | 18° | 18° | dhuhr +1 min |
| Institute of Geophysics, University of Tehran | 17.7° | 14° | Maghrib 4.5° |
| Shia Ithna-Ashari, Leva Institute, Qum | 16° | 14° | Maghrib 4° |
| General Authority of Islamic Affairs & Endowments, UAE | 18.2° | 18.2° | sunrise -3 min, dhuhr +3 min, asr +3 min, maghrib +3 min |
| Ministry of Awqaf, Kuwait | 18° | 17.5° | — |
| Ministry of Awqaf, Qatar | 18° | 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), approximation | 18° | 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 Russia | 16° | 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:
- None (use the angles as they are)
- Twilight angle (angle ÷ 60 of the night)
- One-seventh of the night
- Middle of the night
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
- Calculated exactly (20): Rosh Hashanah, Yom Kippur, Sukkot, Simchat Torah, Hanukkah, Tu BiShvat, Purim, Passover, Shavuot, Tisha B'Av, Ash Wednesday, Palm Sunday, Good Friday, Easter, Ascension Day, Pentecost, Orthodox Easter, First Sunday of Advent, Christmas, Orthodox Christmas. The Hebrew calendar uses the fixed arithmetic calendar (the molad and the postponement rules), checked day by day against Unicode ICU from 1950 to 2100. Easter uses the Gregorian computus, and Orthodox Easter the Julian computus.
- Estimated (9): Ramadan, Laylat al-Qadr, Eid al-Fitr, Day of Arafah, Eid al-Adha, Islamic New Year, Ashura, Mawlid an-Nabi, Isra and Mi'raj. These come from the Umm al-Qura calendar used in Saudi Arabia. Many countries start a month only after the new moon is sighted, so the actual date may be a day later. Islamic days begin at sunset, the evening before the date shown.
- Checked by hand (13): Maha Shivaratri, Holi, Navratri, Dussehra, Diwali, Krishna Janmashtami, Vaisakhi, Guru Nanak Gurpurab, Vesak, Naw-Rúz, Ridván, Birth of the Báb, Birth of Bahá'u'lláh. These follow regional lunisolar or solar calendars. Each year's date is checked against a named source before we publish it. Years we haven't checked are not shown.