Sunset calculator
Calculate the time of sunset based on the geographic coordinates and date.
Input
Output
Guide
What is sunset?
Sunset is the moment the upper edge of the sun disappears below the horizon. It starts a few minutes earlier, when the lower edge touches the horizon. Near the equator the sun drops steeply and sets in about two minutes. Far from it, the sun slides down at a shallow angle and takes much longer. Sunset times change through the year, and they differ between places in the same time zone: the sun sets later in the west of a zone than in the east.
Tool description
Type the Latitude and Longitude of a place, or press Use my location, then pick the Date and the place's Timezone. The sunset calculator shows Sunset start, when the lower edge of the sun touches the horizon, Sunset end, when the upper edge disappears, and the Sunset duration in minutes and seconds. Times are in the place's local time, rounded to the minute. On a day when the sun doesn't set at all, during the midnight sun or the polar night, the tool says so.
To fill both fields at once, paste a coordinate pair copied from a map app, such as 34.0522, -118.2437, into either one.
Features
- Sunset start and end for any place and date, in the place's time zone
- How long the sunset takes, in minutes and seconds
- A note on days of midnight sun or polar night
Examples
Sunset on 21 June 2026, in each city's local time:
| Place | Sunset start | Sunset end | Sunset duration |
|---|---|---|---|
| Singapore | 19:10 | 19:12 | 2 min 20 s |
| Paris | 21:54 | 21:58 | 4 min 7 s |
| Helsinki | 22:43 | 22:50 | 7 min 26 s |
In Tromsø the sun doesn't set at all that day: it's the midnight sun.
Tips
- Times are for a flat horizon at sea level. Hills, buildings and trees in the west hide the sun earlier.
- For a place far away, pick its own time zone, so the times match its local clocks.
- The sky stays light for a while after sunset. The Twilight Calculator shows how long.
- Your location is read only when you press Use my location, and the times are worked out in your browser.