Photography, tides and astronomy · Calculator Without the guesswork.

Dark Sky & Moon Window Calculator

Find astronomical darkness and the longest moon-below-horizon observing window for a location. Inputs stay in your browser.

Reference toolStargazing Dark Sky Moon WindowFind astronomical darkness and the longest moon-below-horizon observing window for a location. Inputs stay in your browser.
Reference calculation

Enter your details.

Calculated locally. Optional site analytics loads only after consent and measures broad use, not calculator inputs or result text.

Browser location stays on this device and is used only for this calculation.
Sun, Aug 30, 2026
Use my current location below, or paste coordinates from a map.
Include daylight-saving time for the observing location.

Plain-date semantics · start date is not counted unless the result explicitly says inclusive.

Your result
Moon remains above the horizon during astronomical night

The primary window is the longest overlap between astronomical darkness (Sun below −18°) and the Moon below the apparent horizon.

Observation eveningAug 30, 2026
Sunset19:57
Astronomical dark window21:51 – 04:32 next day6 hrs 41 min
Longest moon-down windowNoneThe Moon stays above the apparent horizon
Moon illumination89%
Moon phaseWaning gibbousWaning
Coordinates47.6062, -122.3321 · UTC-7

Read before relying

Context matters.

  • Moon altitude is sampled and horizon crossings are refined locally with SunCalc; the window is planning-grade rather than an observatory ephemeris.
  • Cloud, smoke, humidity, terrain and light pollution can matter more than the lunar window.
  • Milky Way visibility also depends on season, galactic-core position and latitude; this result does not claim the Milky Way is visible.
Rule set 2.0.0

Sources & scope

Source & calculation QA reviewed

The calculation guide and this source trail show what the result means, where the rule came from and when it was last reviewed. This is source-and-calculation QA, not a claim of medical, legal, tax or other professional review; time-sensitive decisions still belong with the linked authority.

JurisdictionGlobal solar/lunar planning — user-provided coordinates and date-specific UTC offset
Last reviewed2026-08-22
Next review due2027-02-22
Review scopeCalcSpan source & calculation QA
PrivacyInputs stay local · coarse usage analytics only after consent
How this calculation works

A visible path from input to answer.

Find astronomical darkness and the longest moon-below-horizon observing window for a location. The page keeps the calculation scope and its limits beside the result so the output can be checked, copied or revisited.

Calculation flow
  1. Read the record. The calculator uses Observation evening, Latitude, Longitude and UTC offset on this date supplied in the form.
  2. Apply the scope. It applies the Global solar/lunar planning — user-provided coordinates and date-specific UTC offset reference and the explicit date, unit and counting conventions shown in the result.
  3. Expose the checkpoints. Intermediate rows, warnings and timeline events stay visible; the emphasized row identifies the primary checkpoint when one exists.
Illustrative default example Moon remains above the horizon during astronomical night

The primary window is the longest overlap between astronomical darkness (Sun below −18°) and the Moon below the apparent horizon.

  • Longest moon-down windowNone
Defaults are an illustration only. Replace them with the record that applies to your situation.
Assumptions and scope

Calculation purpose: Find astronomical darkness and the longest moon-below-horizon observing window for a location. This is a general planning reference; local conditions, product instructions or personal records can override the estimate.

Boundary behavior

Calendar inputs use plain year-month-day semantics. Leap days, month ends, date-pair order and unsupported dates are checked before the result is shown.

Rule trail

Rule set 2.0.0 · Last reviewed 2026-08-22 · Next review due 2027-02-22. The source panel below contains the linked evidence.

Questions answered

What to know before using the result.

What counts as astronomical darkness?

CalcSpan uses the conventional boundary where the Sun is at least 18 degrees below the horizon.

What does the moon-down window mean?

It is the longest part of astronomical night when the Moon is calculated below the apparent horizon, reducing direct moonlight.

Does a moonless window guarantee Milky Way visibility?

No. Season, galactic-core position, latitude, clouds, smoke and local light pollution still determine whether the Milky Way is visible.