The blue hour is among the most coveted windows in photography, filmmaking and architectural visualisation — a narrow band of soft, cool light that exists only while the sun sits between the horizon and six degrees below it. Outside that window everything changes: below -6 degrees the sky darkens toward nautical twilight; above 0 degrees daylight crowds out the delicate hue. This calculator pins that window to the minute for any place on Earth and any date you choose.
How it works
The tool implements the NOAA Solar Calculator algorithm derived from Jean Meeus’s Astronomical Algorithms. Starting from your date, it computes a Julian Day Number and derives the sun’s geometric mean longitude, mean anomaly and equation of centre to obtain the true ecliptic longitude. It then corrects for the nutation and aberration of the apparent longitude, solves for the solar declination, and builds the Equation of Time — the offset between mean solar time and true solar time that can reach plus or minus 16 minutes.
From those values it derives solar noon in UTC:
Solar noon (UT) = (720 - 4 * longitude - EqT) / 60
For each light phase it then solves the hour-angle equation:
cos(HA) = (cos(z) - sin(lat) * sin(dec)) / (cos(lat) * cos(dec))
where z is the target zenith angle, lat is observer latitude and dec is solar declination. The rise and set times are solar noon minus or plus HA / 15 (converting degrees to hours). The calculator solves this for six zenith values in sequence:
| Phase | Elevation | Zenith |
|---|---|---|
| Sunrise / sunset | 0° (with refraction) | 90.833° |
| Golden hour boundary | +6° | 84° |
| Golden hour / blue hour overlap | -4° | 94° |
| Civil twilight (blue hour) | -6° | 96° |
| Nautical twilight | -12° | 102° |
| Astronomical twilight | -18° | 108° |
If cos(HA) falls outside the range -1 to +1, the sun never reaches that elevation on that date — the calculator reports this as polar conditions (midnight sun or polar night) rather than producing a meaningless time.
Worked example
London (51.5074° N, -0.1278° E) on 21 June 2026:
- Astronomical dawn: 02:49
- Nautical dawn: 03:30
- Morning blue hour: 04:07 – 04:45
- Sunrise: 04:45
- Morning golden hour: 04:45 – 05:37
- Solar noon: 13:01
- Evening golden hour: 20:25 – 21:17
- Sunset: 21:17
- Evening blue hour: 21:17 – 21:55
- Nautical dusk: 22:43
Blue hour duration each way: approximately 38 minutes — substantially longer than a winter evening (which drops to roughly 24 minutes near the solstice in December at the same latitude). The shallow solar angle at high latitudes on summer evenings is the reason for this extended twilight.
Formula note
The atmospheric refraction correction of 0.833 degrees embedded in the standard zenith (90.833 degrees) accounts for the fact that the sun appears on the horizon when its geometric position is already 0.5 degrees below it (refraction lifts the image) plus approximately 0.267 degrees for the upper limb of the solar disc. All times are accurate to within approximately one minute for latitudes between -65 degrees and +65 degrees. At extreme latitudes, close to polar day or polar night transitions, accuracy degrades as the solar path becomes very shallow and small atmospheric-pressure variations alter refraction unpredictably.