Prayer Times & Quran PlusMuslim Adhan, Qibla, Ramadan
Coming to the App Store

Muslim Adhan, Qibla, Ramadan

History of science

The lunar eclipse of 997: Abu al-Wafa, al-Biruni and longitude

Two astronomers in distant cities timed the same eclipse of the Moon in May 997 to measure how far apart they lay. What they did, what they found, and the arithmetic.

Written
3 December 202623 Jumada al-Akhirah 1448 AH
Sources
7 named and linked

In the last years of the tenth century two astronomers, one in Baghdad and one far to the north east in Khwarizm, agreed to watch the same eclipse of the Moon and note the moment each saw it. They were Abu al-Wafa al-Buzjani, then in his late fifties, and al-Biruni, then 23. The plan, as the historian Behnaz Hashemipour describes it, was to observe the eclipse at the same time and from the difference in their times find the difference in longitude between the two places (Hashemipour, BEA). This guide sets out who they were, what the method was, and what the numbers look like when worked through with a modern eclipse catalogue.

The two observers

Abu al-Wafa. Born on 10 June 940 in Buzjan, he moved to Baghdad at about the age of twenty and stayed there. He observed at an observatory near the Bab al-Tibn and later at the new observatory built by the ruler Sharaf al-Dawla, where he worked with al-Kuhi (Hashemipour, BEA). MacTutor dates his move to 959 and the opening of the palace observatory to June 988 (O’Connor and Robertson, Abu’l-Wafa). He is remembered for trigonometry: Hashemipour credits him with work on the tangent function and a sine table at intervals of a quarter of a degree (BEA).

Al-Biruni. Born in 973 near Kath, in Khwarizm, he later wrote on astronomy, geography, mathematics and much else (Yano, BEA). MacTutor reports that he had already measured the latitude of Kath in 990, at about seventeen (O’Connor and Robertson, al-Biruni).

The method

The Earth turns through 360 degrees of longitude in 24 hours, which is 15 degrees an hour, or 4 minutes of time for each degree. A place further east sees the Sun rise, cross the meridian and set earlier. So if two observers each measure their own local time, the difference between their clocks for one and the same instant is the difference in their longitudes, turned into time.

The hard part is finding an instant both can see. An eclipse of the Moon is ideal: the Moon really does enter the Earth’s shadow at one moment for everyone on the night side of the Earth. Each observer only has to note the local time of the same phase, such as the first touch of the shadow or the middle of the eclipse, and later compare notes.

The eclipse of May 997

NASA’s catalogue by Fred Espenak and Jean Meeus lists a partial eclipse of the Moon on 25 May 997, in the Julian calendar, with greatest eclipse at 00:01:22 Terrestrial Dynamical Time, a partial phase lasting 157.0 minutes and a penumbral phase of 301.0 minutes. It gives an umbral magnitude of 0.551: at the middle, the Earth’s dark shadow covered a little over half the Moon’s diameter (Espenak and Meeus, catalogue number 07210).

Terrestrial Dynamical Time is a uniform scale; to turn it into ordinary clock time the catalogue’s correction for the Earth’s slowing spin, Delta T, here 1,577 seconds, is subtracted. That puts greatest eclipse at 23:35:05 Universal Time, on the evening of 24 May, with the partial phase from 22:16 to 00:53 (calculated). By hand: 1,577 seconds is 26 minutes 17 seconds, and 00:01:22 less 26 minutes 17 seconds is 23:35:05 on the previous day. MacTutor gives the date of al-Biruni’s observation as 24 May 997 (O’Connor and Robertson, al-Biruni); NASA’s 25 May is the same night, counted by a different clock. By the tabular Hijri calendar, 24 May 997 fell in the year 387 (calculated).

Working it through

The drawing below takes the catalogue’s times and moves them to the local mean clock of each city: Baghdad at 44.40 degrees east, the longitude this site uses for its Baghdad page, and Kath at 60.75 degrees east, the figure given for the vanished city in a 2026 preprint by Rizoi Bakhromzod, a paper not yet peer reviewed, which says the city is commonly placed near modern Biruni (Bakhromzod, arXiv).

The lunar eclipse of the night of 24 to 25 May 997 on three clocksThree bars, one for each clock. By Universal Time the Moon was partly in the Earth's shadow from 22:16 to 00:53, greatest at 23:35. By Baghdad's local clock the same phase ran from 01:14 to 03:51, and by the clock at Kath from 02:19 to 04:56. The bars have the same length; only their clock readings differ, by 1h 05m 24s between Baghdad and Kath.One eclipse, three local clocks20:0022:0000:0002:0004:0006:00midnightGreenwich (UT)Universal TimeBaghdad44.40° EKath60.75° E1h 05mpartial phasefaint penumbral phase
Calculated from NASA's catalogue entry for the eclipse (number 07210): greatest eclipse at 00:01:22 Terrestrial Time on 25 May 997, less 1577 seconds for the slowing of the Earth's spin, gives 23:35:05 Universal Time on 24 May; the partial phase lasted 157 minutes. Local clocks are mean solar time, 4 minutes for every degree east of Greenwich. The vertical stroke in each bar is greatest eclipse.

The longitude arithmetic, with modern coordinates calculated

StepValue
Greatest eclipse, Baghdad local clock02:32:41
Greatest eclipse, Kath local clock03:38:05
Difference in clock time1h 05m 24s
As longitude, 15° to the hour16.35°
What "about one hour" gives15°
Short of the modern figure by1.35°, or 05m 24s

Baghdad's longitude is the one this site's Baghdad page uses (44.4009° E, 2h 57m 36s ahead of Greenwich); Kath no longer stands, and the 60.75° E used here is the figure given by Rizoi Bakhromzod in a 2026 preprint. Any error in that position moves the result by 4 minutes of time for each degree. The difference between the two clocks does not depend on the Earth's slowing spin or on the equation of time, because both affect the two cities alike.

By those positions the middle of the eclipse came at about 02:32 by the Baghdad clock and about 03:38 by the Kath clock. The partial phase ran from 01:14 to 03:51 in Baghdad and from 02:19 to 04:56 at Kath. The two clocks differ by 1h 05m 24s, which is 16.35 degrees of longitude (calculated). By hand: 16.35 degrees at 4 minutes a degree is 65.4 minutes, and 0.4 of a minute is 24 seconds, so 1 hour 5 minutes 24 seconds. Both observers saw the eclipse in the small hours after midnight, with Kath’s clock always ahead because Kath lies further east.

Two cautions belong with these numbers. The times are local mean time, a smoothed clock; the observers worked with the Sun and stars directly, so their clocks ran on apparent time. That difference affects both cities alike on the same night and so does not change the gap. And Kath no longer stands, so its longitude is itself an estimate; every degree of error there moves the result by 4 minutes.

What they found

The sources agree on the outline and differ on the detail. Hashemipour writes that the two observations gave a time difference of about one hour, very close to the value computed by modern methods (BEA). Michio Yano, writing on al-Biruni, places the record of the eclipse in al-Biruni’s book on fixing the coordinates of cities, the Tahdid, written in 1018 while he was being taken as a prisoner from Khwarizm to Ghazna. There al-Biruni mentions the eclipse he watched in Khwarizm, arranged so that Abu al-Wafa observed it at the same time in Baghdad (Yano, BEA).

How close is about one hour? An hour is 15 degrees of longitude. The modern estimate above is 16.35 degrees, so the reported result falls short by 1.35 degrees, or 05m 24s of time (calculated). Bakhromzod’s preprint makes the same comparison and reaches the same figures (Bakhromzod, arXiv). Whether that counts as very close depends on the standard. For observers timing a slow, blurred shadow edge with instruments read by eye, an error of five minutes is small; as a longitude it is more than a degree. The preprint also reconstructs how the two men may have timed each phase, but much of that reconstruction is marked by its author as probable rather than recorded, and the paper has not been through peer review.

Where the sources disagree

  • When Abu al-Wafa died. Hashemipour gives 997 or 998, in Baghdad (BEA). A. P. Youschkevitch’s entry in the Dictionary of Scientific Biography gives 997 or July 998 (DSB). MacTutor gives a single date, 15 July 998 (O’Connor and Robertson). Either way, the eclipse came within a year or so of the end of his life.
  • When al-Biruni was born. Yano gives 4 September 973 (BEA); MacTutor gives 15 September 973 (O’Connor and Robertson). Neither explains the other’s date.
  • The name of Abu al-Wafa’s astronomy book. Hashemipour calls his main astronomical work the Kitab al-Majisti (BEA); MacTutor calls it the Kitab al-Kamil (O’Connor and Robertson). Youschkevitch gives both names for one work and suggests it may be the same as the handbook known as al-Zij al-Wadih (DSB).
  • The lunar variation. In the 19th century the French scholar L. A. Sedillot claimed that Abu al-Wafa had found an irregularity in the Moon’s motion later credited to Tycho Brahe. Hashemipour records that the claim was argued over from 1837 to 1872 and that Carra de Vaux, in 1893, sided with Brahe (BEA). Youschkevitch finds no basis for crediting Abu al-Wafa with the discovery (DSB).

Why it matters

Latitude can be read from the sky at one place; longitude, as the method above shows, needs two places to agree on one moment. That is why the observation of May 997 needed two observers to plan ahead, and why al-Biruni still thought it worth recording two decades later in a book devoted to the coordinates of cities (Yano, BEA). Coordinates of this kind were also the starting point for computing the direction of Mecca from a distant city, the problem traced in the guide to how the qibla was found before satellites.

Sources

Each source below is listed with the date it was read. Links in the text go to the page that supports the sentence. Figures marked calculated are worked out by this site's own code each time the site is built, from the rules the sources give.

  1. Behnaz Hashemipour, "Buzjani: Abu al-Wafa Muhammad ibn Muhammad ibn Yahya al-Buzjani", in Thomas Hockey et al. (eds.), The Biographical Encyclopedia of Astronomers (Springer, 2007), pp. 188 to 189. Online at McGill University's Institute of Islamic Studies Read 3 December 2026.
  2. Michio Yano, "Biruni: Abu al-Rayhan Muhammad ibn Ahmad al-Biruni", in Thomas Hockey et al. (eds.), The Biographical Encyclopedia of Astronomers (Springer, 2007), pp. 131 to 133. Online at McGill University's Institute of Islamic Studies Read 3 December 2026.
  3. J. J. O'Connor and E. F. Robertson, "Abu Arrayhan Muhammad ibn Ahmad al-Biruni", MacTutor History of Mathematics, University of St Andrews Read 3 December 2026.
  4. J. J. O'Connor and E. F. Robertson, "Mohammad Abu'l-Wafa Al-Buzjani", MacTutor History of Mathematics, University of St Andrews Read 3 December 2026.
  5. A. P. Youschkevitch, "Abu'l-Wafa al-Buzjani", Complete Dictionary of Scientific Biography (Charles Scribner's Sons, 2008; first published 1970), text hosted by MacTutor, University of St Andrews Read 3 December 2026.
  6. Fred Espenak and Jean Meeus, Five Millennium Catalog of Lunar Eclipses, 0901 to 1000 (NASA Goddard Space Flight Center), eclipse number 07210 Read 3 December 2026.
  7. Rizoi Bakhromzod, "Determination of the longitude difference between Baghdad and Khwarezm using a lunar eclipse", arXiv preprint 2601.15837 (January 2026), not peer reviewed Read 3 December 2026.

This article is history, drawn from the academic and historical record and published by the makers of Prayer Times & Quran Plus. It is not religious guidance, and it does not rule between schools or traditions. Corrections are welcome at support.

Read next