Sunrise & Sunset Calculator
Calculate sunrise, sunset, and day length for any US city and date.
By Konstantin Iakovlev · Updated April 2026 · Source: NWS
Sunrise
9:41 AM
Sunset
12:11 AM
Day Length
14.5h
Sun Times (approx UTC)
| Sunrise | 9:41 AM |
| Solar Noon | 4:56 PM |
| Sunset | 12:11 AM |
| Day Length | 14.5 hours |
| Golden Hour AM | 10:41 AM |
| Golden Hour PM | 11:11 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
Pick a US city and a date, and you'll see exact sunrise and sunset times along with the total span of daylight in between. Those times drive a lot of planning, from outdoor activities and photography to managing energy use, and the data extends into 2026 and past it. To put it in perspective, Seattle's longest day in 2026 lands on June 20, with roughly 16 hours of daylight, plenty of runway for a full-day trip outdoors.
The math rests on astronomical algorithms that combine the Earth's orbital parameters with the observer's latitude and longitude. We follow the United States Naval Observatory's (USNO) formulas, which fold in atmospheric refraction and the observer's elevation for high accuracy. The core step solves for the solar zenith angle, pinpointing when the center of the sun's disk crosses the horizon after adjusting for the standard 0.83 degrees of atmospheric refraction.
Raw astronomy can't see your horizon, so mountains and other local terrain may shift the sunrise or sunset you actually witness. Picking the wrong city or date is the easiest way to get a result that doesn't match reality, so confirm both inputs. Daylight Saving Time is handled for you, applied automatically from the date and location you choose for 2026, with no manual correction needed on your end.
Example: Planning a Summer Solstice Trip to Miami in 2026
- 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 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 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 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?
What is the longest day of the year?
What is civil twilight?
You might also need
Snow Day Calculator
Predict the chance of a snow day based on weather forecast and school type. A fun prediction tool.
Wind Chill Calculator
Calculate wind chill factor using NWS formula. See frostbite risk time and danger level.
Heat Index Calculator
Calculate heat index from temperature and humidity. See danger level and activity recommendations.