Skip to content
Get the app

How prayer times are calculated

Updated
In short

Prayer times come from the sun's position over your place on a given day. How each of the five times and sunrise is worked out, in plain words.

Prayer times are worked out from the position of the sun over one place on one day: its rising, its highest point, the length of shadows in the afternoon, its setting, and how far it sits below the horizon before dawn and after dusk. A calculator needs only the place's latitude and longitude, the date and the local time zone, plus a method that fixes the angles for Fajr and Isha.

Each time, one by one

  • Fajr begins when the sun is a set number of degrees below the horizon before sunrise, at first light. The number depends on the calculation method: from 15 to 20 degrees among the methods on this site.

  • Sunrise is the moment the top edge of the sun meets the horizon. The calculation places the sun's centre 50 arcminutes below the horizon, which allows for its size and for the bending of light in the air.

  • Dhuhr follows solar noon, when the sun crosses the local meridian and stands highest. Several methods add one minute or more after that moment.

  • Asr begins when the shadow of an object reaches a set length. In the standard calculation it is the object's own length plus the shadow it had at noon; in the Hanafi calculation it is twice its length plus that noon shadow.

  • Maghrib is sunset, calculated the same way as sunrise. One method on this site, Tehran, waits until the sun is 4.5 degrees below the horizon.

  • Isha begins when the sun reaches a set angle below the horizon after sunset, from 14 to 18 degrees here. Two methods, Umm al-Qura and Qatar, use a fixed 90 minutes after Maghrib instead.

Every time is rounded to the nearest minute.

Why two timetables can differ

Two timetables for the same city can differ for four reasons: a different method (the Fajr and Isha angles), a different Asr calculation, fixed minute adjustments that some methods add, and a different rule for places far from the equator. Some mosques also add a few minutes of their own as a precaution.

Far from the equator

In summer, at high latitudes, the sun may never sink far enough below the horizon to reach the Fajr or Isha angle. This site then uses the middle-of-the-night rule: Fajr is never earlier than half the night before sunrise, and Isha never later than half the night after sunset. Above the polar circles, on days when the sun does not rise or set, the site shows a dash instead of a time and points to the local mosque.

Questions and answers

What does the calculation need from me?

Only your place, as a city or as coordinates. The date and the time zone come with it.

Which method does this site use?

It starts from a default for your country, for example Kemenag in Indonesia, JAKIM in Malaysia, Umm al-Qura in Saudi Arabia and ISNA in North America. You can pick another one on the prayer times page.

Why does my mosque's timetable differ by a few minutes?

Some mosques add a few minutes as a precaution or follow a local authority's table, so their times can differ from a calculated one.

Is the calculation the same as in the Mishkah app?

Yes. The site and the app use the same calculation code.

Related

Coming soonApp StoreComing soonGoogle Play