Sunrise, Sunset & Day Length Calculator

Find the exact sunrise, solar noon, sunset and length of day for anywhere on Earth, on any date, along with the golden hour and blue hour times, the civil, nautical and astronomical twilight bands, and how much daylight you are gaining or losing each day. Tap Use my location for your own sky, or type in any latitude and longitude. Below, the moonless dark window shows the truly dark hours each night and ranks the best nights this month to observe.

Everything is computed in your browser. Two optional lookups leave your device only when you ask: Use my location sends your coordinates once to a place-name service to show your city, and the place search sends just the text you type once to Open-Meteo to find matching coordinates. Nothing is stored by us.

Moonless dark window: the darkest hours tonight

The blackest sky comes when astronomical twilight has ended and the Moon is below the horizon. This finds that window for your location, and ranks the next 30 nights by usable darkness so you can pick the best night to observe.

Enter exact coordinates

Pick a location to find tonight's dark window.

Times are shown in your device's time zone, so they match exactly when you use your own location. The Sun and Moon are computed in your browser; tapping Use my location also sends your coordinates once to a place-name service to show your city.

The next 30 nights, ranked by usable darkness

How the day is measured

Sunrise and sunset are the moments the upper edge of the Sun touches the horizon. The Sun is actually a little below the true horizon at both instants: Earth's atmosphere bends its light by about half a degree, lifting the disk into view a couple of minutes early at dawn and holding it a couple of minutes late at dusk. This calculator includes that standard refraction, so the times match what you would actually see over a flat horizon. Solar noon is the midpoint, when the Sun is highest and due south (or due north from the southern hemisphere), and the day length is simply the time from sunrise to sunset.

The three twilights

The sky does not snap from day to night at sunset. It fades through three named stages, each defined by how far the Sun has sunk below the horizon:

  • Civil twilight (Sun 0 to 6 degrees down): bright enough to read or walk outside without lights; the brightest planets and stars start to appear.
  • Nautical twilight (6 to 12 degrees): the horizon at sea is still faintly visible, which once let sailors measure star altitudes; most stars are now out.
  • Astronomical twilight (12 to 18 degrees): the sky looks dark to the eye, but a faint glow still lingers for telescopes. Once the Sun is more than 18 degrees down, it is true night.

Why the day's length changes

Day length swings through the year because Earth's axis is tilted about 23.4 degrees. In your summer the hemisphere leans toward the Sun, which climbs higher and lingers longer, so days stretch out; in winter it leans away and days shrink. The swing is gentle near the equator and dramatic toward the poles, where the Sun can stay up for a full 24 hours around midsummer (a polar day) or never rise at all in deep winter (a polar night). The tilt behind all of this is explained on Seasons & the Sun, and the reason clock noon drifts away from solar noon is the story of the equation of time.

See the rest of your sky

For tonight's Moon phase, where the planets sit and what is visible from your location, open Today in the Sky. To find the next eclipse visible from your spot, use the Eclipse & Saros Explorer, and to catch several planets at once, the Planet Parade Tracker.

Frequently asked questions

What time does the Sun rise and set today?

Enter your location (or tap Use my location) and the calculator shows today's sunrise, solar noon, sunset and total day length in your device's time zone, computed from the Sun's true position.

What is the difference between civil, nautical and astronomical twilight?

Civil twilight lasts until the Sun is 6 degrees below the horizon (you can still read outside), nautical twilight until 12 degrees (the horizon is still faintly visible at sea), and astronomical twilight until 18 degrees, after which the sky is fully dark.

Why is the day longer in summer?

Earth's axis is tilted about 23.4 degrees, so in summer your hemisphere leans toward the Sun, the Sun climbs higher and stays above the horizon longer, giving more daylight; in winter it leans away and days are short.

What are the golden hour and blue hour?

Golden hour is the period of warm, soft light when the Sun is between about 6 degrees above the horizon and the horizon itself, ideal for photography. Blue hour is the cooler twilight just after sunset or before sunrise, when the Sun is roughly 4 to 6 degrees below the horizon. This page lists both for your morning and evening.