TT Time Tools

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 uploaded

Your location is used only inside this page to run the calculation β€” it is never sent anywhere.

DateSunriseSolar noonSunsetDay length
Was this tool useful? Rate it:

Sunrise, 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

  1. Choose a locationPick a quick location, type latitude and longitude, or press Use my location.
  2. Set the date and time zoneSelect the date and the time zone in which you want the times shown.
  3. Read the resultsSee sunrise, solar noon, sunset, day length, twilight phases and golden and blue hours.
  4. Scan the monthUse the month table to watch sunrise, sunset and day length change from day to day.

Frequently asked questions

How accurate are the times?
The calculation uses the SunCalc library, which is typically accurate to within a minute or two for mid-latitude locations. Atmospheric refraction and local terrain such as hills or buildings can shift the visible moment of sunrise or sunset.
Is my location uploaded?
No. Coordinates you type or share through the browser's location prompt are used only inside this page. There is no server and no analytics on the location.
What if I deny the location permission?
Nothing breaks. Pick a quick location from the list or enter latitude and longitude by hand; both work the same way.
Why are there no sunrise times in some places?
Near the poles the Sun can stay above the horizon all day (polar day) or below it all day (polar night). The page reports this instead of showing times, and some twilight or golden-hour entries may also be missing.
What do golden hour and blue hour mean here?
Golden hour is the period when the Sun is between the horizon and 6 degrees above it. Blue hour is taken as the Sun being between 4 and 8 degrees below the horizon, around dawn and dusk.