Free online calculator

Sunrise & Sunset Calculator

Enter a date, latitude, longitude and applicable UTC offset to estimate sunrise, sunset and daylight duration for a location. The calculation uses standard solar geometry and is intended as a practical astronomical estimate.

Sunrise11:02 AM
Sunset10:20 PM
Approximate daylight11h 18m

Results are astronomical estimates using standard sunrise/sunset geometry. Local terrain, buildings, atmospheric conditions and daylight-saving rules can affect observed times.

How to use the Sunrise & Sunset Calculator

  1. Choose the date for which you want sunrise and sunset estimates.
  2. Enter latitude from -90 to 90 degrees.
  3. Enter longitude from -180 to 180 degrees, using negative values west of Greenwich and positive values east.
  4. Enter the UTC offset that applies to the location on the selected date.
  5. The calculator estimates the Sun's position using standard sunrise and sunset geometry.
  6. A 90.833-degree zenith is used to account approximately for atmospheric refraction and the apparent solar radius.
  7. The result shows estimated sunrise, sunset and total daylight duration.
  8. At high latitudes, sunrise or sunset may not occur on some dates.

Examples

Northern latitude

A latitude such as 45.5 represents a location north of the equator, while -45.5 represents the corresponding latitude south of the equator.

Western longitude

A longitude such as -73.57 represents a location west of Greenwich.

Daylight-saving time

Use the UTC offset that actually applies on the selected date because daylight-saving rules can change the local clock offset.

Polar day or night

At sufficiently high latitudes, the Sun may remain above or below the horizon all day during part of the year.

Frequently asked questions

Why do sunrise and sunset depend on latitude?

Latitude changes the apparent path of the Sun across the sky, which affects both sunrise and sunset times and seasonal daylight length.

Why do I need longitude?

Longitude affects local solar time because locations farther east or west experience solar noon at different universal times.

Why do I need a UTC offset?

The astronomical calculation must be converted to local clock time. The UTC offset tells the calculator how local civil time differs from UTC.

Are sunrise and sunset times exact?

No. They are astronomical estimates. Local terrain, buildings, atmospheric conditions and time-zone rules can cause observed times to differ.

Why can sunrise or sunset be unavailable?

Near the poles, the Sun may remain continuously above or below the horizon for part of the year, so a conventional sunrise or sunset does not occur.

Related tools

More time & date tools