TrindoMaps .

A little further from familiar.

Sunrise and sunset calculator

Find sunrise, sunset, civil twilight and day length for any place and date, and see where it is day or night on the globe. Midnight sun and polar night covered.

How to use the Sunrise and sunset calculator

The sunrise and sunset calculator works out when the sun rises, is highest, sets and how long the day lasts at any point on Earth on any date from 1900 to 2100. It runs entirely in your browser and does not use your device’s location.

  1. Choose a place on the globe or map, or enter its coordinates.
  2. Pick a date and the time zone to display. The default is UTC.
  3. Read civil dawn, sunrise, solar noon, sunset, civil dusk and the length of the day.
  4. Set a UTC date and time to see the day and night line: the globe shades the night side and the map draws the line where the sun is on the horizon.

Times come from the NOAA solar equations and are accurate to about a minute at most latitudes. They ignore horizon obstructions and elevation. The zone list changes only how times are shown; it does not know the chosen place’s own zone.

Example

In London (51.5074, −0.1278) on 21 June 2026 the sun rises at 03:43 UTC (04:43 British Summer Time) and sets at 20:21 UTC (21:21), giving a day of about 16 hours 38 minutes.

Try this example in the tool

What the times mean

Sunrise and sunset are when the upper edge of the sun appears at or disappears below an ideal horizon, allowing for atmospheric refraction. Solar noon is when the sun is highest in the sky. Civil dawn and civil dusk are when the sun is 6° below the horizon, bright enough to work outdoors without artificial light.

Solar noon is not exactly midday on the clock. The tilt and shape of Earth’s orbit shift it by up to about a quarter of an hour over the year, an effect astronomers call the equation of time.

Polar day, polar night and day length

Inside the polar circles the sun can stay above the horizon all day, called midnight sun, or stay below it, called polar night. The tool reports these cases instead of showing times, and gives a day length of 24 hours or zero. Near the equator the day stays close to 12 hours all year, while at 60° latitude it ranges from about 6 hours to about 18½ hours.

The day and night line

At any instant the sun is directly overhead at one point on Earth, called the subsolar point. The tool finds it from the same solar equations, using the date and the UTC time you choose. Sunrise and sunset are happening on the circle drawn 90.833° from that point: 90° for the horizon plus about 0.833° for atmospheric refraction and the sun’s radius, the same allowance used for the sunrise and sunset times.

The globe shades the side beyond that line as night. The detailed map draws only the line, because filled shapes that wrap around a flat map can show false edges. Twilight is not shaded, so places just inside the night side can still be lit by civil twilight. The subsolar point moves west by 15° of longitude each hour, and its latitude follows the seasons between about 23.4° north and 23.4° south.

Accuracy and time zones

The calculation follows the NOAA solar equations and is accurate to about a minute at most latitudes. It ignores mountains and tall buildings on the horizon and the height of the observer, both of which change the real moment you see the sun.

Times are shown in UTC by default. You can switch to your device’s time zone or pick any other zone from the list. The tool does not look up the zone of the place you chose, so pick the zone that matches it if you want its local clock time, including daylight saving.

Common questions

Why are the times in UTC?

The tool does not know which time zone a point is in, so it starts in UTC. Choose the zone that matches the place, or your own, to see clock times.

What are civil dawn and civil dusk?

They are when the sun is 6° below the horizon, the point at which there is enough light to see outdoors without artificial light.

What happens near the poles?

Inside the polar circles the sun can stay up all day (midnight sun) or stay down all day (polar night). The tool says so instead of showing times.

What is the line and the S pin?

The S pin is where the sun is directly overhead at the UTC date and time you chose. The line is where the sun is on the horizon at that moment, so it is sunrise along one side and sunset along the other. The globe shades everything beyond it as night; twilight is not shaded.

Related tools

Read the FAQ for more help, or explore all sixteen tools.