Skip to main content

Sunrise and Sunset Calculator

Calculate sunrise, sunset, solar noon, and twilight for any latitude, longitude, and date.

Location: New York CityTimes shown in UTC

Sunrise

10:14 AM

Solar noon

4:55 PM

Sunset

11:36 PM

Civil dawn

9:46 AM

Civil dusk

12:05 AM

Day length

13 h 22 min

Golden hour

Approximate window when the sun is low enough for warm, directional light (sun below 6° altitude).

Morning

10:14 AM10:51 AM

Evening

10:59 PM11:36 PM

Quick locations

How to calculate sunrise and sunset

Enter a latitude and longitude in decimal degrees — positive values are north and east, negative are south and west. For example, New York City is roughly 40.7128, -74.0060. Pick a date and the calculator returns sunrise, sunset, solar noon, civil dawn and dusk, day length, and a golden-hour window. All results use the NOAA solar position algorithm run locally in your browser; no API call is made.

Use Use my locationto let your browser fill in the coordinates from device GPS or IP; you will see a standard permission prompt the first time. Times are displayed in your browser's local timezone (UTC), which is typically what you want for your own city but not for somewhere across the world — when you calculate sunrise for Tokyo while sitting in New York, the result shows the UTC moment rendered in New York local time, which can look surprising. If you need the result expressed in the destination's own timezone, plug the UTC moment into the Timezone Converter.

At extreme latitudes the sun may never rise or never set on a given day — polar night and polar day. The calculator flags these edge cases instead of showing a meaningless time. Solar noon is almost never exactly 12:00 in your local clock even at the Greenwich meridian: the equation of timecauses a seasonal offset of up to ±17 minutes between mean civil noon and the sun's actual transit of the meridian. Civil twilight is when the sun is between the horizon and 6° below it — the period when it is still light enough to work outdoors without artificial light. Golden hour, when the sun is between the horizon and 6° above it, is when most landscape and portrait photographers plan their shoots.