Find the sun’s height above your horizon quickly. Choose direct inputs or date-time mode easily. Export tables, compare examples, and trust every calculation here.
The solar elevation angle α is the Sun’s height above the horizon. This calculator uses:
sin(α) = sin(φ)·sin(δ) + cos(φ)·cos(δ)·cos(H)
In Date-Time mode, declination and the equation of time are approximated using common engineering formulas, then solar time and hour angle are derived from longitude and time zone.
Sample inputs and outputs for quick verification (approximate).
| Latitude (°) | Longitude (°) | Date | Local Time | Elevation (°) | Azimuth (°) |
|---|---|---|---|---|---|
| 0 | 0 | 2026-03-21 | 12:00 | ~90 | ~180 |
| 24.86 | 67.00 | 2026-06-21 | 12:00 | ~88 | ~180 |
| 51.50 | -0.12 | 2026-12-21 | 12:00 | ~15 | ~180 |
| -33.87 | 151.21 | 2026-01-15 | 09:00 | ~44 | ~70 |
| 40.71 | -74.01 | 2026-09-22 | 15:00 | ~35 | ~240 |
Solar elevation (α) is the angle between the Sun and your local horizon. A value of 0° places the Sun on the horizon, while 90° places it overhead. Elevation is a fast way to anticipate shadow behavior during the day. When α is negative, the Sun is below the horizon, which helps with twilight checks and sunrise validation.
Elevation depends on latitude (φ), solar declination (δ), and hour angle (H). Latitude ranges from −90° to 90° and limits how high the Sun can climb. Hour angle tracks time from solar noon and changes by 15° per hour.
Declination varies roughly from −23.45° near the December solstice to +23.45° near the June solstice. Around the equinoxes, δ is close to 0°. In Date-Time mode, δ is estimated from the day of year (n) for seasonal realism.
Clock time is not identical to solar time. Local solar time shifts with longitude relative to the standard meridian and with the equation of time (EoT). EoT often stays within about ±16 minutes over a year, creating a time correction before H is computed. This is why nearby cities can have different solar noon times.
Zenith angle (θz) is the complement of elevation: θz = 90° − α. The azimuth here is clockwise from true North: 0° North, 90° East, 180° South, and 270° West. Near sunrise or sunset, azimuth can shift rapidly with time.
Sunrise and sunset come from the sunrise hour angle H0 using cos(H0) = −tan(φ)·tan(δ). When this has a real solution, day length is 2·H0/15 hours. If there is no real solution, the location may experience polar day or polar night on that date.
Solar designers use elevation to estimate incident angles and obstruction risk for panels. Building teams use it to plan shading devices, daylighting, and glare control. Outdoor work, photography, and events benefit from predicting lighting direction when combined with azimuth.
Best results come from accurate coordinates and the correct UTC offset. For precision work near the horizon, atmospheric refraction matters and can raise apparent elevation slightly. For planning and comparison, the trigonometric core used here remains dependable.
Elevation is measured up from the horizon. Zenith is measured down from overhead. They are complementary: zenith equals 90° minus elevation.
Clock time follows time zones, but solar time follows the Sun. Longitude offset from the standard meridian and the equation of time shift solar noon, creating a time correction of several minutes.
Negative elevation means the Sun is below the horizon. It is useful for twilight planning and for confirming when sunrise will occur.
Use positive longitude for locations east of Greenwich and negative for locations west of Greenwich. This sign convention keeps the time correction and hour angle consistent.
At high latitudes, the Sun can stay above the horizon all day or remain below it all day during certain seasons. In those cases, sunrise and sunset do not happen on that date.
They are standard approximations intended for estimates, education, and planning. For navigation or astronomy-grade precision, use full ephemeris models and include atmospheric refraction near the horizon.
Azimuth is measured clockwise from true North: 0° North, 90° East, 180° South, and 270° West. This matches common mapping and surveying conventions.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.