GEODETIC DATUM: WGS84 · CLIENT-SIDE PRECISION · NO SIGN-UP
Open Map Lab

Sunrise and Sunset Times Calculator

Calculate high-precision sunrise, sunset, solar noon, and twilight times (civil, nautical, astronomical) for any address or coordinate on Earth.

By ·Updated Runs in your browser
Sample Solar Times
Example· Not your location

Sunrise: 11:32:17 AM UTC · Sunset: 09:46:55 PM UTC

New York, USA · Day Length: 10h 14m · Solar Noon: 04:40:36 PM UTC

Latitude Solar Samples:
Sunrise (Upper Limb)

11:32:17 AM UTC

Zenith 90°50′ (includes 34′ refraction)

Solar Noon

04:40:36 PM UTC

Highest transit over observer meridian

Sunset (Disappearance)

09:46:55 PM UTC

Solar disc sinks below true horizon

Daylight Duration

10h 14m 38s

Total sunlight duration

Astronomical Twilight & Photography Light Phases (UTC)

PHASESUN ELEVATIONMORNING STARTEVENING ENDVISUAL CONDITION
Golden Hour0° to +6°11:32:17 AM UTC09:07:27 PM UTCSoft warm light, long dramatic shadows
Civil Twilight-6° to 0°11:03:33 AM UTC10:15:39 PM UTCHorizon clearly visible; no artificial light needed
Nautical Twilight-12° to -6°10:30:59 AM UTC10:48:14 PM UTCNavigational sea horizon and bright stars visible
Astronomical Twilight-18° to -12°09:58:57 AM UTC11:20:15 PM UTCSky completely dark; ideal for astrophotography

Click anywhere to calculate solar schedule for that point.NOAA / Jean Meeus Astronomical Equations

COORDINATES:40.71280° N, 74.00600° W

How to use the sunrise and sunset calculator

  1. 1Pick a place and date

    Search any location and choose a date.

  2. 2Compute the Sun's rise and set

    Times are calculated for the Sun's upper edge with standard atmospheric refraction.

  3. 3Read the day's timetable

    See sunrise, sunset, solar noon, day length and civil, nautical and astronomical twilight.

What counts as sunrise and sunset?

In common perception, sunrise occurs when the Sun appears in the morning sky. In astronomy and geodesy, however, sunrise and sunset have exact, rigorous mathematical definitions:

Sunrise is defined as the precise instant when the upper limb (top edge) of the Sun's disk appears to touch the true astronomical horizon. Sunset is the exact instant when the upper limb disappears completely below the horizon.

Crucially, this means the geometric center of the Sun is well below the horizon at both events. By international consensus (US Naval Observatory and HM Nautical Almanac Office), the center of the Sun sits at an altitude of -50 arcminutes (-0.833 degrees) at sunrise and sunset:

  • Atmospheric Refraction (34 arcminutes / 0.567°): Terrestrial air density bends light rays downward, lifting the apparent position of the Sun upward by over half a degree on the horizon.
  • Solar Disk Semi-Diameter (16 arcminutes / 0.267°): The angular radius of the Sun as seen from Earth. Measuring from the upper edge rather than the center adds 16 arcminutes of advance warning.

Because of this 50-arcminute bonus, even on the equinoxes—when day and night are supposed to be equal—daylight is roughly 7 to 10 minutes longer than nighttime everywhere on Earth.

Solar noon and day length

All sunrise and sunset calculations are anchored around local solar noon—the moment the Sun crosses the observer's local meridian and attains its highest elevation of the day.

Solar noon rarely coincides with 12:00 PM on clock time. Clock noon is distorted by two variables:

Longitudinal Offset from Time Zone Central Meridian

Every time zone spans a nominal 15 degrees of longitude (1 hour of time, or 4 minutes per degree). An observer standing on the western edge of a time zone (such as western Texas in the Central Time Zone) will experience solar noon nearly 45 minutes later than someone on the eastern edge.

The Equation of Time (EoT)

Orbital eccentricity and axial obliquity cause true solar noon to drift earlier or later than clock noon by up to ±16.4 minutes over the course of the year.

Does elevation change sunrise and sunset times?

When an observer stands atop a mountain peak, an ocean cliff, or the observation deck of a skyscraper, the horizon is no longer horizontal; it curves downward beneath eye level.

This angular depression is termed the dip of the horizon:

Dip Angle (θ_dip) ≈ 0.0293° × √(h in meters)   [or 0.0177° × √(h in feet)]

For example, on the 102nd-floor observatory of the Empire State Building (elevation ~380 meters), the horizon dips by 0.57 degrees. This depression angle allows visitors to see sunrise roughly 3 to 4 minutes earlier than pedestrians on the sidewalk below, and to view sunset 3 to 4 minutes later. On Mount Everest (8,848 m), sunrise occurs over 15 minutes earlier than at sea level at the same latitude.

How sunrise and sunset times are calculated

The half-day length hour angle H₀ from solar noon to sunrise/sunset is derived from spherical trigonometry:

GOVERNING MATHEMATICAL EQUATION\cos(H_0) = \frac{\sin(-0.833^\circ - \text{dip}) - \sin\phi \sin\delta}{\cos\phi \cos\delta}, \quad T_{\text{rise}} = T_{\text{noon}} - \frac{H_0}{15^\circ}, \quad T_{\text{set}} = T_{\text{noon}} + \frac{H_0}{15^\circ}
VARIABLE DEFINITIONS & CONSTANTS
H₀:Sunrise/sunset hour angle relative to solar noon (degrees)
φ:Observer geodetic latitude (40.7128° N)
δ:Solar declination on June 21 (+23.4358°)
-0.833°:Standard solar depression angle for refraction (34') and semi-diameter (16')
T_noon:Local clock time of solar noon (12:57 PM EDT)
WORKED BENCHMARK: NEW YORK CITY (40.7128° N, 74.0060° W) ON JUNE 21
Observer Latitude (φ) = 40.7128° NSolar Declination (δ) = +23.4358°Standard Depression = -0.8333° (sin = -0.01454)Solar Noon Clock Time = 12:57:40 PM EDT (UTC-4)
  1. Numerator: sin(-0.8333°) - (sin 40.7128° * sin 23.4358°) = -0.01454 - (0.65226 * 0.39773) = -0.27397
  2. Denominator: cos 40.7128° * cos 23.4358° = 0.75799 * 0.91750 = 0.69546
  3. cos(H₀) = -0.27397 / 0.69546 = -0.39394
  4. H₀ = arccos(-0.39394) = 113.203°
  5. Half-day duration in hours = 113.203° / 15° = 7.5469 hours = 7 hours 32 minutes 49 seconds
  6. Total Day Length = 2 * 7.5469 = 15.0938 hours = 15 hours 05 minutes 38 seconds
  7. Sunrise = 12:57:40 PM - 7h 32m 49s = 05:24:51 AM EDT
  8. Sunset = 12:57:40 PM + 7h 32m 49s = 08:30:29 PM EDT
Computed Result:Sunrise: 05:25 AM EDT | Sunset: 08:30 PM EDT | Day Length: 15h 05m

On the summer solstice in New York City, daylight lasts for 15 hours and 5 minutes, with civil twilight extending usable light from 4:52 AM to 9:03 PM.

Daylight hours by latitude on the solstices

Reference this benchmark table comparing summer and winter solstice day lengths and sunrise times from the Equator to the Arctic:

Solstice Day Length and Sunrise / Sunset Times Across Representative Latitudes

Calculated using USNO standard -0.833° zenith criteria with local civil daylight saving adjustments.

Geographic LocationLatitudeJune Solstice DaylightJune Rise / SetDec Solstice DaylightDec Rise / Set
Quito, Ecuador (Equatorial)00°13' S (0.22° S)12 hours 07 min06:03 AM / 06:10 PM12 hours 07 min06:08 AM / 06:15 PM
Miami, Florida25°46' N (25.77° N)13 hours 45 min06:30 AM / 08:15 PM10 hours 32 min07:03 AM / 05:35 PM
New York City, NY40°43' N (40.71° N)15 hours 06 min05:25 AM / 08:31 PM09 hours 15 min07:17 AM / 04:32 PM
Seattle, Washington47°36' N (47.61° N)15 hours 59 min05:11 AM / 09:11 PM08 hours 25 min07:55 AM / 04:20 PM
Anchorage, Alaska61°13' N (61.22° N)19 hours 22 min04:20 AM / 11:42 PM05 hours 28 min10:14 AM / 03:42 PM
Tromsø, Norway (Arctic)69°39' N (69.65° N)24 hours 00 minMidnight Sun (No Sunset)00 hours 00 minPolar Night (No Sunrise)

Why real sunrise can differ from the calculator

When planning photography, aviation flights, or outdoor recreation, note these real-world exceptions to mathematical sunrise calculations:

  • Mountain Topography: Standard calculations assume a smooth, flat horizon at sea level. If your eastern horizon is blocked by a 3,000-meter mountain ridge 15 km away, the actual visual sunrise will be delayed by 20 to 45 minutes until the Sun clears the peaks.
  • Polar Singularities: When |cos(H₀)| ≥ 1, the mathematical equation has no solution. If cos(H₀) ≤ -1, the Sun never sets (Midnight Sun). If cos(H₀) ≥ +1, the Sun never rises (Polar Night).
  • High-Latitude Twilight Bleed: In locations above 55° latitude (such as Edinburgh, Stockholm, or Edmonton) during midsummer, the Sun never dips more than 12 degrees below the horizon at night, resulting in continuous civil or nautical twilight where the sky never turns truly dark.
Aviation & Marine Operational Disclaimer
  • FAA regulations require navigation lights from sunset to sunrise, and loggable night flight begins at the end of civil evening twilight; verify local civil twilight times for compliance.
  • Local atmospheric temperature inversions can alter refraction near the horizon by ±5 to 10 arcminutes, shifting actual visual sunrise by up to 2 minutes from tabulated times.

Related Solar & Time Tools

Pair sunrise tracking with solar elevation angles, day-night maps, and time zone lookups:

Quick facts about the sunrise and sunset calculator

FactValueNotes
Calculation ModelNOAA Solar Calculator (Jean Meeus)Astronomical Algorithms 2nd Ed.
Twilights CalculatedCivil (6°), Nautical (12°), Astronomical (18°)Solar depression angles
Refraction Standard34 Arcminutes Horizon RefractionSun appears before geometric rise
PRECISION & EXCEPTIONS

Edge cases and exceptions

Polar Day and Polar Night

At latitudes beyond 66.5° during summer and winter solstices, the Sun never sets or never rises. The tool displays continuous day/night warnings.

FIELD APPLICATIONS

The sunrise and sunset calculator: worked examples

1

Solstice Sun Hours in Seattle, WA

Scenario: Calculating daylight duration on the June Solstice in Seattle.

Outcome: Sunrise at 5:11 AM, Sunset at 9:11 PM, yielding 16 hours of continuous sunlight.

FREQUENTLY ASKED QUESTIONS

Frequently asked questions about the sunrise and sunset calculator

What is civil twilight?

Civil twilight begins in the morning and ends in the evening when the center of the Sun is geometrically 6 degrees below the horizon.

How is sunrise defined?

Sunrise is when the upper edge of the Sun appears at the horizon. The standard calculation includes atmospheric refraction, using a solar altitude of -0.833°.

What is solar noon?

The moment the Sun is highest in the sky, when it crosses the local meridian. It is usually not exactly 12:00 clock time.

What is golden hour?

The period after sunrise and before sunset when sunlight is soft and warm, popular for photography. It lasts roughly an hour, depending on latitude and season.

Why does the earliest sunset come before the winter solstice?

Because of the equation of time, in the Northern Hemisphere mid-latitudes the earliest sunset occurs in early December, and the latest sunrise in early January.

How long is the day at my latitude?

The tool gives day length, which varies from 12 hours at the equator to up to 24 hours or none inside the polar circles.

What is civil, nautical and astronomical twilight?

Civil twilight is the Sun 0° to 6° below the horizon, nautical 6° to 12° and astronomical 12° to 18°.

Does elevation change sunrise time?

Yes. From higher up, the horizon is farther away, so the Sun appears slightly earlier and sets later.

Why is the time shown different from my weather app?

Apps may use a different horizon definition, elevation or rounding. A difference of a minute or two is normal.

Can I get sunrise and sunset for another date?

Yes. Choose a date and place to plan trips, photography or solar installations.

Keep exploring

Data & Cartographic Authority: Jean Meeus astronomical algorithms · OpenStreetMap contributors (ODbL) via Photon & Nominatim geocoding

Written and maintained by . Content updated October 30, 2026; data last verified September 19, 2026. See our editorial policy, methodology, or report an error.