iMuslim Life › About › Methodology
How we calculate prayer times
Prayer times follow the sun, so they can be calculated for any place from its latitude, longitude and time zone. What differs between communities is the convention: how far below the horizon the sun must be for Fajr and Isha, and how Asr is defined. This page sets out exactly which conventions each timetable uses.
Where the times come from
- Our prayer-times API (node-api.imuslimlife.com) calculates the times for each city's coordinates and time zone. The website, the app and the Alexa skill all use it, so they always agree.
- If it can't be reached, the app falls back to Aladhan, a widely used public prayer-times service, with the same method.
- With no connection at all, the app calculates on the device with the open-source Adhan library.
City pages are rebuilt every night. Today's row, the next prayer and the countdown are worked out in your browser in the city's own time zone, including daylight saving changes.
Calculation method by country
Each country uses the method of its religious authority or the one its masjids most commonly follow. On any city page you can switch to another method; your choice is remembered in your browser.
| Method | Asr | Countries |
|---|---|---|
| Muslim World League | standard (Shafi'i, Maliki, Hanbali) | Albania, Australia, Austria, Belgium, Benin, Bosnia and Herzegovina, Burkina Faso, Cameroon, Chad, China, Comoros, Denmark, Djibouti, Eritrea, Ethiopia, Gambia, Germany, Ghana, Guinea, Iraq, Italy, Ivory Coast, Kenya, Kosovo, Maldives, Mali, Mauritania, Mozambique, Niger, Nigeria, North Macedonia, Norway, Philippines, Senegal, Sierra Leone, Somalia, Spain, Sri Lanka, Sweden, Switzerland, Tanzania, The Netherlands, Uganda |
| Egyptian General Authority of Survey | standard (Shafi'i, Maliki, Hanbali) | Egypt, Lebanon, Libya, Palestine, Sudan, Syria |
| Muslim World League | Hanafi | Kazakhstan, Kyrgyzstan, Tajikistan, Turkmenistan, Uzbekistan |
| University of Islamic Sciences, Karachi | Hanafi | Afghanistan, Bangladesh, India, Pakistan |
| ISNA (Islamic Society of North America) | standard (Shafi'i, Maliki, Hanbali) | Canada, United States |
| Umm al-Qura University, Makkah | standard (Shafi'i, Maliki, Hanbali) | Saudi Arabia, Yemen |
| Diyanet İşleri Başkanlığı, Turkey | standard (Shafi'i, Maliki, Hanbali) | Azerbaijan, Turkey |
| Majlis Ugama Islam Singapura | standard (Shafi'i, Maliki, Hanbali) | Brunei, Singapore |
| Gulf Region | standard (Shafi'i, Maliki, Hanbali) | Bahrain, Oman |
| Muslim World League, with the angle-based rule for high latitudes | standard (Shafi'i, Maliki, Hanbali) | United Kingdom |
| Kementerian Agama, Indonesia | standard (Shafi'i, Maliki, Hanbali) | Indonesia |
| Institute of Geophysics, University of Tehran | standard (Shafi'i, Maliki, Hanbali) | Iran |
| Algeria | standard (Shafi'i, Maliki, Hanbali) | Algeria |
| Morocco | standard (Shafi'i, Maliki, Hanbali) | Morocco |
| Dubai | standard (Shafi'i, Maliki, Hanbali) | United Arab Emirates |
| Jordan | standard (Shafi'i, Maliki, Hanbali) | Jordan |
| Spiritual Administration of Muslims of Russia | standard (Shafi'i, Maliki, Hanbali) | Russia |
| JAKIM, Malaysia | standard (Shafi'i, Maliki, Hanbali) | Malaysia |
| Tunisia | standard (Shafi'i, Maliki, Hanbali) | Tunisia |
| Qatar | standard (Shafi'i, Maliki, Hanbali) | Qatar |
| Union des Organisations Islamiques de France | standard (Shafi'i, Maliki, Hanbali) | France |
| Kuwait | standard (Shafi'i, Maliki, Hanbali) | Kuwait |
| Comunidade Islâmica de Lisboa | standard (Shafi'i, Maliki, Hanbali) | Portugal |
Asr: standard and Hanafi
The standard (Shafi'i, Maliki, Hanbali) Asr begins when an object's shadow equals its length plus its shadow at noon. The Hanafi Asr begins when the shadow is twice the object's length, so it is later, often by 45 minutes to over an hour. Pakistan, India, Bangladesh and other countries where the Hanafi school is followed use the Hanafi time by default.
Hijri dates and Islamic events
Hijri dates are calculated (the Umm al-Qura calendar used in Saudi Arabia). Ramadan, Eid and other events can begin a day later where a community follows a local moon sighting, so each page says "expected" and asks you to follow your community's announcement.
Masjid data
The masjid directory starts from OpenStreetMap (© OpenStreetMap contributors, ODbL). Masjids added through our form are listed after we review them, and masjids that publish their own iqamah times through Masjid Connect show those times live. City names and coordinates come from GeoNames (CC BY 4.0).
Your masjid's timetable comes first
Calculated times can differ from a masjid's printed timetable by a few minutes, because masjids add safety margins or follow a local committee. For congregation, follow your masjid. If a time here looks wrong, email info@yzinfotech.com with the city and date and we will check it.