Prayer Times Calculator (Fajr, Dhuhr, Asr, Maghrib, Isha)
Enter the date, your coordinates and UTC offset, and choose the calculation method.
Your numbers
Your results
Prayer Times Calculator (Fajr, Dhuhr, Asr, Maghrib, Isha) by TheCalcTools
How the Prayer Times Calculator (Fajr, Dhuhr, Asr, Maghrib, Isha) works
Prayer times follow the Sun. Fajr begins when the Sun is a set angle below the horizon before sunrise (for example 18°), Dhuhr just after solar noon, Asr when an object’s shadow equals its length (or twice its length in the Hanafi school) plus its noon shadow, Maghrib at sunset and Isha at a set angle after sunset.
Methods differ in these angles, so mosque timetables vary by a few minutes. Many mosques add a few minutes of caution (ihtiyat) to Dhuhr and Maghrib. At high latitudes in summer the Sun may never reach the Fajr or Isha angle; special rules then apply. Follow your local mosque’s timetable.
The formula
Worked example
Using the default values shown in the calculator:
| Date | 2026-10-17 |
|---|---|
| Latitude (north positive) | 33.6844 |
| Longitude (east positive) | 73.0479 |
| UTC offset (hours) | 5 |
| Calculation method | Karachi, University of Islamic Sciences (Fajr 18°, Isha 18°) |
| Asr method | Hanafi (shadow = 2 × object) |
- Islamabad on 17 October 2026 (Karachi method, Hanafi Asr): Fajr 4:51 AM, Dhuhr 11:53 AM, Asr 3:53 PM.
- Maghrib 5:33 PM, Isha 6:56 PM.
Result:
| Fajr | 4:51 AM |
|---|---|
| Sunrise | 6:14 AM |
| Dhuhr (solar noon) | 11:53 AM |
| Asr | 3:53 PM |
| Maghrib (sunset) | 5:33 PM |
| Isha | 6:56 PM |
| Fasting length (Fajr to Maghrib) | 12 h 42 min |
Frequently asked questions
Which method should I use in Pakistan?
Most timetables in Pakistan use the University of Islamic Sciences, Karachi method (18° and 18°) with Hanafi Asr.
Why does my mosque differ by a few minutes?
Different methods, local caution margins, elevation and rounding. Always follow your local mosque or authority for prayer and fasting.
Sources and further reading
- Hamid Zarrabi-Zadeh: PrayTimes.org, calculation methods
- NOAA Global Monitoring Laboratory: Solar calculation details
- Wikipedia: Salah times
Related calculators
More in Islamic & Faith · All calculators
This calculator gives estimates for information only. Check important results independently before you rely on them. See our disclaimer.
