About the Sunrise and Sunset Calculator
The Sun Calculator shows sunrise and sunset times for a selected location, as well as twilight phases, length of day, azimuths, solar noon, and the Sun's distance from Earth. Find out how to interpret the results.
How to find the sunrise and sunset for a city
Go to the Sun Calculator and type a city into the search field. Alternatively, use the quick links below the search field to see Sun times for nearby places.
Daylight Saving Time (DST)
The Sun Calculator automatically takes into account Daylight Saving Time. A note is displayed in the table when a DST switch occurs in the selected location.
The local date in the selected location is displayed in the column on the left. In each row, all figures apply to the date shown in this column.
Local times for sunrise and sunset. The azimuth (direction) is displayed in brackets.
The times for sunrise and sunset are based on the ideal situation, where no hills or mountains obscure the view and the flat horizon is at the same altitude as the observer. Sunrise is the time when the upper part of the Sun is visible, and sunset is when the last part of the Sun is about to disappear below the horizon (in clear weather conditions).
If the horizon in the direction of sunrise or sunset is at a higher altitude than that of the observer, the sunrise will be later and sunset earlier than listed (and the reverse: on a high mountain with the horizon below the observer, the sunrise will be earlier and sunset later than listed).
The Earth's atmosphere refracts the incoming light in such a way that the Sun is visible longer than it would be without an atmosphere. The refraction depends on the atmospheric pressure and temperature. These calculations use the standard atmospheric pressure of 101.325 kilopascal and temperature of 15°C or 59°F. A higher atmospheric pressure or lower temperature than the standard means more refraction, and the sunrise will be earlier and sunset later. In most cases, however, this would affect the rising and setting times by less than a minute. Near the North and South Poles it could have greater impact because of low temperatures and the slow rate of the Sun's rising and setting.
For locations north of 66°34' N or south of 66°34' S latitude, the Sun is above the horizon all day on some days during the summer and below the horizon all day on some days during the winter.
Technically, sunrise and sunset are calculated based on the true geocentric position of the Sun at 90°50' from the zenith position (directly above the observer).
Sunrise and Sunset Azimuth
The azimuth displayed is the horizontal direction of the Sun at sunrise or sunset at the times displayed in the Sunrise and Sunset columns. As on a compass, the azimuth is measured in degrees, with 360 in a full circle, counted in a clockwise direction from north. North has an azimuth value of 0 degrees, east is 90 degrees, south is 180 degrees, and west is 270 degrees. A small arrow is displayed after the azimuth value to indicate the map direction where the Sun will rise or set (for a map where north is upward).
Since the times used for the sunrise and sunset calculations are also used for the azimuth calculation, the actual height of the horizon and refraction as described for the Sunrise and Sunset columns can influence the real direction where the Sun rises or sets.
It is important to note that the directions refer to true north and not to magnetic north. True north refers to north according to the Earth’s axis, not magnetic north. Magnetic north refers to the direction in which the north end of a compass needle will point in response to the Earth’s magnetic field.
The total time between sunrise and sunset, as well as the difference in daylength between the current and previous date.
The day's duration in the “Length” column is displayed in hours, minutes, and seconds. The difference is shown in minutes and seconds, with a plus sign (+) if this day is longer than the previous and a minus sign (−) if it shorter.
Because of rounding, there may be a discrepancy of one second between the figures displayed in the “Length” and “Diff.” columns.
Astro. Twilight Column
Start and end times of astronomical twilight at dawn and dusk.
Astronomical twilight is the period when the center of the Sun is between 12 and 18 degrees below the horizon. It starts at astronomical dawn, early in the morning when the Sun is higher than 18 degrees below the horizon. From this point, it will be difficult to observe certain faint stars, galaxies, and other objects because the Sun starts to illuminate the sky. Astronomical twilight ends at astronomical dusk in the late evening, when those faint objects again can be visible because the Sun is lower than 18 degrees below the horizon. In locations north of 48°24' N or south of 48°24', it never gets darker than this near the middle of the summer solstice (June or December).
Technically, the start and end times are when the true geocentric position of the Sun is 108 degrees from the zenith position.
Naut. Twilight Column
Start and end times of nautical twilight at dawn and dusk.
Nautical twilight is the period when the center of the Sun is between 6 and 12 degrees below the horizon, when bright stars are still visible in clear weather and the horizon is becoming visible. It is too dark to do outdoor activities without additional lighting.
In the morning, nautical twilight starts at nautical dawn, when the Sun rises above 12 degrees below the horizon; it ends when the Sun's center reaches 6 degrees below the horizon. In the evening, nautical twilight begins when the Sun sinks below 6 degrees; it ends at nautical dusk, when the Sun is lower than 12 degrees below the horizon.
For locations north of 54°34' N or south of 54°34' S latitude, the Sun will never be lower than 12 degrees below the horizon for a period in the summer.
Technically, the start and end times are when the true geocentric position of the Sun is 102 degrees from the zenith position.
Civil Twilight Column
Start and end times of civil twilight at dawn and dusk.
Civil twilight is the period when the Sun is below the horizon but its center is less than 6 degrees below. The "Civil Twilight Starts" time is the dawn or civil dawn, with the center of the Sun at exactly 6 degrees below the horizon. Equally, the "Civil Twilight Ends" time is dusk or civil dusk, when the Sun is 6 degrees below the horizon in the evening.
During civil twilight, the sky is still illuminated, and with clear weather it is brightest in the direction of the Sun. The Moon and the brightest stars and planets may be visible. It is usually bright enough for outdoor activities without additional lighting.
Near the equator, where the Sun sets and rises in an almost vertical direction, the civil twilight period can last only 21 minutes, a very fast nightfall compared to the much longer periods at southern and northern latitudes. In regions north of 60°24' N or south of 60°24' S, there will be at least one night when it does not get darker than this.
Technically, the start and end times are when the true geocentric position of the Sun is 96 degrees from the zenith position.
Solar noon Column
The point in time when the Sun passes through the meridian (longitude) of the selected location, reaching its highest altitude on a specific day. At this moment, the Sun is either directly north of, or directly south, or directly above the selected location. This section also shows the angle of the Sun's maximum altitude in degrees as well as the Sun's distance from Earth at that moment.
The “Time” column shows the local time at solar noon, as well as the Sun's altitude above the ideal horizon at that point in time. Typically this is the highest position it reaches in the sky that day (except near the South and North Poles, where the altitude increases or decreases all day and night). The altitude takes into account typical refraction in the Earth's atmosphere. If the Sun is below the horizon all day, the altitude will be labeled "below."
The “Mil. mi” or “Mil. km” column shows the distance from the Earth's center to the Sun's center in millions of kilometers or millions of miles, depending on the user's settings. (Subtract 660,000 kilometers or 410,104 miles to get the approximate distance between the surfaces of the two bodies.) The distance varies because the Earth's orbit is elliptical rather than circular. The Sun is closest on perihelion, around January 3, and most distant on aphelion, around July 5. The mean distance is 149,600,000 kilometers or 92,960,000 miles.
To switch between kilometers and miles, make a selection in the drop-down menu entitled “Distance/Visibility” in the Site Configuration Menu.
The distance to the Sun does not have as great an impact on the seasons as does the Earth's tilted angle. During the summer on the Northern Hemisphere, that hemisphere is tilted toward the sun. This means a longer day (more sunlight) and light rays striking the Earth's surface at higher angles, giving more intensive sunlight and more energy per square meter, compared with a location at the same distance from the equator on the Southern Hemisphere.
Times are rounded to the nearest minute and should generally match closely with those listed in the annual Astronomical Almanac by H.M. Nautical Almanac Office in the U.K. and the United States Naval Observatory.
A sample set of 150 records consisting of times for sunrise, sunset, and start and end times for civil, nautical, and astronomical twilight was compared with times listed in The Astronomical Almanac for 2007. Only two differed, both by only one minute, which means that just over 1.3 percent were different in that sample set.
Because times are calculated in local time, there is a chance that future times may be wrong, as changes might be made to dates of Daylight Saving Time or in the local time zone.
In this Article
- Searching for a location
- Daylight Saving Time (DST)
- Date Column
- Sunrise/set Column
- Daylength Column
- Astro. Twilight Column
- Naut. Twilight Column
- Civil Twilight Column
- Solar noon Column