Skip to content
Calc.

Sun Angle Calculator

Estimate the sun's maximum elevation angle above the horizon for a given latitude and day of year. Useful for solar panel placement, shading analysis, and understanding seasonal daylight variation.

Last updated: October 2026

Sun Elevation Angle

72.75 °

Formula below · 3 sources (gml.noaa.gov, midcdmz.nlr.gov, pveducation.org) · Updated Oct 2026

Compare with similar

About this calculator

The sun's highest angle above the horizon on any day, at solar noon, is 90° minus the difference between your latitude and the sun's declination: in New York (40.7° N) on the June solstice that is 90 − (40.7 − 23.45) ≈ 72.8°, and on the December solstice only about 26°. The calculator estimates the declination from the day of the year and applies that rule.

The formula

Declination δ = 23.45° × sin(360° × (day − 81) ÷ 365), which is about 0° at the equinoxes, +23.45° at the June solstice and −23.45° at the December solstice. Noon elevation = 90° − |latitude − δ|. Use negative latitudes for the Southern Hemisphere. If the result is negative, the sun stays below the horizon all day (polar night).

Accuracy

The sine formula for declination is a common approximation that is usually within about a degree of NOAA's more detailed solar equations, which is fine for shading and siting work. For exact sun positions at any time of day, use NOAA's solar calculator or NREL's Solar Position Algorithm.

Using the result

Shadow length at noon = object height ÷ tan(elevation), so a low winter sun casts long shadows: at 26° a 10-foot fence throws a shadow about 20 feet long. Use the winter-solstice angle to check whether trees or buildings will shade a solar array or a garden in the worst case, and the summer angle to size roof overhangs that shade windows. The table below gives noon angles at several latitudes.

Noon sun elevation by latitude on the equinoxes and solstices (Northern Hemisphere)

Scroll sideways to see all columns →

LatitudeMarch / September equinoxJune solsticeDecember solstice
0° (equator)90.0°66.6°66.6°
23.44° N (Tropic of Cancer)66.6°90.0°43.1°
30° N60.0°83.4°36.6°
40.7° N (New York)49.3°72.7°25.9°
51.5° N (London)38.5°61.9°15.1°
60° N30.0°53.4°6.6°
66.56° N (Arctic Circle)23.4°46.9°0.0°
Source: Computed with declination ±23.44° using the solar-noon elevation formula (PVEducation)

How to use

Enter your latitude (negative south of the equator) and the day of the year (1 to 365). The default, 40.7° N on day 172 (June 21), gives about 72.8°. At 45° N on day 355 (December 21), the noon sun reaches only about 21.6°. To find the shadow length at noon, divide an object's height by the tangent of the result.

Frequently asked questions

How does latitude change the sun angle?

The noon sun is lower the farther you are from the subsolar point. At the equinoxes the noon elevation is simply 90° minus your latitude. At 45° N it ranges from about 68.5° at the June solstice to about 21.6° at the December solstice.

What sun angle should I use for solar panels or shading studies?

Use the December solstice angle in the Northern Hemisphere (June in the Southern) as the worst case for shading, because the sun is lowest and shadows are longest. Panel tilt for year-round output is often set near the site latitude, but use a solar design tool with local weather data for the final choice.

Is this the angle at any time of day?

No. It is the maximum elevation, reached at solar noon when the sun crosses your meridian. Morning and afternoon angles are lower; NOAA's solar calculator gives the elevation for any time.

Related calculators

Sources & references

How we check our calculators

Think a result is wrong? Report a problem with this calculator.