deen2u

deen2u — your one-stop center for Islamic resources: the Holy Quran, Hadith, practices, stories of the Prophets, Q&A, and how to practice Islam.

Prayer · Learn

How the Prayer Times Are Determined

The five daily prayers are timed by the sun. Here is how each time is read classically from the sky — and how that same reasoning becomes the angles a modern calculator uses.

إِنَّ الصَّلَاةَ كَانَتْ عَلَى الْمُؤْمِنِينَ كِتَابًا مَّوْقُوتًا

“Indeed, prayer has been decreed upon the believers a timing prescribed.” — Qur'an 4:103

Fajrtrue dawn sunrise Dhuhrzenith passed Asrshadow method Maghribsunset Ishatwilight gone
Nightdawn → midday zenith → afternoon → sunset → night. Each prayer opens at a moment the sky itself announces.

1 — Fajr: the true dawn

Fajr begins at al-fajr al-sadiq (the “true dawn”) — the first horizontal glow that spreads across the horizon — and ends at sunrise. It is distinguished from al-fajr al-kadhib (the “false dawn”), a vertical column of light that appears earlier and then fades. The Qur'an ties the fast and the prayer to this moment: “…until the white thread of dawn becomes distinct to you from the black thread” (2:187).

Astronomically, true dawn is when the sun is a fixed angle below the horizon and its light first reaches the sky. Calculators express this as a depression angle, commonly 18° (or 15°19.5° depending on the method) below the horizon.

2 — Dhuhr: the sun leaves the zenith

Dhuhr begins just after the sun passes its highest point (the zenith, or zawāl) and starts to decline. The brief moment the sun is exactly overhead is a forbidden time for voluntary prayer; once it has clearly moved past, Dhuhr enters. In modern terms this is solar noon for your longitude plus a small margin, not clock 12:00.

3 — Asr: the shadow method (where the schools differ)

Asr is defined by the length of an object's shadow. Set aside the small shadow an object casts at noon (the “shadow at zawāl”). Then:

This is a genuine, well-known difference of the classical schools; both are valid positions traced to the reports on the Prophet ﷺ. Many calculators offer a “Standard” and a “Hanafi” Asr precisely for this reason.

4 — Maghrib: sunset

Maghrib begins at sunset — when the sun's disc has fully disappeared below the horizon — and this is also when the fasting person breaks the fast. It is the simplest of the five to observe directly. (A small correction for atmospheric refraction and the observer's elevation is applied in precise calculation.)

5 — Isha: the twilight disappears

Isha begins when the lingering red glow of dusk (al-shafaq) fades from the western sky and full night sets in. As with dawn, this maps to a solar depression angle — commonly 17° or 18° below the horizon, depending on the method.


From the sky to the calculator

Every classical sign above corresponds to a measurable position of the sun, so a calculator reproduces the same rulings with geometry — using your latitude, longitude, date, and a chosen calculation method (which simply fixes the Fajr/Isha angles and the Asr shadow ratio):

PrayerClassical signModern parameter
FajrTrue dawn spreads on the horizonSun ~15°–19.5° below horizon
SunriseUpper edge of the sun appearsSun at horizon (with refraction)
DhuhrSun declines past the zenithSolar noon + margin
AsrShadow = 1× (or 2× Hanafi) object lengthShadow-ratio factor 1 or 2
MaghribSun's disc fully setsSun at horizon (with refraction)
IshaRed twilight disappearsSun ~17°–18° below horizon

Common methods (Muslim World League, ISNA, Umm al-Qura, Egyptian Authority) differ only in these angles, which is why the same location can show times a few minutes apart between apps. In far-northern/southern latitudes where twilight may not end before dawn in summer, methods apply an approximation (e.g. “nearest latitude” or “middle of the night”).

In short. The Sharī'ah fixed the prayer times to signs anyone can see in the sky; astronomy just measures those same signs precisely. When methods differ, they differ over an angle or a shadow ratio, not over the principle. Follow your local masjid or a trusted local method, and consult a scholar for edge cases.

See today's prayer times → Qibla finder How to pray