Home › Unit Converters › Prayer Time Calculator
Prayer Time Calculator
Use this free prayer time calculator to find Fajr, Sunrise, Dhuhr, Asr, Maghrib, and Isha times for any place and date. Pick a city preset or enter your own latitude, longitude, and time zone, choose a calculation method and an Asr school, and the calculator works out all six times from the position of the sun.
Check the UTC offset for your date: remember daylight saving time where it applies. A dash means the sun does not reach that angle on this date at this latitude — follow your local mosque's timetable.
How it works
Every prayer time in this calculator comes from the position of the sun, worked out for your latitude, longitude, and date. The calculation has three steps. First, it finds the sun's declination, which is how far north or south of the equator the sun sits on that date and the equation of time, which corrects for the fact that the sun does not run exactly on clock time. Second, it finds solar noon, the moment the sun is highest, from your longitude and time zone. Third, it finds the time when the sun reaches the angle each prayer needs.
Dhuhr is the simplest: it is solar noon, when the sun crosses your meridian. Sunrise and Maghrib happen when the sun's centre is 0.833 degrees below the horizon, which accounts for the sun's apparent size and the bending of light in the atmosphere. Fajr and Isha are set by twilight angles: the sun a certain number of degrees below the horizon before sunrise and after sunset. The Muslim World League uses 18 degrees for Fajr and 17 for Isha, ISNA uses 15 degrees for both, Egypt uses 19.5 and 17.5, and Karachi uses 18 for both.
Asr is different: it is not set by a sun angle but by the length of a shadow. It begins when the shadow of a vertical object grows to a set length beyond the shadow it casts at noon. The Shafi, Maliki, and Hanbali schools use a factor of 1, so Asr starts when the shadow equals the object's height plus its noon shadow. The Hanafi school uses a factor of 2, so Asr starts later, when the shadow is twice the object's height.
Your time zone matters as much as your location. The calculator works in local clock time by applying the UTC offset you enter, so check the offset for the date you picked, not just for today — London is UTC+0 in winter and UTC+1 in summer, for example. You can also set half-hour offsets for places that use them.
Fajr / Isha = solar noon ∓ hour angle of the twilight angle
Asr = when shadow length = factor × object height + noon shadow
Calculation methods compared
| Method | Fajr angle | Isha angle | Used widely in |
|---|---|---|---|
| Muslim World League | 18° | 17° | Europe and the Far East |
| ISNA | 15° | 15° | North America |
| Egypt | 19.5° | 17.5° | Egypt and parts of Africa and the Levant |
| Umm al-Qura | 18.5° | 90 min after Maghrib | Saudi Arabia |
| Karachi | 18° | 18° | Pakistan and Bangladesh |
Worked example
Take Dubai on Monday, 15 June 2026, using the Muslim World League method with Shafi Asr. Dubai sits at latitude 25.2048° north, longitude 55.2708° east, with a UTC offset of +4 hours.
Step 1: Work out the sun's position. In mid-June the sun's declination is about +23.3 degrees, near its northernmost point, and the equation of time is close to zero.
Step 2: Find solar noon. Dubai is about 3 hours 41 minutes east of the Greenwich meridian, so solar noon falls at about 12:19.
Step 3: Fajr is when the sun is 18 degrees below the horizon before sunrise — 03:59. Sunrise follows at 05:37.
Step 4: Asr, with the Shafi factor of 1, falls at 15:42. Maghrib, at sunset, is 19:02, and Isha, at 17 degrees below the horizon, is 20:34.
The full day is: Fajr 03:59, Sunrise 05:37, Dhuhr 12:19, Asr 15:42, Maghrib 19:02, Isha 20:34. Enter Dubai, 15 June 2026, and the Muslim World League method in the calculator and it gives exactly these times. Switch the method to Karachi and Isha moves a few minutes later, to about 20:40, because the 18-degree Isha angle is deeper than 17 degrees.
High latitudes and the midnight sun
Near the poles, the standard angles sometimes never happen. In London in June, the sun dips only about 15 degrees below the horizon at its lowest, so an 18-degree Fajr and a 17-degree Isha simply do not occur — the sky stays in twilight all night. Scholars have proposed several solutions, including using the times from the nearest day on which the angles do occur, or a fixed interval such as 90 minutes after sunset for Isha. There is no single answer everyone follows, so this calculator shows a dash for any prayer whose angle is not reached and leaves the choice to your local mosque.
Accuracy note: These times come from solar position math and are usually accurate to within a minute or two. They are for planning and reference only — for fasting and congregational prayer, confirm with your local mosque.
FAQ
Why do prayer times differ between calculation methods?
Methods differ mainly in the sun angles used for Fajr and Isha. The Muslim World League uses 18 degrees for Fajr and 17 for Isha, ISNA uses 15 degrees for both, and Egypt uses 19.5 and 17.5 degrees. A larger angle means Fajr is earlier and Isha is later, so times can differ by 15 to 30 minutes between methods.
What is the difference between Shafi and Hanafi Asr?
Both schools start Asr when an object's shadow reaches a certain length beyond its noon shadow. The Shafi, Maliki, and Hanbali schools use a factor of 1, meaning the shadow equals the object's height. The Hanafi school uses a factor of 2, meaning the shadow is twice the object's height, so Hanafi Asr is later, often by about an hour in summer.
Why does Fajr or Isha show a dash in summer at high latitudes?
In places like London in June, the sun never dips 18 degrees below the horizon at night, so true astronomical twilight never arrives and there is no moment when Fajr or Isha begins by that angle. Scholars offer several ways to handle this, such as using the nearest day when the angle is reached or a fixed interval after sunset. This calculator shows a dash and you should follow your local mosque's timetable.
Do I need to adjust for daylight saving time?
Yes. This calculator uses the UTC offset you enter, so if your area observes daylight saving time, enter the offset in force on the date you picked. For example, London is UTC+0 in winter and UTC+1 in summer, and New York is UTC-5 in winter and UTC-4 in summer. The city presets set the standard offset, so adjust it when daylight saving applies.
How accurate are these prayer times?
The times are computed from standard solar position math and are usually accurate to within a minute or two for the method and location you enter. They are for planning and reference. For fasting and congregational prayer, always confirm with your local mosque, which may add a few minutes of precautionary time.