This page shows how every prayer time on this site is calculated: the inputs, the parameters of each method, the formulas, a worked example for today, the sources, the measured accuracy and the known limits.

Worked example: New York City, NY, today. Every city page shows the same block for its own coordinates and date.

How these times are calculated (method, formulas, worked example, sources)

1. Inputs

PlaceNew York City, NY
Latitude, longitude40.7143, -74.0060
Date2026-11-25
Time zoneAmerica/New_York (EST, UTC-05:00)
Elevationnot used (sea-level horizon)

2. Method parameters

MethodIslamic Society of North America (ISNA)
Fajr angle15.0°
Isha15.0°
AsrStandard (shadow factor 1)
High-latitude rulenot needed on this date
Adjustmentsnone
Roundingto the nearest minute

3. Formulas

  1. D = JD − 2451545.0
  2. g = 357.529 + 0.98560028 D ; q = 280.459 + 0.98564736 D
  3. L = q + 1.915 sin g + 0.020 sin 2g ; e = 23.439 − 0.00000036 D
  4. RA = atan2(cos e · sin L, cos L) / 15 ; δ = asin(sin e · sin L)
  5. EqT = q/15 − RA
  6. Dhuhr (local mean solar time) = 12 − EqT ; clock time = Dhuhr − λ/15 + UTC offset
  7. T(a) = (1/15) · acos[(sin a − sin φ · sin δ) / (cos φ · cos δ)]
  8. Sunrise = Dhuhr − T(−0.833°) ; Maghrib = Dhuhr + T(−0.833°)
  9. Fajr = Dhuhr − T(−Fajr angle) ; Isha = Dhuhr + T(−Isha angle)
  10. Asr = Dhuhr + T(a) with a = arccot(s + tan|φ − δ(noon)|), s = 1 or 2
  11. 0.833° = 0.567° refraction + 0.2667° solar semi-diameter

φ is latitude, λ longitude (east positive), δ the Sun's declination. The Sun's position is evaluated at each event's own time and the calculation is iterated twice. Clock times come from the IANA time-zone rules, so daylight saving time is always applied correctly.

4. Worked example for 2026-11-25

Sun at solar noon:

JD (0h UT)2461369.5
D9825.1966
g321.2455°
q244.6381°
L243.4198°
e23.43546°
RA16.09305 h
δ-20.83517°
EqT12.969 min
PrayerδaT(a)Solar timeUTCClock time
Fajr-20.7856°-15.000°6.1474 h05:38:0610:34:0805:34
Sunrise-20.7964°-0.833°4.8108 h06:58:1911:54:2106:54
Dhuhr-20.8352°——11:47:0216:43:0311:43
Asr-20.8551°19.363°2.4838 h14:16:0519:12:0714:12
Maghrib-20.8736°-0.833°4.8055 h16:35:2521:31:2716:31
Isha-20.8843°-15.000°6.1418 h17:55:3722:51:3917:52

5. Measured accuracy

The engine is tested against an independent implementation (adhan-js 4.4.6) on 377 cases across 15 US cities and 13 dates, including daylight-saving transition days and Fairbanks, Alaska. The largest difference measured is 59.9 seconds.

Exception: in 5 Alaskan winter cases the Sun barely climbs above the Asr altitude, so Asr becomes very sensitive and differed by up to 4.2 minutes. Pages flag such dates.

6. Limits

  • These are astronomical calculations, not a religious ruling. Mosques publish their own iqama times and may use another method or add a few minutes of caution; follow your local mosque.
  • Elevation and local horizon (mountains, buildings) are not taken into account.

7. Method reference

MethodFajrIsha
Islamic Society of North America (ISNA)15.0°15.0°
Muslim World League (MWL)18.0°17.0°
Egyptian General Authority of Survey19.5°17.5°
University of Islamic Sciences, Karachi18.0°18.0°
Umm al-Qura University, Makkah18.5°90 min after Maghrib (120 in Ramadan)

8. Sources

Methodology v1.0, reviewed 2026-10 · engine 1.0. Methodology and changelog

Changelog

  • Methodology v1.0 (2026-10): first published version. Sun position evaluated at each prayer's own time; Asr threshold from the noon declination; measured accuracy published.