Advertisement

Sun angle calculator

Find the Sun direction for a place and local clock time using the NOAA approximate solar-position equations.

Calculator

Geometric solar elevation
1.21177
Solar azimuth clockwise from north
2.92528
Solar declination
0.409315
Equation of time (minutes)
-1.32823680
Solar position
Sun above geometric horizon
Hourly solar positions
Local timeElevation (degrees)Azimuth (degrees)
00:00-22.76106551355.33609937
01:00-22.2337094010.21723206
02:00-18.9892271924.50331818
03:00-13.3862357337.59039882
04:00-5.9207299949.31611213
05:002.9204923459.86459437
06:0012.7263616169.61080808
07:0023.1628220479.04343074
08:0033.9391505588.80075910
09:0044.7453208899.85670725
10:0055.12056452114.00390392
11:0064.10341690134.88528340
12:0069.42933976167.60610050
13:0068.09867103206.04080960
14:0061.03567239233.99759200
15:0051.36375606251.78511465
16:0040.75537848264.48799501
17:0029.91916460274.91235432
18:0019.23610034284.45995805
19:008.99904038293.94480980
20:00-0.49069799303.93751198
21:00-8.87300069314.88656623
22:00-15.70586741327.11055806
23:00-20.48689056340.68433653

Advertisement

How this calculator works

The NOAA fractional-year approximation supplies solar declination and the equation of time. Longitude and the entered UTC offset convert clock time to true solar time, giving the hour angle. Spherical geometry then gives elevation and azimuth. This tool uses a geometric centre-of-Sun elevation, without atmospheric refraction. Enter the offset that actually applies on your date, using the daylight-saving option only when the standard offset excludes that hour. The hourly table replaces a chart.

Formula

gamma = 2 pi/N (day_of_year-1+(hour-12)/24). True solar minutes = local minutes + equation_of_time + 4 longitude_degrees - 60 UTC_offset. sin(elevation) = sin(phi)sin(delta)+cos(phi)cos(delta)cos(hour_angle).

Worked example

At latitude 0 degrees, longitude 0 degrees on 2026-03-21 at 12:00 UTC, this approximation gives solar elevation about 88.03 degrees. The small offset from zenith includes equation-of-time and declination effects.

Advertisement

Frequently asked questions

Which direction is azimuth measured from?

Clockwise from true north: east is 90 degrees, south is 180 degrees and west is 270 degrees.

Does the tool know my time zone rules?

No. Enter the standard UTC offset and the daylight-saving adjustment for the date and place.

Why does sunrise use another elevation?

Observed sunrise includes the solar disc and atmospheric refraction. This page gives geometric centre-of-Sun position.

Sources

Advertisement