Astronomy was the subject to which Ptolemy devoted the most time and effort; about half of all the works that survived deal with astronomical matters, and even others such as the
Geography and the
Tetrabiblos have significant references to astronomy.
Mathēmatikē Syntaxis '' in Arabic translation showing astronomical tables. Ptolemy's
Almagest (originally , ) is the only surviving comprehensive ancient treatise on astronomy. Although
Babylonian astronomers had developed arithmetical techniques for calculating and predicting astronomical phenomena, these were not based on any underlying model of the heavens; early Greek astronomers, on the other hand, provided qualitative geometrical models to "save the appearances" of celestial phenomena without the ability to make any predictions. The earliest person who attempted to merge these two approaches was
Hipparchus, who produced
geometric models that not only reflected the arrangement of the planets and stars but could be used to calculate celestial motions. Ptolemy, following Hipparchus, derived each of his geometrical models for the Sun, Moon, and the planets from selected astronomical observations done in the spanning of more than 800 years; however, many astronomers have for centuries suspected that some of his models' parameters were adopted independently of observations. Ptolemy presented his astronomical models alongside convenient tables, which could be used to compute the future or past position of the planets. The
Almagest also contains a
star catalogue, which is a version of a catalogue created by Hipparchus. Its list of forty-eight
constellations is ancestral to the modern system of constellations but, unlike the modern system, they did not cover the whole sky (only what could be seen with the naked eye in the northern hemisphere). For over a thousand years, the
Almagest was the authoritative text on astronomy across Europe, the Middle East, and North Africa. The
Almagest was preserved, like many extant Greek scientific works, in Arabic manuscripts; the modern title is thought to be an Arabic corruption of the Greek name ('The greatest treatise'), as the work was presumably known during
late antiquity. Because of its reputation, it was widely sought and translated twice into Latin
in the 12th century, once in Sicily and again in Spain. Ptolemy's planetary models, like those of the majority of his predecessors, were geocentric and almost universally accepted until the reappearance of
heliocentric models during the
Scientific Revolution.
Modern reassessment Under the scrutiny of modern scholarship, and the cross-checking of observations contained in the
Almagest against figures produced through backwards extrapolation, various patterns of errors have emerged within the work. A prominent miscalculation is Ptolemy's use of measurements that he claimed were taken at noon, but which systematically produce readings now shown to be off by half an hour, as if the observations were taken at 12:30 pm. The overall quality of Ptolemy's observations has been challenged by several modern scientists, but prominently by
Robert R. Newton in his 1977 book
The Crime of Claudius Ptolemy, which asserted that Ptolemy fabricated many of his observations to fit his theories. Newton accused Ptolemy of systematically inventing data or doctoring the data of earlier astronomers, and labelled him "the most successful fraud in the history of science". One striking error noted by Newton was an autumn
equinox said to have been observed by Ptolemy and "measured with the greatest care" at 2pm on 25 September 132, when the equinox should have been observed around 9:55am the day prior. In attempting to disprove Newton, Herbert Lewis also found himself agreeing that "Ptolemy was an outrageous fraud," and that "all those result capable of statistical analysis point beyond question towards fraud and against accidental error". The charges laid by Newton and others have been the subject of wide discussions and received significant push back from other scholars against the findings.
Owen Gingerich, while agreeing that the
Almagest contains "some remarkably fishy numbers", including in the matter of the 30-hour displaced equinox, which he noted aligned perfectly with predictions made by Hipparchus 278 years earlier, rejected the qualification of fraud. Objections were also raised by
Bernard Goldstein, who questioned Newton's findings and suggested that he had misunderstood the secondary literature, while noting that issues with the accuracy of Ptolemy's observations had long been known. Other authors have pointed out that instrument warping or atmospheric refraction may also explain some of Ptolemy's observations at a wrong time. In 2022 the first Greek fragments of Hipparchus' lost star catalog were discovered in a
palimpsest and they debunked accusations made by the French astronomer
Jean Baptiste Joseph Delambre in the early 1800s which were repeated by R. R. Newton. Specifically, it proved Hipparchus was not the sole source of Ptolemy's catalog, as they both had claimed, and proved that Ptolemy did not simply copy Hipparchus' measurements and adjust them to account for precession of the equinoxes, as they had claimed. Scientists analyzing the charts concluded: It also confirms that Ptolemy’s Star Catalogue was not based solely on data from Hipparchus’ Catalogue. ... These observations are consistent with the view that Ptolemy composed his star catalogue by combining various sources, including Hipparchus’ catalogue, his own observations and, possibly, those of other authors.
Handy Tables The
Handy Tables () are a set of astronomical tables, together with canons for their use. To facilitate astronomical calculations, Ptolemy tabulated all the data needed to compute the positions of the Sun, Moon and planets, the rising and setting of the stars, and
eclipses of the Sun and Moon, making it a useful tool for astronomers and astrologers. The tables themselves are known through
Theon of Alexandria's version. Although Ptolemy's
Handy Tables do not survive as such in Arabic or in Latin, they represent the prototype of most Arabic and Latin astronomical tables or
zījes. Additionally, the introduction to the
Handy Tables survived separately from the tables themselves (apparently part of a gathering of some of Ptolemy's shorter writings) under the title
Arrangement and Calculation of the Handy Tables.
Planetary Hypotheses (1568). The
Planetary Hypotheses (, ) is a
cosmological work, probably one of the last written by Ptolemy, in two books dealing with the structure of the universe and the laws that govern
celestial motion. Ptolemy goes beyond the mathematical models of the
Almagest to present a physical realization of the universe as a set of nested spheres, in which he used the
epicycles of his planetary model to compute the dimensions of the universe. He estimated the Sun was at an average distance of (now known to actually be while the radius of the sphere of the fixed stars was the radius of the Earth. The work is also notable for having descriptions on how to build instruments to depict the planets and their movements from a
geocentric perspective, much as an
orrery would have done for a
heliocentric one, presumably for didactic purposes.
Other astronomical works The
Analemma is a short treatise where Ptolemy provides a method for specifying the location of the Sun in three pairs of locally oriented coordinate arcs as a function of the declination of the Sun, the terrestrial latitude, and the hour. The key to the approach is to represent the solid configuration in a plane diagram that Ptolemy calls the
analemma. In another work, the
Phaseis (
Risings of the Fixed Stars), Ptolemy gave a
parapegma, a star
calendar or
almanac, based on the appearances and disappearances of stars over the course of the solar year. The
Planisphaerium (, ) contains 16 propositions dealing with the projection of the celestial circles onto a plane. The text is lost in Greek (except for a fragment) and survives in Arabic and Latin only. Ptolemy also erected an inscription in a temple at
Canopus, around 146–147 AD, known as the
Canobic Inscription. Although the inscription has not survived, someone in the sixth century transcribed it, and manuscript copies preserved it through the Middle Ages. It begins: "To the saviour god, Claudius Ptolemy (dedicates) the first principles and models of astronomy", following by a catalogue of numbers that define a system of celestial mechanics governing the motions of the Sun, Moon, planets, and stars. In 2023, archaeologists were able to read a manuscript which gives instructions for the construction of an astronomical tool called a
meteoroscope ( or ). The text, which comes from an eighth-century manuscript which also contains Ptolemy's
Analemma, was identified on the basis of both its content and linguistic analysis as being by Ptolemy. Ptolemy is also thought to have produced his
Table of Noteworthy Cities as an aid to his
astronomical tables. ==Other writings==