1. Home
  2. Calculators
  3. Sunrise Sunset Calculator

Sunrise Sunset Calculator

For photographers, walkers, farmers and planners: know when the light starts and ends anywhere on Earth.

Free, no sign-up. Runs in your browser: nothing is uploaded.

Free workspace included. Docs, spreadsheets, notes and tasks that save on your device. No sign-up.Take a look

How to use Sunrise Sunset Calculator

  1. Enter your numbers, or press a sample to see an example.
  2. Read the results and the table under them.
  3. Copy the results or download the table as a CSV file.

Features

  • Sunrise, sunset and solar noon for any latitude and longitude
  • Civil, nautical and astronomical twilight
  • Golden hour and blue hour
  • Day length and polar day or night
  • Any time zone, with daylight saving

Supported formats

Input

  • Latitude and longitude, a date and a time zone name

You get

  • On-screen results
  • Copyable text
  • CSV table

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the Sunrise Sunset Calculator is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • Times assume a flat horizon at sea level and standard atmospheric refraction.
  • It agrees with published tables to within about two minutes below 60° latitude and is less exact near the poles.
  • Time zone names follow the browser's own database for daylight saving.
  • Everything runs in your browser; nothing you type is sent anywhere.

Guide

Sunrise, sunset, twilight and golden hour for any place and date

The times of sunrise and sunset change with the date and with your place on Earth, and photographers, walkers, farmers and anglers all plan around them. They can be found from astronomy alone, with no tables. This calculator works out the sun’s position for your latitude and longitude, and lists sunrise, sunset, solar noon, the day length, the three twilights and the golden and blue hours.

How it is calculated

The method follows the equations published by the US National Oceanic and Atmospheric Administration. For the date it finds the sun’s declination, the angle above or below the equator at which it stands, and the equation of time, the difference between a sundial and a steady clock. With the latitude these give the hour angle at which the sun reaches a chosen height. Solar noon is when the sun crosses the meridian, and sunrise and sunset lie symmetrically before and after it. The tool repeats the step once to refine the result.

Time zones

Enter the place as latitude and longitude, in decimal degrees or degrees, minutes and seconds, and the time zone by name, such as Europe/London or America/New_York, or UTC. The names follow daylight saving time, so the times come out in the clock time people at the place would use. If you leave the zone empty the tool uses the one your browser is set to, and an empty date means today.

Twilight and the light of the day

Civil twilight ends when the sun is 6° below the horizon, when the brightest stars appear and it is still bright enough to work outdoors. Nautical twilight is the sun at 12° below, when the horizon fades at sea, and astronomical twilight at 18° below is the start of true night for astronomers. Golden hour, the warm light that photographers like, is when the sun is between about 4° below and 6° above the horizon, and blue hour is the band from 6° to 4° below it.

Worked examples

Press the first sample: London on the June solstice. Sunrise is 04:43 and sunset 21:21 British Summer Time, solar noon is 13:02 and the day is 16 hours 38 minutes. Astronomical twilight does not occur because the sun does not sink 18° below the horizon, so the table shows a dash. New York on the December solstice has sunrise at 07:16, sunset at 16:31 and 9 hours 15 minutes of daylight. Sydney on the same date has sunrise at 05:40, sunset at 20:05 and 14 hours 25 minutes. The fourth, Tromsø in Norway at 69.6° N on 21 June, has polar day: the sun stays up all day.

Polar regions

North of the Arctic Circle and south of the Antarctic Circle the sun can stay above the horizon all day in summer and below it all day in winter. The tool reports a polar day or polar night, instead of an error, and the twilight rows show a dash when the sun never reaches that height. Near the poles the times also change quickly from day to day, so check a particular date.

Accuracy

The times agree with published tables to within about two minutes for most places below 60° of latitude. The calculation assumes a flat horizon at sea level and the standard allowance for the bending of light in the atmosphere. Hills, buildings, altitude and weather change the moment you actually see the sun, and the effect of height above the sea is not included.

Limits

The date is read as a calendar date in your chosen time zone. Times are shown as hours and minutes on a 24-hour clock without a date, so an event just after midnight local time appears as a small number such as 00:12. The tool does not give the sun’s height at other times of day: use a sun angle calculator for that.

Checked against the current version of the Sunrise Sunset Calculator on .

Frequently asked questions

What is the difference between solar noon and 12:00?

Solar noon is when the sun is highest, due south in the Northern Hemisphere. It differs from 12:00 clock time because of your longitude within the time zone, daylight saving time and the equation of time, which shifts it by up to about 16 minutes through the year. London solar noon on the June solstice is 13:02 BST.

Why does sunrise use minus 0.833 degrees?

The sun appears to rise when its upper edge touches the horizon. The sun has a radius of about 0.27 degrees and the atmosphere bends its light upward by about 0.57 degrees near the horizon, so its centre is still about 0.833 degrees below the horizon when its upper edge first appears.

How accurate are the times?

They use the NOAA solar equations and agree with published tables to within about two minutes for most places. Hills, buildings and altitude move the real times.

What is golden hour?

The period after sunrise and before sunset when the sun is low, roughly from 4° below to 6° above the horizon, which gives warm, soft light for photographs.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.