Sunset / Sunrise

Calculate Sunset / Sunrise instantly with the exact formula and a worked example.

Sunset / Sunrise

Latitude (north +, south −)°
Longitude (east +, west −)°
Time zone, UTC±h
Month
Day of month
Daylight length
17.5564h
Accuracy about ±3 minutes, ignoring terrain and elevationCalculate Sunset / Sunrise instantly with the exact formula and a worked example.
Sunrise
03:45
Sunset
21:18
Solar noon
12:31

More about: Sunset / Sunrise

What it calculates

The “Sunset / Sunrise” calculator computes Daylight length in h from 5 parameters: latitude (north +, south −) (°), longitude (east +, west −) (°), time zone, utc± (h), month, day of month.

Works out dates, durations, and time differences.

Example calculation

With parameters Latitude (north +, south −) = 55.75 °, Longitude (east +, west −) = 37.62 °, Time zone, UTC± = 3 h, Month = 6, Day of month = 21 the result is 17.56 h (Accuracy about ±3 minutes, ignoring terrain and elevation).

How to use

  1. Enter latitude (north +, south −), longitude (east +, west −), time zone, utc±, month and day of month — each field above is adjustable with a slider.
  2. Daylight length (h) is calculated automatically as you type.
  3. Check the worked example below to see the formula applied to real numbers.
  4. Copy the result or bookmark this calculator.

Related calculators

FAQ

How is Sunset / Sunrise calculated?
The Sunset / Sunrise calculator computes Daylight length (in h) from latitude (north +, south −), longitude (east +, west −), time zone, utc±, month, day of month. Enter your values above and the exact formula is applied instantly; a worked example with real numbers is shown below.
Is the Sunset / Sunrise calculator free?
Yes. It is completely free, needs no signup, runs entirely in your browser, and sends no data to any server.

More calculators in this category

Explore related free tools

Working Days Between DatesWeekday of a DateDate in N DaysDate Span (Y/M/D)Weeks Between DatesHours Between DatesDay of YearISO Week of YearQuarter of YearDays Until ChristmasBiological AgeHeart Age