Sunset countdown
How long until sunset?
Pick a city or use your location. The clock below counts down to the moment the top of the Sun slips under a flat horizon.
Sunset in
--:--:--
How the countdown is worked out
- Sunset is the moment the Sun’s upper edge reaches a flat, unobstructed horizon, allowing for the usual bending of light by the atmosphere. That is the standard definition used in almanacs.
- Dusk ends is the end of civil twilight, when the Sun is 6° below the horizon. Until then there is usually enough light to see by outdoors.
- Daylight is the time from sunrise to sunset today.
Why your sunset may look different
The times are calculated for a flat horizon at sea level. Hills, buildings and trees will hide the Sun earlier, and a high viewpoint will show it a little longer. Expect the calculation to be within a minute or two of published almanac times for most places. Very close to the poles, where the Sun can stay up or down all day, the page tells you so instead of guessing.
If you are heading out to watch
Aim to arrive at least twenty minutes before the countdown hits zero. The colour often builds before sunset and keeps going into dusk, so do not leave the second the Sun is gone.
Calculated in your browser with the NOAA solar position equations. If you use your location, it stays on your device and is not sent to us.
Know where, not only when
See where the Sun will set from your spot.
Asterfold is a sunset planner for iPhone. A sky dome draws the Sun’s real path for any place and date, coloured by golden hour, blue hour and twilight, and you can aim a saved viewpoint to see whether the Sun will set inside your frame.
Tonight’s view gives sunset, stars and sunrise ratings with plain-English reasons and hour-by-hour cloud. Afterwards, a two-tap check-in records what the sky really did.
Get Asterfold on the App StoreFree: the Studio, aiming and plans for 2 viewpoints, the journal, tonight’s ratings and the next 3 evenings. Asterfold Plus is an optional upgrade. No account. Requires iOS 18 or later. Details checked against the App Store listing on November 10, 2026.
Publisher disclosure: Honest Little Apps publishes both Asterfold and this page. This is not an independent review. This page is a separate web companion, not a feature of the app. This countdown is not a feature of the app. Asterfold’s ratings are a rule-of-thumb estimate, not a guarantee of a good sunset.

Questions
How long until sunset today?
The countdown at the top of this page shows the hours, minutes and seconds until sunset for the city you choose or for your current location, and updates every second.
How long does it stay light after sunset?
Civil twilight lasts until the Sun is 6° below the horizon. The page shows that time as “Dusk ends”. How long it takes depends on your latitude and the season.
How accurate are the sunset times?
They are calculated with the NOAA solar equations for a flat sea-level horizon and are normally within a minute or two of almanac times. Terrain and buildings will change what you actually see.
Does the page store my location?
No. If you tap “Use my location”, your browser gives the coordinates to this page only, and the sum is done on your device.
Useful for someone else?
Share the public page. Nothing you entered is included.
Open the public link