Roboculator
Online CalculatorsCategoriesDate & EventsNews
Get Started
Online CalculatorsCategoriesDate & EventsNewsGet Started
Roboculator

Smart calculators for every challenge. Free, fast, and private.

Categories

  • Finance
  • Health
  • Math
  • Construction
  • Conversion
  • Everyday Life

Popular Tools

  • Date & Events
  • Loan Calculator
  • BMI Calculator
  • Percentage Calc
  • Latest News
  • Search All

Resources

  • Glossary
  • Topic Tags
  • News & Insights

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • Editorial Policy
  • Disclaimer
© 2026 Roboculator. All rights reserved.
Roboculator

roboculator.com

  1. Home
  2. /Date & Time
  3. /Day of Week & Calendar Calculators
  4. /Sunrise/Sunset Calculator

Sunrise/Sunset Calculator

Calculator

Results

Enter values to see results

Sunrise (local time)

—

Sunset (local time)

—

Daylight Hours

—

Solar Noon (local time)

—

Results

Enter values to see results

Sunrise (local time)

—

Sunset (local time)

—

Daylight Hours

—

Solar Noon (local time)

—

The Sunrise/Sunset Calculator computes approximate sunrise and sunset times for any location and date based on latitude, longitude, and UTC offset. Enter your coordinates to see how many hours of daylight your location receives, when the sun rises and sets, and when solar noon occurs — the moment the Sun reaches its highest point in the sky.

Sunrise and sunset times depend primarily on three factors: latitude (distance from the equator), date (position in the annual solar cycle), and longitude (which determines your position within your time zone). The Sun rises earliest and sets latest at the summer solstice (around June 21 in the Northern Hemisphere), and the opposite occurs at the winter solstice (around December 21). At the equinoxes (around March 20 and September 22), sunrise and sunset are approximately 6:00 AM and 6:00 PM everywhere on Earth (though atmospheric refraction slightly shifts apparent sunrise earlier).

Extreme latitudes experience dramatic seasonal variation. At 60°N (Oslo, Helsinki, St. Petersburg), the summer solstice brings nearly 19 hours of daylight, while the winter solstice yields only about 5.5 hours. Above the Arctic Circle (66.5°N), there are periods of midnight sun (sun never sets) and polar night (sun never rises). This calculator is valid for latitudes between -66° and 66° — the polar regions experience phenomena the standard formula does not handle well.

Solar noon is often different from clock noon because clocks divide the world into time zones (typically 1 hour wide = 15° of longitude), while solar noon varies continuously by longitude. If you are at the eastern edge of a time zone, solar noon may occur at 11:30 AM; at the western edge, it may be 12:30 PM. The equation of time (a seasonal correction) adds further variation of up to ±16 minutes throughout the year.

This calculator uses the solar position algorithm from the NOAA Solar Calculator. Results are accurate to within a few minutes for most dates and locations — sufficient for planning outdoor activities, photography, construction, agriculture, and general scheduling.

Visual Analysis

How It Works

The calculation uses the declination of the Sun (how far north/south of the equator it is), computed from the day of year via the simplified formula: declination = 23.45 x sin((360/365) x (doy - 81)). The hour angle (how far from solar noon sunrise/sunset occurs) is computed from latitude and declination. Sunrise/sunset times in local time = 720 ± 4 x hour_angle - time_correction, where time_correction accounts for longitude and the equation of time (EoT).

Understanding Your Results

Daylight hours below 10 indicates an autumn/winter date at mid-latitudes. Above 14 hours indicates a summer date. If sunrise time shows a very early time (4-5 AM) and sunset a very late time (9-10 PM), your latitude is high and it is near the summer solstice. Results are in local time using your specified UTC offset — remember to adjust for daylight saving time if applicable.

Worked Examples

Summer Solstice — New York City

Inputs

ss year2026
ss month6
ss day21
latitude40.7
longitude-74
utc offset-4

Results

sunrise time5:25 AM
sunset time8:31 PM
daylight hours15.1
solar noon12:58 PM

NYC on the summer solstice: 15+ hours of daylight, sunrise just after 5 AM, sunset after 8 PM

Winter Solstice — London

Inputs

ss year2026
ss month12
ss day21
latitude51.5
longitude-0.1
utc offset0

Results

sunrise time8:03 AM
sunset time3:55 PM
daylight hours7.9
solar noon11:59 AM

London winter solstice: less than 8 hours of daylight, sun sets before 4 PM

Frequently Asked Questions

Search your city on Google Maps, right-click your location, and the coordinates appear. Alternatively, your phone's weather app or a GPS coordinates website will show your exact position. New York City is approximately 40.7°N, 74.0°W.

Clock time is standardized across time zones covering 15° of longitude. Depending on your position within the zone, solar noon can vary by up to ±30 minutes from clock noon. The equation of time adds another ±16 minutes of seasonal variation.

The equation of time is a seasonal correction accounting for Earth's elliptical orbit and axial tilt. It causes apparent solar noon to deviate from clock noon by up to 16 minutes depending on the time of year. The calculator includes this correction for more accurate results.

Civil twilight is the period after sunset (or before sunrise) when the Sun is less than 6° below the horizon. During civil twilight, there is enough ambient light for most outdoor activities without artificial lighting. Nautical twilight (Sun 6-12° below) and astronomical twilight (12-18°) follow progressively.

Earth's axial tilt of 23.5° means the Northern Hemisphere tilts toward the Sun in summer — the Sun rises higher in the sky, takes a longer arc across it, and is above the horizon for more hours. The Southern Hemisphere experiences opposite seasons simultaneously.

The golden hour is the period approximately one hour after sunrise and one hour before sunset when sunlight is warm, soft, and directional. It is the most prized light for landscape, portrait, and architectural photography. This calculator's sunrise/sunset times directly define the golden hour window.

Yes, by 1-2 minutes daily near the equinoxes (fastest change) and less than a minute daily near the solstices (slowest change). This is why daylight accumulates rapidly in spring and diminishes rapidly in autumn at mid-latitudes.

Use your current UTC offset including any daylight saving adjustment. In the US Eastern timezone: -5 (standard time, Nov-Mar) or -4 (daylight saving, Mar-Nov). Central: -6/-5. Mountain: -7/-6. Pacific: -8/-7. European Central: +1/+2. Check a world clock website for your exact current offset.

Above the Arctic Circle (66.5°N) and below the Antarctic Circle (66.5°S), the sun does not rise or set for days or weeks near the respective solstice. This calculator is designed for latitudes between -66° and +66° where standard sunrise/sunset occurs year-round.

Results are accurate to within approximately 3-5 minutes for most mid-latitude dates. Accuracy decreases near the solstices at high latitudes and does not account for local horizon elevation, atmospheric refraction variations, or daylight saving time rule complexities.

Sources & Methodology

NOAA Solar Calculator algorithm (Meeus, Jean. Astronomical Algorithms, 2nd ed.); US Naval Observatory Sunrise/Sunset documentation; Spencer, J.W. (1971). Fourier series representation of the position of the sun. Search, 2(5), 172.
R

Roboculator Team

The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.

How helpful was this calculator?

Be the first to rate!

Related Calculators

Day of Week Calculator

Day of Week & Calendar Calculators

Week Number Calculator

Day of Week & Calendar Calculators

Day of Year Calculator

Day of Week & Calendar Calculators

Calendar Calculator

Day of Week & Calendar Calculators

Leap Year Calculator

Day of Week & Calendar Calculators

Moon Phase Calculator

Day of Week & Calendar Calculators