How SacredCal Calculates Dates & Prayer Times

Every date and time on this site is produced by documented, deterministic calculations — no scraping, no guessing. This page explains exactly how, what the known limitations are, and how to report an error.

We are not a religious authority. SacredCal publishes astronomical calculations, not religious rulings. Observance dates — especially Islamic dates that depend on physical moon sighting — are decided by local religious authorities and may differ from our estimates by ±1 day. Always confirm important dates with your local mosque, temple, gurdwara, or synagogue.

Prayer times

Prayer times are computed from solar position (equation of time and solar declination) for each city's coordinates and timezone. Fajr and Isha use the solar depression angles defined by the calculation method shown on every city page — different regions follow different conventions, which is why the method is always displayed rather than hidden:

MethodFajr angleIsha
Muslim World League18°17°
ISNA (North America)15°15°
Egyptian Authority19.5°17.5°
Umm al-Qura (Mecca)18.5°90 min after Maghrib
University of Islamic Sciences, Karachi18°18°
Institute of Geophysics, Tehran17.7°14°
Gulf Region19.5°90 min after Maghrib
Kuwait18°17.5°
Qatar18°90 min after Maghrib
MUIS Singapore20°18°

High-latitude summers: above roughly 48° latitude, true astronomical twilight never fully ends in midsummer, so the standard formulas have no solution for Fajr and Isha. In that case we apply the angle-based rule (the fraction angle/60 of the night, measured from sunrise or sunset) — the same fallback used by most mainstream prayer apps. Pages using the fallback say so directly beneath the date.

Asr follows the standard (Shafi'i) shadow-length convention. Dhuhr is solar noon plus one minute.

Calendar conversions

National holiday data

Country holiday pages are generated from the open-source date-holidays dataset, plus corrections we maintain where that dataset is incomplete. Government gazettes occasionally move holidays after publication; when a listed date is superseded by an official announcement, the official announcement wins — tell us and we'll correct it.

Reference sources

Corrections policy

If a date or prayer time on this site is wrong, we want to know. Use the Feedback button on any page (or the contact details on our About page). Verified errors are corrected in the next deployment and noted in the page's updated date.