Your files stay on your device

Sun Position Calculator: Azimuth and Altitude

Azimuth and apparent altitude at any time and place, with compass and elevation charts whose numbers are stated.

Location and date

The default city is chosen after the page loads in your browser.

date set after load
Time
on that date, in the selected location’s clock

Click asks your browser for a one-time fix: no request happens on page load.

Your browser asks once, on your click; the coordinates stay in this tab's memory, feed only the local astronomy math, and are dropped when you press Clear or close the tab. Nothing is stored or sent.

Method and accuracy
  • SunCalc 2.0.1 (BSD-2-Clause) computes the position: Meeus/NOAA-derived geometry, the same engine behind every other sky tool here.
  • Azimuth is degrees clockwise from true north; altitude is apparent (geometric plus refraction), about a minute of accuracy inside 1900-2100, and dates outside that range are refused.
  • Your wall-clock time resolves through the zoned-time engine: DST gaps take the later edge, folds the earlier. The instant used is printed in the table.
  • The shadow ratio is flat-ground geometry (1 / tan altitude); terrain and obstacles shift what you actually see.
City data: GeoNames

City list curated from GeoNames (geonames.org, cities500 database, CC BY 4.0), snapshot 2026-08-24, bounded to 151 major cities across six regions. Coordinates rounded to 2 decimals; ids are product slugs, not GeoNames ids.

CC BY 4.0
Nothing in yet

Paste, drop, or type to begin. Everything stays on this device.

azimuth and altitude appear once the page has loaded and a time and location are set