Precise solar times for any location and date using the NOAA / Jean Meeus algorithm
The Sunrise Sunset Calculator gives you precise solar event times for any location on Earth and any date — past, present, or future. Whether you are a photographer chasing the perfect golden hour, a gardener planning around daylight, a traveler scheduling an outdoor activity, or simply curious about today's sunrise, this tool provides all the information you need in one place. Using the gold-standard Jean Meeus astronomical algorithm (the same method used by NOAA and the US Naval Observatory), the calculator delivers sunrise and sunset times accurate to within one to two minutes for most latitudes. It goes beyond basic sunrise and sunset to include all three twilight phases — civil, nautical, and astronomical — as well as solar noon, peak sun altitude, golden hour windows, and blue hour windows. A color-coded 24-hour timeline bar shows every phase of the day at a glance, and a compass rose visualizes the exact compass bearing where the sun rises and sets. With a built-in database of 60+ major world cities — from New York and London to Tokyo, Sydney, Mumbai, and Anchorage — you can look up times for most locations instantly. For any location not in the list, simply select 'Custom' and enter your latitude, longitude, and UTC offset manually. Daylight Saving Time is detected automatically for cities that observe it, and you can override the setting for custom coordinates. The calculator also includes photography-specific features: morning and evening golden hour windows (when the sun is within 6° of the horizon, producing warm, low-angle, golden light ideal for portraits, landscapes, and architecture) and blue hour windows (when the sun is 4–6° below the horizon, casting a soft, diffuse blue tone beloved by street and cityscape photographers). Color temperature context is provided for each phase so you know what to expect from the light quality. For date presets, use the quick-select buttons to jump to today, tomorrow, or the summer and winter solstices — the two dates with the longest and shortest days of the year. A 'day length change' figure tells you whether today's daylight is growing or shrinking versus yesterday, so you can track the progress of the seasons over time. Season context and the number of days until the next solstice or equinox are also displayed for situational awareness. All calculations run entirely client-side in your browser — no server required, no data sent anywhere. The full year can be exported as a CSV file for spreadsheet analysis or professional planning.
Understanding Sunrise, Sunset, and Twilight
What Are Sunrise and Sunset?
Sunrise is defined as the moment the upper limb of the sun crosses the geometric horizon in the morning. Sunset is the reverse: the upper limb disappearing below the horizon in the evening. Because of atmospheric refraction (which bends sunlight around the Earth's curvature by roughly 34 arcminutes) and the angular radius of the sun's disk (about 16 arcminutes), the official definition uses a solar zenith angle of 90°50' (90.833°) rather than exactly 90°. This means you actually see the sun slightly before it would geometrically rise, and it remains visible slightly longer at sunset than pure geometry predicts. The exact times also depend on your elevation above sea level — on mountaintops, sunrise is slightly earlier and sunset slightly later than at sea level.
How Are Solar Times Calculated?
This calculator implements the Jean Meeus algorithm from 'Astronomical Algorithms' (2nd ed.), adapted by NOAA. The process begins by converting the calendar date to a Julian Day Number, then computing a Julian Century value relative to the J2000.0 epoch. From this, the algorithm derives the sun's mean longitude, mean anomaly, equation of center, true longitude, and apparent longitude. The obliquity of the ecliptic yields the sun's declination — the angle between the sun's rays and the Earth's equatorial plane. The equation of time (which accounts for the difference between solar noon and clock noon) is also computed. Combining declination, latitude, and the target zenith angle for each event type (90.833° for sunrise/sunset, 96° for civil twilight, 102° for nautical, 108° for astronomical) gives the hour angle, which is converted to local time via the UTC offset.
Why Do Solar Times Matter?
Sunrise and sunset times affect nearly every area of outdoor life. Photographers rely on golden hour and blue hour windows to capture warm or moody light that is impossible to replicate artificially. Gardeners and farmers need accurate day length data to understand photoperiodism — how plants respond to the ratio of daylight to darkness, which triggers flowering, fruiting, and dormancy. Pilots, mariners, and hikers depend on civil and nautical twilight for safe low-light navigation. Astronomers need accurate astronomical twilight times to know when the sky is dark enough for observations. Even simple daily planning — knowing when it gets dark, when the morning light arrives, or how many daylight hours a destination offers in winter — benefits from precise solar time calculations.
Accuracy and Limitations
The Jean Meeus algorithm is accurate to within one to two minutes for latitudes between 0° and 60° for years near the present epoch. Accuracy decreases at higher latitudes (above 60°) because the sun's path becomes very shallow relative to the horizon, and small errors in the angle calculation produce larger time errors. At extreme latitudes (above 80°), results may be off by five minutes or more. Atmospheric conditions also matter: on very hot days or during temperature inversions, refraction can be greater than the standard 34 arcminutes, causing actual sunrise to be slightly earlier or sunset slightly later than calculated. The calculator does not account for local terrain — mountains or tall buildings can block the geometric horizon and shift observed times by minutes or more.
So verwenden Sie diesen Rechner
Choose Your Location
Select a city from the dropdown to auto-fill latitude, longitude, and UTC offset. For a location not in the list, select 'Custom' and enter your decimal latitude (e.g. 40.7128) and longitude (e.g. -74.0060), then pick the correct UTC offset from the dropdown.
Set the Date
Use the calendar picker to choose any date — past, present, or future. You can also use the quick-preset buttons for Today, Tomorrow, Summer Solstice (longest day), or Winter Solstice (shortest day) to instantly jump to those key dates.
Review Solar Times and Timeline
Sunrise and sunset times appear with compass bearings (azimuth). Day length, solar noon, and the change versus yesterday are shown below. Scroll down for all twilight phases (civil, nautical, astronomical), the visual 24-hour color-coded timeline, and the compass rose showing where the sun rises and sets.
Use Photography Windows and Export
Check the Photography Windows card for morning and evening golden hour and blue hour start and end times. For annual planning, click 'Export Full Year CSV' to download a spreadsheet of sunrise and sunset times for every day of the selected year at your location.
Häufig gestellte Fragen
How accurate are the sunrise and sunset times?
The calculator uses the Jean Meeus algorithm (also used by NOAA and the US Naval Observatory) and is accurate to within one to two minutes for latitudes between 0° and 60° for dates within a few centuries of the present. At higher latitudes (above 60°) accuracy decreases because the sun's path angle becomes very shallow. Atmospheric refraction on the day — affected by temperature, pressure, and humidity — can also shift the actual observed time by one to five minutes compared to the calculated result. Local terrain such as mountains or tall buildings can further alter the observed horizon, causing additional differences.
What is civil, nautical, and astronomical twilight?
Twilight is divided into three phases based on how far the sun is below the horizon. Civil twilight begins when the sun is less than 6° below the horizon — there is enough natural light for most outdoor activities without artificial lighting. Nautical twilight spans from 6° to 12° below the horizon — the horizon is still visible at sea and bright stars are visible for navigation. Astronomical twilight spans from 12° to 18° below the horizon — the sky is not fully dark but conditions are good enough for many astronomical observations. Once the sun is more than 18° below the horizon, the sky reaches its darkest level and true night begins.
What is golden hour and why do photographers love it?
Golden hour is the period shortly after sunrise and shortly before sunset when the sun is within approximately 6° of the horizon. At this low angle, sunlight travels through a much thicker layer of atmosphere than at midday, scattering blue wavelengths and leaving warm amber and orange tones. This creates soft, directional light with long, gentle shadows that flatters portraits and gives landscapes dramatic depth. The color temperature during golden hour ranges from roughly 2,000 to 3,500 Kelvin — far warmer than the neutral 5,500–6,500K of midday sunlight. The exact duration varies by season and latitude, from under 20 minutes near the equinox at low latitudes to over an hour near the solstices at high latitudes.
What is blue hour and when does it occur?
Blue hour is the period of twilight when the sun is approximately 4° to 6° below the horizon — within the civil twilight zone. At this point the sky takes on a deep, even blue tone because the sun's light is scattered across the entire upper atmosphere and filtered of its warm wavelengths. Unlike golden hour, which only occurs above the horizon, blue hour occurs just before sunrise and just after sunset. It is prized by cityscape and street photographers because artificial lights are visible and balanced against the natural sky luminance, and the light is evenly diffused with no harsh shadows. Blue hour typically lasts 20 to 40 minutes depending on latitude and time of year.
Why does solar noon not occur at exactly 12:00 PM local time?
Solar noon is when the sun reaches its highest point in the sky (transiting the local meridian) — but this rarely coincides with 12:00 PM on the clock. Two factors shift solar noon. First, time zones cover wide geographic areas, so locations at the western edge of a time zone have a later solar noon than those at the eastern edge. Second, the 'equation of time' — a correction that accounts for Earth's elliptical orbit and its axial tilt — causes the sun to run 'fast' or 'slow' relative to a uniform clock, shifting solar noon by up to 16 minutes throughout the year. The combination of longitude offset and equation of time means solar noon can occur anywhere from roughly 11:30 AM to 1:30 PM local time depending on location and season.
What happens at extreme latitudes — midnight sun and polar night?
At latitudes above the Arctic Circle (66.5°N) or below the Antarctic Circle (66.5°S), the sun can remain above the horizon for 24 hours during summer — the phenomenon known as the midnight sun. Conversely, during winter at these latitudes, the sun does not rise at all, creating polar night. The calculator detects these conditions automatically. If the sun never sets on the selected date, it shows 'Midnight Sun' and reports 24h 0m 0s of daylight. If the sun never rises, it shows 'Polar Night' with 0h 0m 0s. These edge cases become more extreme closer to the poles — at the North and South Poles themselves, the sun is up for roughly six months and down for six months.