How it works

How prayer times are calculated

Two things decide the answer on the home page: your five daily prayer times, and the restricted times in which prayer is withheld. This page explains, in plain language, where those times come from, why different authorities publish slightly different Fajr and Isha, and which authority and method applies in your country. Everything is worked out on your own device: no prayer-times service is ever contacted, and your location never leaves your phone.

The one thing authorities differ on: twilight

Sunrise, midday (the sun's highest point), and sunset are simple astronomy. Every authority in the world agrees on them to the minute, and they are what decide the “can I pray now” answer. There is nothing to disagree about.

The two prayers that are defined by a judgement call are Fajr (dawn) and Isha (night), because the sky brightens and darkens gradually - there is no single sharp instant when “dawn” begins or night “fully” falls. Authorities pin it down by measuring how far the sun has sunk below the horizon.

Horizon You Sunset (0°) Isha begins 17–18°
Isha does not start at sunset. The sun keeps sinking out of sight; night has begun once it is about 17–18° below the horizon.

After sunset the sun keeps travelling downward - you simply cannot see it any more. When astronomers say “Isha begins at 17 degrees”, they mean: the moment the centre of the sun is 17 degrees below the horizon, the evening glow is gone and night has begun. For Fajr, “18 degrees” means the sun has climbed back to 18 degrees below the horizon before sunrise, and the first thread of dawn light appears. A bigger angle means a darker sky, which makes Fajr earlier and Isha later.

Horizon You Sunrise (0°) 15° ISNA · latest Fajr 18° Muslim World League 20° MUIS · earliest Fajr
The whole disagreement is this shaded slice of twilight before sunrise: 15° (ISNA) starts Fajr latest, 20° (MUIS) earliest.

So “Fajr 18°, Isha 17°” is one authority's precise definition of dawn and nightfall. Another authority might use 15°, or 20°, because its scholars judged that first-light or full-dark moment slightly differently for their part of the world. It is like two photographers disagreeing on the exact minute “dawn” starts: the sun's angle below the horizon is just the ruler everyone uses to settle it.

Sunrise Midday Sunset Sunrise · Midday · Sunset: identical for every authority Fajr ← earlier Isha later →
Change the method and only Fajr and Isha move. Everything the “can I pray now” answer depends on stays fixed.

Terms, in plain language

TermWhat it means
FajrThe dawn prayer. Begins at the first light of true dawn, before sunrise.
Sunrise (shurūq)The sun clears the horizon. Fajr's time ends here.
Dhuhr / zenith / zawālMidday. The sun reaches its highest point (“solar noon”), then begins to decline; Dhuhr's time starts just after.
AsrThe afternoon prayer. Its start depends on your school: the standard view (Shāfiʿī, Mālikī, Ḥanbalī) begins it when an object's shadow equals its own length; the Ḥanafī view waits until the shadow is twice the length (so Asr is later).
MaghribThe sunset prayer. Begins the moment the sun fully sets.
IshaThe night prayer. Begins when the evening twilight has fully disappeared.
Twilight angleHow far the sun is below the horizon, in degrees, at the moment Fajr begins or Isha begins. The one number authorities set differently.
Calculation methodA named bundle of those angle choices, usually named after the authority that defined it (Muslim World League, Umm al-Qura, ISNA, and so on).
Restricted times (awqāt al-nahy)The short windows - around sunrise, midday, and sunset, plus after Fajr and after Asr - in which prayer is prohibited or disliked. These are what this tool actually rules on. See the methodology.
MadhhabA school of Islamic law (Ḥanafī, Shāfiʿī, Mālikī, Ḥanbalī). It affects the Asr time and some rulings; it does not change sunrise, midday, or sunset.
Iḥtiyāṭ (safety margin)A few minutes some authorities add to a computed time out of caution (e.g. Indonesia's Kemenag). It shifts the printed minute, not the underlying astronomy.

Your local authority is the default

Wherever you are, the app starts from your country's own recognised prayer-time authority, because they know their country best and their times are what your local mosque prays by. This works in one of two ways:

You are never locked in. In Settings → Calculation method you can switch to any other method and watch the times change, and switch back to your authority whenever you like. Nothing is fetched from the internet to do this; the whole calculation runs on your device.

The calculation methods

Angles are how far below the horizon the sun sits when each prayer begins; a few authorities define Isha as a fixed number of minutes after Maghrib instead. Sri Lanka's ACJU and Indonesia's Kemenag are fitted to those authorities' own published tables; the rest are standard published conventions.

MethodFajrIshaWhose convention it is
ACJU20°18°All Ceylon Jamiyyathul Ulama (Sri Lanka) - and served from their extracted timetable
Kemenag20°18°Ministry of Religious Affairs (Indonesia)
Muslim World League18°17°The most widely adopted world convention
ISNA15°15°Islamic Society of North America (USA, Canada)
Egyptian19.5°17.5°Egyptian General Authority of Survey
Umm al-Qura18.5°90 min after MaghribUmm al-Qura University (Saudi Arabia)
Karachi18°18°University of Islamic Sciences, Karachi (Pakistan, India, Bangladesh region)
Tehran17.7°14°Institute of Geophysics, University of Tehran (Iran)
Dubai18.2°18.2°UAE
Kuwait18°17.5°Kuwait (Awqaf)
Qatar18°90 min after MaghribQatar Calendar House
MUIS20°18°Islamic Religious Council of Singapore (also Malaysia, Brunei)
Diyanet18°17°Diyanet (Turkey)
UOIF12°12°Union of Islamic Organisations of France
Russia (SAMR)16°15°Spiritual Administration of Muslims of Russia
Moonsighting Committee18°18°Moonsighting Committee Worldwide (with a seasonal adjustment for high latitudes; UK, Ireland, Nordics)

No method involves an internet call. Each is a small table of angles applied to the sun's position for your coordinates and today's date, entirely on your device. For the exact parameters behind each one - the fixed-interval and Shia conventions, the Asr rule, high latitudes, and a side-by-side difference table - see calculation methods in depth.

Every country: its authority and the method it uses

This is the reference the app's defaults are built from. “Served by” is either the authority's own extracted timetable (their printed numbers), or computed with the authority's own method. A handful of authorities publish tables that deviate slightly from a pure method (a safety margin, an observational tweak); those are the ones we extract over time - see the last section. Sources are the authorities' own pages.

Middle East, Gulf, North Africa

CountryAuthorityMethod usedServed by
Saudi ArabiaUmm al-Qura UniversityUmm al-QuraComputed
UAEAwqaf / IACAD (Dubai)DubaiComputed (table deviates - extract later)
KuwaitMinistry of AwqafKuwaitComputed
QatarQatar Calendar HouseQatarComputed
Bahrain, Oman, YemenNational AwqafUmm al-QuraComputed
EgyptEgyptian General Authority of SurveyEgyptianComputed (this is the definitional Egyptian method)
Jordan, Palestine, Lebanon, Syria, IraqNational Iftaa / AwqafMuslim World LeagueComputed
Libya, Sudan, Mauritania, Tunisia, AlgeriaNational Religious AffairsMuslim World LeagueComputed
MoroccoMinistry of Habous & Islamic AffairsMuslim World LeagueComputed (national table deviates - extract later)

South, Southeast & Central Asia

CountryAuthorityMethod usedServed by
Sri LankaAll Ceylon Jamiyyathul Ulama (ACJU)ACJUExtracted timetable
Pakistan, India, Bangladesh, Afghanistan, Nepal, MyanmarKarachi convention / national bodiesKarachiComputed (Bangladesh table deviates - extract later)
IndonesiaKemenag - Bimas IslamKemenagComputed (adds ~2 min iḥtiyāṭ - extract later)
MalaysiaJAKIM (e-solat)MUISExtracted timetable (60 official zones)
SingaporeMUISMUISComputed
Brunei, ThailandReligious Affairs / CICOTMUISComputed
PhilippinesNCMFKarachiComputed
Iran, AzerbaijanTehran Geophysics / Caucasus Muslim BoardTehranComputed
TurkeyDiyanetDiyanetComputed (official API - extract later)
Uzbekistan, Kazakhstan, Kyrgyzstan, Tajikistan, TurkmenistanNational Muslim BoardsMuslim World LeagueComputed (regional tables - extract later)

Europe, Americas, Africa, Oceania

CountryAuthorityMethod usedServed by
United States, CanadaISNA / Fiqh Council of North AmericaISNAComputed
United Kingdom, IrelandNo single authority; Moonsighting Committee widely followedMoonsighting CommitteeComputed (some mosque tables deviate in summer - extract later)
FranceUnion of Islamic Organisations of France (UOIF)UOIFComputed
Germany, NetherlandsDiyanet-affiliated (DITIB) communitiesDiyanetComputed
RussiaSpiritual Administration of Muslims of RussiaRussia (SAMR)Computed
Bosnia, Kosovo, Albania, N. Macedonia, Serbia, BulgariaNational Islamic Communities (official takvim)Muslim World LeagueComputed (official takvim deviates - extract later)
Nordic countries (Sweden, Norway, Denmark, Finland)National Islamic councils (high-latitude rule)Moonsighting CommitteeComputed (high-latitude tables deviate - extract later)
Sub-Saharan Africa (Nigeria, Senegal, Kenya, Tanzania, ...)National Islamic councils (coordinate moon-sighting)Muslim World LeagueComputed
South AfricaRegional bodies (MJC, Jamiatul Ulama)Muslim World LeagueComputed (regional tables deviate - extract later)
Australia, New Zealand, Brazil, and othersNo single authorityMuslim World LeagueComputed

What we extract vs what we compute

Most national authorities define their official times by a calculation method, so computing with that method is using the local authority - exactly, not approximately. Only a minority publish tables that deviate from a pure method (a safety margin, an observational adjustment, a high-latitude rule). For those, we extract the authority's real numbers into a baked table, one authority at a time, the way Sri Lanka's ACJU is done today. Extraction is an offline, once-a-year step; the app itself never calls a prayer-times service.

Extracted so far: Sri Lanka (ACJU) and Malaysia (JAKIM, 60 official zones). Queued next, in rough order: Indonesia (Kemenag), Turkey (Diyanet), Bangladesh (Islamic Foundation), the Balkan takvim authorities, the UK and Nordic high-latitude timetables, Morocco (Habous), and the Central Asian boards. Until each is extracted, its country is served by computing with that authority's own method, which is already correct for the great majority.

Sources for the tables above are the authorities' own publications; the full evidence, per country, is maintained in the project's research record. Times you see on the app are computed astronomically on your device or read from a baked authority table - never fetched live. See the methodology and data sources.