Sundial
--:--
apparent solar time
Clock
--:--
 
 
  •  
  •  
  •  

 

Theme
Sound
F full screen M make it yours T theme

Sundial

This sundial draws the hour lines of a horizontal sundial for your latitude and the shadow of its gnomon right now. Next to it, the time on the dial against the time on your clock, and the three reasons they differ. Press Use my location or choose a city.

Drawn for your latitude

Hour lines from the sundial formula, tan(H) = sin(latitude) × tan(15° × hours from noon), for any place from pole to pole.

The shadow now

The gnomon's shadow is placed from the Sun's position computed with astronomy-engine, so it moves as the real one does.

Sundial against clock

Apparent solar time beside your clock, split into longitude, daylight saving time and the equation of time.

Sundial time and clock time

A sundial shows apparent solar time: noon is the moment the Sun is highest and due south, or north in the tropics in summer. Your clock keeps mean time in a time zone, so it differs from the sundial by three things you can add up:

  • Longitude. A time zone is set to one meridian, and the Sun reaches a place east of it earlier and west of it later, by 4 minutes for every degree.
  • Daylight saving time. In summer, clocks run an hour ahead of the zone's standard time in many places.
  • The equation of time. The Earth's orbit is an ellipse and its axis is tilted, so the real Sun runs a little ahead of, or behind, an average Sun that moves at a steady rate. The difference changes through the year.

This year the sundial is furthest behind the clock's mean solar time on February 11, by 14 min 11 s, and furthest ahead on November 3, by 16 min 27 s. The equation of time is the same for everyone on the same day, to within a few seconds, wherever they are; only longitude and daylight saving time depend on the place.

Month1st15th
January-3 min 34 s-9 min 24 s
February-13 min 33 s-14 min 04 s
March-12 min 18 s-8 min 53 s
April-3 min 50 s-0 min 00 s
May+2 min 55 s+3 min 40 s
June+2 min 10 s-0 min 30 s
July-3 min 53 s-6 min 01 s
August-6 min 21 s-4 min 30 s
September-0 min 00 s+4 min 47 s
October+10 min 21 s+14 min 13 s
November+16 min 26 s+15 min 24 s
December+11 min 00 s+4 min 53 s

Equation of time at noon UTC in 2026, computed with astronomy-engine. Positive means the sundial is ahead of mean solar time.

How to make a sundial

The simplest design is the horizontal sundial drawn above: a flat plate and a triangular gnomon. Three things must be right.

  1. Set the gnomon angle to your latitude. The slanted edge of the gnomon, the style, must point at the celestial pole, which stands as many degrees above the horizon as your latitude: 40° at 40° north. Cut the triangle with its acute angle equal to your latitude.
  2. Line up the noon line with true north (true south in the Southern Hemisphere). A compass points to magnetic north, so correct it for the declination where you live, or find north from the shadow at local solar noon.
  3. Mark the hour lines. Measure each line from the noon line by the angle H where tan(H) = sin(latitude) × tan(15° × hours from noon). The table gives the angles for common latitudes; the afternoon lines mirror the morning ones.
Latitude11 AM / 1 PM10 AM / 2 PM9 AM / 3 PM8 AM / 4 PM7 AM / 5 PM
25°6.5°13.7°22.9°36.2°57.6°
30°7.6°16.1°26.6°40.9°61.8°
35°8.7°18.3°29.8°44.8°65.0°
40°9.8°20.4°32.7°48.1°67.4°
45°10.7°22.2°35.3°50.8°69.2°
50°11.6°23.9°37.5°53.0°70.7°

Angle of each hour line from the noon line, in degrees, for a horizontal dial in the Northern Hemisphere. The 6 AM and 6 PM lines are at 90°, the east-west line.

If you are using a sundial clock to tell the time, read it and then correct it: add your longitude offset and any daylight saving hour, then the equation of time for the date from the table.

The sundial clock

A sundial clock is a sundial used as a clock. It keeps solar time and needs no power. Its limits are the ones above: it works only in sunshine, only to within a few minutes unless you correct it, and only for the latitude it was made for. For a clock that does not need the sun, try the analog clock or the exact time page, which tells you how far off your own clock is.

How to use it

  1. Press Use my location or choose a city, or type a latitude and longitude. Your location stays in your browser.
  2. Read the shadow against the hour lines. The numbers are apparent solar time.
  3. Compare with the clock in the panel, which adds up longitude, daylight saving time and the equation of time.
  4. Build your own with the gnomon angle and hour line angles in the sections below.

Questions

How does a sundial work?

A sundial has a gnomon, a fixed edge that casts a shadow. As the Earth turns, the Sun moves across the sky at 15 degrees an hour, and the shadow sweeps across a plate marked with hour lines. The shadow's position on the lines is the time by the Sun, called apparent solar time.

Why does a sundial not agree with my watch?

Three reasons add together: your longitude against the meridian your time zone is based on, daylight saving time, and the equation of time, which is the difference between the real Sun and an average one. Over 2026 the equation of time runs from -14 min 11 s on February 11 to +16 min 27 s on November 3. The panel next to the dial adds them up for your place.

What angle should the gnomon be?

The angle of the gnomon's edge above the plate equals your latitude, so the edge points at the celestial pole. At 40 degrees north the gnomon is tilted 40 degrees. Its shadow edge at noon lies along the north-south line.

How do I make a sundial?

Cut a gnomon with its edge at your latitude. Fix it to a flat plate along a north-south line, with the high end toward the pole, using a compass corrected to true north. Then mark the hour lines by the formula above, or by putting a pencil on the shadow's tip every hour for a day.

Does a sundial work in the Southern Hemisphere?

Yes, with the noon line pointing south and the gnomon aimed at the south celestial pole. The shadow then turns counterclockwise, and the dial above flips to match when you pick a southern place.

Does a sundial work in winter, or on a cloudy day?

It works in any season, because the hour lines are drawn for the hour angle of the Sun, which is the same every day of the year. It does not work when the Sun is hidden, and the shadow needs the Sun above the horizon.

For when the Sun rises and sets where you are, see sunrise and sunset; the golden hour page has the light for photos, and the day and night map shows where the Sun is up right now.

More clocks and timers

Time zones and sky