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-10-10
Time zoneAmerica/New_York (EDT, UTC-04:00, daylight saving time)
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-10-10

Sun at solar noon:

JD (0h UT)2461323.5
D9779.1965
g275.9078°
q199.2982°
L197.3893°
e23.43548°
RA13.06877 h
δ-6.82645°
EqT13.067 min
PrayerδaT(a)Solar timeUTCClock time
Fajr-6.7172°-15.000°6.9355 h04:50:5309:46:5405:47
Sunrise-6.7369°-0.833°5.6851 h06:05:5311:01:5507:02
Dhuhr-6.8265°——11:46:5616:42:5712:43
Asr-6.8762°25.539°3.1610 h14:56:3319:52:3515:53
Maghrib-6.9157°-0.833°5.6747 h17:27:2122:23:2318:23
Isha-6.9354°-15.000°6.9230 h18:42:1423:38:1619:38

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.