🌅 Sunrise & Sunset Calculator
Enter a date and location to get the sunrise, sunset, solar noon and day length — from the NOAA solar algorithm.
🌅 Sunrise
09:40
☀️ Solar noon
17:02
🌇 Sunset
00:25
Day length
14h 45m
Times are local clock time, from the NOAA solar-position algorithm (using a 90.833° zenith to account for refraction and the sun's radius). Longitude is positive for east. Set the UTC offset for the date (remember daylight saving). Accurate to about a minute. 🔒 In your browser.
How the sunrise & sunset calculator works
The tool computes the sun's position from the date using the NOAA solar-position algorithm — working out the solar declination and the equation of time, then the hour angle at which the sun crosses the horizon for your latitude. Sunrise and sunset use a 90.833° zenith, which accounts for atmospheric refraction and the sun's own radius. Enter your latitude, longitude and UTC offset (or pick a city).
Times are local clock time, so set the UTC offset correctly for the date — including daylight saving if it applies. Longitude is positive for east. The algorithm is accurate to about a minute for latitudes within ±72°; near the poles the sun may not rise or set at all.
Frequently asked questions
What time is sunrise and sunset today?
Enter today's date and your latitude, longitude and UTC offset (or choose a city preset), and the tool gives sunrise, sunset, solar noon and the length of the day.
How is sunrise calculated?
From the sun's declination and the equation of time for the date (via the NOAA algorithm), then the hour angle where the sun reaches a 90.833° zenith — the standard sunrise/sunset altitude, which includes refraction and the sun's radius.
What is solar noon?
The moment the sun is highest and due south (or north), midway between sunrise and sunset. It rarely coincides with 12:00 clock time because of your longitude within the time zone and the equation of time.
Why do I need my UTC offset?
To convert the sun's position into your local clock time. Enter the offset that applies on the date — remember to add an hour during daylight saving time.
Why doesn't the sun rise at the poles?
Above about 66.5° latitude, near the solstices the sun can stay below the horizon all day (polar night) or above it all day (midnight sun). The tool flags these cases.
Related astronomy tools
From the blog
-
Golden Hour and Blue Hour: The Sun Angles That Make the Best Light
Golden hour isn't a clock time — it's a sun angle. Here's exactly which elevations define golden hour, blue hour and the three twilights, why the windows are longer some places than others, and how to find them for any date and location.
-
Moon Phases Explained: Why There Are 8, Why They Take 29.5 Days, and Why There's No Dark Side
The Moon's phases come from the changing angle between the Sun, Earth and Moon — not from Earth's shadow. Here's the 8-phase cycle, why the synodic month is 29.5 days rather than 27.3, and why the far side isn't dark.