How Are Islamic Prayer Times Calculated?

Quick answer

Islamic prayer times are calculated from the sun’s position at dawn, noon, afternoon, sunset, and dusk, so they shift daily and vary by location.

Islamic prayer times are calculated from the position of the sun, not from a fixed schedule, which is why they shift every day and differ by location. Five of the times — Dhuhr, Asr, Maghrib — follow directly from the sun crossing the sky and setting. The two that need a convention are Fajr and Isha, defined by how far the sun sits below the horizon at dawn and dusk, and different scholarly authorities use slightly different angles. This guide explains, respectfully, how each time is worked out and why two reputable apps can show times a few minutes apart. Because these are matters of worship, treat this as general background and follow the method your local mosque or a trusted scholar uses. The CalcRange Prayer Times Calculator computes them for your location.

The Sun Sets the Schedule

Every prayer time is tied to an event in the sun’s daily path across the sky at your exact location. As the Earth turns and orbits, those events happen at different clock times each day and at different times in different places, which is why a printed annual timetable has a different set of times for every date.

Because the calculation depends on the sun’s position, it needs your latitude and longitude and the date. From those, astronomy gives the moment of sunrise, solar noon, sunset, and the points when the sun reaches particular angles below the horizon. The prayer times follow from those moments.

How Each Prayer Time Is Fixed

  • Fajr begins at dawn, when the first light appears while the sun is still below the horizon. It ends at sunrise.
  • Dhuhr begins just after the sun passes its highest point, solar noon, when it starts to decline from the meridian.
  • Asr begins in the afternoon when an object’s shadow reaches a defined length, covered in its own section below.
  • Maghrib begins at sunset, when the sun’s disc has fully dropped below the horizon.
  • Isha begins at nightfall, when the twilight has faded and the sky is fully dark.

Three of these — Dhuhr, Maghrib, and sunrise as the end of Fajr — come straight from clear astronomical events that scholars broadly agree on. The differences between methods concentrate on Fajr, Isha, and Asr.

Fajr and Isha: The Twilight Angles

Dawn and nightfall are gradual, so they are defined by how far the sun has dropped below the horizon — its “depression angle.” A larger angle means the sun is further down, so the moment arrives earlier at dawn and later at dusk.

Fajr is set when the sun reaches a chosen angle below the horizon before sunrise, marking true dawn. Isha is set when the sun reaches a chosen angle after sunset, marking full darkness. The exact angles are where reputable authorities differ, and every one of them is a legitimate scholarly position rather than a mistake.

The Main Calculation Methods

Several established authorities publish angle conventions, and organisations and mosques adopt the one appropriate to their region.

MethodFajr angleIshaCommon region
Muslim World League18°17°Europe, Far East, parts of the US
ISNA (North America)15°15°US and Canada
Univ. of Islamic Sciences, Karachi18°18°Pakistan, India, Bangladesh
Egyptian General Authority19.5°17.5°Egypt, parts of Africa and the Middle East
Umm al-Qura, Makkah18°90 min after MaghribSaudi Arabia

Umm al-Qura is the notable outlier: rather than an Isha angle, it uses a fixed 90 minutes after Maghrib. The others differ by a few degrees, which translates into a few minutes on the clock in most locations. Choosing the method your community follows is what keeps your times aligned with your local mosque.

The Asr Difference: Hanafi and Others

Asr is the one daytime prayer with a well-known split, based on shadow length rather than a sun angle.

In the Shafi’i, Maliki, and Hanbali schools, Asr begins when an object’s shadow equals its own length, plus the shadow it already had at noon. In the Hanafi school, Asr begins later, when the shadow reaches twice the object’s length plus the noon shadow. The practical result is that the Hanafi Asr time falls noticeably later in the afternoon than the others, often by a meaningful margin.

This is not a disagreement to be resolved but a difference between established schools of jurisprudence. A calculator or app that offers a Hanafi option is simply letting you match the school you follow, and the right choice is the one your own tradition uses.

Get Times for Your Location

Enter your location into the CalcRange Prayer Times Calculator to compute the daily times, choosing the method your community follows. Our companion guide on calculating zakat covers another pillar, and the time zone converter helps when you are travelling.

Why Apps Disagree

If two trusted apps show Fajr a few minutes apart, it is almost always one of these, not an error.

They may use different calculation methods, so different Fajr and Isha angles. They may apply the Hanafi or the standard Asr rule. They may have slightly different coordinates for your city, or handle high-latitude locations differently, where in summer the sun never drops far enough below the horizon to reach the twilight angle and a fallback rule is needed. Small differences in elevation and how sunset is defined can add a minute or two as well.

None of this makes one app right and another wrong. It reflects genuine, long-standing scholarly variation. For daily worship, the settled advice is to pick the method used by your local mosque or the scholars you trust, set your app to match, and stay consistent.

Frequently Asked Questions

How are Islamic prayer times calculated?

From the sun’s position at your location on a given date. Dhuhr follows solar noon, Maghrib follows sunset, and Fajr and Isha are set by how far the sun sits below the horizon at dawn and dusk. The calculation needs your latitude, longitude, and the date.

Why do prayer times change every day?

Because the sun’s path shifts as the Earth orbits, so sunrise, noon, sunset, and the twilight moments all move slightly day to day and with the seasons. Times also vary by location, which is why timetables are specific to a city and a date rather than universal.

Why do different apps show different prayer times?

Usually because they use different calculation methods, meaning different Fajr and Isha angles, or a different Asr rule. Slightly different city coordinates and high-latitude handling can add a minute or two. These reflect legitimate scholarly differences, not errors. Match your app to your local mosque.

What is the difference between Hanafi and standard Asr time?

In the Hanafi school, Asr begins when an object’s shadow is twice its length plus the noon shadow. In the Shafi’i, Maliki, and Hanbali schools, it begins when the shadow equals the object’s length plus the noon shadow. The Hanafi time is therefore later in the afternoon.

Which calculation method should I use?

The one your local mosque or trusted scholars follow, since that keeps your times aligned with your community. Regional conventions are common: Karachi in South Asia, ISNA in North America, Muslim World League in much of Europe, and Umm al-Qura in Saudi Arabia. When unsure, ask locally.

What are Fajr and Isha angles?

They are how far below the horizon the sun sits when Fajr begins at dawn and Isha begins at nightfall. Common values range from about 15 to 19.5 degrees depending on the authority. A larger angle makes Fajr earlier and Isha later, which is why methods differ by a few minutes.

How are prayer times worked out in far northern or southern places?

At high latitudes the sun may not drop to the required twilight angle in summer, so the twilight-based times cannot be computed directly. Scholars have approved several fallback rules for these cases, and different apps may apply different ones, which is a recognised area of variation. Local religious authorities usually issue guidance.

The Bottom Line

Prayer times come from the sun: Dhuhr from noon, Maghrib from sunset, and Fajr and Isha from the sun’s angle below the horizon at dawn and dusk, with Asr set by shadow length. The small differences you see between reputable sources come from different twilight angles and the Hanafi or standard Asr rule, all of them established scholarly positions. Choose the method your community follows and keep it consistent. Compute your daily times with the prayer times calculator, and for any personal ruling, consult a qualified scholar.

Religious guidance note: This article is general educational background, not a religious ruling. Calculation methods and school-based differences reflect established scholarly positions. For your daily practice, follow the method used by your local mosque or a qualified scholar. Last reviewed: August 2026. Recommended editorial review: every 12 months.

Related: Prayer times at high latitudes: Isha and Fajr rules

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top