Sunrise & Sunset Calculator
Calculate sunrise, sunset, solar noon, day length, twilight, golden hour and blue hour for any location and date.
π Runs entirely in your browser β nothing is uploadedSunrise, sunset and day length for any place
Photographers planning a shoot, hikers checking how much daylight is left, gardeners, pilots and anyone curious about the seasons all need the same thing: the exact times when the Sun crosses the horizon. This calculator works out sunrise, sunset and solar noon for a latitude, a longitude and a date, then subtracts to give the length of the day. The numbers come from astronomical formulas for the Sun's position, evaluated directly in your browser with the SunCalc library, so there is no lookup table and no request to an external service.
Sunrise and sunset are defined as the moment the upper edge of the Sun appears or disappears, allowing for the bending of light in the atmosphere. Solar noon is when the Sun reaches its highest point in the sky, which is usually not exactly 12:00 on the clock because of your position within your time zone and the equation of time. The page also shows how high the Sun climbs at noon, which is a quick way to see why summer days feel so different from winter ones.
Twilight, golden hour and blue hour
The sky does not go dark the instant the Sun sets. Civil twilight lasts until the Sun is 6 degrees below the horizon and is bright enough for most outdoor activity. Nautical twilight continues to 12 degrees, when the horizon at sea becomes hard to see, and astronomical twilight ends at 18 degrees, when the sky is truly dark for stargazing. Each has a morning and an evening time here. For photography, golden hour is the soft, warm light while the Sun is within about 6 degrees above the horizon, and blue hour is the deep blue glow shortly before sunrise and after sunset, taken here as the Sun between 4 and 8 degrees below the horizon.
Locations, time zones and polar regions
Because a latitude and longitude do not tell the page which time zone you care about, you choose the zone for display separately. Quick locations fill in a matching zone automatically, and the location button uses your browser's own zone. A marker such as +1 means the event falls on the next calendar day in the chosen zone. At high latitudes the Sun may never set in summer or never rise in winter, and the tool reports polar day or polar night instead of inventing times. The month table below the results lets you compare every day of the month at a glance, with the selected date highlighted.
How to use
- Choose a locationPick a quick location, type latitude and longitude, or press Use my location.
- Set the date and time zoneSelect the date and the time zone in which you want the times shown.
- Read the resultsSee sunrise, solar noon, sunset, day length, twilight phases and golden and blue hours.
- Scan the monthUse the month table to watch sunrise, sunset and day length change from day to day.