Skip to content
Convertto

Sunrise & Sunset Calculator

Calculate sunrise, sunset, twilight and day length for any latitude and longitude.

Sunrise and sunset times depend on latitude, longitude and the date, because the sun's declination changes through the year. This calculator uses the NOAA solar position algorithm to give official sunrise and sunset plus civil, nautical and astronomical twilight, golden hour, solar noon and total day length.

Runs in your browser
Privacy
Runs entirely in your browser — nothing is uploaded
Cost
Free, unlimited, no sign-up

Frequently asked questions

Why does it say the sun never rises?

Above the Arctic or below the Antarctic Circle the sun can stay entirely above or below the horizon for days or months. When the algorithm finds no crossing, that is a real astronomical result rather than an error.

How to use the sunrise & sunset calculator

  1. 1Set the latitude.
  2. 2Set the longitude.
  3. 3Enter or paste your date.
  4. 4Choose the show times in.
  5. 5The result appears immediately — copy or download it.

Embed this tool

Put the working sunrise & sunset calculator on your own site. It runs in your visitors' browsers exactly as it does here — free, no account, nothing uploaded.

Share this tool

Last updated

More date & time tools