UseCalcPro
Home
MathFinanceHealthConstructionAutoPetsGardenCraftsFood & BrewingTools
Blog
  1. Home
  2. Tools

Sunrise Sunset Calculator

Find sunrise, sunset, golden hour, and day length for any location

Day Length

12h 11m

Sunrise

05:59

Sunset

18:10

Day Length

12h 11m

Sunrise

05:59

Sunset

18:10

Solar Noon

12:04

Golden Hour AM

05:59–06:35

Golden Hour PM

17:34–18:10

Example Calculations

1New York City, March 20

Inputs

Latitude40.71°N
Longitude74.01°W
DateMarch 20
UTC Offset-5

Result

Day Length12h 9m

Spring equinox: nearly equal day and night. Sunrise ~7:04, sunset ~7:13 EDT.

2Anchorage, Alaska, June 21

Inputs

Latitude61.22°N
Longitude149.90°W
DateJune 21
UTC Offset-9

Result

Day Length19h 21m

Summer solstice at high latitude: sunrise ~4:20, sunset ~11:42 AKDT.

Frequently Asked Questions

Q

How are sunrise and sunset times calculated?

This calculator uses NOAA solar position equations based on Julian day number, solar declination, and hour angle geometry. The sun's position is computed from Earth's orbital mechanics, and sunrise/sunset occur when the sun is 0.833° below the horizon (accounting for atmospheric refraction).

  • Based on NOAA solar equations
  • Accounts for atmospheric refraction (-0.833°)
  • Julian day conversion for accurate date math
  • Equation of time corrects for Earth’s elliptical orbit
SeasonNYC Day LengthLA Day Length
Summer Solstice15h 5m14h 26m
Equinox12h 9m12h 7m
Winter Solstice9h 15m9h 53m
Q

What is golden hour and when does it occur?

Golden hour is when the sun is within 6° of the horizon, producing warm, soft, directional light ideal for photography. Morning golden hour starts at sunrise and lasts 30–60 minutes. Evening golden hour begins 30–60 minutes before sunset.

  • Sun elevation: 0°–6° above horizon
  • Duration: 30–60 minutes per session
  • Longer at higher latitudes
  • Best light quality of the day for photos
Q

Why do sunrise/sunset times vary by location?

Earth's tilted axis (23.4°) causes different sun angles at different latitudes. Higher latitudes have more extreme seasonal variation—from 6-hour winter days to 18-hour summer days. Longitude affects the clock time within a time zone.

  • Latitude: determines seasonal variation
  • Longitude: shifts clock time within timezone
  • Altitude: earlier sunrise, later sunset (minor effect)
  • Atmosphere: refraction bends sunlight ~0.5°
Q

How accurate is this calculator?

This implementation uses NOAA's simplified solar equations, accurate to within 1–2 minutes for most locations. Exact times vary slightly due to local terrain, atmospheric conditions, and altitude. For critical applications (aviation, religious observance), use official NOAA or naval observatory data.

  • Accuracy: ±1–2 minutes typical
  • Does not account for local terrain/mountains
  • Altitude effect not included
  • Best for planning, not precision timing

Related Calculators

Golden Hour Calculator

Photography golden hour times

UV Exposure Calculator

UV index and sunburn time

Hammock Hang Calculator

Hammock setup geometry

Reading Time Calculator \u2014 Estimate Reading & Speaking Duration

Calculate reading time from word count or pasted text. Adjust for content difficulty, reading speed, speaking pace, and get audiobook duration estimates.

Setlist Timer Calculator \u2014 Total Set Duration from Song List

Build your setlist and see the total set duration instantly. Add songs with individual times, set transition gaps, and plan encores to hit your time slot.

Generator Fuel Consumption Calculator \u2014 GPH & Cost by Wattage

Calculate generator fuel consumption rate by wattage and load level. Get gallons per hour, total fuel cost, and runtime estimates by tank size for any fuel.

Related Resources

Golden Hour Calculator

UV Exposure Calculator

Hammock Hang Calculator

More Tools

Outdoor and utility calculators

View All Tools

Last Updated: Mar 20, 2026

This calculator is provided for informational and educational purposes only. Results are estimates and should not be considered professional financial, medical, legal, or other advice. Always consult a qualified professional before making important decisions. UseCalcPro is not responsible for any actions taken based on calculator results.

UseCalcPro
FinanceHealthMath

© 2026 UseCalcPro