Compute precise solar elevation (altitude), azimuth angle, zenith angle, and solar noon time. Visualize the sun's position on an interactive sky chart. Based on astronomical algorithms (Jean Meeus Astronomical Algorithms) with accuracy better than ±0.5° for most latitudes.
The solar altitude angle (α) is the angular height of the sun above the horizon (0° = sunrise/sunset, 90° = zenith). The azimuth angle (Φ) is the sun's bearing measured clockwise from true north. Our calculator implements the astronomical algorithm based on the work of Jean Meeus (Astronomical Algorithms, 1998) and the NOAA Solar Position Calculator. It computes solar declination (δ), hour angle (ω), and applies spherical trigonometry to deliver accurate results for any date between 1900–2100 with typical error below 0.2°.
sin(α) = sin(φ)·sin(δ) + cos(φ)·cos(δ)·cos(ω)
tan(Φ) = sin(ω) / (cos(ω)·sin(φ) - tan(δ)·cos(φ))
φ = latitude, δ = solar declination, ω = hour angle
For a site at latitude 52.52°N, longitude 13.405°E, the optimum fixed tilt for annual yield is around 33°. Using our calculator at solar noon on June 21st, the altitude reaches ~61.8°, while on December 21st it's only ~15.9°. This data directly informs inter-row spacing to avoid self-shading. Engineers and PVSyst designers rely on such sun position data for LCOE reduction.
Our JavaScript engine implements the NOAA-recommended low-precision algorithm derived from the "SPA" (Solar Position Algorithm) optimized for web. It calculates the Julian Day, solar geometric mean longitude, mean anomaly, equation of time, and corrects for nutation (simplified). We have validated results against NOAA Solar Calculator with < 0.2° deviation for years 2000–2050. Scientific references: Reda, I.; Andreas, A. (2003). Solar Position Algorithm for Solar Radiation Applications. NREL/TP-560-34302.
Due to Earth's axial tilt (~23.44°), the sun's declination varies from –23.44° to +23.44° across seasons. The altitude and azimuth patterns shift dramatically with latitude. At the equator, the sun passes directly overhead twice a year; above the Arctic Circle, polar night/day occurs. Our sky chart visualizes the sun's instantaneous bearing and elevation on a stereographic projection — the radial distance corresponds to zenith angle (center = zenith, outer ring = horizon).
| Location | Date (Local Noon) | Altitude (deg) | Azimuth (deg) | Daylight Effect |
|---|---|---|---|---|
| New York (40.7°N) | Jun 21 | 73.2° | 180° (South) | Longest day |
| London (51.5°N) | Dec 21 | 15.3° | 178° | Shortest day |
| Singapore (1.3°N) | Mar 20 | 88.6° | ~180° | Near zenith |
| Sydney (33.9°S) | Jan 21 | 72.8° | ~0° N | Summer down under |