skyschedule

Methodology & sources

skyschedule computes every number from first-principles astronomy against open data. Nothing is scraped from another site. The default day on each page is precomputed at build time into static HTML, so it reads with JavaScript disabled. Change the date and the same astronomy-engine math runs in your browser to recompute that day. By Marko Visic, MPharm, BSc Physics.

Where every number comes from

Sun

Sunrise, sunset, solar noon, the three twilights, golden and blue hour, day length and azimuth/elevation come from the VSOP87 planetary theory in astronomy-engine. On the night sky page, a planet counts as up when it is 5° or more above a flat horizon while the sun is 6° or more below it, checked every 10 minutes from civil dusk to civil dawn; magnitudes and constellations (IAU boundaries) are astronomy-engine’s. Rise and set are top-of-disk: the engine applies its built-in ~34-arcminute atmospheric-refraction correction plus the Sun’s angular radius, which together match the standard −0.833° horizon convention behind official tables. On the sun position page, a shadow’s length is the object’s height divided by the tangent of the sun’s altitude, and solar noon’s gap from 12:00 is split into 4 minutes per degree of longitude from the time zone’s standard meridian (15° per hour of standard offset), 60 minutes of daylight saving when it applies, and the equation of time as the remainder.

“Source: Don Cross, Astronomy Engine 2.1.19 (MIT License) — retrieved Nov 2026”

Source pages: the astronomy-engine README and Wikipedia on the sun path (day arc).

Moon

Phase, illumination, age, distance, moonrise/moonset and the next full and new moons come from astronomy-engine. Its Moon position is based on the Nautical Almanac Office’s Improved Lunar Ephemeris of 1954, which derives from E. W. Brown’s lunar theory. Percent lit is the illuminated fraction of the disc facing Earth, and age is the time since the last new moon. Phase names come from the phase angle, the moon’s distance east of the sun along the ecliptic, in eight 45° steps: new moon from 337.5° to 22.5°, waxing crescent to 67.5°, first quarter to 112.5°, and so on round the cycle; the phase pages date each step’s start and end from it. For 2025 through 2030 the new, first quarter, full and last quarter times are the U.S. Naval Observatory’s published instants, because the engine’s own instants run up to about a minute late; outside that span the engine computes them. Full-moon names follow The Old Farmer’s Almanac, with the Harvest Moon as the full moon closest to the September equinox (September’s is then the Corn Moon if the Harvest Moon falls in October) and a second full moon in a calendar month called a Blue Moon, as NASA’s archive defines it. NASA’s archive also records an older use, the third of four full moons in a season: on the Blue Moon page each season runs from one equinox or solstice instant to the next, and a monthly Blue Moon is counted in the stated time zone, so it can differ between zones. NASA describes a supermoon as a full moon within at least 90 percent of perigee; we flag a full moon at or inside the year’s farthest apogee minus 90 percent of its gap to the year’s closest perigee. The eight phase names are equal 45° steps of the angle between the moon and the sun. On the moonrise page, each rise and set bearing is the moon’s azimuth at that moment, the highest point is its meridian crossing, a dark sky means the sun at least 6° below the horizon, and the night-to-night step is the real time from one moonrise to the next minus 24 hours; the 18.6-year standstill facts are Griffith Observatory’s. A night counts as a full-moon night when the exact full moon falls between noon that day and noon the next, or on that calendar date. The moon-phase page turns the drawing’s lit edge to the observer’s view: the position angle of the bright limb χ, from tan χ = cos δs sin(αs − αm) / (sin δs cos δm − cos δs sin δm cos(αs − αm)), minus the parallactic angle q, from tan q = sin H / (tan φ cos δm − sin δm cos H), where α and δ are the right ascension and declination of the sun (s) and moon (m), H is the moon’s hour angle and φ the latitude. On the where-is-the-moon page, the moon’s height is the refracted altitude of its center above a flat horizon and its direction the azimuth from true north; it counts as up between moonrise and moonset by the same top-edge rule; a dark sky means the sun at least 6° below the horizon and daylight the sun above the sunrise line; the height in words is the altitude rounded to the nearest simple share of the 90° from horizon to overhead; a planet is named within 10° of the moon; and the daytime-moon facts are NASA’s. On the moon-phases explainer, a cycle’s length is the time between two consecutive USNO new moons, the simulator takes phase, percent lit and age at local noon and draws the textbook view for the hemisphere (lit on the right while waxing in the north, on the left in the south), and the facts on why the moon has phases are NASA’s. On the new-moon page, a black moon is the second new moon in one calendar month of the place’s time zone (Time and Date’s monthly definition); a new moon carries a solar-eclipse flag when an eclipse peaks within 12 hours of it; the eclipse dates and types are astronomy-engine’s, checked in a test against NASA’s 2021 to 2030 table, which also gives each eclipse’s region of visibility (Eclipse Predictions by Fred Espenak, NASA’s GSFC); and the dark nights are the astronomical night with the moon below the horizon, as on the dark-tonight page. On the blood-moon page, every lunar eclipse and its phases come from astronomy-engine, checked in a test against NASA’s 2021 to 2040 tables (the same 25 eclipses from 2026 to 2036, totality within two minutes); a place sees a moment of an eclipse when the moon’s center is above its horizon, with standard refraction, and the seen, partly seen or not seen badge covers the eclipse’s main phase (totality, the partial phase or the penumbral phase), checked every 5 minutes. On the orange-moon explainer, the air the moon’s light crosses uses the same Kasten and Young (1989) formula as the sunset-colors page, with the moon’s refracted altitude in place of the sun’s; tonight runs from noon to the next noon, the moonrise and moonset are the same events as on the moonrise page, the minute the moon clears 10° (or drops under it before setting) is found from its altitude sampled every 5 minutes and refined to the minute, a full moon’s highest point is its highest altitude within 12 hours of the full-moon instant, and the color facts are NASA’s. On the solar-eclipse page, the dates, types, regions, central tracks and longest totality come from NASA’s 2011 to 2050 tables; each place’s start, peak and end, the sun’s height and the share of the sun covered come from astronomy-engine’s local eclipse search, checked in a test against NASA (the same 34 eclipses from 2026 to 2040); when the sun rises or sets during an eclipse, the share is the most of the sun covered while the sun’s center is up, with standard refraction, and an eclipse counts as seen when that share rounds to at least 1%; the eclipse types and the viewing rules are NASA’s. The twelve month pages (/full-moon/january/ to /full-moon/december/) show the month’s next full moon and the three after it in the six US time zones, with names assigned in Eastern time; a full moon’s highest point is its highest refracted altitude on the night of the full moon, noon to noon, ranked against the year’s other full moons at the place; the reason for each name and the other names peoples gave the same moon are The Old Farmer’s Almanac’s. On the full-moon names page, the names and the people each other name is credited to are the Almanac’s, the dates use the same Eastern-time rules to 2030, the phase on a chosen night is the moon at 9 PM local time, the night of a full moon is the evening before it when it is full before noon, and the Blue Moon count for 2001 to 2040 is our own count of calendar months with two full moons in Eastern time. On the supermoon page, a full moon’s apparent width compared with the year’s farthest full moon is the ratio of their distances (center of Earth to center of the moon) and its light that ratio squared; the check takes the moon at 9 PM local time; the facts on size, brightness, tides and the moon illusion are NASA’s.

“Source: Don Cross, Astronomy Engine 2.1.19 (MIT License) — retrieved Nov 2026”

“Source: U.S. Naval Observatory, Phases of the Moon — retrieved Nov 2026”

“Source: The Old Farmer’s Almanac, Full Moon Names — retrieved Nov 2026”

“Source: NASA Science, Supermoons; NASA NSSDCA, The Blue Moon — retrieved Nov 2026”

“Source: Griffith Observatory, Extreme Moon: The Major Lunar Standstill of 2024-2025 — retrieved Nov 2026”

“Source: NASA, Why Can You See the Moon During the Day? (We Asked a NASA Scientist, episode 19) — retrieved Nov 2026”

“Source: NASA Science, Moon Phases; NASA Science, Eclipses and the Moon — retrieved Nov 2026”

“Source: Eclipse Predictions by Fred Espenak, NASA's GSFC, Solar Eclipses: 2011 - 2050; NASA Science, Types of Solar Eclipses and Eclipse Safety — retrieved Nov 2026”

“Source: Time and Date AS, Black Moon — retrieved Nov 2026”

“Source: Eclipse Predictions by Fred Espenak, NASA's GSFC, Lunar Eclipses: 2021 - 2030 and 2031 - 2040 — retrieved Nov 2026”

“Source: NASA Science, The Moon Illusion; NASA, Wildfire Smoke Crosses U.S. On Jet Stream; NASA Science, Summer Blue Moon; NASA Science, The Next Full Moon is the Harvest Moon — retrieved Nov 2026”

“Source: U.S. Naval Observatory, Earth's Seasons — retrieved Nov 2026”

Source pages: the astronomy-engine JavaScript reference, the USNO Phases of the Moon service, The Old Farmer’s Almanac full moon names, NASA on supermoons, NASA on the Blue Moon, Griffith Observatory on the major lunar standstill, NASA on seeing the moon by day, NASA on moon phases, NASA on lunar eclipses, NASA’s solar eclipse table, 2021 to 2030, NASA’s solar eclipse table, 2031 to 2040, NASA’s solar eclipse table, 2041 to 2050, NASA’s solar eclipse table, 2011 to 2020, NASA on the types of solar eclipse, NASA on eclipse safety, Time and Date on the black moon, NASA’s lunar eclipse table, 2021 to 2030, NASA’s lunar eclipse table, 2031 to 2040, NASA on the moon illusion and the low moon’s color, NASA on wildfire smoke and red or orange skies, NASA on truly blue moons and NASA on the Harvest Moon.

Sunset colors

Air mass is how much atmosphere the sun’s light crosses, in units of the path with the sun overhead. We use the Kasten and Young (1989) formula, m = 1 / (sin γ + 0.50572 (γ + 6.07995°)^−1.6364), with γ the sun’s apparent altitude in degrees, at sea level: it gives 1 overhead and about 38 with the sun on the horizon. Air molecules scatter light in inverse proportion to the fourth power of its wavelength, so blue at about 450 nm is scattered (700 ÷ 450)⁴ ≈ 5.9 times as strongly as deep red at about 700 nm. The sunset color clock uses the same golden-hour, sunset, blue-hour and civil-dusk instants as every other page, plus the moment the sun’s center is 2° below the horizon, where the American Meteorological Society places the start of the purple light.

“Source: Kasten & Young (1989), Applied Optics 28:4735; CIE International Lighting Vocabulary 17-29-109; PVEducation, Air Mass — retrieved Nov 2026”

“Source: Penn State METEO 300, What about scattering?; National Weather Service Storm Prediction Center, The Science of Sunsets — retrieved Nov 2026”

“Source: NASA Science, Visible Light; University of Leeds, Atmosphere: Solar Energy — retrieved Nov 2026”

“Source: American Meteorological Society, Glossary of Meteorology; WMO, International Cloud Atlas; NASA, Astronomy Picture of the Day; Hong Kong Observatory — retrieved Nov 2026”

Source pages: Kasten & Young (1989), the CIE vocabulary entry for relative optical air mass, PVEducation on air mass, Penn State on scattering, NASA on visible light, the University of Leeds on color wavelengths and the AMS Glossary on purple light.

Sunrise direction

Each sunrise or sunset bearing is the sun’s azimuth, in degrees clockwise from true north, at the moment its top edge meets a flat horizon, the same rule as every sunrise time on this site. The yearly swing is the gap between the year’s most northerly and most southerly sunrise; a due-east date is the day whose sunrise bearing comes closest to 90° as it crosses it, and a due-west date the same for sunset and 270°. Why the sun rises in the east and how its rising point moves with the seasons follow Stanford’s Solar Center, Griffith Observatory and NASA’s StarChild.

“Source: Stanford SOLAR Center, Where Does the Sun Rise and Set?; Griffith Observatory, Sun and Stars’ Paths; NASA StarChild, Why does the Sun rise in the east and set in the west? — retrieved Nov 2026”

Source pages: Stanford SOLAR Center on where the sun rises and sets, Griffith Observatory on the sun’s seasonal paths and NASA StarChild on why the sun rises in the east.

Day length and seasons

Day length is the time from sunrise to sunset by the same top-edge rule, printed as the gap between the two times rounded to the minute; the change against the day before keeps seconds. The shortest and longest days are the year’s extremes of that length, the days start getting longer on the first day longer than the one before, and equal day and night falls on the date whose length comes closest to 12 hours as it crosses that mark. We checked the lengths against the U.S. Naval Observatory’s Duration of Daylight tables: 24 dates across Boston, Fairbanks and Sydney agree within a minute. Equinox and solstice times for 2025 through 2035 are the Naval Observatory’s published minutes, because the engine’s own instants round to a different minute in three of the eight we checked; outside that span the engine computes them. Why the days lengthen and shorten follows the National Weather Service (Earth’s 23.5° tilt) and the Naval Observatory on day and night at the equinoxes. The solstice explainers add the noon sun’s height and its shadow (an object’s height divided by the tangent of the sun’s height), how far the sun sinks at solar midnight, and the nights it never gets 6° below the horizon. When the coldest day of the year comes and the meteorological seasons are the National Centers for Environmental Information’s; the origin of the word solstice is Merriam-Webster’s.

“Source: U.S. Naval Observatory, Duration of Daylight table — retrieved Nov 2026”

“Source: U.S. Naval Observatory, Earth's Seasons — retrieved Nov 2026”

“Source: National Weather Service (Cleveland and Quad Cities offices), The Seasons; U.S. Naval Observatory, Length of Day and Night at the Equinoxes; National Centers for Environmental Information, When to Expect the Coldest Day of the Year; National Centers for Environmental Information, Meteorological Versus Astronomical Seasons — retrieved Nov 2026”

“Source: Merriam-Webster, solstice — retrieved Nov 2026”

Source pages: the USNO Duration of Daylight tables, the USNO Earth’s Seasons tables, the National Weather Service on the seasons, the U.S. Naval Observatory on day and night at the equinoxes, the National Centers for Environmental Information on the coldest day of the year, the National Centers for Environmental Information on meteorological seasons and Merriam-Webster on solstice.

Red sky at night

The red-sky check compares a latitude with the belts of prevailing surface winds that the Global Monitoring Laboratory of the National Oceanic and Atmospheric Administration gives for the saying: the westerlies from about 30° to 60°, where it has a physical basis, and the trade winds within 30° of the equator, where it runs the other way. The National Weather Service’s JetStream puts the westerlies between 35° and 60°, and the check says so for places in between; within 2° of 30° or 60° a place is flagged as near the edge, a presentation rule of ours. The meaning and origin of the saying follow the Library of Congress, the Met Office and the King James Bible.

“Source: National Oceanic and Atmospheric Administration, Global Monitoring Laboratory, Red Sky; National Weather Service JetStream, Global Atmospheric Circulations — retrieved Nov 2026”

“Source: Library of Congress, Everyday Mysteries: Red sky at night; Met Office, Red sky at night and other weather lore; King James Bible, Matthew 16:2–3 (via Bible Gateway) — retrieved Nov 2026”

Source pages: the Global Monitoring Laboratory on red skies, the National Weather Service JetStream on wind belts, the Library of Congress on the saying and the Met Office on red sky at night.

Day and night map

The day and night map finds where the sun and moon are straight overhead from astronomy-engine (latitude = declination, longitude = right ascension minus Greenwich sidereal time) and draws each band as the circle around the point opposite the sun where the sun is at a given height: 50 arcminutes below the horizon for the line between day and night, then 6°, 12° and 18° for the three twilights. The coastlines are Natural Earth’s 1:110m land outline, drawn behind the bands; nothing is measured from it. The terminator facts (its other names, its angle at the equinoxes and solstices) are from the National Oceanic and Atmospheric Administration’s Science On a Sphere, and the subsolar point’s definition from Wikipedia.

“Source: Natural Earth, 1:110m physical vectors, land (public domain) — retrieved Dec 2026”

“Source: National Oceanic and Atmospheric Administration Science On a Sphere, Day/Night Terminator; Wikipedia, Subsolar point — retrieved Dec 2026”

Source pages: Natural Earth 1:110m land, Science On a Sphere: Day/Night Terminator and Wikipedia: Subsolar point.

Meteor showers

The meteor-shower page takes each major shower’s activity dates, peak night, zenithal hourly rate (ZHR), speed, parent and peak-night radiant from the International Meteor Organization’s 2026/2027 calendar, and the watching rules from IMO’s guide to observing major showers. A night’s dark hours run from nautical dusk to nautical dawn, when the sun is 12° or more below the horizon. The moon is ignored within 5 days of new moon; otherwise only the hours with the moon below the horizon count as moon-free. The radiant’s height and direction come from astronomy-engine, checked every 10 minutes, and are given only within 5 nights of a peak because the radiant drifts from night to night. The hourly rate is our estimate, ZHR × sin(radiant height), the relation behind IMO’s own table for a perfect sky, given only within a night of the peak and only for a moment with the moon down.

“Source: International Meteor Organization (IMO) – www.imo.net, Meteor Shower Calendar 2026/2027 and Major Showers observing guide — retrieved Dec 2026”

“Source: Don Cross, Astronomy Engine 2.1.19 (MIT License) — retrieved Nov 2026”

Source pages: the IMO Meteor Shower Calendar and IMO: observing major showers.

Time zones

Each place’s time zone is looked up from its coordinates with tz-lookup, and every local time is converted through the IANA Time Zone Database, so daylight-saving transitions are handled correctly for each place.

“Local times via the IANA Time Zone Database”

Source page: the IANA Time Zone Database.

Locations

City coordinates and administrative regions come from GeoNames, ingested and QA-checked (coordinate range, elevation and population sanity, time-zone cross-check) before any page is built. A destination’s pin is a standing spot at its viewpoint, tested on the terrain model: a summit pin moves to the highest ground within 150 m, and a beach pin has to stand on sand, not on the model’s flattened water. Each pin is then checked against a record of the spot, a GeoNames record or, where GeoNames has none, an OpenStreetMap feature. It passes when the record lies within 150 m or its outline holds the pin, and the page names that record and the distance. Each page’s ground elevation is read from the terrain model at its point. A destination’s pin and a US city’s point take the highest ground within 20 m (a beach pin, the nearest sand), and the USGS 3DEP data used near US places is bare earth. Copernicus GLO-30 includes buildings, so a city outside the US takes the lowest GLO-30 cell within 100 m of its point: the street, not a roof.

“Location data © GeoNames (geonames.org), CC BY 4.0”

“© OpenStreetMap contributors (ODbL); Wikidata (CC0)”

Source pages: GeoNames, OpenStreetMap and Wikidata.

Terrain & horizon

Most pages use the standard open-horizon times. On a destination viewpoint where a real horizon profile exists, we read a digital elevation model to find where the land actually meets the sky, then report the rise and set against that real horizon. Close to a US place the model is the USGS 3DEP bare-earth elevation data; farther out, and everywhere outside the US, it is the Copernicus GLO-30 30-meter model. Whether the sun sets over the sea comes from rays traced across that terrain and checked against Natural Earth’s ocean and lake outlines.

“Source: U.S. Geological Survey, 3D Elevation Program 1/3 arc-second DEM — retrieved Nov 2026”

“produced using Copernicus WorldDEM-30 © DLR e.V. 2010-2014 and © Airbus Defence and Space GmbH 2014-2018 provided under COPERNICUS by the European Union and ESA; all rights reserved”

“Source: Natural Earth, 1:10m physical vectors (public domain) — retrieved Nov 2026”

Source pages: USGS 3DEP, the Copernicus DEM on AWS and Natural Earth.

What the terms mean

Golden hour

The warm, low light when the sun is between 6° above the horizon and 4° below it.

Blue hour

The cool glow when the sun is 4° to 6° below the horizon, just after sunset or before sunrise.

Civil twilight

The sun from the horizon to 6° below it, still bright enough to see outdoors without lights.

Nautical twilight

The sun from 6° to 12° below the horizon, where the sea horizon is still just visible.

Astronomical twilight

The sun from 12° to 18° below the horizon, after which the sky is fully dark.

Open horizon

Sunrise and sunset for a city use the standard calculation behind official sunrise and sunset tables: a flat, sea-level horizon with standard refraction and no elevation dip.

Rounding

All times are rounded to the nearest minute, and every duration is derived from those rounded times.

On a specific viewpoint (a destination page), when the real horizon moves sunrise or sunset by 10 minutes or more, we lead with the real-horizon time and show the official sea-level time beside it. City pages always lead with the official time.

The twilight depressions (6°, 12°, 18° below the horizon) follow the US Naval Observatory definitions, and what each band looks like follows the National Weather Service. Blue hour has no official band: timeanddate puts it at 4° to 8° below the horizon, and the planning apps The Photographer’s Ephemeris compared use 4° to 6°, 4° to 8° or 3° to 10°; the blue hour page shows the 4°-to-8° band beside ours. More on the light bands: golden hour, blue hour and the three twilights.

Build-time and in-browser days both run through one shared day-builder (buildDayData in lib/site/dayData.ts), so a static page and a date you pick yourself are computed the same way. Pick a date on the sunrise & sunset hub to try it. Rebuilt daily.