Prayer time calculator
Estimate Fajr, sunrise, Dhuhr, Asr, Maghrib and Isha from a date, coordinates and UTC offset. Choose the convention and Asr shadow factor used by your community.
How the prayer times are calculated
The calculator estimates the Sun’s declination and equation of time from the Julian date. Solar noon is then 12 + UTC offset − longitude ÷ 15 − equation of time. Sunrise and sunset use a 0.833° horizon correction plus a small elevation correction.
Fajr and Isha use the twilight angles selected above. Asr uses the time at which an object’s shadow equals its noon shadow plus one object height, or plus two heights for the Hanafi option. Maghrib is shown at calculated sunset. Solar midnight is the midpoint from sunset to the next sunrise.
Calculation conventions included
| Convention | Fajr | Isha |
|---|---|---|
| Muslim World League | 18° | 17° |
| ISNA | 15° | 15° |
| Egyptian Authority | 19.5° | 17.5° |
| University of Karachi | 18° | 18° |
| Umm al-Qura | 18.5° | 90 minutes after Maghrib |
| Singapore | 20° | 18° |
Checked examples
| Date and place | Settings | Expected local sequence |
|---|---|---|
| New York, June 21, 2026 | 40.7128, −74.0060, UTC−4, MWL | Fajr < sunrise < Dhuhr < Asr < Maghrib < Isha |
| London, March 20, 2026 | 51.5074, −0.1278, UTC+0, MWL | Solar noon close to 12:00 |
| Makkah, January 15, 2026 | 21.4225, 39.8262, UTC+3, Umm al-Qura | Isha exactly 90 minutes after Maghrib |
| Jakarta, September 23, 2026 | −6.2088, 106.8456, UTC+7, Singapore | Sunrise before Dhuhr; sunset after Asr |
| Sydney, December 21, 2026 | −33.8688, 151.2093, UTC+11, MWL | Southern-hemisphere summer handled |
| New York, June 21, 2026 | Asr factor 2 | Hanafi Asr later than factor-1 Asr |
Frequently asked questions
Why do two prayer calendars disagree?
They may use different Fajr or Isha angles, Asr shadow factors, minute adjustments, elevation assumptions or high-latitude conventions. A small coordinate or time-zone difference can also shift the displayed time.
Does the UTC offset include daylight-saving time?
Yes. Enter the legal offset that applies on the selected date. The calculator does not look up time-zone rules or location names.
What is the Qibla bearing?
It is the initial great-circle bearing from the entered coordinates toward the Kaaba, measured clockwise from true north. A magnetic compass may need local declination correction.
What happens at high latitudes?
If the Sun does not reach a selected twilight angle, the chosen night-portion rule limits Fajr and Isha. If sunrise or sunset itself cannot be calculated, a transparent nearest-latitude convention at 48.5° is used for the solar estimate.
Method references: PrayTimes calculation documentation and the NOAA Solar Calculator.
Related tools: Time Zone Calculator, Date Calculator, Time Calculator and Julian Date Calculator.