How We Calculate Prayer Times
Every time on this site is calculated from the position of the sun over each city on each date. Nothing is copied from another website. This page explains the rules we use, where our data comes from and how we check it.
What each time means
- Fajr
- First light: the sun is a set angle below the horizon before sunrise. The angle depends on the method.
- Sunrise
- The top of the sun reaches the horizon. Fajr ends.
- Dhuhr
- Just after the sun passes its highest point.
- Asr
- When a shadow is as long as the object plus its noon shadow (standard), or twice as long (Hanafi).
- Maghrib
- Sunset.
- Isha
- Nightfall: the sun is a set angle below the horizon after sunset, or a fixed time after Maghrib.
Each time is worked out for the city’s coordinates and shown in its own local time, with clock changes. Times are rounded to the nearest minute.
The method in each country
Muslim organisations define Fajr and Isha with different sun angles. Each city page uses the method most mosques in that country follow, and says which one on the page.
| Country | Method | Fajr | Isha | Safety minutes |
|---|---|---|---|---|
| United States | ISNA | 15° | 15° | Dhuhr +1 |
| United Kingdom | Moonsighting Committee | 18° | 18° | Dhuhr +5, Maghrib +3 |
| Canada | ISNA | 15° | 15° | Dhuhr +1 |
| Australia | Muslim World League | 18° | 17° | Dhuhr +1 |
| United Arab Emirates | Dubai | 18.2° | 18.2° | Sunrise −3, Dhuhr +3, Asr +3, Maghrib +3 |
Safety minutes are a few minutes added to some times, as each method is set up in the Adhan library we use; the Dubai method’s 3-minute offsets are part of its published rules. They keep a prayer from being shown too early, or sunrise too late. The Moonsighting Committee method also limits Fajr and Isha by season (see below). For places in other countries, the “any place” search uses that country’s best-known method, or the Muslim World League method.
Asr: standard and Hanafi
Pages show the standard Asr time, used by the Shafi’i, Maliki and Hanbali schools. The Hanafi time is later in the afternoon. Every city page has a button to switch to Hanafi Asr; the choice is kept on your device.
Cities far north
In summer, far from the equator, the sky may never get dark enough for the Fajr and Isha angles. North of 48° (in Canada: Edmonton, Calgary, Winnipeg, Vancouver and Surrey), we use the “seventh of the night” rule: Fajr is never earlier than the last seventh of the night, and Isha never later than the first seventh. Closer to the equator, the limit is the middle of the night.
In the UK, the Moonsighting Committee method has its own rule: Fajr and Isha stay within a number of minutes of sunrise and sunset that changes with the season and the latitude. North of 55° (Glasgow), it starts from a seventh of the night.
Ramadan: suhoor, iftar and imsak
Suhoor ends at Fajr and iftar is at Maghrib (sunset), by the same method as the daily times. Some timetables also print imsak, a precaution before Fajr; ours can show it, 10 minutes before Fajr, and always says which time is shown.
Hijri dates, Ramadan and Eid
Hijri dates follow the Umm al-Qura calendar, Saudi Arabia’s official calendar, as built into modern browsers and our server. Many communities start a month only when the new moon is seen, which can make the real date one day later than the calendar.
So the start of Ramadan, Eid and the other key dates are always shown as two days: the Umm al-Qura day or the day after. When a country announces the date, we update its pages.
Data sources
- City coordinates and time zones: GeoNames (geonames.org), under the CC BY 4.0 licence.
- Clock changes: the IANA time zone database, as built into our server and your browser.
- Sun position and prayer times: the open-source Adhan library, which implements the published methods.
- Qibla direction: the shortest path on the globe from the city to the Kaaba in Makkah. The live compass turns a phone's magnetic heading into true north with the World Magnetic Model 2025 (NOAA and the British Geological Survey).
- Gold and silver prices for the zakat calculator: Gold API (spot prices in US dollars), converted with the European Central Bank's daily rates; the UAE dirham at its fixed rate of 3.6725 to the dollar.
How we check
Times for 16 city and date cases were compared with the AlAdhan calculator, with each method’s safety minutes taken out. Every time matched within 2 minutes (Asr within 3). Last checked: 23 November 2026.
The Ramadan, Eid and calendar dates were checked against published forecasts on 24 November 2026.
Your mosque may print times a few minutes apart from ours: it may use another method or add its own safety minutes, and many timetables show the congregation time (iqamah), which comes after the start time. If a time still looks wrong, report it.