Menu

Sunrise / Sunset / Golden Hour

Solar times for any place. Uses Nominatim (OpenStreetMap) to find coordinates, then api.sunrise-sunset.org. Both free, no key.

Sunrise / Sunset: How It Works

Sunrise and sunset times depend on your latitude, longitude and the date, and they shift in ways that surprise people — including the fact that the earliest sunset does not fall on the shortest day.

What determines the times

The definition of sunrise

Sunrise is the moment the upper edge of the sun appears above the horizon, not its centre. Atmospheric refraction bends light around the curve of the Earth, so the sun is actually below the geometric horizon at the moment it appears — by roughly the width of its own disc.

This means daylight lasts a few minutes longer than pure geometry predicts, and it is why the equinox has slightly more than twelve hours of daylight rather than exactly twelve.

Twilight

PhaseSun below horizonConditions
Civil twilight0–6°Outdoor activity still possible without lights
Nautical twilight6–12°Horizon still visible at sea
Astronomical twilight12–18°Faint objects begin to be visible
NightBelow 18°Full darkness

The golden hour — favoured by photographers for its warm, soft light — is roughly the hour after sunrise and before sunset. The blue hour is the period of civil twilight either side, when the sky holds a deep even blue.

Why the earliest sunset is not the shortest day

In the northern hemisphere the earliest sunset falls in early December and the latest sunrise in early January, with the solstice — the shortest day — between them. The reverse holds in June.

The cause is that solar noon drifts through the year, because the Earth's orbit is elliptical and its axis is tilted. The combined effect is described by the equation of time, and it means the sun is up to about 16 minutes ahead of or behind clock time depending on the date. Day length and clock times therefore peak on different dates.

The polar extremes

Above the Arctic Circle and below the Antarctic Circle, the sun remains above the horizon continuously around the summer solstice and below it around the winter one. The further from the circle, the longer these periods last — at the poles themselves the year is a single day and a single night.

Practical uses

Photographers plan around golden and blue hour; gardeners track daylight hours for growing conditions; solar installers use the sun's path to position panels; and several religious observances are defined by sunrise, sunset or twilight. For religious timings, note that different traditions use different definitions of the relevant moment — follow your community's published times rather than a general calculator.

Frequently Asked Questions

Why is the earliest sunset not on the shortest day?
Because solar noon drifts through the year due to the Earth's elliptical orbit and axial tilt. The earliest sunset falls in early December in the northern hemisphere, the latest sunrise in early January, with the solstice between them.
Why is the equinox not exactly twelve hours of daylight?
Two reasons. Sunrise is defined by the sun's upper edge rather than its centre, and atmospheric refraction bends light so the sun appears before it geometrically rises. Together these add several minutes of daylight.
What is the golden hour?
Roughly the hour after sunrise and before sunset, when the sun is low and light is warm and soft. The blue hour is the civil twilight either side of it, when the sky holds a deep even blue.
Why do times differ across one city?
Longitude shifts sunrise and sunset within a timezone — the eastern side of a wide timezone sees the sun several minutes earlier. Elevation and local terrain also matter, since a mountain or building can block the true horizon.
What are the different twilight phases?
Civil twilight is the sun 0–6° below the horizon, when outdoor activity is still possible; nautical is 6–12°; astronomical is 12–18°, after which it is fully dark.
Can I use these times for religious observance?
Check against your community's published times. Different traditions define the relevant moment differently — some by the sun's upper edge, some by specific degrees of twilight — so a general calculator may not match.

Related World Tools

Browse all World tools →