Sunrise Sunset Calculator

Enter coordinates, date, and UTC offset to get sunrise, sunset, sun direction, solar noon, day length, twilight, golden hour and a whole-month table in your browser.

In the NOAA method, sunrise and sunset happen when the Sun's center is 0.833° below the horizon (34′ of refraction plus a 16′ solar radius).

Use the Sunrise Sunset Calculator

Location & Date

-90 (S) to 90 (N)

-180 (W) to 180 (E)

Quick Presets

Enter a location and date, then click Calculate.

Quick answer

In the NOAA method, sunrise and sunset happen when the Sun's center is 0.833° below the horizon (34′ of refraction plus a 16′ solar radius). Solve cos H = (cos 90.833° − sin φ × sin δ) ÷ (cos φ × cos δ) for the hour angle H, then sunrise = solar noon − 4 min × H and sunset = solar noon + 4 min × H.

Examples

Place and date (local time)SunriseSunset
Chicago, Jun 21 20265:15 AM8:29 PM
Key West, Jun 21 20266:39 AM8:19 PM
Chicago, Dec 21 20267:15 AM4:22 PM
Key West, Dec 21 20267:07 AM5:43 PM

Enter coordinates or use your location to get sunrise, sunset, day length and all three twilight phases for any date.

Summary

This tool estimates sunrise, solar noon, sunset, day length, photography light bands, and civil, nautical, and astronomical twilight for coordinates and a date. It implements equations documented by the NOAA Solar Calculator and runs locally in your browser. Results are calculated estimates, not observed or certified times.

How it works

  1. Enter the latitude and longitude of your location (positive = North/East, negative = South/West).
  2. Select the date you want to calculate solar times for.
  3. Choose your UTC offset to display times in your local timezone.
  4. Click "Calculate" — the tool runs the NOAA solar algorithm in your browser, re-evaluating the Sun's declination at each sunrise and sunset instant.
  5. Results show sunrise and sunset with their compass direction, solar noon, day length and its change from the previous day, and all three twilight phases.
  6. A table below lists sunrise, sunset, day length and solar noon for every day of the selected month; preset cities follow their daylight-saving rules day by day.

Use cases

  • Plan outdoor photography around golden hour and blue hour.
  • Determine daylight hours for any location and date before traveling.
  • Calculate solar noon for accurate sundial or solar panel alignment.
  • Find sunrise/sunset for historical or future dates for research.
  • Plan hiking, camping, or sailing trips with accurate daylight windows.
  • Verify solar data for energy production estimates.
  • Check civil twilight times for aviation or maritime planning.
  • Compare day lengths across seasons or latitudes.

Frequently Asked Questions

Last updated: 2026-10-09 · Reviewed by Nham Vu