Introduction
Imagine that you have just got the latest in digital watches, with a stop watch, date, times from all over the world, and the ability to function at 4000 fathoms. There is just one small problem: the batteries have gone flat. However, if the sun is shining you don't need to use a watch at all, because the sun makes an excellent clock which (fortunately) doesn't need batteries that can run down. This article is all about a particular kind of sundial and how you can build one for yourself.
IMPORTANT SAFETY ADVICE
Never look directly at the sun!
We often take the problem of telling the time or of finding the day's date for granted, but finding solutions to both of these questions is vital to our civilisation. Early men and women needed to have an accurate notion of the seasons in order to know when to plant and harvest their crops. As civilisation developed it became important to know the time during the day. Two times were obvious as everyone was aware of when the sun rose (dawn) and when it set (dusk). More accurate observations of the sun then showed that having risen in the East, it climbed to its highest point in the sky (due South in the Northern hemisphere) before descending towards its setting point in the West. The time of the highest point reached by the sun (which is when the shadows were shortest) is called Noon. Knowing dawn, Noon and dusk gave us morning, afternoon and night.
Every civilisation has been interested in the way the sun moves, and astronomy and mathematics have always developed alongside each other. Better observations called for quicker and more efficient mathematical methods. More detailed theory drove people to make more accurate observations. In this way both theory and practice evolved together. In this article we give some theory about the way the sun moves and then concentrate on a practical method for building a type of sundial known as an analemmatic sundial. We choose initially not to give too much justification for the mathematics behind the construction of this dial. Details of the theory of this dial can be found in a later section of this article.
Note that the following article assumes that you are in the Northern Hemisphere. If you want to build a sundial that is to work South of the equator you will need to make some changes, but the following method is easy to adapt.
What is an analemmatic sundial?
An analemmatic sundial is a particular kind of horizontal sundial in which the shadowcasting object is vertical, and is moved depending on the date, or to be more precise, depending on the declination of the sun on a given day. The time is read from the dial by noting where the shadow cast by the vertical pin crosses hour points laid out on an ellipse. If we make the dial on the ground and large enough, we can use the shadow cast by a person. This makes it very different from the traditional sundial we see often in parks and gardens where the shadow is cast by a triangular shaped wedge. The analemmatic sundial is perfect as a piece of large mathematical sculpture.
Traditional Dial  Analemmatic Dial  
Shape  Hour lines radiate from a central point.  Ellipse of hour points. 
Shadowcasting object  Fixed, parallel to Earth's axis.  Changes daily, vertical. 
What is the declination of the sun?
Before we can construct our dial we need to understand what the "declination of the sun" is. Look at figure 1, showing the Earth as seen from the side. Imagine you are standing on the surface of the Earth at the point . Your latitude, i.e. your angular distance from the equator, is marked as . The diagram shows the situation at Noon so the sun is at its high point for the day and will appear to be due South from where you stand.
Figure 1: Calculating the declination of the sun.
Exercise 1: Using this diagram, show that the angle that the sun makes with the horizontal at Noon is

On any given day the declination of the sun, marked as in figure 1, is the angle the rays of the sun make with the plane of the equator of the Earth. Because the axis of the Earth is tilted and we rotate around the sun, this angle changes during the year. It is this change that gives us the seasons.
In the Northern hemisphere, is positive in summer, and at the spring and autumn equinoxes the sun is directly overhead at the equator at Noon so . At the summer solstice , and at the winter solstice . As the latitude of the equator is the formula above gives . A graph of average values is shown in figure 2 and the average values for the first day of each month are in table 2.
Figure 2: The declination of the sun.
Table 2: Average values of the declination of the sun.
The path that the sun appears to trace in the sky during the day is a circle. Of course part of this circle will be below the horizon during the night! The centre of this circle is a point due North at an angle to the horizontal.
Figure 3: The path of the sun.
This point is marked (to a very good approximation) by the pole star Polaris. The angle between the sun and Polaris is simply .
In a normal sundial, a shadow is cast by a "gnomon" or pointer that points directly towards Polaris. If a disc of card is stuck to this pointer, perpendicular to it, then the shadow cast by the sun is of constant length throughout the day and moves around the card clockwise with the end point of the shadow lying on a circle. Such a sundial (called an equatorial sundial) is very easy to make and you can see one in figure 4. By seeing where the shadow falls we can tell the time.
Figure 4: The completed equatorial sundial.
In an analemmatic sundial the pointer is vertical. The shadow cast by the sun on a horizontal surface, such as the ground, moves clockwise around the pointer, but this time it varies in length during the day. The endpoint of the shadow no longer falls on a circle. Indeed, when the sun sets, the shadow is of infinite length. We can still tell the time from the position of the shadow, but it is a little more complicated.
The Analemmatic sundial
The analemmatic sundial is based on an ellipse which is marked out in hour points. The ellipse has major axis of length aligned  (so that the axis is in this direction) and the minor axis of length is aligned . The pointer that casts the shadow is placed along the axis at a position which depends on the date. This is given by a "scale of dates", and some rules for constructing this scale will be given presently.
The pointer casts a shadow which will intersect the ellipse at some point. On the ellipse are marked a series of hour points, and you can tell the time by seeing which hour point the shadow lies on. For an example, look ahead to figure 12 which shows a completed dial, viewed from directly overhead, for Bath, England.
The ellipse
Figure 5: An ellipse.
As ellipses play such an important role in understanding the analemmatic sundial, we include a short discussion on their theory here. An ellipse is an example of a curve called a conic section. Other conic sections are the circle, the parabola and the hyperbola. The Earth travels around the sun on an elliptical path.
If the points on an ellipse have coordinates then and are related by the formula
(2) 
If then this is simply a circle. Now if then so that . We will assume that then the axis is called the major axis of the ellipse and the axis is the minor axis.
One particularly nice way to think about an ellipse is to introduce a third variable . Take and ; then
(3) 
so that and lie on an ellipse. So if we vary from to then the points will trace out an ellipse.
Now consider a ruler with points , and marked so that the length is and the length is . Place this ruler so that is on the axis and is on the axis. The ruler will make an angle with the axis. If the point has coordinates , then by construction and so the end point must automatically trace out the ellipse. This procedure allows us to mark out an ellipse easily and is shown in figure 6.
Figure 6: Drawing an ellipse.
There are two points and on the axis called the foci of the ellipse located at the points
(4) 
(5) 
Exercise 2: Using the definition of an ellipse, show that equation 5 is true. 
This gives another method of drawing an ellipse. Take some string of length and mark two points, a distance apart, along the line that will become the axis of the ellipse. Now keep the two ends of the string fixed at these points and place a pencil on the string, pulling it taught. As you move the pencil along it will trace out an ellipse.
How big should I make an analemmatic sundial?
Figure 7: The height of a person.
We will assume that the sundial is to be constructed outside in a garden and the shadow casting object is to be a person who will stand on the dial itself. Have a look at the diagram on the left. The solid line represents a vertical object (a person) which we will assume has length . The dotted lines are the rays from the sun.
Exercise 3: Using this diagram and equation 1, show that if the declination of the sun on a given day is then the length of the shadow cast by the person at Noon is given by

Assume we are in Bath, England where . At Noon on the equinox, when , a person of height m will cast a shadow of length m. On June 21st, midsummer, when , the same person in the same place will case a shadow of length m.
You can use similar calculations to ensure an average person, who has height , will cast a shadow on the dial throughout the year by taking the length of a shadow at Noon on midsummer, when is largest i.e. (the shortest shadow throughout the year) as a guide to the size of the minor axis of the ellipse. This is the value that corresponds to in the following construction.
How is an analemmatic sundial constructed?
There are two stages to building an Analemmatic sundial:
 laying out the hour points, and
 drawing the scale of dates.
Laying out the hour points
Figure 8: Construction of an analemmatic dial.

Find the direction of true North and mark the NorthSouth meridian line on the ground.

Mark on an EastWest line perpendicular to the NorthSouth line through what is to become the centre of our dial.

The major axis of the ellipse will be along the EastWest line and the minor axis will be NorthSouth. We will denote the length of major axis (that is the distance from to in figure 4) by . For all the calculations here we assume that . Such a base ellipse is shown in figure 4.

To calculate the value of , the length of the minor axis, we need to know , the latitude of the location of the dial. We can then calculate with the simple formula
(7) 
To start the construction of an analemmatic sundial we need to draw an ellipse. As mentioned previously, one way to draw an ellipse is to use string, but in practice the method of using a ruler is much better. Take a ruler or long piece of wood and mark two points and on it a distance of apart. Now mark a further point at a distance of from . Your ruler should look like this:
Figure 9: A ruler for drawing the ellipse.
Now draw the ellipse using the ruler as described earlier.

When building a sundial it is most common to refer to hours by their angles from Noon. Twenty four hours make up one day, or rather, one revolution of the Earth. Each hour is then of revolution of the Earth so Noon is , P.M. is , P.M. is and A.M. is etc.
Let be the angle of the hour. The distance of the point from along is given by
(8) Notice that this depends only on the time and the size of the dial and not on the latitude. The distance of the point from along is given by
(9) (10) Figure 10: A dial with its hour points.
Note that is NOT the angle from the noon line to the hour point.
Exercise 4: Show that the angle from the vertical line to the hour point is given by the formula : 
To locate the points for hours before A.M. or after P.M. you need to know that the dial is symmetrical. Draw a line from an hour point already calculated through and onto the ellipse on the other side. This is illustrated in figure 11 for P.M.
Figure 11: Hour points before 6 A.M. and after 6 P.M.
Example: Bath
For example, the positions of the hour points for a dial in Bath, England are shown in Table 3.
Table 3  The positions of points for a dial in Bath.
Drawing the scale of dates
The shadowcasting object on an analemmatic dial is movable and its position depends on the date. To see where to place it we must calculate a scale of dates to show the user where to place the vertical pin (or to stand) on any given day of the year. Assuming our dial is in a garden and the person casts the shadow, this will be a scale on the ground on which you stand.
The vertical object (such as a person) is always placed on the line a distance from . To calculate the distance we need to know the declination of the sun on a given day. Use the values of given earlier in table 2.
We then use
(11) 
Table 4  Value Z for an analemmatic dial at 51.3 degrees North.
Figure 12 shows the resulting analemmatic dial for Bath.
Figure 12: The completed dial for Bath, England.
What kind of time does a sundial show?
Most sundials show what is known as true local time. This differs from the time on your watch, which is called standard mean time. There are two reasons for this.
Firstly, remember that your longitude is the angular distance West of the Greenwich meridian. Round the world there are 24 standard time zones. People living in one time zone all agree to set their watches to the same standard even though people who are East or West of each other will experience Noon at different times of day. Thus while it is Noon at Greenwich in London, we in Bath have to wait another nine minutes or so because we are West. It would be no good if my watch showed 12:00 at Noon because I would have to constantly correct my watch as I moved around. A sundial, which is usually fixed in one place, is designed to read 12 at Noon, and so we need to make the reverse correction.
Secondly, it may come as a surprise to learn that the days aren’t really the same length throughout the year. By this we don’t mean it gets darker earlier in winter, but rather that the length of time from one Noon to the next isn’t constant. If we divide each day into 24 equal hours, the length of a second will vary from day to day. Your watch is mechanical so that it (hopefully) keeps constant seconds, and these are called mean seconds. The difference isn’t huge but it accumulates over the year so that, for example on 19th February a watch will be 14 minutes fast, and on 27th October it will be 16 minutes slow, relative to the movements of the sun. The graph in figure 13, called the Equation of Time, shows you how to correct for this. To use this figure you take the time measured on the sundial and add the figure for today’s date.
Figure 13: The Equation of Time.
Why does an analemmatic sundial work?
We said earlier that the end of a pointer, pointing at Polaris, casts a shadow that moves round a circle on a disk parallel to the equator of the Earth. To remind yourself of this setup have a quick look back at figure 4. The sun appears to move around the star Polaris in a large circle. At the equinox when this circle is exactly the celestial equator. We can describe the position of the sun by its angle relative to some fixed reference point. For convenience we take this point to be Noon, at which time the sun is highest. The angle of the sun relative to the Noon point is called the hour angle, with at Noon. In fact , where is the time (in hours) past Noon.
Figure 14: Finding the hour angle.
Now, what shape do we get if we look at the shadow cast by a vertical pointer onto a horizonal surface? To answer this we have to project the circle that the sun makes. If this circle is at an angle of to the horizontal and intersects the horizontal at am and pm.
If is the radius of the circle on which the sun moves and if the axis is aligned EastWest and the axis aligned NorthSouth, then the coordinates of the sun are given by
(12) 
The angle the shadow of the sun makes with respect to the axis is called the azimuth and we write this as . It is given by the formula
(13) 
During the day, changes and by finding we can find the time. For example at pm, is given by and . The angle made by the shadow of the sun is then given by
(14) 
Figure 15: The shadow.
If the declination is nonzero, the angle that the shadow makes with the  line can be calculated using spherical geometry. In this case we modify equation 13 to give
(15) 
The theory behind this formula is described in the book by Rhor, listed in the Further Reading section.
Notice that if then this reduces to equation 13.
Suppose that we place the pointer at the location on the  line.
Figure 16: Moving the pointer.
The shadow will be the line starting at the base of the pointer which is at . This line has equation
(16) 
At the same time, the shadow cast on a day when will go through the origin with angle given by equation 13. This is indicated by the line meeting the origin in figure 16.
Using equation 13 this line has equation
(17) 
The two lines intersect at the point if
(18) 
Rearranging this expression gives
(19) 
and therefore as we have
(20) 
What this shows is that at a given time of the day, the shadow cast by the pointer on the origin on a day with , and a pointer at on a day with the sun at declination , always intersect at the point which has coordinates
(21) 
and which lies on the ellipse
(22) 
We conclude that if we draw the ellipse with equation 21 and mark the hour points at the points given by equation 21 with hour past noon, then provided that the pointer is at position then the shadow cast will always intersect the ellipse at the correct hour point.
Figure 17: Overall summary.
Further Reading
 Mathematics Galore! by C. J. Budd and C. J. Sangwin. To appear from OUP, 2000.
 Sundials: Their Theory and Construction by A. E. Waugh, Dover 1973.
 Sundials: History, Theory and Practice by R. R. J. Rhor, Dover 1970.
 Sundials & Timedials: A collection of working models to cutout and glue together by G. Jenkins and M. Bear, Tarquin Publications 1987.
 Sundials on the Internet and the British Sundial Society.
About the authors
Chris Sangwin is a Ph.D. student at the University of Bath, working on dynamical systems and control theory.
Chris Budd is Professor of Applied Mathematics at the University of Bath, and Professor of Mathematics for the Royal Institution. He is particularly interested in applying mathematics to the real world and promoting the public understanding of mathematics.
Comments
Analemmatic sundial
Fascinating. As an exRAF navigator, trained in astronavigation, and now retired, and a keen gardener, your article brought together threads from both ends of my life to inspire an interesting and worthwhile project. Now living outside Pittsburgh, Pennsylvania, and quite some way from Bath, I would love to see that Excel spread sheet!
My project
Good afternoon, I have constructed a prototype of the sundial for my location. I am facing true North according to my compass, I have placed a figure to represent the mobile gnomon on the correct monthly location. I must be doing some thing wrong because I am not getting the correct time. Is there a crucial step that I have missed?
Magnetic north or true north?
A compass tells you magnetic north, not true north. You'll have to add or subtract depending on your location from magnetic north (which wanders from year to year).
Here's a site to generate the needed dimensions and positions automatically so you can verify that you've got yours right:
http://analemmatic.sourceforge.net/cgibin/sundial.pl
It makes a PDF of plans specific for your latitude and longitude.
Hallelujah! Thank you!
I am trying to build one of these and was getting lost in the math.
I really appreciate the theory of it, but was just looking for the plans to place the numbers!
Thank you for posting the sourceforge link.
Have you made a sundial IRL from the PDF it genereates? if so, how accurate is it?
Tom from New Mexico.
Height of "pointer"
Hi guys,
First, thanks for a great article.
As I read it, the idea is that an "average" (180cm) person's shadow hits the ellipse at the right time if they stand on the right date.
Just to confirm, this is different to a "traditional" sundial where it is the edge of the gonome that casts the shadow. In an Analemmatic it is the top of the (vertical) pointer that should intersect with the ellipse?
I ask because I want to use this to make a dial with a fixed pointer (the top will be a literal point), but curved hour lines so that given the date one can tell the time.
m.rik.rutter@gmail.com
Why do they work?
Im confused by the section "Why does an analemmatic sundial work?"
How do I find R radius of the suns motion? What happens if I dont make the ellipse with equation 21 and mark it with equation 22?
How tall should the pointer be? Why is 3pm now given by http://plus.maths.org/MI/26154f8cafc9d116bca498bc09cb0f82/images/img001...?
SUNDIALS IN THE TROPICS
Can a sundial (any sundial) work in the tropics, where the sun traverses the sky from north to south during a year?
I think any sundials can work
I think any sundials can work in the tropics because the Sun traverses the sky from from East to West anywhere. Only surface of the sundial must be vertical and top of stick must look at North or South for you can have any shadow on it's surface in any season.
Thanks for the theory
I was wondering how such a sundial works. My father and me are amateur astronomers. We are puzzled and searching for the right description. Thanks for the great article.
LARGE SCALE
I have seen one of these built at a larger scale in a park. The park's major axis dimension was something like 15 foot. I would like to build one in a garden for children. How can I scale these calculations up to for a larger scale project?
t ?
Could you please tell me what t stands for in equation (9)?
I'm stuck ! Thanks.
The t was supposed to stand
The t was supposed to stand for time, but it should have been denoted by the angle theta. We have corrected it, thanks for pointing it out!
analemmatic sundial in the tropics
is the ellipse shape applicable within the tropics?
The Ellipse  foci
Thank you for this amazingly informative article. I hardly like to mention that, in equation (4) above, where you have given the equations of the foci of an ellipse, the second set of coordinates should refer to F2, and not F3 as listed. I am sure that this is just a typing error and does not detract from the excellence of this treatise.
Sorry for making such a minute correction to this spendid article.
Thanks for pointing that out!
Thanks for pointing that out! We've corrected it.
Great article
This information is great, I'd love to get a village project off the ground to build one. Just a quick question and I think it may be a stupid one, I assume they do not account for daylight saving.
analemmatic sundial
This was an excellent article, providing all the information needed to design a great sundial. I was able to take the equations and construct an excel spreadsheet that constructs a graph chart image for an analemmatic sundial with just the input of the latitude and longitude of the location for which the sundial is to be designed. I added the ability to change the hour locations around the dial slightly to account for the differences between solar noon and standard time noon (I used longitude to do this calculation, so in areas where the time zones are highly erratically drawn, it is not accurate, but works well for most places). The graph chart also plots out the analemmatic gnomon position based on date along the vertical centerline. From all this, I was able print out the graph chart and use spray adhesive to fix it to a sheet of 1/8" copper. I then used punches and a hammer to mark out the sundial. I also etched an equation of time analemma chart onto the copper surface. The result is a beautiful copper analemmatic sundial that is custom designed for my exact location on earth andd from which the true accurate standard time can be read whenever there is sun.
excel chart
how would you feel about sharing your excel sheet? I'm thinking of building one in a garden  London
Thanks
Sundial program
http://web.utanet.at/sondereh/sun.htm
Here is a excellent program!
Charles Hatton
constructing a sundial for true clocktime
I'd like to construct an analemmatic sundial which gives true clock time for my location. Is this possible? I wondered if it is possible to adjust the position of the points where the gnomon goes to account for the equation of time differences each day?
Yes, but the sun dial will be
Yes, but the sun dial will be very full of information  not anywhere as simple as the sundial depicted and quite difficult to use and enjoy. I live in Houston, Texas. Solar time differs universal coordinated time by anywhere from 4 minutes to 35 minutes throughout the year, with the greatest "spread" between early November and early February when the earth's orbit is moving through the far side of the elliptical (ie: winter). Additionally, you'd have to make adjustments for your longitudinal variance in the time zone.
Houston Museum of Natural Science Analemic Sundial & Fountain
You are so lucky to be living in Houston, Texas, USA. At the entrance plaza of the Museum of Natural Science is a fountain whose edge has the configuration of the Texas coastline; there is a huge scale model of the Solar System in bronze markers in the pavement (the front step of the Museum is the sun; Pluto is a distant speck next to the street).
But the glory of the plaza is the magnificent Sundial soaring above the fountain, which at Noon focuses a beam of sunlight through a lens on today's date of an analemma marked in bronze on the pavement. This breathtakingly beautiful plaza is a superb marriage of art and science.
Anyone reading this blog: if you visit Houston, don't miss the Museum of Natural Science in Hermann Park. It is enchanting; and if the day is cloudy and you cannot see the great sundial in action, go inside and be fascinated by the elegant Foucault's pendulum; and enjoy the otherworldly beauty of the hall of gems, surely the most serenely peaceful atmosphere of any public space I recall.