Sunrise & Sunset Calculator
Sunrise, sunset and day length for any date and any place on Earth — computed locally, no data service needed.
Private by design: everything runs in your browser. Nothing is uploaded.
How it works
- Pick a date and a city from the list — or enter custom coordinates.
- Hit Calculate to get sunrise, sunset and day length.
- For custom coordinates, choose UTC or your device's time zone for display.
FAQ
How accurate are the times?
The page uses the NOAA solar position formula (civil sunrise/sunset: the sun's upper edge at the horizon), typically accurate to about ±2 minutes. It does not account for local terrain or tall buildings.
Why do preset cities show times in the city's own time zone?
So you immediately see what a local resident would see on their clock, with daylight saving handled automatically.
What does "sun does not rise or set" mean?
Near the poles, summer can bring 24-hour daylight (midnight sun) and winter 24-hour darkness (polar night). There is no sunrise or sunset on those dates.