Sun Altitude & Azimuth Calculator

Find the Sun’s altitude, compass bearing, sunrise, sunset, and solar noon for a local date and time.

Inputs

US results use 12-hour times. Metric results use 24-hour times. Angles stay in degrees.

North is positive.
East is positive.
Use the offset on this date, including daylight saving.

Sky dome and daily sun path

Sky dome and daily sun pathA compass-centered view of the sky. The Sun traces the highlighted line and is marked at the selected time. NESWZENITH+90°HORIZON0°2:30 PM · 2026-06-2165.3° 235.4° SW
Sun altitude
65.3°
Sun azimuth
235.4° SW
Solar noon
1:02 PM
Daylight
14.99 h
Apparent altitude
65.3°
Declination
23.4°
Equation of time
-1.9 min

Altitude is geometric. The apparent altitude adds NOAA’s standard refraction correction.

Horizon events
EventLocal timeBearing
Sunrise5:32 AM58° NE
Sunset8:31 PM302° NW

From clock time to a compass bearing

The NOAA GML method uses the calendar, position, and UTC offset to estimate solar declination and the equation of time. The resulting hour angle gives the solar altitude above a level horizon and the azimuth clockwise from true north.

Sunrise and sunset use a geometric solar-center altitude of −0.833°. That convention includes approximate refraction and the Sun’s radius. Mountains, buildings, pressure, and temperature can shift a visible sunrise or sunset.

Common questions

Why is solar noon different from 12:00 on my clock?

Solar noon is the local meridian crossing. The longitude within the time zone, daylight-saving offset, and equation of time all move it relative to clock noon.

Does solar azimuth use magnetic north?

Azimuth starts at true north and increases clockwise. Correct a magnetic compass for local magnetic declination or use a true-north map.

How do I enter a half-hour time zone?

Enter the signed number of hours east of UTC. Enter 5.5 for India and −3.5 for standard time in Newfoundland.