Reading the Sun
- Altitude and depression
- Altitude measures the angle from the observer’s horizontal line of sight to the Sun’s centre. It is positive above the horizon and negative below it. Depression is the size of the angle below the horizon.
- Sunrise and sunset
- The upper edge of the Sun appears at the horizon when its centre is about 0.83° below it. That standard angle allows for the Sun’s apparent radius and typical atmospheric refraction. Terrain and local weather can shift the visible event.
- Solar transit and legal noon
- The Sun crosses the local meridian at solar transit, which supplies the main Ẓuhr entry. The faḍīlah calculation takes legal noon as the midpoint between sunrise and sunset. These times usually fall close together.
U.S. Naval Observatory · rise, set and transit
- Before sunrise 16° depression
- Sunrise Eastern horizon
- Solar transit Peak altitude
- Sunset Western horizon
The five prayers
- Fajr
- True dawn is the light spreading across the eastern horizon. The timetable estimates its onset from the Sun’s morning depression angle. The morning prayer period ends at sunrise.
- Ẓuhr
- The main timetable uses solar transit as the midday marker. The selected convention determines how the afternoon is shown.
- ʿAṣr
- Standard and Ḥanafī methods use afternoon shadow length. The Shia presets show the faḍīlah window within the shared afternoon period.
- Maghrib
- Sunni presets use calculated sunset or add one minute, as shown in the table below. The Shia presets use a depression angle to estimate when the eastern redness passes overhead.
- ʿIshāʾ
- Most presets use an evening depression angle to estimate when twilight fades. Umm al-Qura adds a fixed interval to Maghrib. In the shared Shia evening period, ʿIshāʾ may be offered after Maghrib.
Calculation presets
A preset supplies twilight thresholds and default conventions. The angles are measured below the horizon. Islamic midnight is halfway between sunset and the next morning event listed here.
| Preset | Tradition | Fajr | Maghrib | ʿIshāʾ | Midnight uses |
|---|---|---|---|---|---|
| Jaʿfarī (Leva Institute) Default | Shia | 16° | 4° | Preferred window | Next Fajr |
| University of Tehran | Shia | 17.7° | 4.5° | Preferred window | Next Fajr |
| Egyptian General Authority | Sunni | 19.5° | Sunset + 1 min | 17.5° | Next sunrise |
| Fiqh Council of North America (Canada) | Sunni | 13° | Sunset | 13° | Next sunrise |
| Islamic Religious Council of Singapore (MUIS) | Sunni | 20° | Sunset + 1 min | 18° | Next sunrise |
| Islamic Society of North America (ISNA) | Sunni | 15° | Sunset + 1 min | 15° | Next sunrise |
| Kuwait (Adhan) | Sunni | 18° | Sunset | 17.5° | Next sunrise |
| Muslim World League | Sunni | 18° | Sunset + 1 min | 17° | Next sunrise |
| Musulmans de France | Sunni | 12° | Sunset + 1 min | 12° | Next sunrise |
| Qatar (Adhan) | Sunni | 18° | Sunset | 90 min after Maghrib | Next sunrise |
| Spiritual Administration of Muslims of Russia | Sunni | 16° | Sunset + 1 min | 15° | Next sunrise |
| Umm al-Qura (Makkah) | Sunni | 18.5° | Sunset + 1 min |
90 min after Maghrib 120 min in Ramaḍān |
Next sunrise |
| University of Islamic Sciences (Karachi) | Sunni | 18° | Sunset + 1 min | 18° | Next sunrise |
ʿAṣr and shadow length
As the Sun descends, the shadow of an upright object lengthens. To measure the growth, subtract the length the shadow already had at noon. The library converts each target shadow length to a solar altitude and computes when the Sun reaches it.
- Noon
- 0.4 m
- Standard
- 1.4 m
- Ḥanafī
- 2.4 m
Noon shadowGrowth after noon
- Standard · one object height
- The usual Mālikī, Shāfiʿī and Ḥanbalī threshold, also held by Abū Yūsuf and Muḥammad al-Shaybānī.
- Ḥanafī · two object heights
- The threshold attributed to Abū Ḥanīfa in al-Hidāyah.
- Jaʿfarī · after Ẓuhr
- The shadow fractions below define faḍīlah for ʿAṣr.
Faḍīlah
For the Shia methods, the timetable shows faḍīlah, the preferred time within a prayer’s valid period. The Ẓuhr and ʿAṣr windows follow Sayyid Sistani’s rulings for ordinary conditions. Each fraction measures shadow growth beyond its legal-noon length, as a share of the object’s height.
| Prayer | Preferred window | Aim to pray by |
|---|---|---|
| Ẓuhr | Legal noon to 4/7 | 2/7 |
| ʿAṣr | 2/7 to 6/7 | 4/7 |
The library checks the afternoon Sun’s geometric altitude to find each shadow threshold. It needs local sunrise and sunset to estimate the window. Sistani gives separate guidance for intense heat.
Legal noon · ruling 953 Ẓuhr and ʿAṣr · rulings 966–967
Dawn
Fajr’s preferred time opens at true dawn and ends when dawn light reaches the whole horizon, apparently before redness appears in the east. Sunrise closes the valid prayer period.
The shaded estimate ends at civil dawn, when the Sun reaches 6° below the horizon. This is a rough proxy for the whole horizon brightening. Changing the Fajr angle moves only the opening. A locally measured angle in Settings can replace the closing estimate.
Fajr · ruling 965 U.S. Naval Observatory · civil twilight
Evening twilight
For a non-traveller, western redness disappearing marks the end of Maghrib’s preferred time and the start of ʿIshāʾ’s. The latter ends one-third of the way from sunset to the next dawn. For travellers, Maghrib’s preferred time extends through the first quarter of the night.
The ≈ marks an estimate. The default uses latitude and season, up to 55° north or south. Across four held-out sites, its mean absolute error was 8 minutes, compared with 14 minutes for a fixed 14° crossing, weighting each site equally. The fixed angle was closer in Tucson and near Ankara.
Experimental estimates
In Settings, the blend moves 37% from the seasonal time toward the 14° crossing. It uses the seasonal time when the crossing is absent. Solar descent uses the Sun’s drop in the first half-hour after sunset.
For Shia presets, the ʿIshāʾ entry shows this preferred window when available. An explicit custom ʿIshāʾ angle shows its calculated time alongside the estimate.
Maghrib · ruling 968 ʿIshāʾ · ruling 969 Adhan · red-twilight formula US field logs Ankara field tables
High latitudes
When a required event is missing at high latitude, the site can substitute an estimate. At polar latitudes the library can use sunrise and sunset from a reference latitude. Twilight estimates count back from sunrise for Fajr or forward from sunset for Maghrib and ʿIshāʾ. The angle-based rule uses the twilight angle divided by 60 as the fraction of the night. Kuwait and Qatar use a half-night rule. Fixed-interval ʿIshāʾ follows the adjusted Maghrib.
The timetable flags affected dates and uses a dash for unavailable times. Faḍīlah windows require the underlying local solar events, so a preferred range may be absent even when estimated prayer times are available.
PrayTimes · higher-latitude methods Islamic Times · calculation source
Dates and the local clock
Location and daylight saving
The selected coordinates determine the Sun’s path and the IANA time zone. The timetable uses the date, clock and UTC offset at that location, including daylight saving where applicable. A next-day marker means the event falls after civil midnight.
Islamic midnight
The library takes the elapsed midpoint from sunset to the following Fajr or sunrise, as specified by the preset or midnight setting. With a sunset at 18:00 and Fajr at 05:00, it falls at 23:30 if the clock offset stays constant. On a clock-change night the midpoint is calculated on the UTC timeline and then converted back to local time.
Status on Prayer Times
With the Shia preset defaults, the live display highlights both prayers during the shared afternoon and evening periods. The timeline uses a deeper shade where the afternoon faḍīlah windows overlap. The display shows “Between prayers” during breaks in the timetable.
Hijri dates
The displayed Hijri date is calculated and may differ from local crescent observance.