Skip to content
ToolsOnDuty - free online tools

Search tools

Loading tool search...

Date & Time Calculators

Sunrise & Sunset Calculator

Estimate sunrise, sunset, solar noon and day length from coordinates and a date.

Free browser toolRuns in your browserNo sign-up

About the Sunrise & Sunset Calculator

The Sunrise and Sunset Calculator estimates sunrise, sunset, solar noon and daylight length from a date, latitude and longitude.

Enter coordinates or select a city preset, then choose a timezone for displaying the computed instants. Changing the display timezone does not change the location used in the astronomical calculation.

The simplified model uses a standard horizon criterion. It does not know terrain, buildings, elevation or actual atmospheric conditions, and no validated minute-level accuracy guarantee is supplied.

At high latitudes it can report a modeled polar-day or polar-night condition instead of rise/set times. Near polar boundaries, simplified estimates need particular caution.

Displayed clock times do not include their local calendar date, which can differ from the selected date when shown in a distant timezone. Years 1 through 99 also have a known timestamp-construction defect, so those results are not reliable.

These estimates are not suitable as a safety-critical navigation or observation timing source. All calculations run in the browser.

Key features

  • Sunrise, sunset and solar noon times
  • Total day length in hours and minutes
  • City presets or custom coordinates
  • Midnight sun and polar night detection

How to use

  1. 1Enter a latitude and longitude, or pick a city preset.
  2. 2Choose the time zone to display the results in and a date.
  3. 3Read the sunrise, sunset, solar noon and day length.

Examples

City preset
Input: London on a summer date
Output: Sunrise, sunset and day length

Pick a preset to fill in the coordinates and time zone automatically.

Frequently asked questions

How accurate are the times?
They are approximate model outputs, not a guaranteed match to an almanac or observed horizon. The tool does not account for local terrain, elevation or changing atmospheric conditions, and no validated minute-or-two bound has been established here.
What is solar noon?
In this model it is the calculated midpoint between sunrise and sunset for an ordinary rise/set day. It is not necessarily 12:00 on the civil clock.
What happens near the poles?
The model can return polar day or polar night when it finds no ordinary rise/set pair. This is an approximate classification, especially near a seasonal boundary.
Does changing the timezone move the calculation location?
No. Coordinates determine the location; the zone only formats the resulting instants. The UI shows clock times without their local date, which can differ from the date selected.

Open a related tool to prepare your files or refine the finished result.