Sunset Calculator

Find the local sunset time or end of civil, nautical, and astronomical twilight for a date and geographic location.

Result
—

How to calculate

Find the downward crossing for the selected height of the Sun’s center. Sunset uses 50 arcminutes below the horizon to account for the apparent solar radius and refraction. Civil, nautical, and astronomical dusk use depressions of 6°, 12°, and 18° respectively.

Worked example

Use Starting local date 2024-06-21 · Number of days to show 1 · Latitude (degrees, north positive) 40.7128 · Longitude (degrees, east positive) -74.006 · Local UTC offset in hours -4 · Evening event Sunset. The result is 20:31.

Input and result notes

Use local UTC offset, including daylight saving if applicable. On some high-latitude dates a chosen crossing does not occur. A level horizon and typical refraction are assumed for sunrise and sunset.

US Naval Observatory solar coordinates

US Naval Observatory definitions of sunrise, sunset, and twilight

Related calculators