Your files stay on your device

# Sun position calculator

Where the sun sits in the sky at any time and place, as a compass direction and height.
SunCalc 2.0.1 · azimuth from true north, apparent altitude · 1900-2100 onlyCityCustom coordinatesSearch cities

The default city is chosen after the page loads in your browser.
Datedate set after loadWall-clock timeon that date, in the selected location’s clockUse my location

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.

- 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 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.
Paste, drop, or type to begin. Everything stays on this device.

## More sun & moon tools

- [Sunrise & sunset](/sky/sunrise-sunset)
- [Golden hour](/sky/golden-hour)
[All sun & moon tools](/sky)

---

Canonical HTML: https://nutter.tools/sky/sun-position/
Markdown version: https://nutter.tools/sky/sun-position/index.md
Plain-text version: https://nutter.tools/sky/sun-position/index.txt
Agent index: https://nutter.tools/llms.txt

