Play n Tools

Free tools & games for everyone

Free · No sign-up · No accounts

Sun & shadow studio

See where the sun is and where shadows fall at any place, date and time. Shadow paths, sun paths for solstices, and measuring heights from shadows.

How to use

  1. Pick a place or type a latitude, longitude and the UTC offset of the clock (for example -5 for New York in winter).
  2. Choose a date and the height of the object: a person, a fence, a tree or a building.
  3. Move the clock time slider. The thick line is the shadow now; the curve shows where its tip goes all day.
  4. Sun paths compares how high the sun climbs on the longest day, the shortest day and an equinox.
  5. Measure a height finds the height of something tall from its shadow and a stick.

Keyboard and touch

TabMove between tabs, boxes, the slider and buttons
Arrow keys on the time sliderMove the clock 5 minutes at a time
Enter in a boxWork it out again

Tips

  • Daylight saving time: add 1 to the UTC offset in summer (London is +1 and New York -4 in summer).
  • The shortest shadow of the day comes at solar noon, which is often not 12:00 on the clock. It depends on your longitude inside the time zone and on the time of year.
  • In winter far from the equator shadows are long all day: plan a vegetable bed or solar panels where winter shadows will not reach.
  • Near the equator the noon shadow can point north in one season and south in another. On two days a year it almost vanishes.
  • For the stick method, measure both shadows within a minute or two: shadows grow or shrink quickly in the morning and evening.

About this studio

The sun's position uses the NOAA general solar position formulas: the fractional year gives the equation of time and the sun's declination, then the hour angle comes from the clock time, the longitude and the time zone. Elevation and azimuth (measured clockwise from north) follow from spherical trigonometry. Near the horizon the air bends sunlight upward; we add Saemundsson's refraction formula, so the elevation shown is where the sun appears. The formulas are good to about a tenth of a degree from 1901 to 2099.

A shadow of an upright object of height h on flat, level ground is h / tan(elevation) long and points directly away from the sun. Real shadows have soft edges because the sun is half a degree wide, and slopes change their length. The stick method uses similar triangles: at the same moment, height divided by shadow is the same for every upright object. Everything runs in your browser; your location is never asked for or sent.

See you tomorrow!

A fresh daily puzzle every morning, and new tools added every month.

Browse every product