Home/Astronomy & Astrophysics/Solar Altitude Angle

Formula & Calculator

Solar Altitude Angle

Gives the Sun's angle above the horizon at a given latitude, solar declination, and hour angle from solar noon.

AstronomySolar PositionPractical

Solar Altitude Angle Calculator

Calculate the sun's elevation above the horizon
sin(a) = sin(φ) sin(δ) + cos(φ) cos(δ) cos(H)
Select the variable to solve for, then enter the other three values
aφδH
Select scenario: Set φ, δ, H
Unit:
°
°
°
°
a = solar altitude angle (elevation above horizon) φ = observer's latitude δ = solar declination H = hour angle (0 at solar noon)

Interpretation

sin(a) = sin(φ) sin(δ) + cos(φ) cos(δ) cos(H). Calculates the Sun's altitude angle at a given latitude, declination, and hour angle. Used in solar energy and navigation.

sin(a) = sin(φ)sin(δ) + cos(φ)cos(δ)cos(H)
Solar Altitude Angle

Variables

SymbolQuantityUnit
aSolar altitude angledeg
φObserver latitudedeg
δSolar declinationdeg
HHour angle from solar noondeg

What it means

The solar altitude angle (a) is the angle of the Sun above the horizon. This formula gives its sine in terms of latitude φ, solar declination δ, and hour angle H (time of day). It is fundamental for solar energy applications (estimating insolation), for shadow calculations, and for navigation (finding direction from the Sun). It also appears in astronomical navigation (sight reduction). Understanding this formula allows engineers, architects, and sailors to predict solar position for optimal design and for wayfinding.

Worked example

Solar Altitude Angle – Two Detailed Examples

Real‑World
Scenario: An engineer designing a solar tracking system for a site at latitude 40°N needs to calculate the solar altitude at solar noon (hour angle H = 0°) on the summer solstice (δ = 23.44°). They use sin(a) = sin(φ)sin(δ) + cos(φ)cos(δ)cos(H). The altitude angle a is critical for determining the incidence angle of sunlight on the panels and optimising their tilt.
ParameterValue
φ (deg)40
δ (deg)23.44
H (deg)0
1sin(a) = sin(40°)sin(23.44°) + cos(40°)cos(23.44°)cos(0°)
2sin(40°)=0.6428, sin(23.44°)=0.3979; cos(40°)=0.7660, cos(23.44°)=0.9174
3sin(a) = 0.6428*0.3979 + 0.7660*0.9174*1 = 0.2558 + 0.7030 = 0.9588
4a = arcsin(0.9588) ≈ 73.44°
Result 73.4° ✓ Solar altitude at noon
Scenario: A climatologist wants to know the solar altitude at 30° hour angle (2 hours after noon) in London (φ=51.5°) on a day with δ=10°. This helps in assessing the potential for solar heating of buildings. They compute the angle to evaluate the impact of building orientation and overhangs on passive solar design.
ParameterValue
φ51.5
δ10
H30
1sin(a) = sin(51.5)sin(10) + cos(51.5)cos(10)cos(30)
2≈ 0.7826*0.17365 + 0.6225*0.9848*0.8660 = 0.1359 + 0.5307 = 0.6666
3a = arcsin(0.6666) ≈ 41.8°
Result 41.8° ✓ Solar altitude
Insight: The solar altitude angle depends on latitude, declination, and hour angle. It is zero at sunrise/sunset and reaches a maximum at solar noon.

Common mistakes

  • Solar altitude angle a: The angle of the Sun above the horizon.
  • φ: Latitude, δ: declination, H: hour angle – all in degrees.
  • sin(a): The result is the sine of the altitude – use arcsin to get the angle.
  • Hour angle H: Measured from local noon – negative in the morning, positive in the afternoon.
  • Units: Use degrees for all angles – ensure your trig functions are in degrees.

Applications

The solar altitude angle, given by sin(a) = sin(φ)sin(δ) + cos(φ)cos(δ)cos(H), relates the Sun's elevation above the horizon (a) to latitude (φ), solar declination (δ), and hour angle (H). This formula is fundamental for solar energy engineering, architecture, and climatology. It allows the calculation of the Sun's position at any time and location, enabling the design of solar collectors, window shading, and building energy performance. By computing the altitude angle, engineers can estimate the intensity of sunlight and its heat gain. This formula is also used in astronomy for measuring stellar altitudes. Understanding solar altitude is essential for harnessing solar energy and for understanding the Earth's climate.

  • Design of solar thermal and photovoltaic systems
  • Building design for passive solar heating and daylighting
  • Climate modelling and solar radiation estimation
  • Astronomical navigation and sextant use
  • Agricultural planning for sunlight exposure

Frequently Asked Questions

Q01What is the solar altitude angle formula, and what does it compute?
A01

sin(a) = sin(φ)sin(δ) + cos(φ)cos(δ)cos(H). It gives the altitude (a) of the Sun above the horizon for a given latitude φ, solar declination δ, and hour angle H (measured from solar noon).

Q02What are the variables in this formula?
A02

  • φ – latitude of the observer (degrees).
  • δ – solar declination (degrees).
  • H – hour angle (degrees), where 0° is solar noon, positive in the afternoon.

Q03How is the hour angle related to local solar time?
A03

Hour angle in degrees = 15° × (local solar time in hours − 12). For example, at 10:00 solar time, H = 15 × (10−12) = −30°. Negative values are before noon.

Q04How does the solar altitude change throughout the day?
A04

The altitude is highest at noon (H=0) and decreases as the Sun moves away from the meridian. At sunrise and sunset, a = 0° (the Sun is on the horizon). The formula gives a negative altitude when the Sun is below the horizon.

Q05What is the maximum solar altitude at a given latitude?
A05

The maximum altitude at noon (H=0) is a_max = 90° − |φ − δ|. This occurs at the summer solstice for the northern hemisphere when δ is maximal.

Q06How does the formula handle the case when the Sun is below the horizon?
A06

When sin(a) < 0, the Sun is below the horizon. The formula still gives a negative altitude. For practical purposes, you can check if a > 0 to determine daytime.

Q07What are common mistakes when using this formula?
A07

  • Forgetting to convert degrees to radians in the trigonometric functions.
  • Using clock time instead of local solar time without correcting for longitude and equation of time.
  • Not accounting for atmospheric refraction, which raises the apparent Sun by about 0.5°.

Q08How is the solar altitude used in solar energy applications?
A08

It determines the angle of incidence of sunlight on a solar panel. For maximum output, the panel should be oriented perpendicular to the Sun, so the altitude helps in adjusting tilt.

Q09Can this formula be used to find the time of sunrise/sunset?
A09

By setting a = 0° and solving for H, you get cos(H) = −tan(φ)tan(δ), which is the hour angle of sunrise/sunset. This is the basis for the day length formula.

Q10How does the solar altitude affect shadow length?
A10

The shadow length of an object is inversely proportional to tan(a). When the Sun is low (small altitude), shadows are long; when it is high, shadows are short. This is important in architecture and solar design.