Technical
The London Unified Prayer Timetable is calculated using standard astronomical formulas (see below) for the base times, and UK observational data for Fajr and Isha.
The calculations performed on this website have been matched to an Excel spreadsheet based on the same formulas, then compared to ensure accuracy and transparency.
Times for sunrise, noon, ‘Asr and sunset
Calculations are based on algorithms and equations from Astronomical Algorithms by Jean Meeus (second edition 1998). The equations are listed below.
Coordinates for calculations
The centre of London has traditionally been considered as Charing Cross. This is still the point from which distances to London are measured.
This is not only 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 ‘Isha
The times for Fajr and ‘Isha are based on the UK observations of Hizbul Ulama; they determined the times between Fajr and sunrise, and between sunset and ‘Isha.
Accuracy and geographic coverage
The timetable was calculated initially using Microsoft Excel, then using JavaScript in this website. Times are rounded to the nearest minute.
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 within the M25 around London. The difference in calculated times between the centre and the farthest points east and west is about 100 seconds. To allow for these differences, also for elevations above sea level and for 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 valid times 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.
Formulas used in calculations
There follows the sequence of calculations used. These have been reproduced first using Excel, which then has been used as a basis for JavaScript calculations made on this website. The times in Excel and JavaScript when rounded to the nearest minute match exactly.
The Sun’s mean longitude in degrees (in range 0° to 360°):
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:
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. 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:
Sun’s equation of centre:
Sun's true longitude ⊙ and true anomaly v in degrees:
Sun’s radius vector, or the distance between the centres of the Sun and the Earth, expressed in astronomical units:
Sun’s apparent longitude in degrees:
Mean obliquity of the ecliptic in degrees:
Corrected obliquity of the ecliptic in degrees:
Sun’s right ascension α and declination δ in degrees:
The equation of time in degrees:
where . Multiply E by 4 to convert from degrees to minutes of time.
The hour angle at sunrise in degrees:
where φ is the latitude. The value −0.833333° comprises 16′ for the semidiameter of the Sun and 34′ for atmospheric refraction.
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).
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:
Time, in hours, of sunrise Sr and sunset Ss respectively: