A sundial tells the time with the shadow of an inclined edge, the gnomon. The horizontal sundial calculator gives the angle of every hour line from the latitude of the site, with the angle of the style and the height and the base of the gnomon for the length of edge you choose.
How the calculation works
- Enter the latitude of the site (north) and the solar hour of the hour line you want to draw, for instance 15 for 3 PM.
- Enter the length of the edge of the gnomon, the sloping edge that casts the shadow (the style).
- The calculator applies tan θ = sin(latitude) × tan(15° × (hour − 12)), where θ is the angle of the hour line from the noon line.
- It also gives the angle of the style, which equals the latitude, and the height and base of the triangular gnomon.
Example
At a latitude of 40.7° N, the 3 PM line (hour angle 45°) has an angle of atan(sin 40.7° × tan 45°) = 33.11° from the noon line, toward the east on the dial. A gnomon with a style of 10 in is 6.52 in tall and has a base of 7.58 in, and the style makes 40.7° with the dial, the latitude of the site.
Why it matters
The calculator is for anyone who wants to build a sundial for a garden, a school project or a gift: you can calculate the lines for all the hours, mark them on a board and cut the gnomon. It is also a nice exercise of spherical trigonometry.
Good to know
The calculator draws the hour lines of a horizontal dial for apparent solar time, which has to be corrected to the clock time. The dial must be level, and the style must point to true north (not to magnetic north). The center of the dial is the base of the style, and the thickness of the style changes the shadow by a small amount. The calculator does not handle declining or vertical dials.
Related tools
The solar noon calculator gives the clock time of solar noon with the equation of time, the sunrise azimuth calculator gives the direction of the sunrise, the shadow length calculator finds the shadow of an object, and the solar panel tilt calculator gives the angle for panels.