Guide
Prayer time calculation methods explained: Karachi, ISNA, MWL, Umm al-Qura and Egyptian
Prayer apps disagree, and the reason is almost always the method. Fajr and Isha are calculated from how far the sun sits below the horizon, and each method uses a different angle. Here are the exact values the Salah Gate app uses, so you can compare them with your mosque.
What the Fajr and Isha angles mean
Fajr begins when the sun is a certain number of degrees below the horizon before sunrise. Isha begins at the same kind of angle after sunset. A larger angle means the sun has to be further down, so Fajr starts earlier and Isha starts later.
That single number is why two apps can differ by several minutes on the same day in the same city. Neither is broken; they are following different conventions.
Asr is different: it is not an angle but a shadow length (see below), and Maghrib begins at sunset in every method. The app adds a two-minute safety margin after sunset, which is why its Maghrib can differ by a minute or two from a timetable that does not.
The five methods, with their exact settings
These are the values inside the app's calculation engine, not rounded marketing numbers:
| Method | Fajr angle | Isha angle |
|---|---|---|
| Karachi | 18° | 18° |
| ISNA (North America) | 15° | 15° |
| Muslim World League | 18° | 17° |
| Umm al-Qura | 18.5° | 18° |
| Egyptian | 19.5° | 17.5° |
Karachi and ISNA are the two most common choices in South Asia and North America respectively. The Egyptian and Umm al-Qura settings are widely used in their regions, and the Muslim World League is a common general-purpose option.
A worked example, without the arithmetic
Take a city where the sun sets at 6:40 pm and the Egyptian method is used. A 17.5-degree Isha angle puts Isha at one time; switch to the Muslim World League's 17 degrees and Isha moves a little earlier, because the sun needs to be less far below the horizon.
Now switch only the Asr setting to Hanafi and leave everything else alone. Asr moves later by a noticeable amount, while Fajr, Dhuhr, Maghrib and Isha stay where they were. This is why the Asr setting is separate from the method in most apps, including Salah Gate.
The exact minutes depend on latitude and date, which is why the app recalculates every day instead of storing a fixed table.
Hanafi and Shafi'i Asr
Asr begins when an object's shadow reaches a certain length, measured from the shadow it cast at noon. The two conventions:
- Hanafi: the shadow is twice the object's length, plus the noon shadow.
- Shafi'i, Maliki and Hanbali: the shadow is equal to the object's length, plus the noon shadow.
The Hanafi time is later, often noticeably later, and the difference changes with the season and latitude. If your family and mosque follow Hanafi, choosing the other option will make Asr appear earlier than the adhan you hear.
In Salah Gate this is a single setting next to the method, and changing it updates the lock window as well as the displayed time.
Changing the method later
You can change the method and the Asr convention at any time. The next lock window uses the new settings, and the recorded history is not rewritten.
If you move city or country, update the city in the app so the coordinates and time zone follow. Exact alarms are rescheduled after a time-zone change, which matters if you travel for work or Umrah.
Why two mosques a street apart differ
Method is the first reason, but not the only one:
- Jama'ah delay. The congregation prays after the adhan. A 15-minute delay is common; the lock should follow the congregation, not the call.
- Rounding. Some timetables round to the nearest minute, others truncate.
- Local convention. A city may follow one method by tradition even if another is more common nationally.
The app handles the second point by letting you shift the lock to your mosque's jama'ah time for each prayer.
Rounding and the phone clock
Two more small sources of difference are worth knowing. Timetables may round up or truncate to the minute, so an app and a printed table can disagree by one minute all year.
The phone's own clock matters too: if it is set manually and drifts, every calculated time drifts with it. Automatic network time avoids that.
Which method should you choose?
Choose the method your local mosque uses. That is the answer that matters, because the adhan you hear is the one you will pray behind.
If your mosque follows a timetable you cannot identify, ask which organisation publishes it, or ask the imam. It is a normal question and the answer is usually one of the five above. For anything about obligation or validity, ask a scholar you trust.
The other times the app calculates
Beyond the five prayers, Salah Gate also calculates Sunrise, Duha (twenty minutes after sunrise) and the last third of the night for Tahajjud. An Isha window that runs past midnight stays open until Fajr instead of being dropped, and the Hijri date can be shifted by up to two days to match your local moon sighting.
All of it is calculated on the phone from a built-in city database, with no account and no location tracking.
Places where the sun does not cooperate
At high latitudes in summer, the sun barely sets and the Fajr or Isha angle may never be reached. Timetables there rely on conventions that vary by community, and no single setting is right everywhere.
If you live in such a place, follow the timetable your mosque or local Islamic centre publishes, and treat the app's method as a starting point rather than an authority. Ask a scholar you trust if the local practice is unclear.
Questions people ask
Why do two prayer apps show different Fajr times?
They usually use different Fajr angles. A larger angle means Fajr starts earlier, so ISNA at 15 degrees and the Egyptian method at 19.5 degrees will never agree exactly.
What angles does Salah Gate use for Karachi?
18 degrees for Fajr and 18 degrees for Isha, which is the Karachi convention.
Does Salah Gate support Hanafi Asr?
Yes. You can choose Hanafi Asr, where the shadow is twice the object's length plus the noon shadow, or the Shafi'i, Maliki and Hanbali method at once the length plus the noon shadow.
Can I use my mosque's jama'ah time instead of the adhan time?
Yes. A Mosque Jama'ah delay moves the lock to your congregation time, and it can be set per prayer.
Are prayer times calculated offline?
Yes. Times are calculated on the phone from a built-in city database. The internet is only used when you choose to download recitations or adhan audio.
Try Salah Gate
Salah Gate: Prayer & App Lock locks the apps you choose when a prayer time begins and opens them again once you've prayed. It calculates salah times offline, plays the adhan, shows the Qibla and tracks your streak. Coming soon to Google Play for Android 7.0 and newer.