Skip to content
Omnikalc

Horizontal sundial calculator: angle of each hour line and dimensions of the gnomon

Enter the latitude and the hour to get the angle of the hour line on a horizontal sundial, the angle of the gnomon and its height and base for a given edge length.

Updated on
Your inputs
°

Value out of range

Value out of range

in

Value out of range

Results

Angle of the hour line from the noon line

33.11 °

Hour angle of the sun
45.00 °
Angle of the style above the dial
40.70 °
Height of the gnomon
6.52 in
Base of the gnomon
7.58 in

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.

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.

Frequently asked questions

How does a horizontal sundial work?

The style of the gnomon is parallel to the axis of the Earth, so it points at the celestial pole and it slopes up from the dial at an angle equal to the latitude. The sun turns around this axis at 15° per hour, and the shadow of the style turns at the same rate in a plane perpendicular to the axis. When this shadow falls on a horizontal dial, the angles between hours are not equal, hence the formula tan θ = sin(lat) tan(15° h).

Why are the hour lines not evenly spaced?

The shadow turns evenly around the style, but the dial is a plane that cuts these shadows at a slant. The lines are closer to each other near noon and farther apart in the morning and the afternoon. At a latitude of 40.7°, the lines at 1 PM, 2 PM and 3 PM are at 9.9°, 20.6° and 33.1°. At the pole, the sundial is perfectly even, and at the equator it is replaced by a vertical or an equatorial dial.

Does a sundial show the same time as my watch?

No, it shows apparent solar time. To read the clock time, add 4 minutes for each degree of longitude west of the meridian of your time zone (subtract if east), add one hour for summer time and then add the equation of time, up to +16 or −14 minutes in the year. The solar noon calculator does all these corrections for a place and a date.

What about the southern hemisphere?

Use the latitude without its sign, and mirror the dial: the style points at the south celestial pole and the hours run in the opposite direction, because the sun is in the north of the sky. A sundial at the equator needs an equatorial or a vertical design, because the style would be flat on the dial.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.