Sunrise and Sunset Calculator
Enter a date, a latitude and longitude, and the UTC offset in force there. You get sunrise and sunset in UTC and at that offset.
Share sends a link that reopens these numbers. Copy details pastes the full breakdown as a list.
The formula
cos H = (sin(−0.833°) − sin φ × sin δ) ÷ (cos φ × cos δ) sunrise = solar noon − 4H minutes sunset = solar noon + 4H minutes
This is the NOAA solar calculation. δ is the Sun’s declination and φ your latitude. The −0.833° allows for the size of the Sun’s disc and the bending of light in the atmosphere. Solar noon comes from your longitude and the equation of time.
What to watch out for
Civil dawn and dusk are when the Sun is 6° below the horizon: there is usually enough light outdoors without lamps. High ground sees the Sun earlier and later, and hills or buildings can hide it.
Frequently Asked Questions
What time is sunrise in London on the summer solstice?
On 20 June 2024, at UTC+1, sunrise is at 04:43 and sunset at 21:21.
What offset should I enter?
The one in force at that place on that date, including daylight saving: UTC+1 in British summer, for instance, and UTC+0 in winter. With an offset of 0 the times are in UTC.
What happens in the Arctic?
At 69.65° N there is no sunrise or sunset around midsummer or midwinter. In June it reads “No sunrise: the sun stays up”, and in December “No sunrise: the sun stays down”.