How prayer times are calculated — methods, Hanafi Asr & settings
Two apps can disagree by twenty minutes on the same morning, and both can be working exactly as designed. The difference sits in two settings almost nobody names. This page names them.
Short answer: Every prayer-time calculator makes two choices: the sun angles for Fajr and Isha, and the shadow rule for Asr. This page sets out the named methods, Karachi, Muslim World League, Umm al-Qura and the rest, with the angles each one uses, and the narration both Asr rules rest on.
ImanAtlas does not give fatwas. For your own situation, ask a qualified scholar you trust.
Open two prayer apps on the same phone and they may well disagree. Fajr can sit ten minutes apart, Isha twenty, and Asr, same street, same day, can land the better part of an hour apart. Nothing is broken. The apps are answering the same question with different settings, and the settings have names, histories and sources.
One boundary, stated once. It does not tell you which setting to pray by — that call belongs to your local mosque’s convention and, where you need a ruling, to a scholar. The line printed at the top of this page says the same, and it applies to everything below.
The two choices every calculator makes
Every prayer time on a screen is computed from settings, not observed. Software takes a city’s coordinates and a date, works out where the sun will be at each minute of the day, and reads the prayer times off the sun’s positions. Some of those positions need no convention at all. Dhuhr begins when the sun passes its highest point and starts to decline. Maghrib begins at sunset. Sunrise closes Fajr. Give two calculators the same coordinates and they will agree on those to the minute, whichever flag they fly.
Fajr and Isha are different, because they hang on twilight, the light left in the sky before the sun rises and after it sets, and twilight fades rather than ending. So every method fixes the moment with an angle: Fajr begins when the sun sits a set number of degrees below the horizon in the morning, and Isha begins when it has sunk by a set number in the evening. A bigger angle moves Fajr earlier and Isha later. A smaller one squeezes both toward the day. One degree sounds like nothing much; on the clock it is worth minutes, and in a northern summer, where twilight can stretch for hours, it can be worth far more.
A few methods drop the Isha angle altogether and fix Isha at a set interval after Maghrib instead — Umm al-Qura’s ninety minutes is the famous case, and the registry in the next section shows both styles side by side. Asr is the second choice, and angles have nothing to do with it. It turns on a shadow, and the schools read the shadow’s sign in two ways. That story gets a section of its own below, because both readings stand inside a single narration.
The named methods — the full registry
Here is the full registry this site’s live times draw on: the method registry of the Aladhan API, twenty-three named methods and one empty slot, with each authority’s own Fajr and Isha values exactly as the registry prints them. Two columns carry the whole story. Where a method prints a degree, its Isha is an angle, like its Fajr. Where it prints minutes, its Isha is a fixed interval after Maghrib. Anything else a method fixes, a Maghrib angle, a midnight rule, sits in the last column.
| Method | Authority, as the registry names it | Fajr | Isha | Also fixed |
|---|---|---|---|---|
| Karachi | University of Islamic Sciences, Karachi | 18° | 18° | — |
| Muslim World League | Muslim World League | 18° | 17° | — |
| Umm al-Qura | Umm Al-Qura University, Makkah | 18.5° | 90 min after Maghrib | — |
| ISNA | Islamic Society of North America (ISNA) | 15° | 15° | — |
| Egypt | Egyptian General Authority of Survey | 19.5° | 17.5° | — |
| Tehran | Institute of Geophysics, University of Tehran | 17.7° | 14° | Maghrib angle 4.5°; Midnight rule: JAFARI |
| Jafari | Shia Ithna-Ashari, Leva Institute, Qum | 16° | 14° | Maghrib angle 4°; Midnight rule: JAFARI |
| Gulf | Gulf Region | 19.5° | 90 min after Maghrib | — |
| Kuwait | Kuwait | 18° | 17.5° | — |
| Qatar | Qatar | 18° | 90 min after Maghrib | — |
| Singapore (MUIS) | Majlis Ugama Islam Singapura, Singapore | 20° | 18° | — |
| France (UOIF) | Union Organization Islamic de France | 12° | 12° | — |
| Diyanet | Diyanet İşleri Başkanlığı, Turkey (experimental) | 18° | 17° | — |
| Russia | Spiritual Administration of Muslims of Russia | 16° | 15° | — |
| Moonsighting Committee | Moonsighting Committee Worldwide (Moonsighting.com) | — | — | Works from the shafaq (twilight type) — the registry lists ‘general’ |
| Dubai | Dubai (experimental) | 18.2° | 18.2° | — |
| JAKIM | Jabatan Kemajuan Islam Malaysia (JAKIM) | 20° | 18° | — |
| Tunisia | Tunisia | 18° | 18° | — |
| Algeria | Algeria | 18° | 17° | — |
| KEMENAG | Kementerian Agama Republik Indonesia | 20° | 18° | — |
| Morocco | Morocco | 19° | 17° | — |
| Lisbon | Comunidade Islamica de Lisboa | 18° | 77 min after Maghrib | Maghrib: sunset + 3 min |
| Jordan | Ministry of Awqaf, Islamic Affairs and Holy Places, Jordan | 18° | 18° | Maghrib: sunset + 5 min |
| Custom | — (no authority; the registry’s empty slot, id 99) | — | — | Carries no angles of its own — the slot used when values are typed in by hand |
One entry breaks the pattern. The Moonsighting Committee method prints no angles in the registry at all; it works from the type of twilight, the shafaq, which is why its row carries a note instead of numbers. Read the table by region and a pattern shows itself: the methods cluster where their authorities sit, from Karachi’s 18 and 18 across the South Asian world to the 20-degree pair JAKIM and KEMENAG use in Southeast Asia. And one caution belongs on every such table. A method’s name on an app screen is a promise about these values, and most apps keep it. Where an app lets the angles be edited by hand, the name stops meaning much; the angles it is using are what count. The registry’s last row makes the same point from the other side: it is labelled Custom, it names no authority and carries no angles, and it exists purely for values somebody typed in.
Asr — one shadow or two
Asr begins in the afternoon, and its sign is a shadow. PrayTimes’ calculation reference, the open documentation that many prayer-time libraries are built from, sets the two readings out in a single paragraph:
“The majority of Islamic schools of thought (Shafi’i, Maliki, Ja’fari, and Hanbali) state that Asr begins when the length of an object’s shadow equals the object’s own height plus its shadow length at noon. The Hanafi school follows a different interpretation, asserting that Asr begins when the shadow is twice the length of the object plus its shadow length at noon.”
PrayTimes — Calculation Methods reference — praytimes.org/docs/calculation
Both readings trace back to the same two days. In the narration of Ibn ‘Abbas, Jibril led the Prophet ﷺ in prayer at the Ka‘bah on two successive days, the first day at each prayer’s earliest time, the second at its latest, and the Asr of those two days falls exactly where the two schools put it. The first day:
وَصَلَّى بِيَ الْعَصْرَ حِينَ كَانَ ظِلُّهُ مِثْلَهُ
“…he prayed the afternoon prayer with me when the shadow of everything was as long as itself…”
Sunan Abi Dawud 393 — sunnah.com/abudawud:393
The second day:
وَصَلَّى بِيَ الْعَصْرَ حِينَ كَانَ ظِلُّهُ مِثْلَيْهِ
“…he prayed the afternoon prayer with me when his shadow was twice as long as himself…”
Sunan Abi Dawud 393 — sunnah.com/abudawud:393
يَا مُحَمَّدُ هَذَا وَقْتُ الأَنْبِيَاءِ مِنْ قَبْلِكَ وَالْوَقْتُ مَا بَيْنَ هَذَيْنِ الْوَقْتَيْنِ
“Muhammad, this is the time observed by the prophets before you, and the time is anywhere between two times.”
Sunan Abi Dawud 393 — graded Hasan Sahih (Al-Albani), as printed at sunnah.com
This page takes no side between the two readings, and neither does any page on this site. The majority reading, shadow equal to the object, is the convention across much of the world. The Hanafi reading, shadow twice the object, is the convention of India, Pakistan and Bangladesh, and it is the default this site applies on its South Asian pages, named under every table it appears in. What a congregation does with the space between the two times is settled locally, by the mosque and its scholars. This page prints both readings, as the narration does.
See the settings move the times — a live demo
Settings are easier to feel than to read about, so here is the machinery itself, running live. Leave the city on Mumbai and flip only the Asr setting between Hanafi and Standard: Asr alone jumps, and everything else holds still. Then change the method from Karachi to ISNA and watch Fajr and Isha move while Dhuhr and Maghrib stay where they were. That is the whole page in one small experiment — two choices, each moving different prayers.
Which method this site uses
This site calculates every timetable it shows, and it names its choices on the page. For India, Pakistan and Bangladesh the default is the Karachi method with Hanafi Asr, method 1, school 1 in the Aladhan registry, because that is the convention the region’s mosques broadly follow. Pages and widgets for other regions carry their own conventions instead: Umm al-Qura for Makkah, ISNA for North America, Diyanet for Turkey, each named in the widget that uses it.
Under every live table on this site you will find a method line: the method’s name, the readable date, the Hijri date, and a standing caution: Calculated times are an estimate for the named city using the named method. Your local mosque’s times may differ by a few minutes; the mosque’s adhan is the final reference for congregation. That line earns its place. The full working, the windows themselves, the live hub and the regional pages, sits on the Prayer Times hub, and Ramadan runs on this same engine: sehri ends at Fajr, iftar opens at Maghrib, and the Ramadan hub carries the month on it.
Settings in apps — what the words mean
Open the settings of almost any prayer app and the same two choices are waiting, wearing slightly different labels. The method may be called Calculation Method, Convention or just Method, and its list is the registry above. The Asr choice may be labelled Asr Calculation, Juristic Method or Shadow Factor, and its two values are usually Standard and Hanafi. If your Asr looks early next to your mosque’s board, this setting, the shadow rule, is the first place to look.
Two quieter settings explain most of the remaining mismatches. Coordinates first: an app reading your phone’s live location and an app using a typed city name can place you kilometres apart, and minutes follow the kilometres. Adjustments second: many mosques add a small fixed offset so the congregation has time to gather, and many apps let users add offsets of their own. A timetable carrying five quiet minutes will disagree with every clean calculation by exactly five minutes, every day, and look like a mystery until somebody opens the settings. Strip the adjustments out before you compare methods.
At high latitudes a third choice appears. Where summer twilight runs all night, the angle formulas have nothing to attach to, so apps offer an adjustment rule on top of the method — Middle of the Night, One-Seventh of the Night, or the Angle-Based Method. The Prayer Times hub explains the three rules as the sourced options they are. Which one a given community follows is a question for its scholars, and this site rules on none of them.
Calculated times are an estimate for the named city using the named method. Your local mosque’s times may differ by a few minutes; the mosque’s adhan is the final reference for congregation.
ImanAtlas does not give fatwas. For your own situation, ask a qualified scholar you trust.
Frequently asked questions
Which calculation method should I use?
The one your local mosque follows — that is the convention your congregation’s times are built on, and it is the answer this site gives everywhere. The registry above names each region’s usual convention: Karachi across India, Pakistan and Bangladesh, Umm al-Qura in Saudi Arabia, ISNA in the USA and Canada, and so on. Where you need a ruling for your own situation rather than a convention, that is a question for a scholar.
Why is Hanafi Asr later than the Asr in other apps?
Because of the shadow rule. The majority of schools begin Asr when an object’s shadow equals the object, plus its noon shadow; the Hanafi school begins it when the shadow is twice the object, plus the noon shadow. Twice takes longer to reach, so Hanafi Asr falls later — on some days by the better part of an hour. Both readings stand inside the Jibril narration printed on this page (Abu Dawud 393): Asr at the first shadow on the first day, at the second on the next.
Why do Karachi and the Muslim World League give different Isha times?
Their Fajr angles match, both use 18°, but their Isha angles don’t: Karachi keeps 18° for Isha too, while the Muslim World League uses 17°. A deeper angle means the sun has sunk further, so Karachi’s Isha lands later. A single degree still moves the time by minutes, and in a long summer twilight the gap grows wider.
What does Umm al-Qura’s ‘90 min’ mean?
It means Isha is not an angle at all in that method. The registry lists Umm al-Qura’s Fajr as an angle, 18.5°, and its Isha as a fixed interval, ninety minutes after Maghrib, whatever the season. It is the convention of Makkah’s official calendar, and a few other methods in the registry, the Gulf and Qatar, fix Isha the same way.
My mosque’s board disagrees with my app by a few minutes. Which is wrong?
Quite possibly neither. Mosques set congregation times deliberately, often a few minutes after a window opens, and apps carry their own settings — method, Asr rule, coordinates, sometimes a hidden adjustment of a minute or two. Compare the settings first. For praying in congregation, this site’s standing line applies: calculated times are an estimate, and the mosque’s adhan is the final reference.
What is the Asr setting in my app called?
It goes by several names, Asr Calculation, Juristic Method or Shadow Factor, depending on the app, and its two values read Standard and Hanafi. Standard starts Asr when a shadow equals its object; Hanafi starts it when the shadow is twice as long. When the Asr on a phone runs ahead of a mosque board, this setting is where the difference usually sits.
Does ImanAtlas say one school is right and the other wrong?
No — nowhere on this site. The two Asr readings are both presented with the narration they rest on, the region’s convention is printed as the main time and named, and the difference is left exactly where the sources leave it. ImanAtlas does not give fatwas; for your own situation, ask a qualified scholar you trust.

Sources
Every load-bearing claim on this page was checked against its source on 29 November 2026:
- The method registry — every entry, angles and intervals as printed — Aladhan API — official method registry
- The two Asr rules in one paragraph, quoted verbatim — PrayTimes — Calculation Methods reference
- The Jibril narration — both days’ Asr and the closing words; grade as printed — Sunan Abi Dawud 393 — sunnah.com
- The hub this page stands under — Prayer Times — ImanAtlas
- How this site calculates, in its own standing words — Calculation Methods — ImanAtlas
- How we verify — Sources & Method · Accuracy & Correction Policy
Found an error? We correct mistakes within 24 hours, with a note on the page — write to us through the website.