Skip to content

How prayer times are calculated

Every prayer time corresponds to a position of the Sun in the local sky. Astronomy computes it to within a few seconds; what makes timetables differ is the convention chosen: the dawn angle, the length of the night, a few safety minutes. Here are those conventions, with figures.

Prayer times are positions of the Sun

Timetables translate each moment into the height of the Sun’s centre relative to the horizon (in degrees, negative below the horizon), or into shadow length for Asr.

TimeWhat timetables measureSun position
FajrStart of morning twilight, when light appears on the eastern horizon12° to 20° below the horizon, depending on the convention
SunriseThe upper edge of the Sun appears; end of the Fajr period−0.833° (34′ refraction and 16′ semi-diameter)
DhuhrThe Sun crosses the meridian (true solar noon), often with a few minutes’ marginHighest point of the day
AsrAn object’s shadow reaches its length (or twice its length) plus the noon shadowDepends on latitude and season
MaghribSunset, sometimes with a few safety minutes−0.833° (−4° to −4.5° in Shia timetables)
IshaEnd of evening twilight, or a fixed interval after sunset12° to 18° below the horizon, or 90 minutes after sunset
Middle of the night, last thirdThe interval from sunset to the next day’s Fajr, divided in two or three—

The Importance of the prayer times

The five prayers in Islam are called: Fajr, Zuhr, Asr, Maghrib and Isha. The schedule for these five prayers varies from place to another and from day to another. It is obligatory for Muslims to know these hours to perform their prayers at the correct time.

Prayer times for any given location on earth are determined mathematically if the latitude and longitude locations are known. However, the theoretical determination of prayer times is a lengthy process. Much of this trouble can be mitigated by using computer programs.

Definition of prayer times

  • Fajr begins at dawn or the morning dusk and ends just before the sunrise.
  • Zuhr begins in the afternoon when the moving limb of the sun has passed the meridian. For convenience in many prayer times, five minutes is added to midday (zuhr) for the start of Zuhr. Zuhr ends at the start of Asr.
  • According to the Hanafi School, Asr begins when the length of the shadow is equal to two times the length of the object more shade at noon. And according to the Shafii school, Asr begins when the length of the shadow is equal to the length of the object more shade at noon. The Asr ends before sunset.
  • Maghrib begins at sunset and ends at the beginning of Isha.
  • Isha begins after nightfall when the evening twilight disappears.

Dawn and nightfall: 12°, 15° or 18°

Before sunrise the sky brightens while the Sun is still below the horizon. Astronomers call the moment it passes 18° below the horizon “astronomical twilight”, and 12° “nautical twilight”. Conventions use an angle between 12° and 20° for Fajr, and between 12° and 18° for Isha. The diagram shows the Sun’s height in Paris from midnight to noon: in summer the Sun never sinks to 18°.

0° −12° −15° −18° horizon 00:0002:0004:0006:0008:0010:0012:00 solar time (midnight to noon)
Paris, equinox Paris, summer solstice — Dots mark the passage at −18°, −15° and −12°. At the equinox, the Sun passes −18° around 4:08 and −12° around 4:46 (solar time); at the summer solstice it never reaches −18°, and passes −15° around 1:29 and −12° around 2:11.

The gap between two angles depends on latitude and season: in Paris, one degree is worth 7 to 8 minutes in winter and much more in summer. Between 12° and 18°, the difference ranges from three quarters of an hour to more than an hour and a half. The convention therefore weighs a hundred times more than the accuracy of the astronomical calculation.

Paris according to the methods used in France

MethodFajr, Dec 21Fajr, Jun 21Isha, Dec 21Isha, Jun 21
Grand Mosque of Paris07:0103:4918:2623:28
Muslims of France (12°)07:2404:0418:1423:42
15° angle07:0403:2218:3400:24
Muslim World League06:4504:4018:4723:05

Times calculated by the site’s engine for the winter and summer solstices. Prayer times in Paris today

The Asr shadow

L noon shadow + 1 length + 2 lengths
A stick of length L: at noon its shadow is shortest. Asr begins when the shadow reaches the noon shadow plus one length L (most schools) or plus two lengths (Hanafi school).

Asr is defined by the length of a vertical object’s shadow. At noon the shadow is shortest (it is zero only where the Sun passes overhead). For most schools, Asr begins when the shadow equals the object’s length plus that noon shadow; for the Hanafi school, twice the length plus the noon shadow.

The gap between the two definitions ranges from half an hour to more than an hour depending on latitude and season. Pages for South and Central Asia, where Hanafi practice prevails, apply it by default; other countries use the one-length shadow.

Summer nights without twilight

The further north, the less the Sun sinks below the horizon on summer nights. At midnight its height is −(90° − latitude − declination): at the solstice it does not pass 18° below the horizon north of 48.6° (Strasbourg), nor 15° north of 51.6°, nor 12° north of 54.6°. On those nights, 18° dawn does not exist in the astronomical sense. The table counts those nights for a few cities.

City19.5°18°17°15°12°
Strasbourg 48.58° 42 5 (Jun 19 → Jun 23) 0 0 0
Paris 48.85° 46 18 (Jun 12 → Jun 29) 0 0 0
Lille 50.63° 66 50 (May 27 → Jul 15) 36 (Jun 3 → Jul 8) 0 0
Brussels 50.85° 68 52 (May 26 → Jul 16) 39 (Jun 2 → Jul 10) 0 0
London 51.51° 74 60 (May 22 → Jul 20) 48 (May 28 → Jul 14) 0 0
Berlin 52.52° 82 69 (May 18 → Jul 25) 60 (May 22 → Jul 20) 34 0

Number of nights in 2027 when the Sun does not sink below the given angle (evening dates).

Conventions fill those nights with a fallback rule:

  • middle of the night: Fajr cannot be earlier than the middle of the sunset–sunrise interval, nor Isha later;
  • one seventh of the night: Fajr at the earliest one seventh of the night before sunrise, Isha at the latest one seventh after sunset;
  • angle-based fraction: a share of the night equal to the angle divided by 60 (18° gives 30% of the night);
  • Moonsighting Committee seasonal durations: Fajr a number of minutes before sunrise that depends on latitude and day of the year (75 minutes plus a seasonal term), Isha likewise after sunset;
  • the times of the nearest latitude where the angle exists (aqrab al-bilad) or of the nearest day when it exists (aqrab al-ayyam), mostly beyond the polar circle.

These limits apply even when the angle exists: the Fajr used is the later of the two, the Isha the earlier. This is why two timetables that both say “18°” can differ in summer.

The qibla direction

1,000 km2,000 km3,000 km4,000 km5,000 km MadridCasablancaCairoIstanbulDubaiTehranDakarLagosMoscowMontreal Makkah Paris N

The qibla is given by the initial bearing of the great circle linking the location to the Kaaba (21.4225° N, 39.8262° E): the shortest path on the Earth’s surface. On the map centred on Paris, where distances from the centre are true, this path is the straight line to Makkah.

Two landmarks can be checked without instruments: the Sun passing directly over Makkah, on May 28, 2027 at 09:18 UTC and on July 16, 2027 at 09:27 UTC, when the shadow of a vertical object everywhere points away from the qibla; and, every day, the time when the Sun is in line with the qibla, given on each city page.

Open the compass

CityBearingDistance
Paris119.2°4,497 km
Lyon118.6°4,165 km
Marseille116.3°4,002 km
Casablanca93.7°4,833 km
Algiers105.4°3,927 km
Tunis112.7°3,332 km
Dakar73.9°6,078 km
Istanbul151.6°2,402 km
London119°4,795 km
New York City58.5°10,324 km
Riyadh244.2°794 km

Conventions by country

Each country follows a convention published by a religious or astronomical authority or, failing that, a common practice. The method applied by default on the site’s pages is shown below; every city page shows the other methods side by side.

CountryMethodFajr and IshaStatus
France Grand Mosque of Paris seasonal Fajr (18° at the earliest), Isha 90 min after sunset country convention
Belgium Grand Mosque of Paris seasonal Fajr (18° at the earliest), Isha 90 min after sunset method of a neighbouring country (no published national convention)
Morocco Ministry of Habous (Morocco) Fajr 19°, Isha 17° country convention
Algeria Ministry of Religious Affairs (Algeria) Fajr 18°, Isha 17° country convention
Tunisia Ministry of Religious Affairs (Tunisia) Fajr 18°, Isha 18° country convention
Egypt Egyptian General Authority of Survey Fajr 19.5°, Isha 17.5° country convention
Saudi Arabia Umm al-Qura (Makkah) Fajr 18.5°, Isha 90 min after sunset, 90 + 30 min in Ramadan country convention
United Arab Emirates Dubai Awqaf Fajr 18.2°, Isha 18.2° country convention
Kuwait Kuwait Ministry of Awqaf Fajr 18°, Isha 17.5° country convention
Qatar Qatar Ministry of Awqaf Fajr 18°, Isha 90 min after sunset country convention
Jordan Jordan Ministry of Awqaf Fajr 18°, Isha 18° country convention
Türkiye Diyanet (Turkey) Fajr 18°, Isha 17° country convention
Iran Institute of Geophysics, Tehran Fajr 17.7°, Isha 14° country convention
Pakistan University of Islamic Sciences, Karachi Fajr 18°, Isha 18° · Hanafi Asr country convention
India University of Islamic Sciences, Karachi Fajr 18°, Isha 18° · Hanafi Asr method of a neighbouring country (no published national convention)
United Kingdom Moonsighting Committee seasonal Fajr (18° at the earliest), Isha 18° most common practice (no national convention found)
United States Moonsighting Committee seasonal Fajr (18° at the earliest), Isha 18° most common practice (no national convention found)
Canada Moonsighting Committee seasonal Fajr (18° at the earliest), Isha 18° most common practice (no national convention found)
Malaysia JAKIM (Malaysia) Fajr 18°, Isha 18° country convention
Indonesia Kemenag (Indonesia) Fajr 20°, Isha 18° country convention
Senegal Muslim World League Fajr 18°, Isha 17° most common practice (no national convention found)
Spain Muslim World League Fajr 18°, Isha 17° most common practice (no national convention found)

Methods that reproduce an official timetable (Grand Mosque of Paris, Egypt, Umm al-Qura, Diyanet, Algeria, Tunisia) are checked by tests to within one minute, every day of the year.

The Grand Mosque of Paris method

The 2026 timetable published by the Grand Mosque of Paris is reproduced to the minute by the following rule:

  • Fajr: sunrise minus the seasonal durations of the Moonsighting Committee (the 18° angle is never used in Paris, as the seasonal limit is always later);
  • sunrise: astronomical sunrise (−0.833°);
  • Dhuhr: solar noon plus 5 minutes;
  • Asr: one shadow length;
  • Maghrib: sunset plus 3 minutes;
  • Isha: sunset plus 90 minutes.

This method is applied by default to cities in France, Belgium, Switzerland and Luxembourg. It stays defined all year up to 55° latitude (Lille and Brussels included), where the 18° angle is missing in summer, and does not delay Fajr the way the 12° angle does. French city pages also show the 12°, 15° and 18° methods.

How precise the times are

Source of differenceEffect on the time
Astronomical calculation (Meeus)less than 5 seconds
Actual air refraction (temperature, pressure)1 to 3 minutes at sunrise and sunset, more further north
Observer’s height above the horizonabout 2 minutes per 100 m (ignored by authorities, as here)
Size of the cityabout 50 seconds per 10 km east to west
Choice of the dawn or nightfall angleup to more than an hour

Times are rounded for safety: the start of each prayer to the next minute, sunrise to the previous minute, except for methods that reproduce an official timetable, which keep its rounding. Time zones and clock changes come from the system’s time zone database (Morocco has stayed on GMT all year since 20 September 2026).

The 22 calculation methods

MethodFajr and IshaAdded minutes
Grand Mosque of Paris seasonal Fajr (18° at the earliest), Isha 90 min after sunset Dhuhr +5 min, Maghrib +3 min
Muslims of France (12°) Fajr 12°, Isha 12° —
15° angle Fajr 15°, Isha 15° —
Muslim World League Fajr 18°, Isha 17° Dhuhr +1 min
Moonsighting Committee seasonal Fajr (18° at the earliest), Isha 18° Dhuhr +5 min, Maghrib +3 min
ISNA (North America) Fajr 15°, Isha 15° Dhuhr +1 min
Egyptian General Authority of Survey Fajr 19.5°, Isha 17.5° —
University of Islamic Sciences, Karachi Fajr 18°, Isha 18° Dhuhr +1 min
Umm al-Qura (Makkah) Fajr 18.5°, Isha 90 min after sunset, 90 + 30 min in Ramadan —
Dubai Awqaf Fajr 18.2°, Isha 18.2° Sunrise −3 min, Dhuhr +3 min, Asr +3 min, Maghrib +3 min
Kuwait Ministry of Awqaf Fajr 18°, Isha 17.5° —
Qatar Ministry of Awqaf Fajr 18°, Isha 90 min after sunset —
Jordan Ministry of Awqaf Fajr 18°, Isha 18° Maghrib +5 min
Ministry of Habous (Morocco) Fajr 19°, Isha 17° Dhuhr +5 min, Maghrib +1 min ; sunrise and sunset calculated with the city’s altitude
Ministry of Religious Affairs (Algeria) Fajr 18°, Isha 17° Maghrib +3 min
Ministry of Religious Affairs (Tunisia) Fajr 18°, Isha 18° Dhuhr +7 min, Maghrib +2 min
Diyanet (Turkey) Fajr 18°, Isha 17° Sunrise −7 min, Dhuhr +5 min, Asr +4 min, Maghrib +7 min
Institute of Geophysics, Tehran Fajr 17.7°, Isha 14° —
Leva Institute, Qom (Jafari) Fajr 16°, Isha 14° —
MUIS (Singapore) Fajr 20°, Isha 18° Dhuhr +1 min
JAKIM (Malaysia) Fajr 18°, Isha 18° —
Kemenag (Indonesia) Fajr 20°, Isha 18° —

See prayer times in my city