๐ŸŒ… Sunrise & Sunset Calculator

Enter latitude, longitude, and date to calculate

This is an estimate from a simplified astronomical formula (typically accurate to within about a minute) and may differ from official observed values.

Specify a location (latitude/longitude) and a date to calculate that day's sunrise, sunset, solar noon (when the sun is highest), and length of daylight. Based on the solar position formula widely used in astronomical calculations.

How to use

  1. Choose a city preset, or enter latitude/longitude directly.
  2. Choose the date you want to calculate for.
  3. Sunrise, sunset, solar noon, and daylight length are calculated automatically.

How the calculation works

From a latitude, longitude and date, this tool calculates sunrise, sunset, solar noon (when the Sun is highest, due south in the northern hemisphere) and day length. It starts with today in Tokyo. It uses the solar position formula used by NOAA (the US National Oceanic and Atmospheric Administration) and others. Sunrise and sunset are when the upper edge of the Sun touches the horizon, using โˆ’0.833ยฐ: about 0.57ยฐ of atmospheric refraction plus the Sunโ€™s radius of about 0.27ยฐ. Near the poles, some days have midnight sun (the Sun never sets) or polar night (it never rises), and the tool says so.

Worked example

Tokyo (35.68ยฐN, 139.65ยฐE) September 19, 2026: sunrise 5:27, sunset 17:45, solar noon 11:36 June 21, 2026 (around the solstice): sunrise 4:26, sunset 19:01 (about 14.6 hours of daylight) December 22, 2026 (around the solstice): sunrise 6:48, sunset 16:32 (about 9.7 hours) London, June 21, 2026: sunrise 4:44, sunset 21:22 (summer time)

Things to be aware of

  • Times are shown in the selected cityโ€™s time zone. If you only change the latitude and longitude, the previously selected cityโ€™s time zone is kept.
  • Mountains, buildings and elevation are not included. The moment you actually see the Sun can differ by several minutes or more.
  • Solar noon in Tokyo is before 12:00 because Tokyo lies east of 135ยฐE, the reference meridian of Japan Standard Time.

FAQ

What time zone are the results shown in?

Results are shown in the local time of the time zone for the selected city preset. If you manually change the latitude/longitude, the display keeps the previously selected presetโ€™s time zone, so take care when specifying a very different region.

When does it show โ€œmidnight sunโ€ or โ€œpolar nightโ€?

At high latitudes, there are days around the summer solstice when the sun never sets (midnight sun) and days around the winter solstice when it never rises (polar night). On such days, this is shown instead of sunrise/sunset times.

How accurate is this calculation?

It uses the sunrise equation widely used by NOAA and others, and typically agrees with published almanac times to within 1โ€“2 minutes. Terrain, elevation and the dayโ€™s atmospheric conditions are not included.