Islamic Prayer Times Calculator

Calculate accurate Islamic prayer times for any location for free. Uses your geolocation and astronomical algorithms — runs in your browser.

Enter your coordinates or allow location access to see prayer times

How it works

Calculate the five daily Islamic prayer times (Fajr, Dhuhr, Asr, Maghrib, Isha) plus Sunrise for any location and date using precise astronomical algorithms. This tool uses the adhan library, which implements calculations from "Astronomical Algorithms" by Jean Meeus — the same methods used by major Islamic organizations worldwide. On load, it requests your browser geolocation for automatic location detection, with manual coordinate entry as a fallback. Choose from multiple calculation methods including Muslim World League, ISNA, Karachi (University of Islamic Sciences), Umm al-Qura, Egyptian General Authority, and Moonsighting Committee. The current or next prayer is highlighted for quick reference. Everything runs client-side — your location data stays in your browser and is never sent to any external server.

100% client-side — your files never leave your device

Frequently Asked Questions

This Islamic prayer times calculator uses the adhan JavaScript library, which implements high-precision astronomical algorithms based on the methods described in "Astronomical Algorithms" by Jean Meeus — the definitive reference text used by observatories and scientific computing worldwide. The library computes the exact position of the sun (solar declination and equation of time) relative to your geographic coordinates for the selected date, then applies the specific angle parameters defined by your chosen calculation method to determine the times of Fajr (when the sun is a specific number of degrees below the horizon before sunrise), Dhuhr (solar noon), Asr (when an object's shadow reaches a specific multiple of its height), Maghrib (sunset), and Isha (when the sun is a specific number of degrees below the horizon after sunset). This is the same mathematical approach used by official Islamic authorities worldwide — including the Umm al-Qura University, ISNA, and the Muslim World League — to publish their prayer timetables.

This prayer times calculator supports six widely used calculation methods that are recognized by Islamic authorities around the world. The University of Islamic Sciences, Karachi method (the default) uses 18° for Fajr and 18° for Isha, and is widely used in Pakistan, Bangladesh, India, and Afghanistan. The Muslim World League (MWL) method uses 18° for Fajr and 17° for Isha, commonly used in Europe and parts of Asia. The Islamic Society of North America (ISNA) method uses 15° for both Fajr and Isha, standard in the United States and Canada. The Egyptian General Authority of Survey method uses 19.5° for Fajr and 17.5° for Isha, used in Africa and the Middle East. The Umm al-Qura University method uses specific parameters for Saudi Arabia and Gulf states. The Moonsighting Committee uses refined parameters for North America. Each method differs primarily in the Fajr and Isha angles, which directly affect the earliest and latest prayer times of the day.

Yes, the tool uses your geographic coordinates to calculate prayer times, but your location data is processed entirely locally and never leaves your device. When you first open the tool, it requests your browser's geolocation permission to automatically detect your latitude and longitude using your device's GPS or network-based location services. This data is passed directly to the adhan library's calculation engine running in your browser's JavaScript environment — it is never transmitted to any external server, API, database, or cloud service. If you prefer not to share your location through the browser, you can deny the geolocation permission and instead manually enter your latitude and longitude. You can easily find your coordinates by looking them up on Google Maps (right-click any point to see coordinates) or by searching for "[your city] coordinates" on any search engine.

Yes. The prayer times calculator includes a date picker that defaults to today's date but allows you to select any past or future date to see the prayer times for that specific day at your chosen location. This feature is useful in several practical scenarios: planning ahead for Ramadan Sehri and Iftar times, checking prayer schedules before traveling to a new city or time zone, looking up historical prayer times for record-keeping, or determining the earliest and latest prayer times during different seasons of the year (prayer times vary significantly between summer and winter, especially at higher latitudes). The astronomical calculations are valid for any reasonable date range, so you can check prayer times years in advance or look back at past dates without any limitations.

The tool displays six times that cover the complete daily prayer schedule: Fajr (the pre-dawn prayer, beginning when the first light appears on the eastern horizon), Sunrise (the time when the upper edge of the sun appears above the horizon, marking the end of the Fajr prayer window), Dhuhr (the midday prayer, beginning shortly after the sun passes its highest point), Asr (the afternoon prayer, whose start time is calculated when an object's shadow is equal to its own length plus the shadow at solar noon according to the Hanafi school, or equal to its length alone according to other schools), Maghrib (the sunset prayer, beginning immediately after the sun dips below the western horizon), and Isha (the night prayer, beginning when the twilight has fully disappeared). The current or next upcoming prayer is automatically highlighted with a distinct visual indicator so you can see at a glance which prayer is most relevant right now.

The prayer times are displayed in 12-hour format with clear AM/PM labels for easy readability, formatted in your local timezone as detected by your web browser. The astronomical calculations are performed internally using UTC (Coordinated Universal Time) for mathematical precision, and the results are then automatically converted to your browser's timezone for display. This means you do not need to manually set or adjust your timezone — the tool handles it automatically based on your device's system settings. If you are checking prayer times for a location in a different timezone than your own (for example, checking prayer times in Mecca while you are in New York), be aware that the displayed times will be in that location's local timezone based on the coordinates you provide.

This prayer times calculator uses the same astronomical calculation library (adhan) and the same mathematical methods employed by many official Islamic organizations, popular prayer time mobile apps, and Islamic center websites worldwide. The results are highly accurate for the vast majority of locations, typically matching published timetables from mosques and Islamic authorities within 1-2 minutes. However, several local factors can cause minor variations: elevation above sea level (higher altitudes see the sun earlier and later), surrounding terrain such as mountains or tall buildings that may block the horizon, atmospheric conditions like temperature and pressure that affect light refraction, and the specific conventions your local mosque uses for precautionary margins. For the most prayer-critical times — especially Fajr (when fasting begins during Ramadan) and Maghrib (when fasting ends) — it is advisable to cross-reference with your local mosque's published schedule.

Yes. Your geographic coordinates are processed entirely within your web browser by the adhan JavaScript library running on your device. They are never transmitted to any external server, stored in any database, recorded in any log file, or shared with any third party — including the website operator. The adhan library performs all astronomical calculations client-side using only your coordinates and the selected date as inputs. There are no API calls, no cloud computations, and no analytics tracking which locations you look up. There is no account system, no cookies recording your location history, and no way for anyone to determine what prayer times you have checked. This complete privacy-by-architecture approach makes it one of the most private prayer time calculators available online.

Yes. This Islamic prayer times calculator is completely free to use with no restrictions, no subscriptions, no premium tiers, no advertisements, and no account registration required. You can check prayer times for any location, any date, using any of the six supported calculation methods, as many times as you need, without paying anything. The tool runs entirely in your web browser using the open-source adhan JavaScript library — there are no server-side computations, no API call costs, and no cloud infrastructure to maintain, which is why it can be offered free permanently. It is designed as an accessible, trustworthy resource for the global Muslim community.

The prayer time calculations themselves work fully offline once the page has loaded, because all astronomical math is performed locally in your browser by the adhan library with no external API dependencies. However, the initial geolocation detection (the browser asking for your location) typically requires some form of network connectivity for GPS-assisted or network-based location lookup. If you enter your latitude and longitude manually instead of using the auto-detect feature, the entire tool works completely offline after the initial page load. This means you can check prayer times even when you have no internet connection — useful when traveling, during network outages, or in areas with poor connectivity. Bookmark the page for quick offline access.

Related Tools