Sun Position Calculator
Calculate the sun's azimuth and elevation angle for any location, date, and time using the NOAA solar position algorithm.
Location & Time
Enter location and time to see sun position
Azimuth
—
—
Elevation
—
—
Sun Arc (horizon view)
Day Details
Sunrise
—
Sunset
—
Solar Noon
—
Day Length
—
Declination
—
Hour Angle
—
Solar Zenith
—
Equation of Time
—
Summary
Calculate the sun's azimuth and elevation angle for any location, date, and time using the NOAA solar position algorithm.
How it works
- Enter your latitude and longitude (or click "Use My Location" to auto-fill from your browser).
- Select the date and local time you want to evaluate.
- Enter your UTC offset to convert local time to Universal Time.
- The tool computes the Julian Day Number and Julian Century for the given moment.
- Solar geometric angles (declination, equation of time, hour angle) are derived using NOAA polynomial coefficients.
- Azimuth and elevation are calculated from the hour angle and declination, then corrected for atmospheric refraction.
Use cases
- Optimize solar panel tilt and orientation for maximum energy yield.
- Determine shading patterns for building design and architecture.
- Plan landscape or portrait photography at the golden hour or blue hour.
- Schedule outdoor activities around peak sun intensity.
- Find sunrise and sunset times for any location on Earth.
- Calculate solar noon for accurate sundial calibration.
- Verify satellite dish or antenna clear-sky sightlines.
- Support agricultural planning by knowing daily sun exposure hours.
Frequently Asked Questions
Related tools
Last updated: 2026-05-29 ·
Reviewed by Nham Vu