Sunrise Sunset Calculator - Golden Hour, Blue Hour & Daylight Tracker

Written by:
PK

Below, find an interactive sunrise sunset calculator displaying exact sun times for any location worldwide. See today's sunrise, sunset, solar noon, daylight duration, and golden hour and blue hour for photographers with one-click copying for easy sharing. Search from 150,000+ cities or use your current location for instant sun tracking.

Sunrise Sunset Calculator (and golden hour tracker)

Using the sunrise sunset calculator

The sunrise sunset calculator either detects your location (with permission!) or lets you search through a city database. Times update automatically, and clicking any computed sun time copies it to your clipboard for easy sharing. (Tap to copy on mobile).

Basic sun tracking features

  • Sunrise & Sunset Times: See when the sun crosses the horizon, updated for your location choice
  • Solar Noon: When the sun reaches its highest point
  • Daylight Duration: Total hours and minutes of daylight
  • Location Search: Type a city name to get results from the database of 150,000+ locations
  • Date: Change the date, with presets for today, tomorrow, and the summer and winter solstice. You'll see the past or future... or, well, the present... sun times.

Click any time (tap on mobile) to instantly copy it - the copy button turns green to confirm it worked.

Sunrise and sunset time calculation

Photography: golden hour & blue hour

  • Golden Hour Calculator: Shows both morning and evening golden hours shortly before sunrise or after sunrise. Golden hour is the time photographers love when the sun bathes things in warm, golden light.
  • Blue Hour Times: Captures the brief window of twilight right before sunrise or just after sunset. The deep blue sky during this window is perfect for photographers capturing cityscapes or dramatic portraits.

Each photography time period gets its own quick reference card with start and end times marked.

Advanced twilight calculations

If you click the Show Advanced Options button, it'll expand the outputs to show more times:

  • Civil Twilight: When the sun is 0-6° below the horizon
  • Nautical Twilight: The sun is 6-12° below the horizon
  • Astronomical Twilight: When the sun is 12-18° below the horizon

Of course, you will see those twice a day. The tool will show the dawn and dusk sun timing for all three.

Advanced sunrise sunset time calculation

Sun calculation sources

  • Sun positions use the SunCalc library. Calculations account for atmospheric refraction (where you can see the sun slightly before geometric sunrise), latitude and longitude, and date. Times are typically accurate to within 1-2 minutes of official NOAA tables.
  • Cities Database: Geographic data from cities.json, sourced from GeoNames Gazetteer.

In extreme latitudes during summer or winter, some twilight phases may not occur (think: daylong daylight or darkness). A "Does not occur" in these cases is correct, not a bug!

Track more than just sunrise and sunset with these related calculators:

      

PK

PK started DQYDJ in 2009 to research and discuss finance and investing and help answer financial questions. He's expanded DQYDJ to build visualizations, calculators, and interactive tools.

PK lives in New Hampshire with his wife, kids, and dog.

Don't Quit Your Day Job...

DQYDJ may be compensated by our partners if you make purchases through links. See our disclosures page. As an Amazon Associate we earn from qualifying purchases.
Sign Up For Emails
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram