Sunrise & Sunset Calculator

Calculate sunrise, sunset, and day length for any US city and date.

Sunrise

9:36 AM

Sunset

12:16 AM

Day Length

14.7h

Sun Times (approx UTC)

Sunrise9:36 AM
Solar Noon4:56 PM
Sunset12:16 AM
Day Length14.7 hours
Golden Hour AM10:36 AM
Golden Hour PM11:16 PM

Use the Sunrise & Sunset Calculator above to calculate your results. Enter your values and see instant results — all calculations run in your browser.

Disclaimer: This calculator is for informational purposes only and does not constitute tax, financial, or legal advice. Results are estimates based on the information you provide and current rates. Always consult a qualified tax professional or financial advisor for advice specific to your situation.

How It Works

Our Sunrise & Sunset Calculator provides precise times for sunrise, sunset, and the total duration of daylight for any specified US city and date. Understanding these times is crucial for planning outdoor activities, photography, and even energy consumption, offering valuable insights for 2026 and beyond. For instance, knowing that on June 20, 2026, Seattle will experience its longest day with approximately 16 hours of daylight can help you plan an extended outdoor adventure.

The calculation leverages astronomical algorithms based on the Earth's orbital parameters and the observer's geographic coordinates (latitude and longitude). We use the United States Naval Observatory's (USNO) precise formulas, which account for atmospheric refraction and the observer's elevation, ensuring high accuracy. This involves solving for the solar zenith angle to determine when the center of the sun's disk crosses the horizon, adjusted for the standard 0.83 degrees of atmospheric refraction.

When using the calculator, remember that local topography like mountains can slightly alter perceived sunrise/sunset times, even if not accounted for in the raw astronomical data. Also, ensure you select the correct city and date to avoid common input errors that lead to inaccurate results. Daylight Saving Time adjustments are automatically applied based on the chosen date and location for 2026, so you don't need to manually factor them in.

Example: Planning a Summer Solstice Trip to Miami in 2026

  1. 1 Let's say you're planning a trip to Miami, Florida, to celebrate the Summer Solstice in 2026 and want to know precisely when the sun will rise and set. You'd input 'Miami, Florida' and 'June 20, 2026' into the calculator.
  2. 2 The calculator processes these inputs, retrieving Miami's latitude and longitude and applying the astronomical formulas for the specified date. It then calculates the solar zenith angle for sunrise and sunset, factoring in atmospheric refraction and Miami's elevation.
  3. 3 For Miami, Florida, on June 20, 2026, the calculator would reveal a sunrise at approximately 6:30 AM EDT and a sunset around 8:14 PM EDT, resulting in a day length of roughly 13 hours and 44 minutes.
  4. 4 This information allows you to perfectly time your morning beach walk to catch the sunrise or plan an evening dinner with a stunning sunset view, making the most of the longest day of the year in Miami. Knowing these exact times enhances your travel planning and ensures you don't miss any magical moments.

Source: NWS · Last updated: April 2026

Frequently Asked Questions

How do you calculate sunrise and sunset times?
Sunrise and sunset depend on your latitude, longitude, and the date. The calculator uses astronomical formulas accounting for Earth's axial tilt and orbital position to determine when the sun crosses the horizon.
What is the longest day of the year?
In the Northern Hemisphere, the summer solstice (around June 20-21) has the most daylight hours. Cities farther north get more daylight; for example, Seattle gets about 16 hours while Miami gets about 13.5 hours.
What is civil twilight?
Civil twilight is the period when the sun is 0-6 degrees below the horizon. There is enough light for most outdoor activities without artificial lighting. Morning civil twilight starts before sunrise; evening civil twilight ends after sunset.