How prayer times are calculated
The five daily prayers are tied to the position of the sun, not the clock. Fajr begins at true dawn, when the sky first lightens; Dhuhr starts just after the sun passes its highest point; Asr begins when an object's shadow reaches a set length; Maghrib starts at sunset; and Isha begins at nightfall, when the evening twilight disappears. This calculator works out each moment from your latitude, longitude and the date using the sun's declination and equation of time — the same astronomical model used by established prayer-time authorities. Because it runs entirely in your browser, the times are instant, work offline, and never depend on a server that could be rate-limited or go down.
Choosing the right calculation method
The main difference between methods is the twilight angle used for Fajr and Isha — how far the sun sits below the horizon at dawn and nightfall. The Muslim World League uses 18° and 17°, ISNA uses 15° and 15° (common in North America), the University of Islamic Sciences Karachi uses 18° and 18° (South Asia), and Umm al-Qura in Makkah fixes Isha at 90 minutes after Maghrib (Gulf region). None is 'more correct' universally — you should follow the method your local masjid or community uses. This tool offers 14 methods and suggests a regional default when you pick a city, so your times line up with those around you.
Asr: Standard vs Hanafi
Asr time depends on shadow length, and the two mainstream opinions differ. In the Standard opinion (followed in the Shāfiʿī, Mālikī and Ḥanbalī schools), Asr begins when an object's shadow equals its own length plus its noon shadow. In the Hanafi opinion, Asr begins later, when the shadow reaches twice the object's length. The difference can be an hour or more in summer. Use the Asr toggle to match your school — the Hanafi setting shifts Asr (and nothing else) to the later time.
Prayers at high latitudes
In cities far from the equator, the summer sun may never dip far enough below the horizon for true twilight, so Fajr and Isha angles can't be measured normally — and in deep winter the night is very short. For these situations scholars apply approximation rules: dividing the night into portions, using the middle of the night, or an angle-based fraction. If you live in northern Europe, Canada or similar latitudes, choose a high-latitude rule that your community follows so Fajr and Isha fall at reasonable, consistent times year-round.
A private, offline prayer companion
Unlike many prayer-time websites, this tool calculates everything locally. When you use GPS detection, your coordinates stay in the browser and are never uploaded; when you pick a city, the coordinates come from a bundled list, so no geocoding request is made. Your chosen city and settings are saved only on your own device. The result is a fast, ad-free, signup-free prayer companion — with a live countdown so you always know how long until the next Salah — that keeps working even without an internet connection.
- 01
- Live next-prayer countdown widget with a ticking timer and progress ring showing time remaining until the next Salah
- 02
- Auto-detect your location by GPS, or search 100+ major cities worldwide (offline, no geocoding server)
- 03
- 14 calculation methods — Muslim World League, ISNA, Umm al-Qura (Makkah), Egyptian, Karachi, Tehran, Jafari, Gulf, Singapore, Diyanet (Turkey), UOIF (France) and more
- 04
- Asr juristic toggle: Standard (Shāfiʿī/Mālikī/Ḥanbalī) or Hanafi (later Asr)
- 05
- High-latitude adjustment (middle of night, angle-based, one-seventh) for extreme summer/winter twilight
- 06
- Today's Hijri (Umm al-Qura) date alongside the Gregorian date
- 07
- Full monthly prayer timetable for the selected city, plus a date picker for any day
- 08
- 12-hour or 24-hour clock, one-tap copy, and settings saved privately on your device


