What does this tool calculate?
It calculates the five daily prayers and sunrise for any date you choose, based on the sun's position for your city. If the date is today, it also shows the time left to the next prayer. You also get the Qibla direction in degrees and a 7-day table starting from the chosen date. Everything runs on your device; your location and choices are never sent to a server.
How to use it
- Pick your city from the list, or tap "Use my location" to calculate from your device's coordinates after you allow it.
- The calculation method switches automatically by city (Umm al-Qura for Saudi cities), and you can change it yourself.
- Change the date if you need another day, such as the first day of Ramadan or a travel day.
- The times appear straight away, with the next prayer, the week's table and the Qibla direction.
How prayer times are calculated
Each prayer is tied to the sun's position in the sky:
- Fajr: when the sun is a set angle below the horizon before sunrise. In the Umm al-Qura calendar the angle is 18.5°.
- Sunrise: when the top of the sun appears above the horizon.
- Dhuhr: just after the sun passes its highest point in the sky.
- Asr: when an object's shadow equals its length plus its noon shadow, or twice its length in the Hanafi school.
- Maghrib: when the sun has fully set.
- Isha: when the twilight disappears. Umm al-Qura sets it 90 minutes after Maghrib, and 120 minutes in Ramadan.
Different bodies use different angles, which is why Fajr and Isha can differ by 10 minutes or more from one calendar to another, while Dhuhr and Maghrib are almost the same in every method. The angles in the tool are: Umm al-Qura, Fajr 18.5° and Isha 90 minutes after Maghrib; Muslim World League, 18° and 17°; Egyptian Survey Authority, 19.5° and 17.5°; University of Karachi, 18° and 18°; North America, 15° and 15°. For Gulf and other cities, the tool picks an international method close to the local calendar, but each country has its own official calendar, so times may differ by a few minutes.
Worked example: Jeddah, Sunday 8 November 2026
With Umm al-Qura, the tool gives Fajr 5:12 AM, Sunrise 6:30 AM, Dhuhr 12:07 PM, Asr 3:20 PM, Maghrib 5:44 PM and Isha 7:14 PM. These match the official calendar, except for Asr, which the official calendar puts at 3:21 PM, a one-minute difference from rounding. In our test across 6 Saudi cities and 5 different dates in the year, 162 of 180 times matched the official calendar to the minute (90%), and the rest were just one minute off. Note that Isha comes exactly 90 minutes after Maghrib (5:44 + 1:30 = 7:14).
On the same day, Maghrib in Riyadh is at 5:09 PM, 35 minutes before Jeddah. About 30 of those minutes are because Riyadh is about 7.5° of longitude east of Jeddah, at 4 minutes per degree, and the rest because Riyadh is further north, where winter days are shorter.
How to use the Qibla direction
The number is the angle from north, measured clockwise. In Riyadh, for example, the Qibla is at about 243.8°, which is south-west, and the Kaaba is about 790 km away. Open your phone's compass app and turn until it reads 244°: that's the Qibla direction. Keep the phone away from metal and magnets, which disturb the compass.
Frequently asked questions
Why does this differ from my mosque by a minute or two?
Official calendars sometimes round times up, and some mosques add a few minutes as a precaution. Your position within the city also shifts the time: the two ends of a large city can differ by a minute or two.
Which method does Saudi Arabia use?
The Umm al-Qura calendar: Fajr at 18.5° below the horizon, and Isha 90 minutes after Maghrib, or 120 minutes in Ramadan. It's the default for every Saudi city in the tool.
Does the tool account for Ramadan?
Yes. If the chosen date falls in Ramadan on the Umm al-Qura calendar and the method is Umm al-Qura, Isha moves to 120 minutes after Maghrib.
My city isn't on the list. What can I do?
Tap "Use my location" and allow location sharing, and the times are calculated from your coordinates. Or pick the nearest city: times usually shift by about one minute for every 25 km east or west.
Is my location saved or shared?
No. Your coordinates are used only in your browser at the moment of the calculation. The tool saves only the last city you picked from the list on your device, so it appears on your next visit.
Read also: Why is your Hijri age higher than your Gregorian age?