Technical
The London Unified Prayer Timetable is calculated using standard astronomical formulas from Astronomical Algorithms by Jean Meeus (second edition 1998). The equations used are reproduced below.
Coordinates for calculations
Distances to London have traditionally been measured to Charing Cross.
This is a good average point for the mosques in inner London. It also lies exactly between the most eastern and western edges of the M25, which is the boundary of the region covered by this prayer timetable.
Latitude and longitude for Charing Cross: 51.5073°N, 0.12755°W.
Fajr and ‘Ishā
The times for Fajr and ‘Ishā are based on the UK observations of Hizbul Ulama; they determined the times between Fajr and sunrise, and between sunset and ‘Ishā.
Accuracy and geographic coverage
The timetable has been calculated using Microsoft Excel, then checked using JavaScript. The times in Excel and JavaScript when rounded to the nearest minute match exactly.
The National Oceanic & Atmospheric Administration makes the following observation about calculations: “although the sunrise and sunset results are theoretically accurate to within a minute, due to variations in atmospheric composition, temperature, pressure and conditions, observed values may vary from calculations.”
The intention is for these prayer times to be applicable anywhere in the London region contained within the M25. The time difference from chosen centre, Charing Cross, to the farthest points east and west is about 100 seconds. To allow for this, also for elevations above sea level and for variations in atmospheric refraction, the following adjustments are made:
- Sunrise:3 minutes earlier
- ‘Asr:2 minutes later
- Sunset:3 minutes later
An allowance is made as follows to avoid Zawal (when the Sun is at its highest point):
- Zuhr:5 minutes later
These allowances ensure the calculated prayer times can be used throughout the London region. There will therefore be a 3-minute difference between the prayer timetable and, for example, the sunrise and sunset times on the BBC Weather website and app.
Islamic dates
The Umm al-Qura calendar is used for Islamic dates. As conversions for the Umm al-Qura calendar using either ICU Islamic calendar or Microsoft Excel occasionally return an incorrect date, this website uses official Umm al-Qura calendar data from the King Abdulaziz City for Science and Technology (KACST).
Note that for actual Islamic dates, such as the start and end of Ramadān, and the start of Hajj, the sighting of the new crescent moon takes precedence.
Formulas used in calculations
There follows the sequence of calculations used. Unless otherwise stated, references are from Jean Meeus, ‘Astronomical Algorithms’, second English edition published in 1998.
Note: equations that are wider than the screen can be scrolled horizontally.
The Sun’s mean longitude in degrees in range 0° to 360° (Meeus, page 183):
where r is the time measured in Julian millennia. The last three terms can be omitted without affecting desired accuracy.
The Sun’s mean anomaly in degrees (Meeus, page 338):
where T, the time measured in Julian centuries of 36525 ephemeris days from the epoch J2000.0 (2000 January 1.5 TD), is given by
where JD is the Julian Day (Meeus, page 143). Note that the Julian Ephemeris Day is not introduced, as the difference in accuracy is only a fraction of a second.
The eccentricity of the Earth's orbit (Meeus, page 151):
Sun’s equation of centre (Meeus, page 164):
Sun's true longitude ⊙ and true anomaly v in degrees (Meeus, page 164):
Sun’s radius vector, or the distance between the centres of the Sun and the Earth, expressed in astronomical units (Meeus, page 164):
Sun’s apparent longitude in degrees (Meeus, page 164):
Mean obliquity of the ecliptic in degrees (Meeus, page 147):
Corrected obliquity of the ecliptic in degrees (Meeus, page 165):
Sun’s right ascension α and declination δ in degrees (Meeus, page 165):
The equation of time in degrees (Meeus, pages 184–5):
where . Multiply E by 4 to convert from degrees to minutes of time.
Thus, the time, in hours, of solar noon:
where L is the geographic longitude in degrees, measured positively east from Greenwich, negatively to the west (note that if comparing with Jean Meeus, he goes against convention by denoting longitude positively to the west).
The hour angle at sunrise in degrees (Meeus, page 102):
where φ is the latitude. The value -0.833333° comprises 16’ for the semidiameter of the Sun and 34’ for atmospheric refraction.
Thus, the time, in hours, of sunrise Sr and sunset Ss respectively:
Time, in hours, when the length of an object’s shadow equals the length of the object itself plus the length of that object’s shadow at noon:
where the division by 15 converts from degrees to hours.
In Excel, where the calculation is in radians, and the result is required as a fraction of one day, the division is instead by 2π (first multiply by 360/2π to convert to degrees, then divide by 15 to convert to hours, then divide by 24 to convert to a fraction of one day).
Similarly, when the shadow equals twice the length:
(Mohamoud A. Mohamoud, ‘Tracing the Shadow: Mathematical Calculation of Prayer Times Using Spherical Trigonometry’, Middle-East Journal of Scientific Research 25 (8), published in 2017, page 1656)