Sunrise & Sunset Explained: The Science of Daylight
Why days get longer and shorter, the 23.44° tilt behind the seasons, the equation of time, and how to find sunrise, sunset, and golden hour for any location.
Every culture that built a lasting monument aligned it with the sun. The great trilithons of Stonehenge frame the summer solstice sunrise, when the Sun rises precisely over the Heel Stone[wiki-stonehenge]. The Neolithic passage tomb at Newgrange in Ireland fills with light for exactly seventeen minutes at the winter solstice. The Anasazi built "Sun Dagger" petroglyphs in Chaco Canyon that mark the solstices with a precise blade of shadow. Why? Because for ten thousand years, the changing length of daylight — not a clock — was the calendar that told people when to plant, when to harvest, when to prepare for winter, and when to celebrate[wiki-stonehenge].
This guide explains the science behind those monuments. It answers the questions behind the numbers you see on any sunrise/sunset tool: why do days get longer and shorter? Why is the summer solstice not the day of the latest sunset? Why is the equator's day always twelve hours? And what, exactly, is the golden hour that photographers obsess over? Along the way it connects to the Sunrise Sunset Calculator, which computes these times for any date and place on Earth.
The 23.44-degree tilt
Every explanation of daylight comes back to a single fact: Earth's axis is tilted 23.44° from vertical[wiki-axial-tilt]. If the axis were straight up and down, the Sun would follow the same path every day of the year, day length would never change, and there would be no seasons — every day would be a perpetual equinox. The tilt is why the seasons exist at all[wiki-axial-tilt].
As Earth orbits the Sun, that tilted axis keeps pointing in the same direction in space. In June, the Northern Hemisphere leans toward the Sun — the Sun climbs high, days stretch long, and the summer solstice arrives. Six months later, the same hemisphere leans away — the Sun stays low, days shrink, and winter begins. The Southern Hemisphere experiences the mirror image: its summer is December, its winter is June.
Solar declination: the Sun's "latitude"
The single most useful number for computing daylight is the solar declination — the Sun's angle above the celestial equator, which swings between +23.44° at the summer solstice and −23.44° at the winter solstice, passing through 0° at the equinoxes[wiki-position-of-sun]. It is the Sun's "latitude" on the sky, and it is the quantity that sets how long your day will be.
Solstices and equinoxes
- Summer solstice (≈June 21 north, ≈December 21 south): declination at its extreme, longest day, highest midday Sun.
- Winter solstice (≈December 21 north, ≈June 21 south): declination at its opposite extreme, shortest day, lowest midday Sun.
- Equinoxes (≈March 20 and ≈September 22): declination 0°, day and night nearly equal everywhere, day and night split almost 12/12.
A common misconception is that "equinox" means exactly twelve hours everywhere. It does not — the "official" day runs a few minutes longer because atmospheric refraction and the Sun's apparent size add about six minutes of visible daylight at mid-latitudes[wiki-sunrise-equation]. But the geometric day — the time the Sun's center is above the horizon — is essentially twelve hours at every latitude on the equinox.
The daylight formula
Daylight duration follows directly from latitude φ and declination δ:
where T is daylight in hours, φ is your latitude, and δ is the declination (see The Formula on the calculator page for the full walkthrough)[wiki-sunrise-equation]. Let us see what it predicts.
At the equator (φ = 0°): tan 0° = 0, so the argument is 0, arccos(0) = 90°, and T = (2/15)(90) = 12 hours — every single day of the year[wiki-daytime]. The Sun always rises and sets almost vertically at the equator, so day length barely changes with the seasons.
At 40°N on the summer solstice (δ = +23.44°): tan 40° × tan 23.44° ≈ 0.839 × 0.433 ≈ 0.363, so arccos(−0.363) ≈ 111.3°, and T ≈ (2/15)(111.3) ≈ 14.8 hours. The same latitude on the winter solstice gives about 9.2 hours — a swing of roughly five and a half hours.
At 60°N (near Oslo): the summer solstice yields about 18.5 hours; the winter solstice a bare 5.5 hours. Daylight grows explosively as you move toward the poles.
Polar day and polar night
The formula has no solution when the argument of the arccosine falls outside −1 to +1. That happens when you are inside the polar circles. At 66.5°N and above, the summer Sun never sets — polar day, 24 hours of daylight — and the winter Sun never rises — polar night, 24 hours of darkness[wiki-daytime]. The closer to the pole, the longer these extremes last: at the North Pole itself, the Sun rises once a year, stays up for six months, sets, and stays down for six months.
The equation of time: why "noon" drifts
If you watch the Sun's highest point day after day, you will notice it is not always at 12:00. Sometimes it peaks before noon, sometimes after — by as much as about 16 minutes[usno-eqtime]. This drift is the equation of time, caused by two effects: Earth's orbit is elliptical (so Earth moves faster near perihelion in January), and the axial tilt projects the Sun's apparent motion unevenly onto the equator. The result is that the Sun runs fast in some seasons and slow in others, with four near-zero points through the year[usno-eqtime].
This is why the earliest sunset of the year in the Northern Hemisphere comes before the winter solstice (around December 7 at mid-latitudes), and the latest sunrise comes after it (around January 4). Most people expect the shortest day to also bring the latest sunrise and earliest sunset — but the equation of time separates them, spreading the extremes across a few weeks[usno-eqtime].
From the formula to your clock
Turning daylight into actual sunrise/sunset clock times adds three corrections: the equation of time, your longitude's offset from your time zone's central meridian (1° = 4 minutes), and your time zone's UTC offset including daylight saving. The "official" sunrise and sunset that almanacs report also include the effect of atmospheric refraction and the Sun's apparent radius, which together add about four minutes of visible daylight at each end of the day[usno-rise-set][usno-eqtime]. The Sunrise Sunset Calculator handles all of this automatically — enter date, latitude, longitude, and UTC offset, and it returns sunrise, sunset, daylight, solar noon, and golden hour for that exact day and place.
The table shows daylight duration at the solstices and equinox for representative latitudes (geometric values — the Sun's center above the horizon):
| Location | Latitude | Summer solstice | Equinox | Winter solstice |
|---|---|---|---|---|
| North Pole region | 70°N | 24h 00m (polar day) | 12h 00m | 0h (polar night) |
| Fairbanks, Alaska | 65°N | 21h 07m | 12h 00m | 2h 53m |
| Oslo, Norway | 60°N | 18h 29m | 12h 00m | 5h 31m |
| London, UK | 51.5°N | 16h 24m | 12h 00m | 7h 36m |
| New York, USA | 40.7°N | 14h 55m | 12h 00m | 9h 05m |
| Equator | 0° | 12h 00m | 12h 00m | 12h 00m |
| Buenos Aires | 34.6°S | 9h 41m | 12h 00m | 14h 19m |
| Sydney | 33.9°S | 9h 45m | 12h 00m | 14h 16m |
Three patterns make this table legible. First, daylight increases with distance from the equator at the solstices, and the increase accelerates sharply toward the poles — the difference between 60°N and 70°N (5.5 hours) dwarfs the difference between 40°N and the equator (2.9 hours). Second, the Southern Hemisphere is the exact mirror: Buenos Aires and Sydney get their longest days when the Northern Hemisphere gets its shortest, because the same tilt that brings long northern days shortens southern ones. Third, the equator is the constant anchor — roughly twelve hours year-round, the rhythm against which every other latitude's swing is measured[wiki-daytime].
Photography: the golden hour
Photographers plan their best shots around the golden hour, the roughly one-to-two-hour window after sunrise and before sunset when the Sun sits low — between +6° and −4° above the horizon — producing warm, soft, long-shadowed light[noaa-calcdetails]. Its duration is not fixed: it is shorter near the equator (about 40 minutes) and stretches to hours near the polar circles in summer, because the Sun's path angle changes with latitude. The Sunrise Sunset Calculator returns the actual golden-hour window for your location and date, so you can arrive before the best light instead of chasing it.
Agriculture and gardening
Before satellites and weather models, farmers read the sky. Day length — photoperiod — directly controls when many crops flower and when many animals breed. Some plants are "long-day," triggered to flower as days lengthen in spring; others are "short-day," waiting for autumn. Modern horticulture exploits this: greenhouse growers add artificial light to trick long-day crops into flowering early, a technique the livestock industry also uses to shift breeding seasons by controlling day length[wiki-daytime]. Understanding your latitude's photoperiod pattern is a first step in planning a garden.
Solar energy and architecture
The Sun's seasonal path is the foundation of solar design. A rooftop solar array faces the equator to maximize annual yield, but its optimum tilt depends on your latitude — steeper in winter to catch the low Sun, shallower in summer. Buildings in passive-solar architecture place windows and overhangs to admit low winter sun and block high summer sun, using the seasonal change in solar altitude — exactly the quantity this guide's formulas describe — as a free heating and cooling system. The Solar Panel Calculator quantifies the energy side of that equation.
The same seasonal geometry governs a related quantity: solar noon height. At the equinox, the midday Sun reaches an altitude of 90° − |latitude| — in New York (40.7°N), about 49° above the horizon. At the summer solstice it climbs to roughly 90° − |latitude| + 23.44°, about 72°; at the winter solstice it drops to roughly 90° − |latitude| − 23.44°, about 26°. That 46° swing from summer to winter is why a fixed roof overhang can shade a window in July while letting the low January sun stream in — the same tilt that makes days long and short also makes the midday Sun high and low, and architects design around both at once[wiki-axial-tilt].
For anyone planning a home, a garden, or a solar array, the practical takeaway is to know your latitude's daylight and altitude curves across the year — the Sunrise Sunset Calculator gives the daylight side, and the seasonal altitude pattern above gives the shading side.
- Assuming the solstice is the day of earliest sunset. It is not. Because of the equation of time, the earliest sunset (≈December 7 at 40°N) comes about two weeks before the winter solstice, and the latest sunrise (≈January 4) about two weeks after. If you pick the solstice itself expecting the latest sunrise, you will be early by two weeks[usno-eqtime].
- Thinking the equator has no seasons. It has no daylight seasons — day length stays near 12 hours — but it absolutely has weather seasons (wet/dry) and the Sun does move (to 23.44° north in June, then south). The Sun just rises and sets so vertically that day length barely changes.
- Forgetting the time zone meridian. Two cities on the same latitude get the same daylight, but their sunrise clock times differ by up to an hour depending on where they sit within their time zone. A degree of longitude is 4 minutes; a city 3° east of its meridian sees the Sun 12 minutes earlier.
- Confusing solar noon with 12:00. Solar noon is when the Sun crosses your meridian — its highest point. Between the equation of time and the time-zone-meridian offset, it can fall anywhere from about 11:30 AM to 12:30 PM (or more) on your clock. In New York on the summer solstice, solar noon is 12:57 PM EDT.
- Treating "daylight" as a single definition. Geometric daylight (Sun's center above the horizon) is up to ~6 minutes shorter than the "official" sunrise-to-sunset used by almanacs, which includes refraction and the Sun's radius. The Sunrise Sunset Calculator uses the official definition; the table above is geometric. Know which one you are reading.
- ❓ Why do days get shorter and longer through the year?
- ✅ Because Earth's axis is tilted 23.44°, the Sun's path across the sky moves up and down through the year. When your hemisphere tilts toward the Sun, it stays above the horizon longer and days lengthen; when it tilts away, days shorten. The equator barely changes because the Sun always rises and sets almost vertically there.
- ❓ What is the longest day of the year?
- ✅ The summer solstice — around June 21 in the Northern Hemisphere and December 21 in the Southern. It is the day the solar declination hits its extreme and your hemisphere gets maximum daylight. At 40°N that is about 15 hours; above the Arctic Circle the Sun never sets at all.
- ❓ Why is the earliest sunset not on the winter solstice?
- ✅ Because of the equation of time, the drift between solar time and clock time caused by Earth's elliptical orbit and axial tilt. At mid-latitudes the earliest sunset falls about two weeks before the solstice and the latest sunrise about two weeks after, spreading the 'shortest day' extremes across a few weeks.
- ❓ What is solar noon?
- ✅ Solar noon is the moment the Sun crosses your local meridian — its highest point of the day. It is rarely exactly 12:00 because the equation of time and your longitude's offset from your time zone's meridian shift it by up to ~16 minutes or more. It is the natural reference for dividing morning from afternoon.
- ❓ How long is the golden hour?
- ✅ Golden hour is defined by the Sun's elevation (between +6° and −4°), not a fixed clock span, so its duration varies: roughly 40 minutes at the equator, over an hour at mid-latitudes, and up to several hours near the polar circles in summer. Lower latitude and mid-summer make it shorter; higher latitude and the equinoxes make it longer.
- ❓ Does daylight saving time change the actual sunrise?
- ✅ No — the Sun rises at the same instant regardless of what the clock says. DST only shifts which clock hours that instant maps to. That is why the calculator asks for the UTC offset including DST: the astronomy is fixed, the clock is adjustable.
- ❓ Why do some places have no sunrise or sunset for weeks?
- ✅ Inside the polar circles (past 66.5° latitude), the seasonal tilt makes the Sun stay continuously above or below the horizon for a stretch of weeks. This is polar day and polar night, and the closer you get to the poles, the longer the extremes last — up to six months at the poles themselves.
- ❓ How do I find sunrise and sunset for my exact location?
- ✅ Use the Sunrise Sunset Calculator with your latitude, longitude, and UTC offset. If you are not sure of your coordinates, the calculator's 'Use my location' button can read them from your browser (with permission), or you can find them from a maps app. The result matches an astronomical almanac to within about a minute between ±72° latitude.
References
- [1]NOAA Global Monitoring Laboratory. (2026). Solar Calculation Details.
- [2]U.S. Naval Observatory. (2026). Computing Times of Rise, Set, and Twilight.
- [3]U.S. Naval Observatory. (2026). The Equation of Time.
- [4]Wikipedia. (2026). Sunrise Equation.
- [5]Wikipedia. (2026). Position of the Sun.
- [6]Wikipedia. (2026). Daytime.
- [7]Wikipedia. (2026). Axial Tilt.
- [8]Wikipedia. (2026). Stonehenge.
UnByte — Independent Software Engineering
All reference data cites its sources — Editorial policy
