Sun Position Calculator
Calculate the sun's azimuth and elevation angle for any location, date, and time using the NOAA solar position algorithm.
Use the Sun Position Calculator
Location & Time
Location permission is optional. Coordinates are used only in this browser calculation.
Enter location and time to see sun position
Azimuth
—
—
Elevation
—
—
Estimated Ground Shadow
—
Length
—
Length / height
—
Direction
Uses level ground and a vertical object.
Calculated daily sun path (azimuth/elevation)
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
- Inspect solar azimuth and elevation before planning a solar-energy site assessment.
- 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.
- Check when direct sunlight may enter a window or cast a shadow.
- Support agricultural planning by knowing daily sun exposure hours.
Frequently Asked Questions
Last updated: 2026-09-19 ·
Reviewed by Nham Vu