How to calculate
Estimate the Sun’s position from the time of year. Find the local times when the center of the Sun crosses 50 arcminutes below a level horizon, allowing for its radius and typical atmospheric refraction.
Worked example
Use Starting date 2024-06-21 · Number of days to show 1 · Latitude in degrees, north positive 40.7128 · Longitude in degrees, east positive -74.006 · Local UTC offset in hours -4. The result is 05:25 / 20:31.
Input and result notes
Geographic north and east are positive. Enter the fixed UTC offset for the dates you are checking. Terrain, elevation, and atmospheric conditions can shift observed times, especially near the poles.
U.S. Naval Observatory solar position algorithm