How prayer times are calculated
Get precise prayer times for anywhere in the world with a built-in live countdown to the next Salah. Detect your location automatically or search any city, then the tool calculates Fajr, Sunrise, Dhuhr, Asr, Maghrib and Isha from the sun's astronomical position, the same method used by major prayer apps. Pick your calculation method and Asr school, see today's Hijri date, view a full monthly timetable, and watch the countdown tick down to the next prayer. Everything runs locally in your browser, so it works offline and your location never leaves your device.
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.