Declination:
$$\delta = 23.45\sin\!\left(\frac{360}{365}(284+N)\right)$$
Solar altitude:
$$\sin\alpha_s = \sin\phi\sin\delta + \cos\phi\cos\delta\cos\omega$$
Hour angle: $\omega = 15(h-12)$ [°]
Enter latitude, day of year, tilt angle, and azimuth to compute solar altitude and beam irradiance in real time. Ideal for solar PV design and building energy analysis.
Declination:
$$\delta = 23.45\sin\!\left(\frac{360}{365}(284+N)\right)$$
Solar altitude:
$$\sin\alpha_s = \sin\phi\sin\delta + \cos\phi\cos\delta\cos\omega$$
Hour angle: $\omega = 15(h-12)$ [°]
The sun's position relative to Earth changes daily. The solar declination angle models the tilt of Earth's axis, defining how far north or south the sun is directly overhead.
$$\delta = 23.45\sin\!\left(\frac{360}{365}(284+N)\right)$$Where $\delta$ is the declination angle in degrees, and $N$ is the day of the year (1 = Jan 1). The 284 is an offset to align the sine function with the seasons (solstice is at N=172).
Given your location (latitude $\phi$) and time of day (hour $h$), the solar altitude $\alpha_s$ is calculated using spherical trigonometry. The hour angle $\omega$ converts local time into an angular distance from solar noon.
$$\omega = 15(h-12)$$ $$\sin\alpha_s = \sin\phi\sin\delta + \cos\phi\cos\delta\cos\omega$$Where $\phi$ is your latitude, $\delta$ is declination, and $\omega$ is the hour angle in degrees. The $\sin\alpha_s$ result is the sine of the sun's height above the horizon. When $\alpha_s = 90°$, the sun is directly overhead.
Photovoltaic (PV) System Design: Engineers use these exact calculations to optimize the tilt and orientation of solar panels for maximum annual energy yield. For a large solar farm, a small error in azimuth can lead to significant financial losses over the system's 25-year lifespan.
Building Energy Modeling: Architects and HVAC engineers calculate solar irradiance on building surfaces to predict heating/cooling loads. For instance, large south-facing windows (a specific azimuth) can provide passive solar heating in winter but may require shading in summer.
Agriculture and Ecology: The amount of solar radiation reaching the ground directly affects crop growth, evapotranspiration rates, and microclimates. Precision agriculture uses these models to plan planting and irrigation schedules.
Satellite Operations & Remote Sensing: Knowing the exact solar angles is critical for calibrating Earth-observing satellites. The illumination angle affects how surfaces reflect light, which must be accounted for to accurately interpret satellite imagery.
First, it's easy to overlook that "0° azimuth = true south" is based on true north, not magnetic north. The magnetic north measured by a compass deviates by several degrees (declination), requiring correction for precise design. For example, in Tokyo, the declination is approximately 7° west, so to face true south, you would need to orient your compass to about 187°. Next, understand that the "solar irradiance" values are theoretical clear-sky values. The tool models atmospheric attenuation (extraterrestrial radiation × atmospheric transmittance), but it does not include the effects of actual clouds, weather, or air pollution. In practice, you estimate actual power generation by multiplying these calculation results by a "sunshine percentage" or "cloud cover correction factor" derived from meteorological statistics. Finally, the optimal tilt angle changes depending on your "objective". For maximizing annual energy yield, an angle close to the latitude (e.g., 30-35° for Tokyo) is a good guideline. However, in northern regions prioritizing winter heat gain or snow shedding, angles above 60° are sometimes used. Conversely, if the main goal is reducing summer cooling load, you might set a near-horizontal angle below 10° to limit solar gain.
A rooftop PV installation at latitude 40.71° N (New York) on June 21 (summer solstice, day 172) with 25° tilt angle. At 12:00 solar time, the calculator yields: solar altitude α_s = 72.3°, extraterrestrial irradiance I₀ = 1361 W/m², beam irradiance on tilted surface I_bT = 892 W/m², and estimated daily total = 6.8 kWh/m². These values inform inverter sizing and shade analysis for adjacent buildings.