Connect via MCP →

Enter Calculation

Formula

Show calculation steps (1)
  1. Asr time (juristic shadow factor)

    Asr time (juristic shadow factor): Islamic Prayer Times Weekly Calculator

    Asr hour angle uses shadow factor k = 1 (Standard: Shafi/Maliki/Hanbali) or k = 2 (Hanafi); delta is solar declination, phi is Latitude.

Advertisement

Results

Qibla Direction
136.7
degrees clockwise from true north toward Makkah
Date Hijri Fajr Sunrise Dhuhr Asr Maghrib Isha Midnight
2026-06-15 29 Dhul Hijjah 1447 02:30 04:43 13:07 17:31 21:31 23:01 00:00
2026-06-16 30 Dhul Hijjah 1447 02:30 04:43 13:07 17:32 21:31 23:01 00:01
2026-06-17 1 Muharram 1448 02:30 04:43 13:07 17:32 21:32 23:02 00:01
2026-06-18 2 Muharram 1448 02:30 04:43 13:07 17:32 21:32 23:02 00:01
2026-06-19 3 Muharram 1448 02:30 04:43 13:08 17:33 21:33 23:03 00:01
2026-06-20 4 Muharram 1448 02:30 04:43 13:08 17:33 21:33 23:03 00:02
2026-06-21 5 Muharram 1448 02:31 04:43 13:08 17:33 21:33 23:03 00:02

Times shown are local clock time (HH:MM), with Daylight Saving Time applied (+1 h). Computed for 7 day(s).

What this calculator does

This tool builds a multi-day schedule of the five daily Islamic prayer times - Fajr, Dhuhr, Asr, Maghrib and Isha - together with Sunrise and Islamic midnight, for any location on Earth. It also reports the Qibla direction, the compass bearing toward the Kaaba in Makkah. The mathematics follow the widely used praytimes.org astronomical algorithm, so the tool is universal: it is not tied to any single country, only to the calculation-method convention you select.

Daily timeline showing the five Islamic prayer times plus sunrise and Islamic midnight from dawn through night
The five daily prayers and key solar moments across a single day.

How to use it

Enter the Gregorian start date, then choose how many consecutive days to tabulate (1 week, 2 weeks or 1 month). Provide your location as decimal-degree longitude (east positive, west negative) and latitude (north positive, south negative), your UTC offset in hours, and altitude in metres. Turn Daylight Saving Time on or off, pick a calculation method (each sets the Fajr and Isha twilight angles) and an Asr juristic method (Standard or Hanafi). The result is a calendar table with each prayer time as local clock time HH:MM.

The formula explained

For each day the Julian date gives the Sun's declination and the equation of time. Dhuhr is solar noon adjusted for your meridian and time zone. Every other event is found by solving for the hour angle at which the Sun sits a chosen number of degrees above or below the horizon. Sunrise and Maghrib use a horizon angle that includes refraction and an altitude-dependent dip. Asr uses a shadow-length factor of 1 (Standard) or 2 (Hanafi). At high latitudes, when the Sun never reaches the required twilight depression, an Angle-Based correction places Fajr and Isha at a proportional fraction of the night.

$$\begin{gathered} T_{\text{prayer}} = 12 + \frac{\text{Lng}}{15} + \text{UTC} + \text{DST} - \frac{Eq}{60} \pm \frac{H(\alpha)}{15} \\[1.5em] \text{where}\quad \left\{ \begin{aligned} H(\alpha) &= \arccos\!\left(\frac{-\sin\alpha - \sin\phi\,\sin\delta}{\cos\phi\,\cos\delta}\right) \\ \phi &= \text{Lat} \\ \alpha_{\text{Fajr}} &= 18^{\circ},\quad \alpha_{\text{Isha}} = 17^{\circ} \\ \text{Asr} &: \operatorname{arccot}\!\left(k + \tan|\phi-\delta|\right) \end{aligned} \right. \end{gathered}$$
Celestial sphere diagram showing sun altitude angle alpha below horizon, observer latitude phi and solar declination delta
The geometry behind the prayer-time formula: sun depression angle \(\alpha\), latitude \(\phi\) and declination \(\delta\).

Worked example

For Berlin (latitude 52.5167, longitude 13.4, UTC+1, DST on) on 15 June 2024 with the Muslim World League method, Dhuhr lands near 13:06, Asr near 17:31 and Maghrib near 21:30; because the high summer Sun never sinks to -18 degrees, Fajr and Isha are clamped by the Angle-Based night rule. The Qibla from Berlin is about 136.7 degrees from true north.

FAQ

Why are Fajr and Isha unusual in summer at high latitudes? The Sun does not reach the twilight angle, so the Angle-Based method estimates them as a fraction of the night.

Do I add DST myself? No - leave your UTC offset as the standard zone value and switch DST on; the tool adds one hour.

How accurate is it? The low-precision solar formulas are good to roughly one minute, which is fine for prayer schedules.

Last updated: