Daylight Calculator: Sunrise and Sunset at the Trailhead
This daylight calculator gives civil dawn, sunrise, solar noon, sunset, civil dusk and the length of the day for a national park trailhead on any date. Times are in the park's own time zone, printed with its abbreviation, and come from NOAA's solar equations. Sunset assumes a flat horizon, so canyon walls and ridges hide the sun earlier than the figure shown.
Sunrise, sunset and twilight
Pick a trailhead and a date. Times are in the park’s time zone.
The daylight calculator runs in your browser and needs JavaScript. Without it, use NOAA’s Solar Calculator.
Estimates for planning, not a promise. Sunset assumes a flat horizon: canyon walls and ridges hide the sun earlier. Set a turnaround time and keep it; the park’s alerts and rangers on the day come first.
How this is calculated
Sunrise and sunset are computed from NOAA's solar equations (after Jean Meeus) at the trailhead's published point, for a flat horizon with the sun's centre at a zenith angle of 90.833 degrees. Civil dawn and dusk use 96 degrees, the U.S. Naval Observatory's definition of civil twilight. Times are rounded to the nearest minute and printed in the park's time zone; day length is sunset minus sunrise.
- Sunrise and sunset come from NOAA’s solar equations (after Jean Meeus) for the trailhead’s coordinates. Sunrise and sunset are when the top of the sun meets a flat horizon (solar zenith 90.833°). NOAA says the method is accurate to within about a minute between 72° N and 72° S. Times are rounded to the nearest minute.
- Civil dawn and civil dusk are when the centre of the sun is 6° below the horizon (zenith 96°). The US Naval Observatory says artificial illumination is normally required after civil twilight ends in the evening.
- Solar noon is when the sun is highest, halfway between sunrise and sunset on the clock. Day length is sunset minus sunrise.
- Clock times are in the park’s time zone (from the National Park Service and National Weather Service data behind each trail), printed with the zone abbreviation for that date, never your device’s zone. For your own place you choose the zone.
- The forecast line, when it loads, is the National Weather Service forecast for the grid cell around the trailhead, shown as published with its issue and load times. It is not a summit forecast.
What it leaves out
- The sun is assumed to rise and set on a flat horizon. Canyon walls, ridges and trees hide the sun earlier in the evening and later in the morning, sometimes by hours.
- Cloud, smoke and haze change how light it is. Civil twilight is a definition, not a promise of usable light on a trail.
Sources
When does the sun rise and set at a trailhead?
Choose a trailhead and a date and the calculator prints six lines: civil dawn, sunrise, solar noon, sunset, civil dusk and day length. The clock is the park's own.
The coordinates are the point the National Park Service publishes for that trailhead, so a plan made at home matches the watch you wear on the trail.
If your trail is not on the list, open the own-place option, type a latitude and longitude in decimal degrees and pick a time zone. South latitudes and west longitudes are negative.
What is the difference between sunset and civil dusk?
Sunset is when the top of the sun meets a flat horizon. Civil dusk comes later, when the sun's centre is 6 degrees below it.
The U.S. Naval Observatory defines both, and says outdoor activities normally need artificial light once civil twilight has ended. On a trail that gap is short and uneven, so treat it as a margin to respect, not a time to plan around.
How does the forecast line work?
For a trailhead, the page also asks the National Weather Service for the forecast around it and prints the period for your date when the forecast covers it.
It is shown as published, with the time it was issued and the time it loaded, and is never averaged or stretched to a summit. For a date the forecast does not cover, the line is left off.
What should I do with these times?
Use them to set a turnaround time before you start. The hike time calculator turns the same sunset into a latest start for a particular trail and pace. Short days are the main reason winter hikes need planning, which our winter hiking guide covers.
Remember the horizon is assumed flat. In a canyon such as the one below Angels Landing, the walls hide the sun well before the printed sunset, and the trail can be in shade early in the afternoon.
Daylight at the trailhead FAQ
What is civil twilight?
It is the period when the centre of the sun is less than 6 degrees below the horizon. The U.S. Naval Observatory says artificial illumination is normally required after civil twilight ends in the evening. Civil dawn and civil dusk are the start and end of it, and this calculator prints both next to sunrise and sunset.
Why do the times differ from my phone's weather app?
Two usual reasons. Weather apps often show sunrise and sunset in your device's time zone, while this tool uses the park's. Some apps also adjust for terrain or round differently. Ours uses NOAA's equations for a flat horizon and rounds to the nearest minute.
How accurate are the times?
NOAA says its method is accurate to within about a minute between 72 degrees north and 72 degrees south, for a flat horizon. Our code was checked against the U.S. Naval Observatory for Zion, Acadia, Grand Canyon and Mount Rainier on five dates, with no difference. It cannot know about the mountains in front of the trailhead.
Which time zone do I see?
The park's own, with the abbreviation for that date, such as 5:21 pm MST. Grand Canyon stays on Arizona time all year, while Zion switches between MST and MDT. If you enter your own place, you choose the zone yourself, and the tool prints it beside every time.
What about the sun in the polar regions?
At high latitudes the sun can stay up or stay down for a whole day, and the equations give no sunrise or sunset. The tool then says so instead of printing times. NOAA's accuracy statement also stops at 72 degrees, so treat results beyond that as unchecked.
Does day length include twilight?
No. Day length is the time from sunrise to sunset. Civil dawn and dusk add light on either side, but the light then is dim, and artificial illumination is normally needed once civil twilight has ended. Plan to be off the trail well before dusk, and carry a headlamp for each person.
Sources
Update history
- First published. Formulas and sources are listed on the page.