Skip to content

Sunrise and Sunset Calculator

Find sunrise, sunset, solar noon, day length and civil, nautical and astronomical twilight for any latitude and longitude and date, in your time zone.

Calculator Details

Sunrise and sunset:07:15 – 16:24See results ↓

Today by default

Times are shown in this zone, with daylight saving time

North positive, south negative (Ottawa 45.42)

East positive, west negative (Ottawa −75.70)

Your location stays in your browser; only the coordinates go into the page link.

Your Results

Sunrise and sunset: 07:15 – 16:24

Sunrise and sunset

07:15 – 16:24

9 h 09 min of daylight · UTC−05:00

Solar noon

11:50

Sun 23.7° above the horizon

Civil twilight (−6°)

06:42 – 16:57

Enough light for most outdoor activities

Nautical twilight (−12°)

06:05 – 17:34

Astronomical twilight (−18°)

05:30 – 18:09

Fully dark sky between these

On 2026-11-25 at 45.42°N, 75.7°W, the Sun rises at 07:15 and sets at 16:24 (UTC−05:00), giving 9 h 9 min of daylight.

Compare scenarios

Save these inputs as a scenario, change them, and compare the results side by side.

Loading, available in a moment

Day length, sunrise and sunset through 2026

Day length, sunrise and sunset through 2026

Detailed Breakdown

The next 7 days
DateSunriseSunsetDay lengthChange
2026-11-25 (you)07:1516:249 h 09 min−1 min 56 s
2026-11-2607:1616:249 h 07 min−1 min 53 s
2026-11-2707:1816:239 h 06 min−1 min 49 s
2026-11-2807:1916:239 h 04 min−1 min 45 s
2026-11-2907:2016:229 h 02 min−1 min 42 s
2026-11-3007:2116:229 h 01 min−1 min 38 s
2026-12-0107:2216:218 h 59 min−1 min 34 s

Times in Toronto, Ottawa, Montreal (Eastern), rounded to the minute.

How This Calculator Works

How It’s Calculated

Declination δ = -20.839° on 2026-11-25

cos H = cos 90.833° ÷ (cos φ · cos δ) − tan φ · tan δ, φ = 45.42°

Sunrise = solar noon − 4H min, sunset = solar noon + 4H min; solar noon = 11:50 (UTC−05:00)

The Sun’s position comes from the NOAA Solar Calculator equations (after Meeus), with 0.833° allowed for atmospheric refraction and the size of the Sun’s disc. Twilight uses the Sun 6°, 12° and 18° below the horizon.

Frequently Asked Questions

How is sunrise defined?

The moment the top edge of the Sun appears on a flat, unobstructed horizon. Because the atmosphere bends light over the horizon (about 0.57°) and the Sun’s disc has a radius of about 0.27°, sunrise is computed for the Sun’s centre 0.833° below the horizon, as NOAA and national almanacs do.

How long is the longest day in Ottawa?

At the June solstice the Sun rises at 05:14 and sets at 20:55 (EDT), 15 h 41 min of daylight. At the December solstice it is up from 07:40 to 16:22 (EST), only 8 h 43 min.

What is the difference between civil, nautical and astronomical twilight?

They end when the Sun’s centre is 6°, 12° and 18° below the horizon. Civil twilight has enough light for most outdoor activities; at the end of nautical twilight the horizon at sea becomes hard to see; after astronomical twilight the sky is fully dark. In Ottawa on 8 November 2026 they end at 17:12, 17:47 and 18:22.

Why doesn’t the earliest sunset fall on the shortest day?

Because solar noon drifts during December and January (the equation of time): the clock time of noon gets later by about 30 seconds a day. That pushes sunsets later even while days still shorten, so in Ottawa the earliest sunset comes in early December and the latest sunrise in early January.

What are the midnight sun and polar night?

North of the Arctic Circle (about 66.6°N) the Sun stays above the horizon all day around the June solstice and below it around the December solstice. Just south of it, places like Yellowknife (62.45°N) still have a sunset in June, but twilight lasts all night: civil dusk never comes at the solstice.

How accurate are the times?

Within about a minute for latitudes between 72°N and 72°S, for a flat horizon at sea level. Hills, buildings, your height above the surroundings and unusual air temperatures can shift the actual moment by a few minutes, so the published times of national almanacs are also rounded to the minute.

How do I find my latitude and longitude?

Press “Use my location” to read them from your device (they stay in your browser and only go into the page link), or copy them from a map app: in most, a long press or right-click on a spot shows its coordinates. West longitudes, as in the Americas, are negative.

Included: sunrise, sunset, solar noon, day length and civil, nautical and astronomical twilight by the NOAA Solar Calculator equations (after Meeus), for a flat horizon at sea level, about ±1 minute between 72°N and 72°S, in the time zone you choose with its daylight saving rules; midnight sun and polar night are reported as such. Left out: a places database (enter coordinates), time zones beyond the 41 in the list, elevation and terrain, moonrise and moon phases, and golden-hour times.

Sunrise and Sunset Calculator: Day Length and Twilight Times

By FindMySum · Last reviewed

How long will it be light today? When does it get dark enough to see the stars? This sunrise sunset calculator gives sunrise, sunset, solar noon, the length of the day and the three stages of twilight for any place on Earth, using its latitude and longitude, on any date, in the time zone you choose with daylight saving time applied. A chart shows how the day lengthens and shortens through the year, and a table lists the next seven days.

How the calculation works

The calculator follows the equations behind the NOAA Solar Calculator, which come from Jean Meeus's Astronomical Algorithms. For the moment in question it computes where the Sun is along its yearly path, and from that two quantities:

  • Declination (δ): how far north or south of the equator the Sun is, from +23.4° at the June solstice to −23.4° in December.
  • Equation of time: how far the Sun runs ahead of or behind an even clock, up to about 16 minutes, because Earth's orbit is elliptical and its axis tilted.

Solar noon, when the Sun is highest, happens at 720 − 4 × longitude − equation of time minutes after midnight UTC. The Sun rises and sets at a time either side of noon given by the hour angle H:

cos H = cos z ÷ (cos φ × cos δ) − tan φ × tan δ

where φ is the latitude and z the zenith angle of the event. Each degree of hour angle is four minutes of time. The calculator repeats the calculation at the moment of each event so that the Sun's position is the one at sunrise, not at noon.

Why 90.833°?

Sunrise is the moment the top of the Sun's disc touches the horizon. Two corrections move that moment earlier than the geometric one: the atmosphere bends sunlight over the horizon by about 34 arcminutes, and the Sun's radius is about 16 arcminutes. Together they put the Sun's centre 0.833° below the horizon at sunrise and sunset, so z = 90.833°. That adds several minutes of daylight at each end, which is why the equinox day is a little longer than 12 hours.

Twilight

After sunset the sky stays light while the Sun is not far below the horizon. Three standard stages, by the depth of the Sun's centre:

TwilightSun below the horizonWhat you notice
Civil0.833° to 6°Enough light for most outdoor activities without lights
Nautical6° to 12°The horizon at sea fades; bright stars appear
Astronomical12° to 18°The last glow fades; after it the sky is fully dark

In summer at high latitudes the Sun may never get 18° below the horizon, so astronomical twilight lasts all night. The calculator then shows a dash for those times.

Worked example: Ottawa in November

The calculator opens at Ottawa (45.42°N, 75.70°W) in Eastern Time. On 8 November 2026:

  • Astronomical dawn 05:10, nautical dawn 05:45, civil dawn 06:20
  • Sunrise 06:52, solar noon 11:46, sunset 16:40
  • Civil dusk 17:12, nautical dusk 17:47, astronomical dusk 18:22
  • Day length 9 hours 48 minutes, shrinking by about two and a half minutes a day

At the June solstice the same place has sunrise at 05:15 and sunset at 20:55 (daylight time), 15 hours 40 minutes of daylight; at the December solstice, under 9 hours.

Polar day and polar night

North of the Arctic Circle the Sun stays up all day around the June solstice: the hour-angle formula has no solution, because cos H would have to be below −1. Around the December solstice it stays below the horizon all day (cos H above 1). The calculator reports these as midnight sun and polar night, and still gives the twilight times when they exist: at Longyearbyen, Svalbard, the Sun doesn't rise in late December, but there is a short nautical twilight around noon. Near the poles the times are less precise, because the Sun moves almost parallel to the horizon.

Time zones and daylight saving

Times are calculated in UTC and then shown in the time zone you pick, using the zone's daylight saving rules for that date, so a place keeps the right offset through the spring and autumn clock changes. The year chart shows the jump when the clocks change. Pick the zone of the place, not the one you are in.

Coordinates

Latitude is positive north of the equator and negative south; longitude is positive east of Greenwich and negative west, so everywhere in Canada and the United States has a negative longitude. "Use my location" reads your device's position; it stays in your browser and only the rounded coordinates go into the page's link. Two decimal places (about 1 km) are plenty: moving 1 km east or west changes sunrise by only a few seconds.

Accuracy

Between about 72°N and 72°S, the times match national almanacs such as the National Research Council Canada tables to within a minute. Real conditions add their own variation: hills and buildings hide the horizon, height above the surroundings shows the Sun earlier, and unusual temperature layers change refraction. For that reason sunrise and sunset are always quoted to the minute.

More questions

Why are sunrise and sunset not symmetric around noon on my clock?

Because clock noon and solar noon differ. Your time zone is centred on a reference meridian, you may be east or west of it, daylight saving time adds an hour, and the equation of time shifts solar noon by up to about 16 minutes through the year. Sunrise and sunset are symmetric around solar noon, which the calculator shows.

Does elevation change sunrise time?

Yes. From a height you see over the curve of the Earth, so the Sun rises earlier and sets later: roughly a minute or two from a tall building and several minutes from a mountain. Nearby hills do the opposite. The calculator assumes a flat horizon at sea level, like published tables.

When are the days getting longer fastest?

Around the equinoxes in March and September, when day length changes by up to three minutes a day in southern Canada and more further north. Near the solstices it barely changes from one day to the next. The 7-day table shows the daily change.

Is day length the same everywhere on the equinox?

Nearly, but slightly more than 12 hours, because refraction and the size of the Sun's disc add a few minutes of daylight at each end. Ottawa has about 12 hours 10 minutes of daylight on the March equinox.

What is the golden hour?

Photographers' name for the soft light when the Sun is low, roughly from sunset until it is about 6° below the horizon, and the same before sunrise. It is not a fixed hour: it lasts longer at high latitudes and in winter, when the Sun's path meets the horizon at a shallow angle.

Sources

This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.

Spotted a wrong result or a bug? Report a problem

May we count your visits with Invoker Analytics? It keeps a random visitor number in your browser. Your calculator inputs are never sent. Privacy policy