Skip to content
CornerTools

Sunrise and Sunset Times

Find sunrise, sunset, twilight and day length for any place and date, with a chart of the year and its equinoxes and solstices.

Gives sunrise and sunset for any city or point on Earth and any date from 1900 to 2100: where on the horizon the Sun rises and sets, solar noon and how high the Sun gets, the day length to the second and its change from the day before, and every stage of twilight with the golden and blue hours.

Below the day come a chart of the whole year's daylight, the equinoxes and solstices in local time, and a table of every day in the month. Inside the polar circles it says in words when the midnight sun or the polar night runs. Everything is worked out in your browser; the place you choose is not sent anywhere.

How to use it

Location: search a city of 100,000 people or more, or any capital; Use my location takes your device's position once and names it after the nearest listed city on your time zone within 100 km, or else by its coordinates; under Coordinates you can type any latitude and longitude with its time zone. Times are on that zone's clock, summer time included.

Date starts on today at the location, which may not be your own date. Times show to the nearest minute in the 24-hour or 12-hour clock; a time that falls past midnight reads “00:19 (next day)”. A share link carries the location and the date; a location from your device is written as the city it is named after, or as its coordinates.

How it works

Sunrise and sunset are the moments the Sun's upper edge touches a level, sea-level horizon. The atmosphere bends sunlight over the horizon, lifting the Sun by about 34′ of arc there, so at those moments the Sun's centre is really about 50′ below the horizon: its 16′ radius plus the 34′ of refraction. Hills, buildings and your height above the sea change what you actually see, and refraction varies with the weather by a minute or more; no calculator can know either.

Twilight is measured by the Sun's centre below a geometric horizon, with no refraction: civil twilight runs to 6° below, nautical to 12°, astronomical to 18°. Dawn is when each begins in the morning, dusk when each ends in the evening. Where the Sun never gets that low, as in a northern summer, the tool says the twilight lasts all night. Golden hour is taken as the Sun's centre from 4° below to 6° above the horizon and blue hour from 6° to 4° below: photographers' conventions with no standard behind them, so other sites differ.

Day length is sunset less sunrise, worked out from the exact moments before either is rounded to the minute, so it is right to the second and is not thrown out by a change of the clocks. A day belongs to its solar noon: its sunrise is the one before noon and its sunset the one after, even when that falls after midnight. On the day a midnight sun begins or ends, when the Sun is up at one solar midnight, the day length counts from or to that midnight.

The Sun's position comes from the astronomy-engine library; the clock times come from your browser's time zone data. Equinoxes and solstices are the moments the Sun's apparent longitude reaches 0°, 90°, 180° and 270°, and each season runs from one to the next.

Examples

Delhi in mid-January

Location
Delhi, India
Date
Friday, 15 January 2027
Sunrise
07:15
Sunset
17:46
Day length
10 h 30 min 52 s

The Sun rises at 114°, east-south-east and reaches 40.2° at solar noon, 12:30. India keeps one clock for the whole country, set for 82.5° E, so in Delhi, at 77.2° E, noon by the Sun comes after 12:00.

Tromsø at midsummer

Coordinates
69.65° N, 18.96° E
Time zone
Europe/Oslo
Date
Monday, 21 June 2027
Day length
24 h

At 69.65° N the Sun stays up all day: the tool shows midnight sun from 19 May to 26 July 2027, with no sunrise or sunset between, and a lowest point of 3.1° above the horizon at solar midnight.

London's shortest day, 2027

Location
London, United Kingdom
Date
Wednesday, 22 December 2027
Sunrise
08:04
Sunset
15:54
Day length
7 h 49 min 42 s

Yet the earliest sunset of the year is 15:51 on 13 Dec, and the latest sunrise is 08:06 on 31 Dec.

Day length on the 2027 equinoxes and solstices

Day length in six cities on the dates of the 2027 equinoxes and solstices
CityMarch equinoxJune solsticeSeptember equinoxDecember solstice
Singapore, Singapore12 h 6 min 32 s12 h 11 min 48 s12 h 6 min 28 s12 h 3 min 3 s
Delhi, India12 h 8 min 12 s13 h 58 min 12 s12 h 7 min 20 s10 h 19 min 8 s
New York City, United States12 h 8 min 15 s15 h 5 min 38 s12 h 7 min 23 s9 h 15 min 18 s
London, United Kingdom12 h 9 min 10 s16 h 38 min 24 s12 h 9 min 32 s7 h 49 min 42 s
Reykjavík, Iceland12 h 13 min 15 s21 h 8 min 9 s12 h 13 min 5 s4 h 7 min 26 s
Sydney, Australia12 h 7 min 22 s9 h 53 min 48 s12 h 7 min 27 s14 h 24 min 49 s

Definitions

The tool follows the U.S. Naval Observatory's definitions: sunrise and sunset when the Sun's upper edge is on the horizon under average refraction of 34′, which puts its centre 50′ below; civil, nautical and astronomical twilight when the centre is geometrically 6°, 12° and 18° below the horizon.

By these definitions day and night are not equal at an equinox. On the day of the March equinox the Sun's centre is up for about 12 hours everywhere, but the upper edge and refraction add several minutes at each end: in London the day is 12 h 9 min 10 s.

Sources

Reviewed

Frequently asked questions

Solar noon drifts through the year, by up to about a quarter of an hour either way, because the Earth's orbit is an ellipse and its axis is tilted. Around the December solstice noon comes about 30 seconds later each day, so sunset keeps getting later after the shortest day while sunrise does too. In London in 2027 the earliest sunset is on 13 Dec and the latest sunrise on 31 Dec, either side of the shortest day, 22 Dec.
It marks roughly how long there is light enough for ordinary outdoor work without lamps: from civil dawn to sunrise, and from sunset to civil dusk, in clear weather. Before civil dawn and after civil dusk, artificial light is normally needed.
Some take the Sun's centre, not its upper edge, or another allowance for refraction; some round seconds down rather than to the nearest minute; some use the elevation of the place. A minute or two apart is normal. Day length differs most, by up to several minutes, between a centre and an upper-edge definition.

See also

  • Moon Phase Calendar — for the Moon's phase, rise and set at the same place.
  • Prayer Times — for Fajr to Isha, which start from the same sunrise, sunset and twilight angles.