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

Summary

Calculate the sun's azimuth and elevation angle for any location, date, and time using the NOAA solar position algorithm.

How it works

  1. Enter your latitude and longitude (or click "Use My Location" to auto-fill from your browser).
  2. Select the date and local time you want to evaluate.
  3. Enter your UTC offset to convert local time to Universal Time.
  4. The tool computes the Julian Day Number and Julian Century for the given moment.
  5. Solar geometric angles (declination, equation of time, hour angle) are derived using NOAA polynomial coefficients.
  6. Azimuth and elevation are calculated from the hour angle and declination, then corrected for atmospheric refraction.

Use cases

Frequently Asked Questions

Related tools

Last updated: 2026-05-29 · Reviewed by Nham Vu