Sunrise, Sunset & Moonrise Calculator

Sunrise, sunset, golden hour, day length, moonrise and moon phase for any location and date. Runs in your browser — nothing is sent to a server.

Decimal degrees. North and east are positive; south and west are negative.

Times shown in Europe/London — the local time zone of London, UK.

Sunrise and sunset

Sunrise
…
Sunset
…
Solar noon
…
Day length
…

Twilight, golden hour and blue hour

Civil dawn (sun 6° below horizon)…
Civil dusk…
Morning golden hour…
Evening golden hour…
Morning blue hour…
Evening blue hour…

Moonrise, moonset and moon phase

Moonrise
…
Moonset
…
Moon phase
…
Illumination
…

Next 7 days

DateSunriseSunsetDay lengthMoon
Calculating…

How sunrise, sunset and golden hour are calculated

Sunrise and sunset are calculated from your latitude, longitude and the date, using standard astronomical formulas for the sun's position. Sunrise is the moment the top edge of the sun appears above a flat horizon, which the formulas place at the sun's centre 0.833° below the horizon to allow for the sun's size and atmospheric refraction.

Every other time on this page is the moment the sun (or moon) crosses a particular angle. All of it is worked out in your browser with the open-source suncalc library — your location and dates are never sent to a server.

How to use this calculator

  1. Pick a city from the list, press Use my location, or type a latitude and longitude.
  2. Choose a date — it starts on today.
  3. Read sunrise, sunset, twilight, golden hour and moon times in the time zone shown above the results.
  4. Scroll to the 7-day table to plan the week ahead.

What each time means

  • Civil dawn / dusk: the sun is 6° below the horizon — usually bright enough to see outdoors without artificial light.
  • Golden hour: from sunrise until the sun climbs to 6°, and from 6° down to sunset in the evening.
  • Blue hour: the sun is between 6° and 4° below the horizon, just before sunrise and after sunset.
  • Solar noon: the moment the sun is highest in the sky — often not 12:00 on the clock.
  • Moon phase and illumination: the phase name and the percentage of the moon's visible disc that is lit, taken at local midday.

Frequently Asked Questions

Golden hour is the period just after sunrise and just before sunset when the sun is low in the sky and the light is soft and warm. This calculator uses the common definition: from sunrise until the sun climbs to 6° above the horizon in the morning, and from 6° down to sunset in the evening. How long it lasts depends on your latitude and the time of year — it is shorter near the equator and longer at high latitudes.
Blue hour is the part of twilight when the sun is a few degrees below the horizon and the sky turns a deep blue. Definitions vary slightly, but this tool uses the sun between 6° and 4° below the horizon — just before sunrise in the morning and just after sunset in the evening.
Civil dawn comes first: it is when the sun's centre is 6° below the horizon and the sky is already light enough to see outdoors. Sunrise is later, when the top edge of the sun appears above the horizon. Civil dusk and sunset work the same way in the evening, in reverse order.
Small differences usually come from the exact coordinates used for a city, the formula and rounding each site uses, and whether elevation or terrain is taken into account. A city spans many kilometres, so its eastern and western edges genuinely see the sun rise at slightly different times. For the most precise result, enter your own latitude and longitude or use your location.
It is accurate enough for planning a photo shoot, a walk or a drive, and usually agrees with other reputable calculators to within a minute or two. It assumes a flat, sea-level horizon, so mountains, buildings, high elevation and unusual atmospheric conditions can shift what you actually see. Accuracy is lower very close to the poles, where the sun moves almost parallel to the horizon.
If you are far enough north or south, the sun can stay above the horizon all day (polar day, or midnight sun) or below it all day (polar night). This happens inside the Arctic and Antarctic circles around the solstices, and the calculator shows a clear polar day or polar night message instead of a time.
No. Every calculation runs in your browser, and nothing is sent to a server. If you press "Use my location", your browser asks for permission and the coordinates stay on your device — they are only used to fill in the latitude and longitude fields.