Sunrise & Sunset Calculator
How Sunrise and Sunset Are Calculated
Sunrise and sunset are the moments when the top of the sun's disc touches the horizon — with a small allowance for atmospheric refraction bending the light. Every result here uses the NOAA solar position algorithm, accurate to within a few minutes for any location on Earth.
Enter any city and a date to see local sunrise, sunset, and day length. Below the summary, the year sun graph shows how daylight, twilight, and solar noon shift across the full year for your location — switch between the rise/set times view and the day/night length view with the toggle.
Near the Arctic and Antarctic circles, the sun may not rise or set at all. The tool handles polar day (midnight sun) and polar night gracefully.