Everyday Tools

How Prayer Times Are Calculated: Angles, Methods and the Asr Rule

How Fajr, Dhuhr, Asr, Maghrib and Isha are worked out from the sun, why methods such as Umm al-Qura, MWL and ISNA differ, and the Hanafi Asr rule.

Saizul Amin
Saizul Amin29 Oct 2026 · 3 min read
How Prayer Times Are Calculated: Angles, Methods and the Asr Rule

How Prayer Times Are Calculated: Angles, Methods and the Asr Rule

Every Muslim knows the five prayers by the sun: dawn, midday, afternoon, sunset and night. Turning those signs into clock times needs a little astronomy and a few choices, and the choices explain why two apps can show different Fajr times for the same city. The Prayer Times Calculator With Multiple Calculation Methods lets you see the effect of each choice and print a timetable that matches your community.

The sun's position

For any date, two numbers describe where the sun is: its declination (how far north or south of the equator it stands) and the equation of time (how far solar noon drifts from clock noon over the year). With the latitude and longitude of a place and its time zone, these give the moment the sun crosses the meridian and the moment it reaches any angle below or above the horizon.

Each prayer

  • Dhuhr: just after solar noon, when the sun has passed its highest point.
  • Asr: when an object's shadow equals its length plus its noon shadow (standard), or twice its length plus its noon shadow (Hanafi).
  • Maghrib: at sunset, when the top of the sun's disc disappears, about 0.833° below the horizon allowing for refraction.
  • Isha: when the evening twilight has gone, by a set angle or a set number of minutes after Maghrib.
  • Fajr: at true dawn, when the sun is a set angle below the horizon.

Why methods differ

Dawn and dusk are gradual, so scholars and astronomers set an angle for them. Different bodies chose different angles after their own observations:

MethodFajrIsha
Umm al-Qura, Makkah18.5°90 minutes after Maghrib (120 in Ramadan)
Muslim World League18°17°
Egyptian General Authority of Survey19.5°17.5°
ISNA (North America)15°15°
Karachi18°18°
Tehran17.7°14°, Maghrib at 4.5°
Diyanet, Turkey18°17°
MUIS, Singapore20°18°

A larger Fajr angle means an earlier Fajr. At the latitude of London in autumn, the difference between 15° and 19.5° is over twenty minutes.

The Asr rule

The Shafi'i, Maliki, Hanbali and Jafari schools start Asr when the shadow is once the object's length plus the noon shadow. The Hanafi school waits until it is twice the length. The Hanafi time is usually 40 minutes to over an hour later. South Asian and Turkish communities mostly follow the Hanafi rule; Arab and Malay communities mostly the standard rule.

High latitudes

In northern Europe in summer the sun does not go 18° below the horizon, so there is no true night by that angle and Fajr and Isha cannot be found. Three common fixes are used: give Fajr and Isha a share of the night in proportion to the angle (angle-based), use the middle of the night, or use one-seventh of the night. Mosques in the UK and Scandinavia also publish fixed timetables agreed locally.

A worked example

On 29 October 2026:

  • Makkah, Umm al-Qura: Fajr 05:05, Sunrise 06:22, Dhuhr 12:04, Asr 15:21, Maghrib 17:46, Isha 19:16.
  • London, MWL: Fajr 04:56, Dhuhr 11:44, Asr 14:10, Maghrib 16:39, Isha 18:25.
  • Dhaka, Karachi method with Hanafi Asr: Fajr 04:46, Dhuhr 11:42, Asr 15:45, Maghrib 17:21, Isha 18:38.

The qibla

The calculator also gives the direction of the Ka'bah from your place in degrees from true north, along the shortest path on the globe: about 119° from London (south-east) and about 278° from Dhaka (just north of west).

Matching your mosque

Mosques often add a margin of a few minutes, especially for Fajr and Maghrib, or fix Isha at a set clock time in summer. Add or subtract minutes for any prayer, choose which columns you want, and print the month. The settings stay in your browser.

Limits

These are calculated times, rounded to the minute. Elevation, local horizons and safety margins can move them by a minute or two. Where your mosque or national authority publishes a timetable, follow it.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages