Gnomons, shadow clocks and sundials
How shadows were used to tell time and season, from Egyptian shadow clocks and Greek gnomons to Islamic dials, Jantar Mantar and church meridian lines.

Overview
A gnomon is any object whose shadow is read: a stick, a pillar, an obelisk. The length of its noon shadow tracks the season and the direction of its shadow tracks the time of day. From that idea came Egyptian shadow clocks, Greek and Roman stone dials, Islamic prayer-time dials, giant masonry instruments in India and China, and the meridian lines in European church floors.
Origins and history

Egypt. The earliest sundials in the archaeological record are shadow clocks, dated to about 1500 BCE and linked to Egyptian (and, in some accounts, Babylonian) astronomy. An L-shaped shadow clock of green schist in the Egyptian Museum in Berlin is assigned to the reign of Thutmose III (c. 1479-1425 BCE), and the earliest written mention of a sundial in Egypt also comes from his reign. A limestone flake with fan-shaped lines radiating from a hole, found in the Valley of the Kings in 2013 by a University of Basel team and dated to the Ramesside period, is interpreted as a vertical sundial. See The ancient Egyptian calendar.
Mesopotamia and Greece. The Babylonian compendium MUL.APIN contains tables of gnomon shadow lengths at the solstices and equinoxes, alongside the relative lengths of day and night. Its earliest surviving copy dates to 686 BCE, though most scholars think the text was first compiled around 1000 BCE. Herodotus (Histories 2.109) says the Greeks learned the polos (a hemispherical dial), the gnomon and the twelve parts of the day from the Babylonians. The Suda credits Anaximander of Miletus (c. 610-546 BCE) with introducing the gnomon to Greece and with setting up sundials at Sparta, but modern accounts doubt that he can be credited with the invention, since the Babylonian use came first. See Sumerian and Babylonian calendars.
Hellenistic dials. Vitruvius (De architectura, Book 9, probably written between 30 and 20 BCE) lists dial types with supposed inventors: a semicircular dial hollowed from a block (the hemicyclium) to Berossus the Chaldean; a hemispherical dial (the scaphe) and a flat dial to Aristarchus of Samos; the arachne to Eudoxus or Apollonius; the plinthium to Scopas of Syracuse; a conical dial to Dionysodorus; and others. These attributions rest on a single late report and are treated with caution (see Controversies). Rome. Pliny (Natural History 7.214) says the first public sundial in Rome stood on a column near the Rostra and was brought from Catania in Sicily after Manius Valerius Messalla captured it in the First Punic War (263 BCE). Its lines did not match the hours, yet people relied on it for about 99 years, until Quintus Marcius Philippus set up a more accurate one beside it (164 BCE by the usual dating). In 10 BCE Augustus erected a 30 m Egyptian obelisk, originally raised under Psamtik II at Heliopolis, on the Campus Martius as the gnomon of a great instrument laid out on a marble pavement.
Islamic world. Mosques employed a timekeeper (muwaqqit); a well-known 14th-century example is Shams al-Din al-Khalili at the Umayyad Mosque in Damascus. Al-Khwarizmi, working in 9th-century Baghdad, wrote a treatise on the sundial. Dials carried curves for the midday and afternoon prayers and often a direction to Mecca, with the asr time set by shadow length (unverified). A shadow-based qibla method also exists: when the Sun is directly over the Kaaba, the shadow of a vertical object points toward it. In 1371/72 CE (773 AH) Ibn al-Shatir made a marble dial, about 2 m by 1 m, for the Minaret of the Bride at the Umayyad Mosque, with a gnomon parallel to the Earth's axis so that the hour lines were equal on any day. The original was later replaced by a replica in the 18th century. A small portable dial by him, about 12 cm square, also shows the meridian and the direction of Mecca. See Sacred time, ritual and prayer hours.
China and India. Chinese tradition says the Duke of Zhou set up a gnomon observatory near Dengfeng in the 11th century BCE, and the Tang astronomer Yi Xing had standard gnomons built across China, one at Gaocheng, to compare shadow lengths by latitude. Guo Shoujing's tower at Gaocheng near Dengfeng was built in 1276 CE under Kublai Khan. Guo added a crossbar to the gnomon and used the pinhole-camera principle to cast a sharp image onto the scale. His work supported the Shoushi calendar, finished in 1280 and introduced in 1281, with a year of 365.2425 days (within about 26 seconds of the true value). The Gaocheng observatory is part of the Dengfeng UNESCO listing of 2010. See The Chinese calendar. In India, Maharaja Jai Singh II had five observatories built, at Delhi, Jaipur, Ujjain, Varanasi and Mathura, to produce a more accurate zij (astronomical table). Construction at Jaipur began in 1725 and the foundation stone was laid in 1727; the main instruments were finished around 1734, with work continuing to 1738. The Samrat Yantra at Jaipur, about 27 m (88 ft) high with its gnomon tilted at 26 deg 55 min to match the latitude, is commonly described as the largest stone sundial in the world. Its shadow moves roughly 1 mm per second.
Medieval and early modern Europe. Canonical (mass) dials marking the liturgical hours were in use from the 7th to the 14th centuries. The Anglo-Saxon dial at Kirkdale, Yorkshire, dates to c. 1055-1065 CE; its inscription names King Edward and Earl Tostig. The principle of the polar gnomon appears in Western dials by at least 1446. Meridian lines followed: Paolo Toscanelli cut the hole in Florence cathedral's dome for a line in 1475 CE (restored in 1755), Giovanni Domenico Cassini laid out the 66.8 m line in San Petronio, Bologna in 1655 (an earlier gnomon by Egnazio Danti, built after his appointment in 1576, had been made unusable by later building work, and Cassini designed its replacement in 1653), Francesco Bianchini completed a bronze line about 45 m long in Santa Maria degli Angeli, Rome in 1702 for Pope Clement XI, and Saint-Sulpice, Paris, received a meridian line with an obelisk in the 18th century. See Mechanical clocks and the escapement.
How it works

A vertical gnomon gives two readings. Its shortest shadow of the day marks local noon and the north-south line; the noon shadow is longest at the winter solstice and shortest at the summer solstice, which makes the gnomon a calendar tool (see Solstices and equinoxes and The length of the year and intercalation). Its shadow direction, however, moves at a rate that varies with season, so one fixed scale cannot give equal hours.
Ancient dials solved this by tracing the shadow of the gnomon's tip on a curved or flat surface and dividing each day's arc into 12 seasonal hours, long in summer and short in winter (see Hours, minutes and how the day is divided). The later solution was to tilt the gnomon so its edge points at the celestial pole, at an angle equal to the local latitude. The shadow of the whole edge then turns 15 degrees of hour angle per hour all year, and one set of hour lines serves every day.
A sundial shows local apparent solar time. It differs from clock time by the equation of time, which reaches about +16.5 minutes (Sun ahead) around 3 November and about -14 minutes (Sun behind) around 11 February, plus 4 minutes for each degree of longitude from the zone meridian, plus any daylight saving offset. A church meridian line is a camera obscura: a hole high in the roof throws an image of the Sun onto a line in the floor at noon, and the image reaches the near end of the line at the summer solstice and the far end at the winter solstice.
What it was used for
- Dividing the working and ritual day: Roman public hours, Christian canonical hours and Islamic prayer times.
- Fixing solstices, equinoxes and the length of the tropical year. Bianchini's Rome line was commissioned to check the accuracy of the Gregorian reform and to fix Easter exactly, and the Saint-Sulpice line was used for the equinox and the date of Easter; see Computus and the date of Easter and The Gregorian reform and its adoption.
Today and legacy

Sundials survive as public art and teaching tools. The Jaipur Jantar Mantar was inscribed as a UNESCO World Heritage Site in 2010. NASA's Mars rovers Spirit and Opportunity (landed January 2004 CE) each carried a MarsDial, a sundial that doubles as a camera colour and brightness calibration target and as an outreach object inscribed "Two worlds, One sun."
Controversies and debates
- Who invented the sundial? There is no consensus "first"; the Egyptian pieces are only the oldest survivors, and reference works also tie the earliest shadow clocks to Babylonian astronomy. Greek credits to Anaximander and Vitruvius's list of inventors are late tradition, not record: the Berossus story rests on one report, and the tale of Berossus founding a school on Kos is usually dismissed as a later invention meant to link Babylonian and Greek astronomy. Herodotus's Babylonian origin is accepted in outline as a Greek report of Babylonian origin.
- How old is MUL.APIN? Its oldest copy is 686 BCE. Most scholars place composition around 1000 BCE; Papke and van der Waerden argued for about 2300 BCE (criticized by Hunger and Pingree), while astronomical dating of its star risings by Schaefer and de Jong points to roughly 1400-1100 BCE.
- Prehistoric "sundials". Claims by Martin Brennan (The Stones of Time) that carved stones at Knowth, Ireland, whose mound is dated to about 3200 BCE, served as sundials or calendars are contested, not consensus. See Megaliths, temples and solar alignments.
- How the Egyptian shadow clock was used. Ludwig Borchardt reconstructed it with a crossbar, pointed east in the morning and reversed at noon. A 2014 reconstruction study treats the L-shaped dial without the crossbar, so how the scale was read remains open.
- The Horologium of Augustus. Edmund Buchner, who published the excavations in 1976 and 1980, reconstructed a huge full sundial whose shadow reached the Ara Pacis altar on Augustus's birthday, 23 September. Peter Heslin (Journal of Roman Studies, 2007) argued that the evidence supports a simple meridian line tracking the Sun's noon position through the year. The meridian-only reading is now the more widely held, but Buchner's view is treated as disputed rather than refuted. Pliny already noted that the instrument had gone wrong by about 40 CE.
- The dial of Ahaz. 2 Kings 20:9-11 is often translated as a sundial; the Hebrew word ma'alot means "steps", and the Jewish Publication Society's note observes that a stepped dial model has been found in Egypt. Many scholars read it as a staircase.
- Origin of the polar gnomon. Ibn al-Shatir's dial of 1371/72 CE is often called the oldest polar-axis sundial still in existence, though the original was replaced by a replica in the 18th century. Polar-axis dials appear in Western sources from at least 1446. Whether Europe learned the principle from Islamic sources or found it independently is unresolved (unverified).
- Jai Singh's masonry. The Samrat Yantra is said to read time to about 2 seconds, which is a purported, unverified figure. The Sun's penumbra is around 30 mm wide, so the 1 mm scale divisions have little practical meaning. Why Jai Singh, who may have known of European telescopes, chose naked-eye masonry is debated.
- Saint-Sulpice and the "Rose Line". Dan Brown's novel The Da Vinci Code (2003) calls the Paris meridian the "Rose Line" and presents the Saint-Sulpice gnomon as a relic of a pagan temple on it. The church has posted a sign denying the claims: its line was laid in the 18th century for astronomy and Easter reckoning, and the Paris meridian runs through the Paris Observatory, not the church. Occult meanings attributed to the meridian are unfounded.
Sources
- Vitruvius, De architectura, Book 9 (LacusCurtius) — dial types and inventors, Berossus, Aristarchus, Eudoxus, Scopas; date about 20 BCE.
- Pliny, Natural History 7.212-215 (LacusCurtius) — Catania dial, 99 years, replacement by Marcius Philippus.
- Herodotus 2.109 (Perseus) — polos, gnomon and twelve parts of the day from the Babylonians.
- 2 Kings 20 (Sefaria, JPS) — ma'alot means steps; dial footnote.
- Guo Shoujing (MacTutor, University of St Andrews) — crossbar and pinhole gnomon, calendar finished 1280 and introduced 1281, year within 26 seconds.
- Equation of time (timeanddate) — November and February extremes, roughly +17 and -14 minutes.
- Equation of time (Wikipedia) — about +16 min 33 s on 3 November and -14 min 6 s on 11 February.
- Sundial (Wikipedia) — earliest shadow clocks c. 1500 BCE; canonical dials 7th to 14th centuries.
- Horologium Augusti (Wikipedia) — 10 BCE, 30 m obelisk, Buchner versus Heslin, Ara Pacis, Pliny.
- Jantar Mantar, Jaipur (Wikipedia) — Samrat Yantra 27 m, 2-second claim, penumbra, UNESCO 2010.
- Jai Singh II (Wikipedia) — five observatories, Jaipur dates.
- Ibn al-Shatir (Wikipedia) — 1371/72 dial, polar axis, replica, Western polar dials from 1446.
- MUL.APIN (Wikipedia) — 686 BCE copy, shadow tables, dating dispute.
- Gaocheng Astronomical Observatory (Wikipedia) — Duke of Zhou, Yi Xing, 1276 tower, UNESCO 2010.
- St Gregory's Minster, Kirkdale (Wikipedia) — dial c. 1055-1065 and inscription.
- Anaximander (Wikipedia) — Suda claim about the gnomon, Sparta dials.
- Berossus (Wikipedia) — shaky Vitruvian attribution.
- De architectura (Wikipedia) — written c. 30-20 BCE.
- Reconstruction of Ancient Egyptian Sundials (Archaeoastronomy and Ancient Technologies, 2014) — Berlin L-shaped dial from Thutmose III's reign, earliest written mention of a sundial, Basel find of 2013, Borchardt 1911.
- Al-Khwarizmi (MacTutor, University of St Andrews) — wrote on the sundial.
- Giovanni Domenico Cassini (MacTutor, University of St Andrews) — Danti's gnomon at San Petronio, Cassini's 1653 replacement.
- Qibla (Wikipedia) — muwaqqit al-Khalili; shadow qibla method.
- Knowth (Wikipedia) — mound about 3200 BCE; Brennan's Stones of Time.
- Florence Cathedral (Wikipedia) — Toscanelli 1475, restored 1755.
- Basilica of San Petronio (Wikipedia) — Cassini line 1655, 66.8 m.
- Santa Maria degli Angeli e dei Martiri (Wikipedia) — Bianchini 1702.
- Saint-Sulpice, Paris (Wikipedia) — 18th-century gnomon, church sign.
- Paris meridian (Wikipedia) — runs through the Observatory; Rose Line in the novel.
- MarsDial (Wikipedia) — calibration target on Spirit and Opportunity.
- Mars Exploration Rovers (NASA) — landing dates 3 and 24 January 2004.