By · Updated

Sunrise Sunset Calculator

Solar Noon, Civil, Nautical and Astronomical Twilight Times for Any Place

No ratings yet
Result

—

OneTask is free, with no sign-up, and built by one person.
If this tool saved you time, a coffee helps keep new ones coming.

How the Sunrise Sunset Calculator works

This sunrise sunset calculator gives the times the sun rises and sets for any latitude, longitude and date, along with solar noon, day length and the three stages of twilight. Times are shown in the time zone you pick, with daylight saving applied, and the calculation runs in your browser.

Sunrise and sunset change every day, and by very different amounts depending on where you are. Near the equator days stay close to 12 hours all year. In London they swing between under 8 hours in December and over 16 in June, and inside the Arctic and Antarctic circles the sun can stay up or down for weeks.

How the sunrise sunset calculator works

The calculator uses the solar position equations published by the US National Oceanic and Atmospheric Administration, which are accurate to about a minute for dates within a few centuries of today. For each date it works out the sun's declination, how far north or south of the equator it is overhead, and the equation of time, the few minutes by which the sun runs ahead of or behind the clock through the year. From those and your latitude and longitude it finds the moment the sun crosses each elevation.

Sunrise and sunset are defined as the moment the top edge of the sun touches a flat horizon. Because the atmosphere bends light and the sun is half a degree wide, that happens when the sun's centre is about 0.833 degrees below the horizon. That is the standard used by almanacs and weather services, so the times match published tables.

Reading the results

For London on 1 October 2026, the sun rises at 06:59 and sets at 18:39, giving 11h 40m of daylight, with solar noon at 12:49 and the sun 35.4 degrees high. On 21 June the sun rises at 04:42 and sets at 21:21, a day of 16h 39m. On 21 December it rises at 08:03 and sets at 15:53, giving just 7h 50m, and reaches only 15.1 degrees at noon.

The three kinds of twilight

Twilight is the time when the sun is below the horizon but still lighting the sky. It is split by how far below the horizon the sun is:

Twilight Sun below horizon What you can see
Civil 0.833° to 6° Enough light for most outdoor activity without lamps
Nautical 6° to 12° Horizon still visible at sea; brightest stars out
Astronomical 12° to 18° Sky almost fully dark; faint objects still washed out

Civil twilight is what most people call dusk and dawn, and many vehicle lighting and aviation rules refer to it. Nautical twilight was traditionally when sailors could take star sightings against a visible horizon. Astronomers wait for the end of astronomical twilight for true darkness.

In summer at higher latitudes some twilight stages never end. In London on 21 June, nautical twilight runs from 22:09 until 23:23, and the sun never gets 18 degrees below the horizon, so astronomical twilight and true darkness do not occur that night.

Midnight sun and polar night

North of the Arctic Circle and south of the Antarctic Circle, the sun can stay above the horizon all day in summer or below it all day in winter. The calculator reports these as Midnight sun or Polar night instead of a sunrise or sunset. In Tromsø, Norway, on 21 December the sun stays 3.1 degrees below the horizon at noon, but civil twilight still lights the sky from 09:30 to 13:53.

Getting accurate coordinates

Enter latitude and longitude in decimal degrees, with north and east positive and south and west negative. Four decimal places pin a spot to about 11 metres, far more than sunrise needs: moving 1 degree of longitude east or west shifts sunrise by about 4 minutes. If your coordinates are in degrees, minutes and seconds, convert them first.

Pick the time zone that matches the place, not where you are now. The default list covers major cities; your browser offers every IANA zone when it can.

Limits

The times assume a flat, sea-level horizon. Hills, buildings and mountains delay the visible sunrise and bring forward sunset, sometimes by many minutes in a valley. Standing high up, on a mountain or in an aircraft, lets you see the sun earlier and later. Unusual air temperatures change refraction slightly, so real times can differ from any calculation by a minute or two, especially near the poles where the sun skims the horizon.

How many hours of daylight London gets through the year

The formula is the NOAA solar position method: sunrise and sunset are when the sun's centre sits 0.833° below the horizon, which allows for refraction and the sun's radius. For example, London has 16h 37m of daylight on 15 June and just 7h 52m on 15 December. Each example below is in local clock time, so it includes British Summer Time.

Sunrise and sunset in London through 2026, local clock time

Date Sunrise Sunset Day length
1 January 08:06 16:01 7h 55m
15 January 07:59 16:19 8h 20m
1 February 07:39 16:48 9h 09m
15 February 07:15 17:14 9h 59m
1 March 06:47 17:40 10h 53m
15 March 06:16 18:04 11h 48m
1 April 06:37 19:32 12h 55m
15 April 06:06 19:56 13h 50m
1 May 05:33 20:22 14h 49m
15 May 05:09 20:44 15h 35m
1 June 04:49 21:07 16h 18m
15 June 04:42 21:19 16h 37m
1 July 04:46 21:21 16h 34m
15 July 04:59 21:12 16h 12m
1 August 05:23 20:49 15h 27m
15 August 05:45 20:24 14h 39m
1 September 06:11 19:48 13h 36m
15 September 06:33 19:16 12h 42m
1 October 06:59 18:39 11h 40m
15 October 07:22 18:08 10h 45m
1 November 06:53 16:34 9h 42m
15 November 07:18 16:12 8h 54m
1 December 07:43 15:55 8h 12m
15 December 07:59 15:51 7h 52m

FAQ

Why is solar noon not at 12:00?

Clock time is set for a whole time zone, not your exact longitude, and daylight saving adds another hour. The equation of time also shifts the sun up to about 16 minutes either way through the year. London's solar noon is around 13:00 in summer.

What is the difference between sunset and dusk?

Sunset is when the top of the sun drops below the horizon. Dusk is the end of civil twilight, when the sun is 6 degrees below the horizon and it becomes too dark for most outdoor tasks without light. In mid-latitudes this is about 30 to 50 minutes after sunset.

Why are the earliest sunset and the shortest day on different dates?

The equation of time shifts solar noon later through December. Sunrise and sunset both move later, so in the Northern Hemisphere the earliest sunset comes about ten days before the solstice and the latest sunrise early in January, even though the shortest day falls on the solstice.

How accurate are the times?

The equations are accurate to about a minute for a flat, sea-level horizon. Hills, buildings and unusual atmospheric conditions can change what you actually see by a few minutes, and more near the poles, where the sun crosses the horizon at a shallow angle.

See also: all Sun and Daylight tools, Calendars, Countdowns, Durations, Work and Contracts, Date Formats, Time Zones and Travel.

Related tools