Sunrise & sunset calculator
Sunrise, sunset, solar noon and day length for any of 150 cities on any date — plus civil twilight, golden hour and blue hour, in the city’s local time.
Calculating in your browser…
- Sunrise
- --:--
- Sunset
- --:--
- Solar noon
- --:--
- Day length
- --
- Morning golden hour
- --
- Evening golden hour
- --
- Morning blue hour
- --
- Evening blue hour
- --
City centre, sea level, NOAA solar formulas — accurate to about a minute. Golden hour = sun 4° below to 6° above the horizon; blue hour = 6° to 4° below. How we calculate
The sun, hour by hour
- Pick a city and date
Day length in London, 2026
On the 21st of each month
| Date | Sunrise | Sunset | Daylight |
|---|---|---|---|
| 21 Jan | 07:53 | 16:29 | 8h 36m |
| 21 Feb | 07:03 | 17:25 | 10h 22m |
| 21 Mar | 06:01 | 18:13 | 12h 12m |
| 21 Apr | 05:52 | 20:05 | 14h 13m |
| 21 May | 05:00 | 20:53 | 15h 53m |
| 21 Jun | 04:43 | 21:21 | 16h 38m |
| 21 Jul | 05:07 | 21:05 | 15h 57m |
| 21 Aug | 05:55 | 20:12 | 14h 17m |
| 21 Sep | 06:44 | 19:02 | 12h 18m |
| 21 Oct | 07:34 | 17:55 | 10h 22m |
| 21 Nov | 07:28 | 16:04 | 8h 36m |
| 21 Dec | 08:03 | 15:53 | 7h 50m |
Longest day: 21 Jun (16h 38m). Shortest: 22 Dec (7h 49m). Times in London local time.
Popular cities
How sunrise and sunset are calculated
Sunrise and sunset depend on where you are and on the date, not on the time zone. For each city we take its latitude and longitude and work out where the sun is in the sky through the day, using the same family of formulas as the NOAA Solar Calculator: the Earth’s position in its orbit gives the sun’s declination (how far north or south of the equator it is overhead) and the time of solar noon, and simple spherical trigonometry gives the moment the sun crosses a chosen height above or below the horizon.
Sunrise and sunset are defined as the moment the top edge of the sun touches a flat horizon. Because the sun is a disc about half a degree wide and the atmosphere bends its light over the horizon, that happens when the centre of the sun is 0.833° below the horizon. The result is converted to the city’s local clock time — including daylight saving time on that date — by your browser’s time zone database.
Twilight, golden hour and blue hour
Light doesn’t switch on and off at sunrise and sunset. The page splits the day into four kinds of sky, shown as colours on the bar above:
- Night — the sun is more than 6° below the horizon.
- Blue hour — the sun is between 6° and 4° below the horizon. The sky is a deep, even blue and artificial lights balance with the sky. It starts at civil dawn in the morning and ends at civil dusk in the evening, the points where there is enough natural light to work outdoors.
- Golden hour — the sun is between 4° below and 6° above the horizon. Light is warm and comes in low, so shadows are long and soft. Photographers have no single official definition; −4° to +6° is a common one, and it is the one we use everywhere on this site.
- Daylight — the sun is more than 6° up.
Close to the equator the sun rises and sets almost vertically, so twilight is short — about 40 minutes of golden hour and under 10 minutes of blue hour, morning and evening. Far from the equator the sun crosses the horizon at a shallow angle and they stretch out; in Helsinki or Reykjavik in early summer the golden light lasts for hours and the sky never gets fully dark.
Day length through the year
The table above shows how long the sun is up on the 21st of every month, which lands close to both solstices and both equinoxes. At the equinoxes in March and September, day and night are roughly equal everywhere. Towards the June solstice, days get longer north of the equator and shorter south of it; in December it is the other way around. The note under the table gives the actual longest and shortest day of the year for the city you picked.
“Day length” here is the time from sunrise to sunset. Because the definition uses the top edge of the sun and includes refraction, even on the equinox a day is a few minutes longer than 12 hours.
Midnight sun and polar night
Inside the Arctic and Antarctic Circles there are days when the sun never sets, and days when it never rises. The calculator says so instead of showing a time. None of our 150 cities is that far north, but Reykjavik and Anchorage come close. At midsummer the sun dips only about 2.5° below the horizon in Reykjavik, so there is no night and no blue hour at all — just one long golden twilight from sunset to sunrise. In Anchorage the sky never gets darker than blue hour. In midwinter the opposite happens: in Reykjavik the sun climbs less than 3° at noon, so the whole short day is one golden hour.
Questions
What is golden hour?
Golden hour is the time shortly after sunrise and before sunset when the sun is low in the sky and the light is warm, soft and directional. On this page it means the sun is between 4° below and 6° above the horizon. Near the equator each golden hour lasts about 40 minutes; at higher latitudes it stretches to an hour or more, and around midsummer in Reykjavik it runs right through the night.
What is the blue hour?
The blue hour is the part of twilight when the sun is between 6° and 4° below the horizon. The sky turns a deep, even blue, city lights come on and there are no hard shadows. It comes just before the morning golden hour and just after the evening one. Near the equator it lasts under ten minutes; in northern Europe in summer it can last an hour.
Why does sunrise not happen at the same time every day?
Two things move it. The tilt of the Earth changes how long the sun spends above the horizon through the year, and the Earth’s elliptical orbit and tilt make solar noon drift by up to about a quarter of an hour either side of its average time (the equation of time). That drift is why the earliest sunset of the year comes a couple of weeks before the shortest day.
What is the difference between sunrise and civil dawn?
Sunrise is when the top edge of the sun appears over a flat horizon. Civil dawn is earlier — when the centre of the sun is 6° below the horizon and there is already enough light to see outdoors without street lights. The same applies in reverse for sunset and civil dusk.
Why are the times different from my weather app?
Usually by a minute or less. We calculate for the city centre at sea level with the standard 0.833° allowance for the sun’s radius and atmospheric refraction. Apps may use your exact location, include elevation, or round differently. Mountains and tall buildings change what you actually see.