Sunset Calculator

Calculate sunset time, twilight phases, golden hour, and monthly sunset table for any location. Includes civil, nautical, and astronomical twilight.

°N (negative for S)
°E (negative for W)
hours
1-365
Sunset
16:32
Geometric sunset (with refraction)
Civil Twilight End
17:03
Sun 6° below — general activities end
Nautical Twilight End
17:38
Sun 12° below — horizon invisible
Astronomical Twilight End
18:11
Sun 18° below — full darkness
Day Length
9h 15m
Sunrise to sunset
Golden Hour
15:32 – 16:32
Warm, soft light for photography
Evening Light Phases
Golden Hour
Civil Twi
Nautical
Astro
Night
MonthSunsetCivil Twi EndDay Length
Jan16:5217:229h 33m
Feb17:2817:5610h 35m
Mar18:0018:2811h 49m
Apr18:3419:0213h 15m
May19:0519:3614h 26m
Jun19:2820:0215h 4m
Jul19:2619:5814h 49m
Aug18:5419:2313h 47m
Sep18:0318:3012h 24m
Oct17:1217:4011h 2m
Nov16:3617:069h 51m
Dec16:3017:019h 16m
Planning notes, formulas, and examples

About the Sunset Calculator

Sunset is just the beginning of evening — after the sun dips below the horizon, twilight unfolds in three phases. Civil twilight (sun 0-6° below) provides enough light for outdoor activities. Nautical twilight (6-12°) allows navigation by the horizon. Astronomical twilight (12-18°) is when the sky is dark enough for telescopes. True night begins only when the sun is more than 18° below the horizon.

For photographers, the golden hour — roughly the last hour before sunset — offers warm, directional light ideal for portraits and landscapes. The blue hour follows immediately after, bathing scenes in cool, diffuse blue tones. Planning these windows requires knowing the exact sunset time and twilight progression.

Sunset times vary dramatically with latitude and season. At the equator, sunset shifts by only about 30 minutes year-round. At 50°N, it ranges from 4:00 PM in December to 9:30 PM in June. It gives complete sunset and twilight data for any location on Earth, with a monthly comparison table for seasonal planning.

When This Page Helps

Photographers plan shoots around golden hour. Astronomers need to know when true darkness begins. Outdoor enthusiasts plan activities around usable daylight. This calculator gives precise twilight timing for any location and season.

How to Use the Inputs

  1. Enter your latitude and longitude, or select a preset city.
  2. Set your UTC time zone offset.
  3. Enter the day of year (1 = Jan 1, 172 = Jun 21, 355 = Dec 21).
  4. Review sunset time and all three twilight phase end times.
  5. Check the golden hour window for photography planning.
  6. Use the monthly table to see seasonal variation.
Formula used
Sunset hour angle: cos(H₀) = (cos(z) − sin(φ)sin(δ))/(cos(φ)cos(δ)), where z = zenith angle (90.833° for geometric sunset, 96° for civil, 102° nautical, 108° astronomical). Sunset = solar noon + H₀/15.

Example Calculation

Result: Sunset: 20:31, Civil twilight ends: 21:05

New York on June 21 (summer solstice): sunset at 8:31 PM, with civil twilight lasting until about 9:05 PM. Golden hour starts around 7:30 PM.

Tips & Best Practices

  • Golden hour starts about 1 hour before sunset and offers the warmest light.
  • Blue hour is the 20-30 minutes after civil twilight — perfect for urban photography.
  • At far northern latitudes in summer, astronomical twilight may never end (white nights).
  • Sunset is typically 2-4 minutes later than geometric calculations predict, due to atmospheric refraction.

When To Use This Calculator

Calculate sunset time, twilight phases, golden hour, and monthly sunset table for any location. Includes civil, nautical, and astronomical twilight. Use it when you need a repeatable calculation in the physics / general category and want the setup, result, and supporting values kept together. This is especially helpful when small input changes, unit choices, or rounding decisions can change the final number.

How To Check The Result

Start by confirming that the inputs match the formula shown on the page. Then compare the main output with the worked example and any secondary values shown by the calculator. If the result will be used in another calculation, keep extra precision until the final step and record the assumptions beside the number.

Practical Notes

Treat the result as a calculation aid rather than a substitute for context. For schoolwork, include the formula and substitution steps. For planning, technical, financial, or health-related decisions, verify important numbers against primary records, current rules, or a qualified professional before acting on them.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • They correspond to how much scattered sunlight remains. Civil: enough for outdoor work. Nautical: horizon visible at sea. Astronomical: sky dark enough for most observations.