— The geometry of the shadow

A stone,
a shadow,
the whole sky

A sundial is humanity's oldest astronomical instrument — and still the most direct. A shadow falls, a line is drawn, and the Earth's rotation becomes visible in marble. An interactive journey through the physics of the sundial, its five basic types, and the monument in Delhi that made a clockwork of the sky.

↻ drag to rotate · scroll to zoom
i.

Why a shadow can tell the time

The Earth turns once on its axis in 24 hours. For an observer on the surface this means that the Sun apparently travels 360° round the sky in the same time — that is, 15° per hour. A vertical stick in the ground casts a shadow that follows this motion. If we divide the surface beneath it at the right angles, we get a time machine driven by the planet itself.

The decisive detail is not the stick but its direction. If the stick — or more precisely the gnomon — points parallel to the Earth's axis of rotation, the shadow moves uniformly across a suitable dial. 15° every single hour, all year round. If the gnomon stands vertically or at a slant, the speed of the shadow becomes uneven, and the spacing of the dial's lines must be calculated instead.

The three necessary elements

The parts of a sundial

The gnomon · the shadow-casting edge. Pointing towards the celestial north pole.

The dial · the surface the shadow moves across. Horizontal, vertical, inclined — depending on the type.

The hour lines · the markings that translate the shadow's position into hours. The geometry depends on both the dial's orientation and the observer's latitude.

The most important angle

The inclination of the gnomon must correspond exactly to the observer's geographic latitude. In Denmark, where the latitude is about 56°, the gnomon is inclined 56° above the horizon and points north. In Delhi, where the latitude is 28.6°, it is inclined only 28.6°. This requirement is the one fundamental reason why a sundial from Stockholm cannot be moved to Madrid and still be correct.

Inclination of the gnomon
$$\theta_{gnomon} = \varphi$$
Where φ is the observer's latitude. When this condition is met, the edge of the gnomon is parallel to the Earth's axis, and the angular speed of the shadow becomes a constant 15°/hour in the equatorial plane.
ii.

The five basic types

All sundials share the same principle: a gnomon parallel to the Earth's axis casts a shadow on a dial. The difference lies in the orientation of the dial. Choose a type below to see the geometry — the gnomon stays the same, while the dial rotates around it.

◐
Equatorialparallel to the equator
▭
Horizontalflat ground surface
▮
Verticalon a south-facing wall
◢
Polarparallel to the gnomon
⬭
Analemmaticthe human as gnomon
Gnomon
Dial
Shadow
Sol
09:00
56°
↻ Drag to rotate · choose season, time and latitude · the shadow falls on the dial itself

Equatorial sundial

Horologium aequinoctiale

The dial lies parallel to the Earth's equatorial plane, and the gnomon stands perpendicular to it. It is the mathematically purest type: the hour lines are perfectly evenly spaced with 15° between each. The time can be read directly with a protractor.

"The simplest form of time — but only usable for half a year at a time, since in winter the shadow falls on the underside."
iii.

Where should the lines go?

For an equatorial sundial the answer is simple: evenly spaced with 15° between each line. But for a horizontal sundial — the classic garden model — the geometry depends on the latitude. The lines are squeezed together around noon and spread out in the morning and evening, and the distribution changes every time the sundial is moved north or south.

Horizontal sundial · the angle of the hour line
$$\tan(H_{dial}) = \sin(\varphi) \cdot \tan(H_{sun})$$
Hdial is the angle of the line measured from the noon line on the dial. Hsun is the Sun's hour angle (15° per hour from noon). φ is the latitude. Note: at the equator (φ = 0°) sin(φ) = 0, and all the lines coincide — a horizontal sundial simply does not work there. At the pole (φ = 90°) sin(φ) = 1, and the lines are evenly spaced at 15°.

Drag the latitude slider below to see how the lines move. The red line is Delhi (28.6°), the blue is Copenhagen (55.7°), and the yellow is your chosen position.

N
55.7°
Latitude
55.7°
9 / 15
39.6°
6 / 18
90°
9/15 = the angle for 9 am and 3 pm from noon · 6/18 = the angle for 6 am and 6 pm

A northern European sundial in India?

The difference between 55.7° and 28.6° is not merely cosmetic. A horizontal sundial built for Copenhagen has hour lines about one and a half times as far from the noon line as a corresponding dial built for Delhi. If you move a Copenhagen sundial to Delhi, it will still cast a shadow — but the reading will be systematically wrong — at 9 in the morning it shows about 10, and the error grows the further from noon you get.

iv.

Five thousand years in stone

The history of the sundial is humanity's longest relationship with a particular instrument. While Stone Age people still counted days on their fingers, the first Egyptians raised obelisks that marked not only power but also time. For 5000 years one civilisation after another refined the principle — and each improvement was a small step towards a more precise reading of the sky.

3500 BC 1500 BC year 0 year 1000 1734 Obelisks Egypt Shadow clock Egypt Skaphē Aristarchus Solarium Rom al-Marrakushi Morocco Ibn al-Shatir polar gnomon Uraniborg Tycho · Hven Jantar Mantar Delhi ANTIQUITY MIDDLE AGES RENAISSANCE
← scroll sideways →

Egypt — the vertical obelisk

As early as about 3500 BC the Egyptians raised obelisks that were not only monuments to the god but also served as primitive sundials. The shadow from the pointed top of the obelisk travelled across the marked stones around the base and divided the day into morning and afternoon. The length of the shadow at noon also revealed the year's longest and shortest days — and thus the solstices and equinoxes.

Around 1500 BC came the actual shadow clock: an L-shaped piece of slate with a vertical crossbar at one end. The length of the shadow along the horizontal arm gave the hour, and divided the day into six parts from sunrise to noon — and again six from noon to sunset. It was not accurate, and the hours in summer were of a different length from the hours in winter, but it was the first instrument of time.

Greece — the hesitant victory of geometry

It was the Greeks who turned sundials into science. The astronomer Aristarchus of Samos constructed around 280 BC the hemispherical skaphē — a hemispherical bowl carved in stone with a vertical stick at the centre. The tip of the shadow travelled across the inner surface of the bowl and thereby followed the Sun's path in a way that could be decoded geometrically. Later the Greeks also developed sundials based on conic sections and used their deep understanding of spherical geometry to construct instruments of mathematical accuracy. The Tower of the Winds in Athens, from c. 100 BC, bore eight different sundials on its octagonal façade.

Rome and the Solarium Augusti

The Romans adopted the Greek skaphē and spread sundials throughout the empire. The most famous Roman time instrument was the Solarium Augusti on the Campus Martius in Rome, erected in 10 BC by the emperor Augustus. As gnomon he used an Egyptian obelisk of Pharaoh Psamtik II — the column itself was thus 600 years older than the square it now cast its shadow over. The tip of the shadow traced the northward and southward movements across a huge marble-paved pelekinon (a flat surface with curves) on the square.

The Islamic revolution

In the Middle Ages, while Europe had dropped most of classical geometry on the floor, the science of sundials flourished in the Islamic world. The Moroccan astronomer Abu al-Hasan al-Marrakushi described at the beginning of the 13th century many types of sundial and promoted the concept of equal hours — regardless of the season.

But the decisive breakthrough came with Ibn al-Shatir in Damascus in the year 1371. His surviving sundial, mounted on the minaret of the Umayyad Mosque, is the oldest existing sundial with a polar-axis gnomon — that is, with the shadow stick parallel to the Earth's axis of rotation. It was a simple observation with colossal consequences: when the gnomon stands parallel to the Earth's axis, the shadow moves uniformly across the dial, 15° per hour, every single day, all year round. For the first time the measurability of time was freed from the season.

~3500 BC
Egyptian obelisks
Egypt

Vertical stone columns whose shadows divided the day and revealed the solstices.

~1500 BC
The shadow clock
Egypt

L-shaped slate with a crossbar. Twelve unequal hours spread over the day.

~280 BC
Skaphē (hemicycle)
Aristarchus of Samos

Hemispherical bowl with a vertical gnomon. The first geometrically correct form.

~100 BC
Tower of the Winds
Athens

Octagonal monument with eight sundials, one on each façade — the world's first clock station.

10 BC
Solarium Augusti
Rom · Campus Martius

Egyptian obelisk reused as a gnomon on a marble pelekinon for the emperor Augustus.

~1200
al-Marrakushi
Morocco

Described many types of sundial and argued for uniform hours all year.

1371 — TURNING POINT
Ibn al-Shatir's polar gnomon
Damascus · the Umayyad Mosque

The world's oldest surviving sundial with a gnomon parallel to the Earth's axis — the principle behind all modern sundials.

1446
The principle reaches the West
Europe

The polar-axis sundial appears in European sources. Renaissance gardens fill up with them.

1576
Uraniborg
Tycho Brahe · Hven

Tycho's observatory; in 1584 the half-underground Stjerneborg followed. Tycho's instruments set a new standard of precision.

1724 — CULMINATION
Jantar Mantar
Maharaja Jai Singh II · Delhi

The polar principle scaled up to monumental size. A sundial so large that the error in the reading itself vanishes.

Note how much time passed between Aristarchus' geometric skaphē (280 BC) and Ibn al-Shatir's polar gnomon (1371). Almost 1700 years in which sundials were used — but in which an hour in summer was not an hour in winter. It was not technique that was lacking; it was the one right angle.

v.

Jantar Mantar — astronomy as monument

In 1724 a team of stonemasons stood in the middle of Delhi and laid the first stone of a hitherto unseen astronomical experiment. The builder was Maharaja Sawai Jai Singh II of Jaipur, a ruler with mathematical training and a distrust of the existing star tables. The result was Jantar Mantar — an observatory not of brass and glass, but of masonry and lime plaster on the scale of buildings. Thirteen instruments, all large enough to walk around in, designed to make even an untrained reading of the positions of the Sun and stars reliable.

The name comes from the Sanskrit yantra and mantra, "instrument and formula", and the Delhi site was the first of five; later came Jaipur, Ujjain, Mathura and Varanasi. It was the Mughal emperor Muhammad Shah who commissioned the task, because the available tables for the motions of the Sun and Moon had become unreliable. Jai Singh II's solution was radical: if precision is limited by the scale of the reading, then build instruments so large that the margin of error disappears into the dimensions of the stone itself.

SAMRAT YANTRA

The supreme instrument

The world's largest stone sundial, Delhi 1724 · Jaipur 1734

At the centre of each site is the Samrat Yantra — "the supreme instrument". It is a huge equatorial sundial in the form of a triangular wall whose hypotenuse edge points exactly at the celestial north pole. On both sides of the triangle quadrant-shaped arcs have been built, lying parallel to the Earth's equatorial plane. When the Sun is on one side of the sky, the shadow from the edge of the triangle falls on one quadrant; when it crosses the meridian, the reading switches to the other side.

The principle is exactly the same as an ordinary equatorial garden sundial — only the scale is different. Where an amateur astronomer struggles to read minutes from a 30 cm dial, on the Samrat Yantra one could follow the shadow travelling over several metres of stone per hour. Here the shadow moves visibly, about 1 mm per second, and 6 cm per minute.

Height (Delhi)
21.3m
Height (Jaipur)
27m
Angle
28.6°/27°
Precision
2sec

The hypotenuse's inclination of 28.6° in Delhi and 27° in Jaipur is no coincidence — it is exactly the latitudes of the two cities. When the sharp edge of the triangle points 28.6° above the horizon in a northerly direction, it points exactly at the celestial north pole, just as the rule requires for every equatorial sundial. The difference is that the Samrat Yantra's gnomon is not a stick but a masonry wall 3 metres thick.

Triangular gnomon
Quadrant arcs
Shadow
↻ Rotate the model · the shadow is cast on the eastern quadrant before noon, the western one afterwards

The other instruments

Jaya Prakash Yantra · two hemispherical bowls carved in stone, where the celestial vault is depicted inverted on the insides. Stars, planets and the Sun can be located by crossed markers over the edge of the bowl. A human sky, seen from the inside.

Rama Yantra · two cylindrical buildings with open roofs and a vertical pole in the middle. The pole's shadow on the ribs of the cylinder wall reveals the Sun's altitude above the horizon as well as its azimuth.

Misra Yantra · "mixed instruments" — five instruments united in one sculptural composition. The most important among them can show noon simultaneously for four different places in the world, by means of graduated angles set for cities at widely different longitudes.

Today the Samrat Yantra in Delhi stands among skyscrapers — the buildings around the observatory now shade some of the readings, and the monument is primarily an archaeological testimony. The larger twin in Jaipur, which is on the UNESCO World Heritage List, still works: a clear noon, a good observer, and 27 metres of stone can still give local solar time with an accuracy of two seconds.

Not an instrument of brass — but an instrument the size of a building. — Jantar Mantar's solution to the problem of precision
vi.

St. Peter's Square — an obelisk from Heliopolis becomes a gnomon

While the stonemasons in Delhi were raising their triangular walls, there already stood in Rome a finished monument of astonishing geometric purity: a 25-metre-tall Egyptian obelisk of red granite, which had stood in the middle of Piazza San Pietro since 1586. It had been brought to Italy by the emperor Caligula in the year 37 and had served for a millennium and a half as a trophy without a function. In 1817 it finally got one. Pope Pius VII had a meridian line and seven round marble discs set into the paving of the square, and from that day Bernini's magnificent square was also the world's largest meridian sundial.

A stone with four histories

The obelisk was already a monument before it became a sundial. It was carved in Heliopolis by an unknown pharaoh — it is one of the few obelisks in Rome that bear no hieroglyphs. Augustus moved it to Alexandria, Caligula to Rome, where for 1500 years it stood by the Circus of Nero, only a few metres from St. Peter's presumed tomb. In 1586 the engineer Domenico Fontana used four months, 900 men, 140 horses and 45 winches to move the 320 tonnes of granite the last 250 metres to its present position — with the death penalty for noise from the public, so that Fontana could hear his commands to the men at the ropes. It was a building project so remarkable that in 1590 Fontana published a whole book with engravings about the operation.

Height of the obelisk
25.5m
With base & cross
41m
Weight
320t
Latitude
41.9°N

What is a meridian sundial?

The meridian sundial that Pius VII laid out is not an ordinary sundial. An ordinary sundial shows hours across the whole day — the shadow travels 15° each hour across a dial. A meridian sundial — a meridiana — does something different and more ambitious: it shows only one moment of the day, namely the instant the Sun crosses the local meridian (true noon). In return it can show what day of the year it is, because the length of the shadow at noon changes dramatically over the course of the year.

The principle: at the Vatican's latitude (φ = 41.9° north) the Sun at true noon stands high in the sky in summer — almost 72° above the horizon at the summer solstice — and low in winter, only 24.6° at the winter solstice. The difference in altitude means a difference in shadow length. A 41-metre-tall obelisk casts a shadow of 13.6 metres at the summer solstice and fully 89.5 metres at the winter solstice. This long procession of the shadow's tip across the square is the whole calendar in one line.

Shadow length at noon
$$L_{shadow} = \frac{h_{gnomon}}{\tan(a_{sun})} \quad\text{where}\quad a_{sun} = 90° - \varphi + \delta$$
Where hgnomon is the height of the obelisk (41 m including base and cross), φ is the latitude of the place (41.9° for the Vatican), and δ is the Sun's declination — the angle between the Sun's rays and the celestial equator. The declination follows the Earth's axial tilt and varies from +23.5° (summer solstice, 21 June) through 0° (equinox, 20–21 March and 22–23 September) to −23.5° (winter solstice, 21 December).

The shadow's journey through the year

N a = 48° 36 m Spring equinox · 20 March THE SUN'S POSITION AT TRUE NOON · ST. PETER'S SQUARE 41.9° N
← scroll sideways →
20 March
Declination
0.0°
Sol-altitude
48.1°
Shadow length
36.8 m
Zodiak
Aries
Use the buttons or the slider · The Sun shows its position at true noon · The shadow falls to the north, along the meridian, into the marble discs of the paving.

The seven discs in the paving

When you stand on St. Peter's Square and look down at the paving, you do not see an ordinary sundial face with Roman numerals. You see a long granite strip — the meridian — running from the foot of the obelisk northwards, towards the Maderno fountain and on in the direction of the palace window where the pope blesses the pilgrims every Sunday. Along this line lie seven round marble discs: one at each of the two solstices, and five between them, marking the day on which the Sun enters a new sign of the zodiac. Twelve zodiac periods, but only seven discs — because the two equally far from a solstice (e.g. Taurus and Virgo) share a disc, since the shadow falls in the same place on the way out and back.

♑
Capricorn
21 Dec
♒ ♐
Aquarius & Sagittarius
Jan / Nov
♓ ♏
Pisces & Scorpio
Feb / Oct
♈ ♎
Aries & Libra
Mar / Sep
♉ ♍
Taurus & Virgo
Apr / Aug
♊ ♌
Gemini & Leo
May / Jul

The seventh — and the one closest to the obelisk — is the disc of Cancer, which marks the summer solstice on 21 June. Here the tip of the shadow lies only just under 14 metres from the foot of the obelisk. The farthest, almost 90 metres out into the square, marks Capricorn and the winter solstice. When as a visitor you walk from one to the other, you are literally walking through half a year.

Why 1817? And why signs of the zodiac on St. Peter's Square?

Pope Pius VII's decision to turn the obelisk into a calendar had a concrete background. A century earlier Pope Clement XI had had the astronomer Francesco Bianchini build a precision meridian inside the church of Santa Maria degli Angeli, designed to verify the Gregorian calendar reform and determine Easter with full precision. The Church had always needed astronomy: to know when it was noon (for the Angelus prayer), when it was the equinox (for Easter), when the summer solstice (for John the Baptist). The obelisk on St. Peter's Square became the publicly visible version of this tradition — astronomy as a civic monument, so that every pilgrim could see with their own eyes the year advancing in stone.

The signs of the zodiac are, contrary to what one might think, not a relic of pagan sky magic. Here they serve as units of time: every 30° of the Sun's annual path along the ecliptic gets its symbol, just as every 30° of the day gets its hour number on a clock face. It is the same system the Babylonians used more than 2500 years ago, when they divided the sky's annual cycle into twelve equal pieces. On St. Peter's Square the signs of the zodiac are thus not a religious message — they are the clock times of the year.

A sundial that tells not the hour, but the month — and every year, exactly as the year before. — Meridiana di San Pietro, 1817

Family kinship with Jantar Mantar

It is worth noting the parallel with the previous chapter. While Jai Singh II in Delhi (1724) built a 21-metre triangular equatorial sundial to make the scale of the reading so large that the error vanished, Pius VII in Rome almost a century later made the same choice — but used an already standing 25-metre granite obelisk from ancient Egypt as the gnomon. Two monuments, two philosophies, the same basic insight: if precision is limited by the size of the reading, then let the building be the instrument. The difference is that the Samrat Yantra was built as a sundial, while the Vatican's became one — after almost 1800 years as a purely decorative trophy.

vii.

The equation of time, and why the clock never agrees

Even a perfectly built sundial does not show the same as your wristwatch. The difference can be up to 16 minutes, and it changes sign four times in the course of a year. The phenomenon is called the equation of time, and it is due to two independent effects that add on top of each other.

Two causes, one figure

The first cause is that the Earth's orbit around the Sun is not a circle but an ellipse. In January we are closest to the Sun and move fastest in the orbit; in July the opposite happens. The Sun therefore "travels" unevenly across the sky during the year. The second cause is the Earth's axial tilt of 23.5° — which means that the Sun's motion, projected onto the celestial equator, varies with the season. Together the two effects give a curve in the form of an analemma — a figure 8 that the Sun draws in the sky if you photograph it every day at the same clock time for a whole year.

−15m +15m +23° −23° The Sun's analemma EQUATION OF TIME ↔ DECLINATION
The little amber dot slowly travels round — one circuit corresponds to one year. Note the two loops of different size: the upper one is the summer half-year, the lower one is winter.
The two contributions to the equation of time
$$E = E_{ekc} + E_{obl}$$
Where Eecc comes from the Earth's elliptical orbit (annual period, amplitude ~7.7 min) and Eobl comes from the axial tilt (semi-annual period, amplitude ~9.9 min). Around 11 February the Sun comes about 14 minutes after the clock; around 3 November it is about 16 minutes ahead.

Famous sundials around the world

1724 Samrat Yantra the world's largest stone sundial Delhi · Jaipur
1817 Meridiana di San Pietro the world's largest meridian sundial, obelisk as gnomon Vatican, Rome
10 BC Solarium Augusti obelisk as gnomon for a Roman square Rome · Campus Martius
~100 BC Tower of the Winds eight sundials on an octagonal monument Athens
1371 Ibn al-Shatir's sundial the world's oldest surviving with a polar gnomon Damascus
2004 Sundial Bridge Calatrava's white gnomon over the Sacramento River Redding, California
18th century Misra Yantra tells noon at several places at once Delhi
1702 Meridiana Bianchini Clement XI's church meridian for the calendar reform Santa Maria degli Angeli, Rome
viii.

Build your own sundial

The geometry is no secret reserved for astronomers. With your own latitude, a piece of cardboard and a knife you can have a working horizontal sundial in the course of an afternoon. The tool below calculates the hour lines for your location and gives you a printable dial that you can cut out and set up in your garden.

Presets
28.6°
Place
Delhi
Gnomon angle
28.6°
Hemisphere
North

How to use your sundial

1. Print the dial and cut it out. 2. Cut out the gnomon using the template below the dial (glue it onto card if you like): a right-angled triangular piece where the angle between the base and the sloping side (the hypotenuse) equals your latitude (shown above). Glue the base along the noon line (12 o'clock) with the acute angle at the centre of the dial, so that the sloping edge rises towards the north in the northern hemisphere (towards the south in the southern) and points to the celestial pole. 3. Place the dial on a level surface and orient it exactly by the magnetic compass (with correction for the local declination). 4. The shadow's position is read as local solar time — but remember the equation of time and the time zone adjustment if you want to compare with your wristwatch.

Practical correction to clock time
$$T_{clock} = T_{sun} + (\Delta\lambda \cdot 4 \text{ min/degree}) + E(d)$$
Where Δλ is the longitude of the time zone (e.g. 15°E for CET) minus your own longitude (positive towards the east), and E(d) is the equation of time for day d, reckoned as clock minus sun (about +14 min in February, −16 min in November). For Copenhagen (12.6°E) Δλ = 15 − 12.6 = 2.4°, which means the clock is 9.6 minutes ahead of solar time for geographical reasons alone. Add to that the extra hour of summer time from the end of March to October.
15°
The shadow's travel per hour
28.6°
Delhi's latitude & gnomon angle
27 m
Height, Samrat Yantra Jaipur
±16 min
Annual range of the equation of time