Guide
How prayer times are calculated
Prayer times come from the position of the sun where you are standing. This is how each of the five is worked out, why two apps can show different times, and why the times on your phone may not match the board at your mosque.
The sun, not a clock
The five daily prayers are tied to moments in the sun's passage across the sky, so a prayer time is really an astronomical calculation. Work out where the sun is for a given latitude, longitude and date, and you have the times. Because the sun's path changes through the year and differs from place to place, the times shift a little each day and are specific to your location. There is no single universal timetable.
Where each prayer comes from
- Fajr begins at true dawn, when the sky first starts to lighten. This is defined as the sun reaching a set angle below the horizon before sunrise.
- Sunrise is not a prayer. It marks the end of the time for Fajr, which is why most timetables list six entries even though five are prayers.
- Dhuhr begins just after the sun crosses its highest point for the day, known as solar noon.
- Asr begins when an object's shadow reaches a certain length. There are two long-standing conventions for that length, described below.
- Maghrib begins at sunset.
- Isha begins at nightfall, once the twilight after sunset has faded. Like Fajr, it is defined by a set angle of the sun below the horizon.
Why two apps disagree: the twilight angle
Fajr and Isha depend on how far below the horizon the sun has to be for dawn to break or dusk to end. Different authorities settled on different angles, so the two ends of the day are where methods diverge most. These are conventions adopted by scholarly bodies, not disagreements about the sky itself.
| Method | Fajr | Isha | Where it's used |
|---|---|---|---|
| Muslim World League | 18° | 17° | ImanKeeper's default. |
| ISNA (North America) | 15° | 15° | Common in the US and Canada. |
| Egyptian General Authority | 19.5° | 17.5° | Widely used in Egypt and Africa. |
| Umm al-Qura (Makkah) | 18.5° | 90 min after Maghrib | Isha is a fixed interval, not an angle. |
| University of Karachi | 18° | 18° | Common in South Asia. |
The larger the angle, the earlier Fajr and the later Isha. A few minutes of difference between apps almost always traces back to this choice.
The Asr difference
Asr is set by shadow length, and here there are two positions, each followed by large communities. In the standard position, held by the Shafi, Maliki and Hanbali schools, Asr begins when an object's shadow equals its own length. In the Hanafi position, it begins when the shadow reaches twice the object's length, which falls later in the afternoon. Both are calculated the same way from the sun; they differ only in the shadow ratio. We show the times for whichever you choose and do not take a side.
Near the poles
At high latitudes in summer the sun never dips far enough below the horizon for a true dawn or nightfall, so the angle-based definitions of Fajr and Isha stop returning a real time. Several rules exist to approximate them in that case, such as using the times from the nearest sensible latitude, or dividing the night into parts. Most apps apply one of these automatically so the times remain usable.
Which calculation method does each country use?
Communities follow the calculation authority common in their region. The Muslim World League method, with a Fajr angle of 18 degrees and Isha of 17, is the international default used across Australia and much of Europe and Africa. North America commonly uses ISNA, the United Kingdom and Ireland the Moonsighting Committee, Saudi Arabia Umm al-Qura, Turkey Diyanet, and South Asia the University of Karachi method with the Hanafi position for Asr. ImanKeeper maps each country to its community's method rather than applying one global default, and labels the Asr position it uses. The table below lists the method and default Asr position ImanKeeper applies for each country it covers.
| Country | Calculation method | Asr position |
|---|---|---|
| Afghanistan | University of Karachi | Hanafi |
| Australia | Muslim World League | Shafi |
| Bangladesh | University of Karachi | Hanafi |
| Belgium | Muslim World League | Shafi |
| Brunei | MUIS (Singapore, approx.) | Shafi |
| Canada | ISNA (North America) | Shafi |
| Denmark | Muslim World League | Shafi |
| Egypt | Egyptian General Authority | Shafi |
| Fiji | University of Karachi | Hanafi |
| France | Muslim World League | Shafi |
| Germany | Muslim World League | Shafi |
| Guyana | University of Karachi | Hanafi |
| India | University of Karachi | Hanafi |
| Indonesia | Kemenag (Indonesia) | Shafi |
| Ireland | Moonsighting Committee | Shafi |
| Kenya | Muslim World League | Shafi |
| Kuwait | Kuwait | Shafi |
| Malaysia | JAKIM (approx.) | Shafi |
| Mauritius | University of Karachi | Hanafi |
| Morocco | Morocco (Habous) | Shafi |
| Nepal | University of Karachi | Hanafi |
| Netherlands | Muslim World League | Shafi |
| New Zealand | Muslim World League | Shafi |
| Nigeria | Muslim World League | Shafi |
| Norway | Muslim World League | Shafi |
| Pakistan | University of Karachi | Hanafi |
| Philippines | Muslim World League | Shafi |
| Qatar | Qatar | Shafi |
| Saudi Arabia | Umm al-Qura | Shafi |
| Singapore | MUIS (Singapore) | Shafi |
| South Africa | Muslim World League | Shafi |
| Spain | Muslim World League | Shafi |
| Sri Lanka | Muslim World League | Shafi |
| Sweden | Muslim World League | Shafi |
| Switzerland | Muslim World League | Shafi |
| Trinidad and Tobago | University of Karachi | Hanafi |
| Turkey | Diyanet (Turkey) | Shafi |
| United Arab Emirates | Dubai | Shafi |
| United Kingdom | Moonsighting Committee | Shafi |
| United States | ISNA (North America) | Shafi |
Where a country is not listed, ImanKeeper applies the Muslim World League method as a sensible international default. Method and Asr position are both adjustable in the app.
Why your mosque's board is different
Even using the same method, the times posted at a mosque often differ from a raw calculation. Communities commonly round to the nearest minute or five, set the adhan slightly after the calculated moment, and then hold the iqamah a fixed number of minutes later so the congregation can gather. So the calculation is a close baseline, and the mosque's posted times are the practice your community actually follows. Both are legitimate; they answer different questions.
What ImanKeeper does
ImanKeeper computes times on your device using the Muslim World League method with the standard (Shafi) position for Asr by default, and lets you change both the method and the Asr position. And when you want the exact times your community prays rather than a calculation, it matches your masjid, so the times on your phone line up with the times on the wall.
A note on scope
This guide explains how times are computed and the conventions behind them. It does not give religious rulings. For questions about which method to follow, or whether a particular prayer is valid, ask your local imam.
Common questions
Why do two prayer-time apps show different times for the same city?
Two apps differ mainly because of the twilight angle they use for Fajr and Isha. Fajr begins when the sun reaches a set angle below the horizon before dawn, and Isha when it reaches a set angle after sunset. Authorities adopted different angles: the Muslim World League uses 18 degrees for Fajr and 17 for Isha, ISNA uses 15 and 15, the Egyptian authority 19.5 and 17.5. A larger angle makes Fajr earlier and Isha later, so a few minutes of difference between apps almost always traces to this choice rather than an error.
Why does Hanafi Asr differ from Shafi Asr?
Asr is set by shadow length, and the schools define that length differently. In the position held by the Shafi, Maliki and Hanbali schools, Asr begins when an object's shadow equals its own length. In the Hanafi position it begins when the shadow reaches twice the object's length, so Hanafi Asr falls later in the afternoon, commonly by 40 to 70 minutes depending on latitude and season. Both are computed the same way from the sun and differ only in the shadow ratio.
Which calculation method does each country use?
Communities follow the calculation authority common in their region. The Muslim World League method (Fajr 18 degrees, Isha 17) is the international default used across Australia and much of Europe and Africa. North America commonly uses ISNA, the United Kingdom and Ireland the Moonsighting Committee, Saudi Arabia Umm al-Qura, Turkey Diyanet, and South Asia the University of Karachi method with the Hanafi Asr position. ImanKeeper maps each country to its community's method rather than applying one global default.
Why do my mosque's posted times differ from a calculation?
Even with the same method, a mosque's board often differs from a raw calculation because communities round to the nearest minute or five, call the adhan slightly after the calculated moment, and hold the iqamah a fixed number of minutes later so the congregation can gather. The calculation is a close baseline; the posted times are the practice the community follows. Both are legitimate and answer different questions.
Match your masjid, on your phone
Guard your prayer with times that mirror your own mosque. Download on the App Store.
Download on theApp Store