Sunrise & Sunset Calculator
Calculators · Added
Sunrise and sunset from a date and a pair of coordinates, computed with NOAA's solar position algorithm in your browser. No location is requested and nothing is sent anywhere — the Sun's position is a polynomial, not a lookup.
How to use the sunrise & sunset calculator
- 1Choose the date, and enter coordinates or pick a city.
- 2Set the UTC offset for that date, including daylight saving if it applies.
- 3Read the sunrise, sunset and day length.
- 4Check the twilight table if you need the light rather than the Sun itself.
Examples
Midsummer in London
- Input
- 21 June, 51.5074 / −0.1278, UTC+1
- Result
- Sunrise 04:43, sunset 21:21, and 16h 38m of daylight
Midwinter above the Arctic Circle
- Input
- 21 December in Tromsø
- Result
- The Sun does not rise — reported as polar night rather than as a failure
About the sunrise & sunset calculator
The equation of time
Solar noon is almost never at 12:00, and the gap has two causes. The obvious one is longitude: the Earth turns 15° an hour, so a place at the eastern edge of a time zone sees noon well before one at the western edge.
The subtler one is the equation of time, which swings about ±16 minutes across a year because the Earth's orbit is elliptical and its axis is tilted. It is why the earliest sunset of the year is not on the shortest day — in mid-northern latitudes it falls a couple of weeks earlier — and why a sundial and a clock only agree four times a year.
Day length does not change evenly
Around the solstices the day length barely moves — a few seconds either side — which is what the word solstice means: the Sun standing still. Around the equinoxes it changes fastest, by several minutes a day in mid-latitudes and much faster nearer the poles.
That is the cosine curve of the Sun's declination showing through, and it is why the second half of January feels like it is getting lighter quickly while late December does not, even though both are the same distance from the solstice.
Frequently asked questions
Why is sunrise not when the Sun's centre reaches the horizon?
What is the difference between the three twilights?
Why does it sometimes say there is no sunrise?
How accurate is it?
Related tools
GPS Coordinate Converter
Converters
Convert a coordinate between decimal degrees, degrees-minutes-seconds and decimal minutes.
Time Zone Converter
Converters
Convert a date and time between any two cities, with daylight saving handled for that date.
Date Difference Calculator
Calculators
Count the days, weeks and months between two dates — with or without weekends.