One day, from east to west
The Sun's clock and the length of daylight are changing at different rates.
Why the Sun starts setting later while winter days are still getting shorter.
The Sun's clock and the length of daylight are changing at different rates.
A minute-by-minute sky scan, compared with the hour-angle prediction for today.
Sunset is the sum of two moving quantities: the time of solar noon and half the length of the daylight interval. The daylight interval keeps shrinking towards the winter solstice. But the equation of time shifts apparent solar noon earlier or later relative to the clock. When those rates compete, sunset can reach its earliest clock time before the shortest day.
The model solves Kepler's equation M = E − e sin E for eccentric anomaly E, converts it to true anomaly, and obtains the Sun's geocentric ecliptic longitude. Axial tilt converts that longitude into right ascension and declination. The equation of time is 4 × wrap(λmean − α) minutes, where angles are in degrees.
For a standard apparent horizon of −0.833° (an approximate allowance for refraction and the Sun's radius), the sunrise hour angle follows cos H₀ = (sin h₀ − sin φ sin δ) / (cos φ cos δ). Day length is 8H₀ hours when H₀ is in degrees. Local solar noon is shifted by longitude, the UTC offset's standard meridian, and the equation of time.
This is a teaching model, not a navigation almanac. It uses a fixed 365.256-day orbit, a fixed perihelion reference, a two-body Kepler orbit, and a constant −0.833° sunrise threshold. It omits leap-year calendar corrections, nutation, perturbations from other planets, terrain, weather, local refraction changes and daylight-saving time. The displayed Earth-like default constants are textbook values; the other settings are user-controlled illustrative values. The landscape and Sun disk are scaled visualisations, not to scale.
Each check is recomputed for the current settings: Newton's Kepler solution versus a separate bisection solver; noon altitude versus the closed-form meridian altitude; and the analytic sunrise hour angle versus an independently bisected horizon crossing (or a polar-day/night classification when no crossing exists).
Educational model only. All values are textbook, illustrative or scaled as labelled; this is not an official sunrise/sunset service.