About the Sun Position & Shadow Calculator
Photographers, gardeners, architects and solar installers all ask the same question: where will the sun be? This calculator uses NOAA’s solar position algorithm to give the sun’s compass direction (azimuth) and height above the horizon (elevation) for any place, date and time, including atmospheric refraction.
It also lists sunrise, solar noon and sunset, the evening golden hour and civil twilight, works out the shadow length of an object of any height, and draws a sun-path diagram for the day alongside the June and December solstices.
How to use the Sun Position & Shadow Calculator
- Enter a city or coordinates, the date, local time and time zone.
- Optionally set an object height for its shadow.
- Read the position, times and sun-path diagram.
Features
- NOAA algorithm with refraction
- Shadow length for any height
- Sunrise, noon, sunset, golden hour
- Sun-path diagram with solstices
- Equation of time explained
Supported formats
- Text
Frequently asked questions
Why is solar noon not at 12:00?
Your clock follows a time-zone meridian and the Earth’s orbit is elliptical; the difference (equation of time plus longitude) can be over 30 minutes.
Are my numbers saved?
No. Calculations happen in your browser and nothing you enter is sent anywhere or stored.
Added · Last reviewed · Maintained by Sohail Khax · How we test tools