TokiAtlas

How sunrise and sunset are calculated

The calculation uses the city coordinates and its local date. It assumes a level horizon at sea level and finds where the Sun’s centre crosses an altitude of about −0.833 degrees.

At high latitudes the Sun may stay above or below the horizon all day, or only rise or only set. Hills, buildings and atmospheric conditions affect the time you observe.

Open the tool

NOAA · GeoNames · IANA