Sunrise Calculator

Calculate sunrise, sunset, day length, and civil twilight for any location and date. Includes monthly sunrise/sunset table and polar day/night detection.

degrees N (negative for S)
degrees E (negative for W)
hours
1-365
Sunrise
04:30
Local time
Solar Noon
11:57
Sun at highest point
Sunset
19:25
Local time
Day Length
14h 55m
Sunrise to sunset
Civil Dawn
03:51
Sun 6° below horizon — enough light to see
Declination
23.45°
Solar declination for the day
Day vs Night
Day 14.9h
Night 9.1h
MonthSunriseSunsetDay Length
Jan07:2416:479h 23m
Feb06:5817:2410h 26m
Mar06:1517:5611h 41m
Apr05:2318:2913h 6m
May04:4419:0014h 16m
Jun04:2919:2314h 54m
Jul04:4219:2114h 39m
Aug05:1118:4913h 37m
Sep05:4317:5812h 15m
Oct06:1517:0810h 53m
Nov06:5116:329h 41m
Dec07:1916:259h 6m
Planning notes, formulas, and examples

About the Sunrise Calculator

Sunrise and sunset times depend on your geographic location, the date, and atmospheric refraction. At the equator, day length varies little throughout the year — about 12 hours year-round. But at higher latitudes, the difference is dramatic: London ranges from 8 hours in December to 16.5 hours in June. Beyond the Arctic/Antarctic circles, entire days of continuous sunlight (midnight sun) or darkness (polar night) occur.

The calculation involves solar declination (the sun's north-south position, ±23.45° over the year), the observer's latitude, and the equation of time (which accounts for orbital eccentricity and axial tilt). Atmospheric refraction lifts the apparent sun by about 0.83° at the horizon, adding a few minutes to visible daylight.

It gives sunrise, sunset, solar noon, day length, and civil twilight times for any location on Earth. The monthly table lets you see how daylight varies through the seasons — essential for planning outdoor activities, agriculture, photography, and solar energy systems.

When This Page Helps

Knowing sunrise and sunset is essential for photographers (golden hour), gardeners (frost timing), outdoor enthusiasts, pilots, and anyone planning activities around natural light. The monthly table reveals seasonal patterns at a glance.

How to Use the Inputs

  1. Enter your latitude (positive for North, negative for South).
  2. Enter your longitude (positive for East, negative for West).
  3. Set your UTC time zone offset (e.g., -5 for EST, 0 for UTC).
  4. Enter the day of year (1-365).
  5. Review sunrise, sunset, day length, and monthly comparison.
  6. Check for midnight sun or polar night at high latitudes.
Formula used
Hour angle at sunrise: cos(H₀) = −tan(φ)tan(δ), where φ = latitude, δ = solar declination. Sunrise = solar noon − H₀/15. Sunset = solar noon + H₀/15. Day length = 2H₀/15 hours.

Example Calculation

Result: Sunrise: 05:25, Sunset: 20:31

New York on June 21: day length ≈ 15 hours 6 minutes. Solar noon at 12:58 PM EDT (sun is south of true south due to equation of time correction).

Tips & Best Practices

  • Atmospheric refraction adds about 3-4 minutes of visible sunlight — sunrise appears earlier and sunset later than geometric predictions.
  • Civil twilight begins/ends when the sun is 6° below the horizon — bright enough to see without artificial light.
  • Day of year reference: Mar 20 = 79, Jun 21 = 172, Sep 22 = 265, Dec 21 = 355.
  • At the equator, sunrise/sunset shift only ±30 minutes through the year. At 60° latitude, the shift is ±6 hours.

When To Use This Calculator

Calculate sunrise, sunset, day length, and civil twilight for any location and date. Includes monthly sunrise/sunset table and polar day/night detection. Use it when you need a repeatable calculation in the physics / general category and want the setup, result, and supporting values kept together. This is especially helpful when small input changes, unit choices, or rounding decisions can change the final number.

How To Check The Result

Start by confirming that the inputs match the formula shown on the page. Then compare the main output with the worked example and any secondary values shown by the calculator. If the result will be used in another calculation, keep extra precision until the final step and record the assumptions beside the number.

Practical Notes

Treat the result as a calculation aid rather than a substitute for context. For schoolwork, include the formula and substitution steps. For planning, technical, financial, or health-related decisions, verify important numbers against primary records, current rules, or a qualified professional before acting on them.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • It is approximately — sunrise to solar noon equals solar noon to sunset. But "12 hours from sunrise" is not meaningful; day length determines the gap between the two events.