Weather & Climate
Sunrise and sunset calculator.
Enter a latitude, longitude, date and UTC offset to get sunrise, sunset, solar noon, civil twilight and day length, computed offline with the NOAA solar equations. For Toronto on 8 October 2026 (UTC-4) the sun rises at 07:23 and sets at 18:46.
How to calculate sunrise and sunset
- Enter the latitude and longitude. North and east are positive, south and west negative.
- Choose the date and the UTC offset, including daylight saving time if it is in effect.
- Press Calculate to see sunrise, sunset, solar noon, civil twilight and day length.
Getting the inputs right
Most wrong answers come from the signs and the offset. Toronto is at about 43.65 degrees north and 79.38 degrees west, so the longitude is entered as negative. The UTC offset is minus four in summer and minus five in winter in Toronto, and getting it wrong shifts every time by an hour. The calculator works between roughly 66 degrees north and south, where the sun rises and sets on most days of the year.
Times come from the NOAA solar equations, which are accurate to within a minute or two for most places. Real sunrise also depends on elevation and the horizon, such as hills or buildings, so treat the result as the time the sun crosses the standard horizon. Civil twilight is the period in which there is still enough light for most outdoor activities without lights.
Computed on your device
The calculator runs in your browser, inside an isolated frame on this page that has no network access. Your file is read and written back by your own device, so it is not uploaded to TNAADO or anyone else, and nothing is stored. The advertising on this page sits outside the frame and cannot see what you choose. The location you type is not uploaded, and this version uses typed coordinates instead of asking your browser for your location.
Worked example
Toronto (43.6532° N, 79.3832° W) on 8 October 2026 with a UTC offset of -4: sunrise 07:23, solar noon 13:05, sunset 18:46, a day length of 11 h 23 min. Civil twilight begins at 06:55 and ends at 19:15.
How it works
The calculator uses the NOAA solar equations based on Jean Meeus, Astronomical Algorithms: the equation of time and solar declination from the date, then the hour angle at which the sun reaches a zenith angle of 90.833° (a correction for atmospheric refraction and the size of the solar disk). Civil twilight uses a zenith angle of 96°. Sunrise and sunset are returned as minutes after local midnight in the UTC offset you give.
NOAA states that sunrise and sunset results are theoretically accurate to within a minute for latitudes between 72° north and south and within 10 minutes beyond them; this tool is limited to ±66°. It ignores terrain, so a mountain or valley wall can bring local sunset forward. Real values also vary with weather and air pressure.
Sources and basis (all opened 2026-10-08): NOAA Global Monitoring Laboratory, Solar Calculator, Calculation Details (Meeus basis, accuracy, 0.833° refraction) and NOAA General Solar Position Calculations (PDF) (zenith 90.833°, hour-angle and solar-noon equations).
FAQ
How is sunrise calculated?
From the sun's declination and the equation of time for the date, find the hour angle at which the sun is 90.833 degrees from the zenith, then convert that to a clock time using the longitude and time zone.
What are sunrise and sunset in Toronto on 8 October 2026?
About 07:23 and 18:46 at a UTC offset of -4 (daylight saving time), a day length of 11 hours 23 minutes.
What UTC offset should I use?
The offset in force at that place on that date. Toronto is -4 in summer daylight saving time and -5 in winter. The tool does not look up time zones.
How accurate is it?
NOAA says its equations are accurate to within about a minute for latitudes up to 72 degrees. Terrain, weather and air pressure can shift the observed time, and NOAA states it cannot certify results for legal use.
Why is there no result near the poles?
Near and beyond the polar circles the sun can stay up or down all day. This tool is limited to latitudes between -66 and 66 degrees.
What this calculates, and what it does not
Calculated times for general planning and research. They do not account for terrain, and NOAA states its calculator cannot certify or authenticate sunrise and sunset data for legal use.